diff --git a/3rdPackage/Syncfusion.Chart.Base.dll b/3rdPackage/Syncfusion.Chart.Base.dll deleted file mode 100644 index 4dba399..0000000 Binary files a/3rdPackage/Syncfusion.Chart.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.Chart.Windows.dll b/3rdPackage/Syncfusion.Chart.Windows.dll deleted file mode 100644 index 48da6a7..0000000 Binary files a/3rdPackage/Syncfusion.Chart.Windows.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.Compression.Base.dll b/3rdPackage/Syncfusion.Compression.Base.dll deleted file mode 100644 index 7199425..0000000 Binary files a/3rdPackage/Syncfusion.Compression.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.Compression.Base.xml b/3rdPackage/Syncfusion.Compression.Base.xml deleted file mode 100644 index dd666cc..0000000 --- a/3rdPackage/Syncfusion.Compression.Base.xml +++ /dev/null @@ -1,2984 +0,0 @@ - - - - Syncfusion.Compression.Base - - - - - Checksum calculator, based on Adler32 algorithm. - - - - - Bits offset, used in adler checksum calculation. - - - - - Lagrest prime, less than 65535 - - - - - Count of iteration used in calculated of the adler checksumm. - - - - - Updates checksum by calculating checksum of the - given buffer and adding it to current value. - - Current checksum. - Data byte array. - Offset in the buffer. - Length of data to be used from the stream. - - - - Generates checksum by calculating checksum of the - given buffer. - - Data byte array. - Offset in the buffer. - Length of data to be used from the stream. - - - - Reader, that reads stream with compressed data - - - - - Mask for compression method to be decoded from 16-bit header. - - - - - Mask for compression info to be decoded from 16-bit header. - - - - - Mask for check bits to be decoded from 16-bit header. - - - - - Mask for dictionary presence to be decoded from 16-bit header. - - - - - Mask for compression level to be decoded from 16-bit header. - - - - - Maximum size of the data window. - - - - - Maximum length of the repeatable block. - - - - - End of the block sign. - - - - - Minimal length code. - - - - - Maximal length code. - - - - - Maximal distance code. - - - - - Minimum count of repetions. - - - - - Bits, that responds for different repetion modes. - - - - - Length bases. - - - - - Length extended bits count. - - - - - Distance bases. - - - - - Distance extanded bits count. - - - - - Input stream. - - - - - Currently calculated checksum, - based on Adler32 algorithm. - - - - - Currently read 4 bytes. - - - - - Count of bits that are in buffer. - - - - - Temporary buffer. - - - - - 32k buffer for unpacked data. - - - - - No wrap mode. - - - - - Window size, can not be larger than 32k. - - - - - Current position in output stream. - Current in-block position can be extracted by applying Int16.MaxValue mask. - - - - - Data length. - Current in-block position can be extracted by applying Int16.MaxValue mask. - - - - - Sign of uncompressed data reading. - - - - - Size of the block with uncompressed data. - - - - - Specifies wheather next block can to be read. - Reading can be denied because the header of the last block have been read. - - - - - Specifies wheather user can read more data from stream. - - - - - Current lengths huffman tree. - - - - - Current distances huffman tree. - - - - - Specifies wheather checksum has been read. - - - - - TODO: place correct comment here - - - - - - Creates new reader for streams with compressed data. - - - - - - - Resets current checksum to 1. - - - - - Updates checksum by calculating checksum of the - given buffer and adding it to current value. - - Data byte array. - Offset in the buffer. - Length of data to be used from the stream. - - - - Discards left-most partially used byte. - - - - - Reads array of bytes. - - Output buffer. - Offset in output buffer. - Length of the data to be read. - Count of bytes actually read to the buffer. - - - - Fill`s empty parts of the buffer. - - - - - Reads specified count of bits without adjusting position. - - Count of bits to be read. - Read value. - - - - Skips specified count of bits. - - Count of bits to be skipped. - - - - Reads specified count of bits from stream. - - Count of bits to be read. - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - TODO: place correct comment here - - - - - Reads ZLib header with compression method and flags. - - - - - TODO: place correct comment here - - - TODO: place correct comment here - - - - - - - Reades dynamic huffman codes from block header. - - Literals/Lengths tree. - Distances tree. - - - - Reads and decodes block of data. - - True if buffer was empty and new data was read, otherwise - False. - - - - Decodes huffman codes. - - True if some data was read. - - - - Reads data to buffer. - - Output buffer for data. - Offset in output data. - Length of the data to be read. - Count of bytes actually read. - - - - GET count of bits available - - - - - Get count of full bytes available. - - - - - Compression level. - - - - - Pack without compression - - - - - Use high speed compression, reduce of data size is low - - - - - Something middle between normal and BestSpeed compressions - - - - - Use normal compression, middle between speed and size - - - - - Pack better but require a little more time - - - - - Use best compression, slow enough - - - - - Represents the compressed stream writer - - - - - Start template of the zlib header. - - - - - Memory usage level. - - - - - Size of the pending buffer. - - - - - Size of the buffer for the huffman encoding. - - - - - Length of the literal alphabet(literal+lengths). - - - - - Distances alphabet length. - - - - - Length of the code-lengths tree. - - - - - Code of the symbol, than means the end of the block. - - - - - Maximum window size. - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Internal compression engine constant - - - - - Output stream. - - - - - Pending buffer for writing. - - - - - Length of the unflushed data. - - - - - Bits cache for pending buffer. - - - - - Count of bits in pending buffer cache. - - - - - If true, no zlib header will be written to the stream. - - - - - Current checksum. - - - - - Current compression level. - - - - - Current tree for literals. - - - - - Current tree for distances. - - - - - Current tree for code lengths. - - - - - Current position in literals and distances buffer. - - - - - Recorded literals buffer. - - - - - Recorded distances buffer. - - - - - Count of the extra bits. - - - - - Static array of the literal codes. - - - - - Static array of the lengths of the literal codes. - - - - - Static array of the distance codes. - - - - - Static array of the lengths of the distance codes. - - - - - If true, no futher writings can be performed. - - - - - Current hash. - - - - - Hash m_HashHead. - - - - - Previous hashes. - - - - - Start of the matched part. - - - - - Length of the matched part. - - - - - Previous match available. - - - - - Start of the data window. - - - - - String start in data window. - - - - - Lookahead. - - - - - Data window. - - - - - Maximum chain length. - - - - - Maximum distance of the search with "lazy" algotithm. - - - - - Nice length of the block. - - - - - Good length of the block. - - - - - Current compression function. - - - - - Current block of the data to be compressed. - - - - - Total count of bytes, that were compressed. - - - - - Offset in the input buffer, where input starts. - - - - - Offset in the input buffer, where input ends. - - - - - If true, stream will be closed after the last block. - - - - - Initializes statical data for huffman compression. - - - - - Initializes compressor and writes ZLib header if needed. - - Output stream. - If true, ZLib header and checksum will not be written. - Compression level. - If true, output stream will be closed after the last block has been written. - - - - Initializes compressor and writes ZLib header if needed. - Compression level is set to normal. - - Output stream. - If true, ZLib header and checksum will not be written. - If true, output stream will be closed after the last block has been written. - - - - Initializes compressor and writes ZLib header. - - Output stream. - Compression level. - If true, output stream will be closed after the last block has been written. - - - - Initializes compressor and writes ZLib header. - - Output stream. - If true, output stream will be closed after the last block has been written. - - - - Compresses data and writes it to the stream. - - Data to compress - offset in data array - length of data to compress - True - write last compress block in stream, - otherwise False - - - - Writes ZLib header to stream. - - - - - Fill the window - - - - - Slides current window, and data, associated with it. - - - - - Updates hash. - - - - - Inserts string to the hash. - - - - - - Searches for the longest match. - - - - - - - Store data without compression. - - - - - - - - Compress with a maximum speed. - - - - - - - - Compress, using maximum compression level. - - - - - - - - CompressData drives actual compression of data - - - - - Reset internal state - - - - - Calculates length code from length. - - Length. - Length code. - - - - Calculates distance code from distance. - - Distance. - Distance code. - - - - Write all trees to pending buffer - - - - - Compress current buffer writing data to pending buffer - - - - - Flush block to output with no compression - - Data to write - Index of first byte to write - Count of bytes to write - True if this is the last block - - - - Flush block to output with compression - - Data to flush - Index of first byte to flush - Count of bytes to flush - True if this is the last block - - - - Add literal to buffer. - - - Value indicating internal buffer is full - - - - Add distance code and length to literal and distance trees - - Distance code - Length - Value indicating if internal buffer is full - - - - write a byte to buffer - - - value to write - - - - - Write a short value to buffer LSB first - - - value to write - - - - - write an integer LSB first - - value to write - - - - Write a block of data to buffer - - data to write - offset of first byte to write - number of bytes to write - - - - Align internal buffer on a byte boundary - - - - - Write bits to internal buffer - - source of bits - number of bits to write - - - - Write a short value to internal buffer most significant byte first - - value to write - - - - Flushes the pending buffer into the given output array. If the - output array is to small, only a partial flush is done. - - - - - Flushes fully recorded bytes to buffer array. - - Count of bytes, added to buffer. - - - - Convert internal buffer to byte array. - Buffer is empty on completion - - - converted buffer contents contents - - - - - Total data processed. - - - - - Return true if input is needed - - - - - Checks, wheather huffman compression buffer is full. - - True if buffer is full. - - - - The number of bits written to the buffer - - - - - Indicates if buffer has been flushed - - - - - Type of the block. - - - - - Data simply stored as is - - - - - An option to use Fixed Huffman tree codes - - - - - An option to use Dynamically built Huffman codes - - - - - Represents the Huffman Tree. - - - - - Frequences of the codes. - - - - - Codes itself. - - - - - Bit counts, needed to encode different codes. - - - - - Count of codes with some lengths. - Index - length, value - count. - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - Data compressor. - - - - - Create a new Huffman tree - - - - - - - - - Resets all code data in tree. - - - - - Writes code to the compressor output stream. - - Code to be written. - - - - Checks wheather tree is empty. - If tree is not empty, then exception will be raised. - - - - - Specifies new arrays of codes and their lengths. - - Array of codes. - Array of code lengths. - - - - Calculates codes from their frequences. - - - - - Build tree with lengths. - - - - - - Builds tree. - - - - - Calculates length of the compressed data. - - Count of bits, the data will occupy. - - - - Calculates code frequences. - - Tree. - - - - Writes tree to output stream. - - Tree to be written. - - - - Length of the tree. - - - - - Lengths of codes in tree. - - - - - Code frequences. - - - - - Huffman tree, used for decompression. - - - - - Maximum count of bits. - - - - - Build huffman tree. - - - - - Huffman tree for encoding and decoding lengths. - - - - - huffman tree for encoding and decoding distances. - - - - - Generates fixed huffman trees. - - - - - Creates huffman tree. - - - - - - Prepares data for generating huffman tree. - - Array of counts of each code length. - Numerical values of the smallest code for each code length. - Array of code lengths. - Calculated tree size. - Code. - - - - Generates huffman tree. - - Array of counts of each code length. - Numerical values of the smallest code for each code length. - Precalculated code. - Array of code lengths. - Calculated size of the tree. - Generated tree. - - - - Builds huffman tree from array of code lengths. - - Array of code lengths. - - - - Reads and decompresses one symbol. - - - - - - - GET huffman tree for encoding and decoding lengths. - - - - - GET huffman tree for encoding and decoding distances. - - - - - Utility Class - - - - - Bit-indexes for reversing. - - - - - Code lengths for the code length alphabet. - - - - - Reverses bit. - - - - - - - Implemenation of IFileNamePreprocessor interface that simply removes - some string from the name start and converts all \ characters into /. - - - - - Preprocesses file name before ZipArchiveItem saving. Used to convert full item path into local one. - - - - - Somehow converts full path into name that will be stored in the zip archive. - - Name to process. - Converted name. - - - - String to remove from the name start. - - - - - Initializes new instance of the name preprocessor. - - String to remove from the name start. - - - - Somehow converts full path into name that will be stored in the zip archive. - - Name to process. - Converted name. - - - - Class contains all constants that are required by ZipArchive. - - - - - Zip header signature. - - - - - Number of bytes in HeaderSignature constant. - - - - - Buffer size. - - - - - Version needed to extract. - - - - - Version made by. - - - - - Size of the short value in bytes. - - - - - Size of the int value in bytes. - - - - - Central header signature. - - - - - End of central directory signature. - - - - - Initial value for CRC-32 evaluation. - - - - - Offset to the size field in the End of central directory record. - - - - - Start byte of the Header signature. - - - - - Default constructor to prevent users from creating instances of this class. - - - - - The kind of compression used for an entry in an archive - - - - - The file is stored (no compression). - - - - - The file is Shrunk. - - - - - The file is Reduced with compression factor 1. - - - - - The file is Reduced with compression factor 2. - - - - - The file is Reduced with compression factor 3. - - - - - The file is Reduced with compression factor 4. - - - - - The file is Imploded. - - - - - Reserved for Tokenizing compression algorithm. - - - - - The file is Deflated. - - - - - Enhanced Deflating using Deflate64(tm). - - - - - PKWARE Data Compression Library Imploding (old IBM TERSE). - - - - - File is compressed using BZIP2 algorithm. - - - - - LZMA (EFS). - - - - - File is compressed using IBM TERSE (new). - - - - - IBM LZ77 z Architecture (PFS). - - - - - PPMd version I, Rev 1. - - - - - General purpose bit flag. - - - - - If this bit is set, the fields crc-32, compressed size and uncompressed - size are set to zero in the local header. The correct values are put - in the data descriptor immediately following the compressed data. - (Note: PKZIP version 2.04g for DOS only recognizes this bit for method 8 - compression, newer versions of PKZIP recognize this bit for any compression method.) - - - - - Language encoding flag (EFS). If this bit is set, the filename and - comment fields for this file must be encoded using UTF-8. - - - - - Class used for implementing Advanced Encryption Standard algorithm. - - - - - block size in 32-bit words. Always 4 for AES. (128 bits). - - - - - key size in 32-bit words. 4, 6, 8. (128, 192, 256 bits). - - - - - number of rounds. 10, 12, 14. - - - - - the seed key. size will be 4 * keySize . - - - - - Substitution box - - - - - inverse Substitution box - - - - - key schedule array. - - - - - Round constants - - - - - State matrix - - - - - AES key size - - - - - Salt value - - - - - Message Authentication Code Key - - - - - Stored Message Authentication Code - - - - - Computed Message Authentication Code - - - - - Encryption Key - - - - - Password verifier - - - - - Password - - - - - No of keyBytes - - - - - No of saltBytes - - - - - Initiates Aes - - - - - Initializes a new instance of the Aes class. - - Key size. - Key bytes - - - - Encipher 16 bit input - - 16 bit Input - Output value - - - - Decipher 16-bit input - - - - - - - SetNbNkNr() - - Keysize - - - - Building S-box - - - - - Building Inverse S-box - - - - - Builds Rotation array - - - - - Adds rounf Key - - No of Rounds - - - - SubBytes - - - - - InvSubBytes - - - - - ShiftRows() - - - - - InvShiftRows() - - - - - MixColumns - - - - - InvMixColumns - - - - - Key Expansion - - - - - Subword - - Word - resulted word - - - - Rotates word - - Input - Result - - - - Dump - - - - - Dump key. - - - - - - Dump two by two. - - - - - - - Generates a key for Encryption and Decryption - - - - - Generates Message Authentication Code - - data used for MAC - - - - Compares two bytes arrays - - First byte array - Second byte array - true if two arrays are same - - - - Set key and salt lengths for AES key - - - - - Decrypt the cipherData - - Encrypted data - Decrypted - - - - Encrypt the plain data - - Data needs to be encrypted - Encrypted data - - - - Counter Mode Encryption - - Encrypted data - Decrypted data to get - AES encryption Key - - - - - Possible key sizes. - - - - - 128-bit. - - - - - 192-bit. - - - - - 256-bit. - - - - - Implementation Rfc2898Key generation - - - - - Block Number - - - - - Rfc Buffer - - - - - End Offset - - - - - No of Iterations - - - - - Salt Value - - - - - Start Offset - - - - - Password - - - - - BlockSize for SHA1 buffer - - - - - Inner buffer - - - - - Outer buffer - - - - - Indicates whether needs hash - - - - - Key Value - - - - - Buffer - - - - - No of hash - - - - - State of SHA1 - - - - - Expanded array - - - - - HMAC hash value - - - - - SHA1 hash value - - - - - Constructor - - Password - salt value to get key - No of iteration used - - - - Constructor - - Password - salt value to get key - No of iteration used - - - - Creates a byte array for input - - Input - Converted byte array for input - - - - Derives key - - key - - - - Generates the byte array based on the given length - - Length of the array - Byte array - - - - Initializes the RFC to initial state - - - - - Updates the m_inner and m_outer arrays - - - - - Initializes the key value - - - - - - Computes hash code for the given data - - input data - return hash in bytes - - - - Computes hash for the specified region from input for the given offset and copies the data to the output from the given offset - - Input array - input Offset - Length - Output array - output Offset - - - - - Computes hash for the specified region from input for the given offset. - - Input array - input Offset - Length - - - - Clears all value rom arrays - - - - - Initializes State values - - - - - Computes hash for the given input data from the specified offset and Length - - Input - start from the input array - length needs to be hashed - - - - - Computes the final hash code - - hash data - - - - Modifies the buffer using SHA - - input - State array - Blocks - - - - Expand the input array using SHA - - Input array - - - - Convert the BigEndian to DWORD - - Dword array - No of digits - Input block - - - - Convert Dword to BigEndian - - BigEndian array - Output array - no of digits - - - - Hash value - - - - - Contains security Constants - - - - - Password Verifier Length of AES Encryption - - - - - Message Authentication Code Length of AES Encryption - - - - - Password Length of ZipCrypto Encryption - - - - - Password verifier value position of ZipCrypto 0 based index - - - - - PKZip strong encryption header length - - - - - AES compression method - - - - - Block size for Rfc2898Key - - - - - Password iteration Count for AES - - - - - Aes Block Size - - - - - AES encryption header constants - - - - - ZipCrypto Encryption and Decryption - - - - - Data stream - - - - - Password - - - - - Crc value - - - - - Initial keys - - - - - ZipCrc32 - - - - - Constructor initializes Data stream and password - - Data - Password - - - - Initializes Password and Crc value - - Password - Crc value - - - - Initializes key and crc - - - - - Update password - - Password - - - - Update key values - - byte needed for key update - - - - Initializes the keys using Password - - Password of the zip file - - - - Key Update using password - - Password of the zip file - - - - Data Encryption - - Plain data - Cipher data - - - - Data Decryption - - Cipher data - Plain data - - - - Decrypt the data using ZipCrypto - - Cipher data - Plain data - - - - Encrypt the data using ZipCrypto - - Plain data - Cipher data - - - - Generates the Encryption and Decryption Byte - - byte value - - - - Encryption types. - - - - - No Encryption - - - - - AES-128 bit encryption - - - - - AES-192 bit encryption - - - - - AES-256 bit encryption - - - - - ZipCrypto Encryption - - - - - Represents zip archive. - - - - - Collection of archive items. - - - - - Dictionary that allows quick search operations by item name. - Key - item name, - Value - corresponding ZipArchiveItem. - - - - - File name preprocessor - object that converts full file/folder - name into value that will be written into zip archive. - - - - - Indicates whether we should check Crc value when reading item's data. Check - is performed when user gets access to decompressed data for the first time. - - - - - Default compression level. - - - - - Compresses files using custom NetCompressor. - - - - - Password for the zip File - - - - - Type of the Encryption - - - - - Creates compressor. - - - - - Searches for integer value from the end of the stream. - - Stream to search value in. - Value to locate. - Maximum number of bytes to scan. - Offset to the value, or -1 if it wasn't found. - - - - Extracts Int32 value from the stream. - - Stream to read data from. - Extracted value. - - - - Extracts Int16 value from the stream. - - Stream to read data from. - Extracted value. - - - - Extracts unsigned Int16 value from the stream. - - Stream to read data from. - Extracted value. - - - - Adds empty directory to the archive. - - Directory path. - Item that has been added. - - - - Adds specified file to the archive. - - File to add. - Item that has been added. - - - - Adds new item to the archive - - Item name to add. - Items data stream (can be null for empty files or folders). - Indicates whether ZipArchive is responsible for stream closing. - File attributes. - Item that has been added. - - - - Adds existing item to the archive. - - Item to add. - Added item. - - - - Removes item from the archive. - - Item name to remove. - - - - Removes item at the specified position. - - Item index to remove. - - - - Removes items that matches specified regular expression from the collection. - - Regular expression used to decide whether to remove item or not. - - - - Updates item inside existing archive. - - Item name to update. - New data for the item. - Indicates whether item should control its stream after update. - - - - Updates existing item or creates new one. - - Item to update or create. - New data for the item. - Indicates whether item should control its stream after update. - File attributes for the item. This argument is only used if item is created. - - - - Updates item inside existing archive. - - Item name to update. - New data for the item. - - - - Saves archive into specified file. - - Output file name. - - - - Saves archive into specified file. - - Output file name. - Indicates whether we should create full path to the file if it doesn't exist. - - - - Saves archive into specified stream. - - Output stream. - Indicates whether method should close stream after saving. - - - - Reads archive data from the file. - - Filename to read. - - - - Reads archive data from the stream. In the current implementation - stream must be seekable and readable to extract data. - - Stream to read data from. - Indicates whether method should close stream after reading. - - - - Clears all internal data. - - - - - Searches for the item with specified name. - - Item to find. - Zero-based item index if found; -1 otherwise. - - - - Searches for the item with specified name. - - Regular expression that defines item to find. - Zero-based item index if found; -1 otherwise. - - - - Writes central directory to the stream. - - Stream to write data into. - - - - Writes End of central directory record into stream. - - Stream to write data into. - Offset to the central directory start. - - - - Read central directory record from the stream. - - Stream to read from. - - - - Extracts items' data from the stream. - - Stream to read data from. - - - - Creates a copy of the current instance. - - A copy of the current instance. - - - - Protects the archived file with password using specified algorithm. - - Password to protect. - Type of encryption algorithm to be used. - - - - Removes password from the compressed file. - - - - - Opens an encrypted zip file with password. - - File Name. - Password of the file to open. - - - - Reads archive data from the stream. In the current implementation - stream must be seekable and readable to extract data. - - Stream to read data from. - Indicates whether method should close stream after reading. - Password for the file to open. - - - - A method to release allocated unmanaged resources. - - - - - Class finilizer. - - - - - Returns single archive item from the collection. Read-only. - - Zero-based index of the item to return. - Single archive item from the collection. - - - - Returns item by its name. Null if item wasn't found. Read-only. - - - - - Returns number of items inside archive. Read-only. - - - - - Returns the items inside archive. Read-only. - - - - - Gets / sets file name preprocessor - object that converts full file/folder - name into value that will be written into zip archive. - - - - - Gets / sets default compression level - compression level for new items. - By default is equal to CompressionLevel.Best. - - - - - Indicates whether we should check Crc value when reading item's data. Check - is performed when user gets access to item's decompressed data for the first time. - - - - - Uses custom compressed stream reader and writer. - - - - - Returns the encryption algorithm used. Default value is NONE. - - - - - Password for ZipFile - - - - - Represents single item inside zip archive. It can be either folder or file. - - - - - Name of the archive item. - - - - - Compression method. - - - - - Compression level. - - - - - Crc. - - - - - Stream with item's data. - - - - - Compressed data size. - - - - - Original (not compressed) data size. - - - - - Indicates whether this item controls it's data stream. - - - - - Indicates whether internal stream contains compressed data. - - - - - Position of the size block inside local file header. - - - - - Offset to the local header. - - - - - General purpose bit flag. - - - - - Item's external attributes. - - - - - Indicates whether we should check crc value after decompressing item's data. - - - - - - - - - - Actual compression when Aes Encryption - - - - - Default constructor. - - - - - Creates new instance of the zip item. - - Name of the item (can be relative or absolute path). - Stream data. - - Indicates whether item controls stream and must close it when item finish its work. - - - - - - - - - - - - Updates internal data stream. - - New stream to set. - Indicates whether item should conrol new stream. - - - - - - - - - This method saves item inside stream. - - Stream to save item into. - - - - Frees all internal resources and closes internal stream if necessary. - - - - - This method writes file header into Central directory record. - - Stream to write data into. - - - - Converts current datetime to Windows format. - - Current Date and time. - Value in Windows format. - - - - Read data from the stream based on the central directory. - - Stream to read data from, stream.Position must point at just after correct file header. - - - - Reads zipped data from the stream. - - Stream to read data from. - Indicates whether we should check crc value after data decompression. - - - - Extracts compressed data from the stream. - - Stream to read data from. - - - - Extracts local header from the stream. - - Stream to read data from. - - - - Decompressed internal data if necessary. - - - - - Writes local file header. - - Stream to write into. - - - - Writes zipped content inside stream. - - Stream to write into. - - - - Writes local file footer into stream. - - Stream to write into. - - - - Checks whether Crc field and stream data corresponds each other. - - - - - Creates copy of the stream. - - Stream to copy. - Created stream. - - - - Checks for Latin characters in the Unicode string. - - Input Unicode string. - True if the Unicode string contain Latin characters. False otherwise. - - - - A method to release allocated unmanaged resources. - - - - - Finilizer. - - - - - Writes the header to Indicate the zip the file is encrypted. - - The data to write - - - - Data Encryption - - Data to be Encrypted - Encrypted data - - - - Data Decryption - - Data needs to be decrypted - Decrypted data - - - - Checks whether the file has unicode characters. - - Name of the file. - - - - - Create a Random byte Array - - Length of the salt value - salt value - - - - Name of the archive item. - - - - - Compression method. - - - - - Gets/sets item's compression level. - - - - - Crc. - - - - - Stream with item's data. - - - - - Compressed data size. - - - - - Original (not compressed) data size. - - - - - Indicates whether this item controls it's data stream. - - - - - Indicates whether internal stream contains compressed data. - - - - - Gets / sets item's external attributes. - - - - - Gets current OEM code page. - - - - - Crc32 implementation used in zip archive to verify data correctness. - - - - - Special pre-evaluated table used for faster crc evaluation. - Evaluated when crcNumber was 0xEDB88320. EvaluateTable method - can be used to evaluated table with different constant. - - - - Computes crc-32 value for the buffer. - Buffer to compute crc-32 for. - Offset to the data start. - Data length in bytes. - Initial crc-32 value. - Updated crc-32 value. - - - Computes crc-32 value for the stream. - Stream to compute crc-32 for. - Data length in bytes. - Crc-32 value. - - - - Evaluates crc table. - - "Magic" number. - Create table. - - - - Computes crc value for given number - - Number to calculate Crc value - Initial crc-32 value - Crc value - - - - This class represents exception type that is mostly raised when some - problems with zip extraction/creation occurs. - - - - - Initializes new instance of the exception class. - - Exception message. - - - - - - - - - - - - - - - - - - - - - - - - Initializes new instance of the stream. - - - - - Initializes new instance of the stream. - - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying device. - - - - - Reads a sequence of bytes from the current stream and advances the position - within the stream by the number of bytes read. - - An array of bytes. When this method returns, the buffer - contains the specified byte array with the values between offset and - (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin - storing the data read from the current stream. - The maximum number of bytes to be read from the current stream. - The total number of bytes read into the buffer. This can be less - than the number of bytes requested if that many bytes are not currently - available, or zero (0) if the end of the stream has been reached. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Sets the length of the current stream. - - The desired length of the current stream in bytes. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes - from buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Gets a value indicating whether the current stream supports reading. Read-only. - - - - - Gets a value indicating whether the current stream supports seeking. Read-only. - - - - - Gets a value indicating whether the current stream supports writing. Read-only. - - - - - Gets the length in bytes of the stream. Read-only. - - - - - Gets or sets the position within the current stream. Read-only. - - - - - This property returns stream with zipped content. It closes internal deflate - stream, so you won't be able to write anything in int. Read-only. - - - - - Returns computed crc32 value. Read-only. - - - - - Returns size of the unzipped data. Read-only. - - - - diff --git a/3rdPackage/Syncfusion.Core.dll b/3rdPackage/Syncfusion.Core.dll deleted file mode 100644 index fcc2b0a..0000000 Binary files a/3rdPackage/Syncfusion.Core.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.DocIO.Base.dll b/3rdPackage/Syncfusion.DocIO.Base.dll deleted file mode 100644 index d22fcb8..0000000 Binary files a/3rdPackage/Syncfusion.DocIO.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.DocToPDFConverter.Base.dll b/3rdPackage/Syncfusion.DocToPDFConverter.Base.dll deleted file mode 100644 index 6078357..0000000 Binary files a/3rdPackage/Syncfusion.DocToPDFConverter.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.DocToPDFConverter.Base.xml b/3rdPackage/Syncfusion.DocToPDFConverter.Base.xml deleted file mode 100644 index a0d97c6..0000000 --- a/3rdPackage/Syncfusion.DocToPDFConverter.Base.xml +++ /dev/null @@ -1,4001 +0,0 @@ - - - - Syncfusion.DocToPDFConverter.Base - - - - - - - - - - - - - - - - - - - - - - Get Curved Connector path - - - formulaColl.Add("x2","*/ w adj1 100000"); - formulaColl.Add("x1","+/ l x2 2"); - formulaColl.Add("x3","+/ r x2 2"); - formulaColl.Add("y3","*/ h 3 4"); - - - - - - - - Get Bent Connector path - - - formulaColl.Add("x1","*/ w adj1 100000"); - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get Triangle path - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the right arrow path. - - - - - - Gets the left arrow path. - - - - - - Gets down arrow path. - - - - - - Gets the left right arrow path. - - - - - - Gets the curved right arrow path. - - - - - - Gets the curved left arrow path. - - - - - - Gets the curved up arrow path. - - - - - - Gets the curved down arrow path. - - - - - - Gets up down arrow path. - - - - - - Gets the quad arrow path. - - - - - - Gets the left right up arrow path. - - - - - - Gets the bent arrow path. - - - - - - Gets the U trun arrow path. - - - - - - Gets the left up arrow path. - - - - - - Gets the bent up arrow path. - - - - - - Gets the striped right arrow path. - - - - - - Gets the notched right arrow path. - - - - - - Gets the pentagon path. - - - - - - Gets the chevron path. - - - - - - Gets the right arrow callout path. - - - - - - Gets down arrow callout path. - - - - - - Gets the left arrow callout path. - - - - - - Gets up arrow callout path. - - - - - - Gets the left right arrow callout path. - - - - - - Gets the quad arrow callout path. - - - - - - Gets the circular arrow path. - - - - - - Gets the math plus path. - - - - - - Gets the math minus path. - - - - - - Gets the math multiply path. - - - - - - Gets the math division path. - - - - - - Gets the math equal path. - - - - - - Gets the math not equal path. - - - - - - Gets the flow chart alternate process path. - - - - - - Gets the flow chart predefined process path. - - - - - - Gets the flow chart internal storage path. - - - - - - Gets the flow chart document path. - - - - - - Gets the flow chart multi document path. - - - - - - Gets the flow chart terminator path. - - - - - - Gets the flow chart preparation path. - - - - - - Gets the flow chart manual input path. - - - - - - Gets the flow chart manual operation path. - - - - - - Gets the flow chart connector path. - - - - - - Gets the flow chart off page connector path. - - - - - - Gets the flow chart card path. - - - - - - Gets the flow chart punched tape path. - - - - - - Gets the flow chart summing junction path. - - - - - - Gets the flow chart or path. - - - - - - Gets the flow chart collate path. - - - - - - Gets the flow chart sort path. - - - - - - Gets the flow chart extract path. - - - - - - Gets the flow chart merge path. - - - - - - Gets the flow chart online storage path. - - - - - - Gets the flow chart delay path. - - - - - - Gets the flow chart sequential access storage path. - - - - - - Gets the flow chart magnetic disk path. - - - - - - Gets the flow chart direct access storage path. - - - - - - Gets the flow chart display path. - - - - - - Gets the rectangular callout path. - - - - - - Gets the rounded rectangular callout path. - - - - - - Gets the oval callout path. - - - - - - Gets the cloud callout path. - - - - - - Gets the line callout1 path. - - - - - - Gets the line callout2 path. - - - - - - Gets the line callout3 path. - - - - - - Gets the line callout1 accent bar path. - - - - - - Gets the line callout2 accent bar path. - - - - - - Gets the line callout3 accent bar path. - - - - - - Gets the line callout1 no border path. - - - - - - Gets the line callout2 no border path. - - - - - - Gets the line callout3 no border path. - - - - - - Gets the line callout1 border and accent bar path. - - - - - - Gets the line callout2 border and accent bar path. - - - - - - Gets the line callout3 border and accent bar path. - - - - - - - - - - - - - - - - - - - - - Get Path adjust value - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Represents the class which acts as an drawing context. - - - - - The default script factor for sub/super script. - - - - - The default font size. - - - - - The default minimum font size for picture bullet. - - - - - The default scale factor for picture bullet. - - - - - Drawing Graphics. - - - - - Image Quality. - - - - - Drawing Graphics. - - - - - Holds the list of hyperlinks and its corrsponding bounds. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The graphics. - The page unit. - - - - Draws the Overlapping shape widgets. - Currently handled only for Docx format documents - - - - - Draws the paragraph. - - The paragraph. - The lt widget. - - - - Draws the text box. - - The text box. - The lt widget. - - - - Draw Bar Tab Stop of the paragraph - - - - - - Get bounds to draw a paragraph back ground color and texture styles - - - - - - - - Check whether Paragraph Containing list has break. - - ltWidget - - - - - Get the base entity - - - - - - - Updates the tab position. - - The widget. - The client area. - - - - Updates the decimal tab position. - - The lt widget. - The client area. - - - - Updates the decimal tab position in cell. - - The lt widget. - The client area. - - - - Determine whether is Decimal Tab Start - - - - - - - - - - - - Get Width To Shift the xposition of childwidget - - - - - - - - - Get the paragraph format for current tab - - The Paragraph - Paragrph format - - - - Get Column Width - - The Paragraph - - - - - Get Left width of the Decimal seperator - - - - - - - - - Get Left width of the Decimal seperator - - The lt widget. - The decimal tab start. - The decimal tab end. - - - - - Get Index of Decimal Separator - Index denotes the TextRange which have a decimal separator - - - - - - - - - - - - Get Index of Decimal Separator - Index denotes the TextRange which have a decimal separator - - The lt widget. - The decimal tab start. - The decimal tab end. - Width of the left. - The decimal separator. - if set to true [is separator]. - - - - - Determine whether is Decimal Separator - - - - - - - - Get Owner paragraph of the LayoutedWidget - - - - - - - Gets the tab end index. - Index denotes the item, previous of next subsequent tab. - - The lt widget. - The start index. - - - - - Get the current list size. - - - - - - - - - Draws the list - - - - - - - Draws the list tab leader. - - The paragraph. - The paragraph info. - Width of the list. - The x position. - The y position. - - - - Gets the tab leader. - - The paragraph info. - - - - - Gets the Y position. - - The ltwidget. - - - - - Gets the ascet value for Equation field. - - Equation field - - - - - Check whether the current lines contains the equation field and it - contains the height of the corresponding line. - - - - - - - Determines whether the paragraph is empty - - paragraph - returns true if paragraph is empty - - - - Draw AbsoluteTab - - - - - - - Update AbsoluteTab leader - - - - - - - - Draws the Footnote separator - - The TXT range. - The lt widget. - - - - Draws the text range. - - The TXT range. - The lt widget. - The text. - - - - Update Target position to the bookmark hyperlink - - - - - - - Create Bookmark reference link - - - - - - - Determine whether the paragraph containing bookmark end - - - - - - - Determine whether the tab stop is preserved after the text range in the current line - - - - - - - Update Tab Width. - - - - - Fill with dots for tab leader - - Font - Current layouted widget - Character format of layouted widget - String format - text - - - - Fill with sigle for tab leader - - Font - Current layouted widget - Character format of layouted widget - String format - text - - - - Fill with hyphens for tab leader - - Font - Current layouted widget - Character format of layouted widget - String format - text - - - - Fills with space - - The leaf widget - Tab width - - - - Draws the Symbol - - - - - - - Draws the image. - - The image. - The bounds. - if set to true [un scaled]. - - - - Decides whether table is preserved inside text box or not. - - Table cell - - - - - Gets the bounding box of the rectangular bounds after rotation. - - Bounds - Degree of rotation - Bounding box of the rectangular bounds - - - - Calculates the minX, minY, maxX and maxY of the rotated bounds. - - - Bounding box of a rectangular bounds - - - - Gets the rotation transformation matrix - - Bounds of the picture - Rotation angle - Transformation matrix - - - - Gets the PdfImage with image quality from image - - Image - - - - Gets the PdfImage with image quality from stream - - Memory stream - - - - Draw the InlineShapePicture - - - - - - - - - Create the Pen to draw the picture border - - - - - - - Get the color for the picture border - - - - - - - Get the line cap for picture border - - - - - - - Get LineJoin for picture border - - - - - - - Get the Dash and line style for the picture shape - - - - - - - - - Get the dash and line style for picture border - - - - - - - - Get the Dash style for the border - - - - - - - - Set the CropImageBounds if the image offset is negative - - - - - - - Gets the position to crop the image - - - - - - - Draws the equation field swtiches. - - - - - Draws an Array EQ switch using their properties. - - A layouted array EQ switch. - Represents a charFormat for array switch. - Represents a for array EQ switch. - - - - Draws a radical switch and the radical symbol as a graphic path. - - A layouted radical EQ switch. - Represents a charFormat for radical switch elements. - - - - Align the layouted equation field switch based on the current y position. - - Layouted EQ field switches - x position of layouted equation field switch - Y position of layouted equation field switch - - - - Shift the eqaution field's x, y position based on the given x,y value. - - Layouted EQ field switches - x position of layouted equation field switch - Y position of layouted equation field switch - - - - Generates the error text for the equation field. - - Represents a equation field to generate. - Represents a which set for equation field. - Represents a X position of equation field. - Represents a Y position of equation field. - - - - Shift the equation field's y position based on the given y value. - - Layouted EQ field switches - Y position of layouted equation field switch - - - - Gets the top most Y position of layouted EQ fields. - - Layouted EQ field - Minimum value of y position - - - - - Draws the string. - - The text. - The char format. - The para format. - The bounds. - - - - Reverse the string - - - - - - Draws the small cap string. - - The text. - The character format. - The bounds. - The font. - The format. - The text brush. - if set to true [is character spacing]. - - - - Determine whether the text is need to clip when the text range y position is greater than the owner row bottom position - - - - - - Determine whether the text is need to clip when the text range x position is beyond the cell bounds or crossing the cell bounds - - - - - - Gets the index of the column. - - The section. - The section bounds. - - - - - Get Y position to clip paragraph items - - - - - - - Get Default font to render non east characters - - - - - - - - Draw String based on CharacterSpacing - - Font style of current Layouted widget - Text brush - Layouted widget bounds - Text - Charater format - - - - Transform the graphics rendering positions based on rotation angle - - Current ltWidget - set to true when the widget need to scale - Translation points - Rotation angle - - - - Gets the height of the layouted text box content. - - The lt widget. - - - - - Get Width to shift vertical text - - - - - - - Get Bounds to clip the text - - - - - - - - Update clip bounds based on vertical cell - - - - - - - - Update clipping bounds based on owner clipping - - - - - - - Get Height of the cell with text direction as vertical - - - - - - - Draw Chinese Text - - - - - - Set to True when the string need to be scale - - - - Draw String method for Drawing the string without its width and height - - - - - - - - - - - Checks whether the text is valid. (applicable for Arial text) - - - - - - Draw Unicode Text - - - - - - - - - Draw Unicode bidi Text - - - - - - - - - Draw unicode string - - text - - - - Determines whether the owner paragraph is empty - - text - - true if owner paragraph is empty, set to true. - - - - - Rotate and scale the graphics transform matrix - - Layoted widget bounds - Scaling factor value - Translation points - Rotation angle - - - - Prepares a matrix to PDF. - - The matrix. - The page scale value. - - A properly prepared PdfTransformationMatrix class instance. - - - - - Draws the paragraph borders. - - The paragraph format. - The lt widget. - - - - Draws the paragraph borders - - Collection of borders, contains the each border rendering order - Border bounds - Current paragraph borders - Previous paragraph borders - - - - Draws the horizontal border. - - The border rendering order. - The bounds. - The borders. - The border. - if set to true [is multi line left border]. - if set to true [is multi line right border]. - if set to true [is multi line horizontal border]. - Width of the between border line. - Width of the left border line. - Width of the right border line. - - - - Draws the left border. - - The border rendering order. - The bounds. - The borders. - The border. - The previous border. - if set to true [is multi line top border]. - if set to true [is multi line bottom border]. - if set to true [is multi line left border]. - if set to true [is multi line horizontal border]. - Width of the left border line. - Width of the top border line. - Width of the between border line. - Width of the bottom border line. - - - - Draws the right border. - - The border rendering order. - The bounds. - The borders. - The border. - The previous border. - if set to true [is multi line top border]. - if set to true [is multi line horizontal border]. - if set to true [is multi line right border]. - if set to true [is multi line bottom border]. - Width of the right border line. - Width of the top border line. - Width of the between border line. - Width of the bottom border line. - - - - Draws the top border. - - The border rendering order. - The bounds. - The borders. - The border. - if set to true [is multi line top border]. - Width of the top border line. - Width of the left border line. - Width of the right border line. - - - - Draws the bottom border. - - The border rendering order. - The bounds. - The borders. - The border. - if set to true [is multi line bottom border]. - Width of the left border line. - Width of the bottom border line. - Width of the right border line. - - - - Sort the borders based on brightness - - Border rendering order list - Horizontal border - Either left border/right border - Current paragraph borders - To ensure wether we need to remove left or right border - - - - Adds the next paragraph bounds. - - The layouted widget. - The bounds. - - - - - Draws the border. - - The border. - The start. - The end. - - - - Draws the border. - - The border. - The start. - The end. - - - - Draws the border. - - The border. - The start. - The end. - - - - Draws the table. - - The table. - The lt widget. - - - - Draws the table row. - - The row. - The lt widget. - - - - Draws the table cell. - - The cell. - The lt widget. - - - - Checks the TextBox for Background picture. - - - - - - - Draws the texture style. - - - - - - - - - Gets the fore color. - - - - - - - - - Gets the color value. - - The fore color value. - The back color value. - The percent. - - - - - Fill Texture within the bounds - - Texture Style - Fore Color - Back Color - Bounds - - - - Draws the cell borders. - - The cell. - The lt widget. - - - - Draws the multi line left border. - - The cell layout information. - The start. - The end. - if set to true [is first row]. - if set to true [is last row]. - if set to true [is first cell]. - if set to true [is last cell]. - - - - Draws the double line left border. - - The cell layout information. - The start. - The end. - if set to true [is first row]. - if set to true [is last row]. - if set to true [is first cell]. - if set to true [is last cell]. - - - - Draws the multi line right border. - - The cell layout information. - The start. - The end. - if set to true [is first row]. - if set to true [is last row]. - if set to true [is first cell]. - if set to true [is last cell]. - - - - Draws the right double line border. - - The cell layout information. - The start. - The end. - if set to true [is first row]. - if set to true [is last row]. - if set to true [is first cell]. - if set to true [is last cell]. - - - - Draws the multi line bottom border. - - The cell layout information. - The start. - The end. - - - - Draws the double line bottom border. - - The cell layout information. - The start. - The end. - - - - Draws the multi line top border. - - The cell layout information. - The top border. - The start. - The end. - if set to true [is start]. - if set to true [is end]. - - - - Draws the top double line border. - - The cell layout information. - The top border. - The start. - The end. - if set to true [is start]. - if set to true [is end]. - - - - Determines whether the specified border is multiline border - - Type of the border. - - - - - Determines whether [is multi line paragraph border] [the specified border type]. - - Type of the border. - - - - - Gets the border line array. - - Type of the border. - Width of the line. - - - - - To identify whether current border is double line border or triple line border - - Current border which is need to be check - Trueid the current border type is double border - - - - Draws the multi line left border. - - The left border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the double line left border. - - The left border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the triple line left border. - - The left border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the multi line right border. - - The right border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the double line right border. - - The right border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the triple line right border. - - The right border. - The start. - The end. - if set to true [is top border same]. - if set to true [is between border same]. - if set to true [is bottom border same]. - - - - Draws the multi line top border. - - The top border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the double line top border. - - The top border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the triple line top border. - - The top border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the multi line bottom border. - - The bottom border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the double line bottom border. - - The bottom border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the triple line bottom border. - - The bottom border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - - - - Draws the multi line between border. - - The between border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - The left border. - The right border. - if set to true [is overlap left]. - if set to true [is overlap right]. - - - - Draws the double line between border. - - The between border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - The left border. - The right border. - if set to true [is overlap left]. - if set to true [is overlap right]. - - - - Draws the triple line between border. - - The between border. - The start. - The end. - if set to true [is left border same]. - if set to true [is right border same]. - The left border. - The right border. - if set to true [is overlap left]. - if set to true [is overlap right]. - - - - Gets the adjacent border line width - - Left or right border line array - true if we passing left border line array; otherwise false - - - - - Draws the color of the background. - - Color of the bg. - The width. - The height. - - - - Draws the back ground image. - - The image. - The page setup. - - - - Draws the Watermark - - Watermark - Page width - Page height - - - - Imlementation of Draw method of page. - - Currentl drawing page - - - - Checks the current watermark is empty watermark or not. - - - - - - Checks the HeaderFooter Paragraph and Table Weather WaterMark has to draw first - - - - - - Checks the paragraph weather watermark in Paragraph - - - - - - - Checks the paragraph weather watermark in Table - - - - - - - Checks which One has to draw first watermark or picture,shape,textbox - - - - - - - Draw the splitWidgetContainer to PDF document or Image. - - Currentl split widget container - Layouted widget - - - - Imlementation of Draw method of IWidget interface . - - - - - - - Draw widget to graphics. - - - - - Draws the specified dc. - - The dc. - - - - Draw the page border - - Page number - - - - - Imlementation of Draw method of BookMark interface . - - - - - - - Decides whether Clipping is necessary or not. - - - - - - - Imlementation of Draw method of LayoutedWidget interface . - - The Layouted widget. - Is need to initialize layout info - - - - Determines whether the current text range needs to be merged when its contains underline format. - - - - - - - - It's merges the continued same formatting strings - when the corresponding text range has underline style. - - layouted widget - Current text range - Current textrange index. - - - - - Updates the clip bounds based on its owner clip bounds. - - - - - - - - Sets clipping for the particular region. - - - - - - Resets Graphics Transform positions. - - - - - Get the bounds based on the frame content. - - - - - - - Do the Math.Floor operation. - - - - - - - Draw the paragraph - - - - - - - Check whether any of line for current paragraph intersect with floating items. - - Current widget - Whether this is line or line container - - - - - Draw the back ground colour for current line. - - Current paragraph - Current line widget - - - - Find the Back ground color rendering bounds. - - - - - - - - Check whether line preserved left or right or between floating items. - - - - - - - - - - Get the current child widget total bounds. - - - - - - - Draw the split table widget - - - - - - - Draw method for BlockContentControl - - - - - - - Draw method for InlineContentControl - - - - - - - Draw AbsoluteTab - - - - - - - Draw chart as image - - - - - - - Draws chart - - - - - - - Draw the Check box. - - - - - - - Draw the Drop Down Form Field. - - - - - - - Draw the Fields. - - - - - - - Draw Ole Object. - - - - - - - Draw the Picture. - - - - - - - Draw the symbol. - - - - - - - Draw the table. - - - - - - - Draw the table cell. - - - - - - - Draw the table row. - - - - - - - Draw the textbox. - - - - - - - Draw the text form field. - - - - - - - Imlementation of Draw method of LayoutedWidget interface - - - - - - - Draw the shape to PDF document or Image. - - Current shape entity - Current shale layouted widget - - - - Draw the splitStringWidget - - SplitStringWidget - Layouted split string widget - - - - Draw the text ranges. - - - - - - - - - - - - - - - Draw widget to graphics. - - - - - Get Cell Widget - - - - - - - Gets the owner widget of the paragraph - - - - - - - Get owner widget of the cell - - - - - - - Determines whether the layouted widget is Overlapping Widget - - The lt widget. - - true if the layouted widget is Overlapping shape widget; otherwise, false. - - - - - Draws the Text Watermark - - Text Watermark - Bounds - - - - Change the given color brightness - - - - - - - - Draw border for the page - - Page setup object - Header bounds - Footer bounds - Page bounds - - - - - Gets the bounds to draw left border - - Page setup object - Header bounds - Footer bounds - Page bounds - - - - - Gets the bounds to draw right border - - Page setup object - Header bounds - Footer bounds - Page bounds - - - - - Gets the bounds to draw bottom border - - Page setup object - Header bounds - Footer bounds - Page bounds - - - - - Gets the bounds to draw top border - - Page setup object - Header bounds - Footer bounds - Page bounds - - - - - Gets the font size for Text Watermark - - Text Watermark - - - - Draws the Picture Watermark - - Picture Watermark - Bounds - - - - - - - - - Draws the check box. - - The checkbox. - The lt bounds. - - - - - - - - - - - Rotate the shape based on Flip positions - - - - - - - - - - - - - - - - Measures the image. - - The image. - - - - - Measures the picture bullet size - - Picture - Font - Character format - The size of picture bullet - - - - Measures the string. - - The text. - The font. - The layout area. - The format. - - - - - Measures the string. - - The text. - The font. - The layout area. - The format. - The CharacterSpacing - - - - - Measures the string. - - The text. - The font. - The format. - The character format. - if set to true [is measure from tab list]. - if set to true [is measure from small cap string]. - - - - - Calculates the font size for subscript and superscript font. - - Represets a normal font to change as subscript and superscript size. - Returns font size of subscript and superscript for corresponding inputed font. - - - - Get the Exceeded line height of the Arial unicode MS font. - - The font. - - - - - Measures the string. - - The text. - The font. - The layout area. - The format. - The CharacterSpacing - - - - - Measures the small cap string. - - The text. - The size. - The font. - The format. - - - - Draw Unicode Text - - - - - - - - - - - - - - - - - Gets the ascent - - The Font. - - - - - Draws the arrow head. - - The shape. - The pen. - The bounds. - if set to true [is arrow head exist]. - The path. - The line points1. - - - - Draws the close end arrow head. - - The shape. - The pen. - The bounds. - The line points. - The end point. - if set to true [is arrow head exist]. - The path. - - - - Draws the open begin arrow head. - - The shape. - The pen. - The bounds. - The line points. - The end point. - if set to true [is arrow head exist]. - The path. - - - - Draws the close begin arrow head. - - The shape. - The pen. - The bounds. - The line points. - The end point. - if set to true [is arrow head exist]. - The path. - - - - Adds the close arrow head points. - - The points. - The path. - The pen. - - - - Adds the open arrow head points. - - The points. - The path. - - - - Gets the open arrow default values. - - The shape. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - if set to true [is from begin arrow]. - - - - Gets the close arrow default values. - - The shape. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - if set to true [is from begin arrow]. - - - - Gets the length of the arrow head. - - - - - - Gets the close narrow arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Gets the close medium arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Gets the close wide arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Gets the open narrow arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Gets the open medium arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Gets the open wide arrow default values. - - Length of the arrow head. - Width of the line. - Length of the arrow. - The arrow angle. - The adjust value. - - - - Finds the angle to left and right head point. - - The shape. - The point1. - The point2. - - - - - Finds the arrow head angle radians. - - The point1. - The point2. - if set to true [is from separate orientation]. - - - - - Finds the base line end point. - - The shape. - The line points. - The adjust value. - - - - - Gets the end point. - - if set to true [is from begin arrow]. - The degree. - The length. - The adjust value. - The line points. - The x. - The y. - - - - Finds the angle radians. - - The line points. - if set to true [is from bottom to top]. - - - - - Finds the end cap arrow head points. - - The shape. - The pen. - The bounds. - The line points. - if set to true [is from open arrow]. - - - - - Finds the left right head points. - - The shape. - The line points. - The points. - The arrow angle. - Length of the arrow. - if set to true [is from begin arrow]. - - - - Construcs the baset line. - - if set to true [is from begin arrow]. - The points. - The line points. - - - - Gets the arrow default values. - - The shape. - The pen. - Length of the arrow. - The arrow angle. - The adjust value. - if set to true [is from begin arrow]. - - - - Radians to degree. - - The angle. - - - - - Degree2s the radian. - - A. - - - - - Gets the end point. - - The angle. - The length. - The start_x. - The start_y. - The end_x. - The end_y. - - - - Gets the line points based on flip. - - The shape. - The bounds. - - - - - Determines whether the text range is soft hyphen and that need to be drawn. - - The lt widget. - - - - - Gets the string format. - - The char format. - The para format. - - - - - Gets the brush. - - The color. - - - - - Gets the pdf brush. - - The color. - - - - - Gets the color of the text. - - The char format. - - - - - Updates the alternate font for the font not installed in the system. - - The char format. - Name of the font. - The font. - - - - Checks the owner paragraph of the textrange is a TOC - - Text Range - - - - - Gets the font. - - The char format. - - - - - Updates the font name and size based on the Bidi property. - - Character format of the current text range. - Font applied to the current text. - Font size applied to the current text. - Font style applied to the current text. - Returns current text range Bidi font. - - - - Gets the string alignment. - - The para format. - - - - - Gets the pen. - - The border. - - - - - Gets the pen. - - Type of the border. - Width of the border line. - Color of the border. - - - - - Scales the image. - - The image. - The width. - The height. - - - - - Adds Bookmark cross reference field to the collection. - - The bounds. - - - - Adds the hyper link to collection. - - The text. - The bounds. - - - - Updates the TOC level. - - The paragraph. - The bookmark. - - - - Updates Result index - - text - the measurer - Word length - res index - bSplitByChar - bIsInCell - offset - Client Width - res Index - - - - Determine whether the character is CJK leading character - A line of text cannot end with any leading characters, which are listed below - - - - - - - Determine whether the character is Begin CJK character - A line of text cannot begin with any following characters - - - - - - - Determine whether the character is CJK overflow character - Overflow characters are allowed to render in the same line when it doesn't have required client width to fit the character - - - - - - - - - - - - - - Get previous text range - - - - - - Get cell Width - - The TextRange - - - - - Determines whether the text is unicode - - text - - true if text is unicode, set to true. - - - - - Gets length of WORD. - NOTE: - - WORD: text run that finished by last space letter - (sample: "text " or " "; wrong sample: " text" or "text text" ) - EXCLUSION: - - If text working part have zero symbols return (-1) - - If text working part don't consist SPACE letters return legth of - text working part - - - Index of word first letter - Length of found word - - - - Closes this instance. - - - - - Draws the behind shape widgets. - - - - - Get Order index of the floating item - - - - - - Get the line width of the picture border for Inline picture shape - - - - - - - Get the line width of the picture border - - - - - - - - - - - - Get the Current Bookmark name - - - - - Gets or sets the graphics. - - The graphics. - - - - Gets or sets the ImageQuality. - - image quality - - - - Gets or sets the graphics. - - The graphics. - - - - Gets the bitmap graphics. - - The graphics. - - - - Gets the hyperlinks. - - The hyperlinks. - - - - Gets the bookmark hyperlinks list. - - - - - Gets the bookmarks. - - - - - Gets the overlapping shape widgets. - - The overlapping shape widgets. - - - - Gets the font metric. - - - The font metric. - - - - - Gets the string formt. - - - The string formt. - - - - - Gets or sets a value indicating whether to embed fonts to converted PDF in Word to PDF conversion. - - - - - Gets or sets a value indicating whether to embed the complete font information in the resultant PDF document. - - - - - - - - - - - - - - - - - - Gets the vertical border - - - - - Gets / sets the horizontal border - - - - - Initializes a new instance of the class. - - Name of the bookmark. - The page number. - The bounds. - - - - Gets or sets the bounds. - - The bounds. - - - - Gets or sets the page number. - - The page number. - - - - Gets or sets the name of the bookmark. - - The name of the bookmark. - - - - Sort the border rendering order based on its color brightness order - - - - - This class provides support for converting WordDocument into an PDF Document. - - - - This class is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - This example converts the specified Word Document in to PDF Document. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - 'Loads an existing Word document - Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As New DocToPDFConverter() - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - - - - Specifies the default image type. - - - - - converter settings to the document - - - - - The m_flag - - - - - Initializes a new instance of the class. - - This constructor is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - This example converts the specified Word Document in to PDF Document. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - 'Loads an existing Word document - Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As New DocToPDFConverter() - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - - - - Release the resources occupied by this instance. - - - - - Releases all resources used by the object. - - This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - This example converts the specified Word Document in to PDF Document. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - 'Loads an existing Word document - Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As New DocToPDFConverter() - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - - - - Converts the specified WordDocument to PDF. - - The word document. - The PdfDocument. - This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - If running the application by hosting in Azure environment, is enabled automatically. - - This example converts the specified Word Document in to PDF Document. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - 'Loads an existing Word document - Dim wordDocument As New WordDocument("Template.docx", FormatType.Docx) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As New DocToPDFConverter() - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - pdfDocument.Close(true); - wordDocument.Close(); - - - - - - Converts the specified WordDocument to PDF. - - Name of the file. - The PdfDocument. - This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - If running the application by hosting in Azure environment, is enabled automatically. - - This example converts the specified Word Document in to PDF Document. - - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts the specified WordDocument to PDF. - PdfDocument pdfDocument = converter.ConvertToPDF(fileName); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - pdfDocument.Close(true); - - - 'Creates an instance of the DocToPDFConverter - Dim converter As New DocToPDFConverter() for Word to PDF conversion - 'Instantiation of DocToPDFConverter - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(filename) - 'Save the document in the given name and PDF format - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - pdfDocument.Close(true); - - - - - - Converts to PDF. - - The stream. - The PdfDocument. - This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - If running the application by hosting in Azure environment, is enabled automatically. - - This example converts the specified Word Document in to PDF Document. - - //Loads an existing Word document - Stream fileStream = new FileStream("Template.docx", FileMode.Open, FileAccess.Read, FileShare.Read); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Converts the specified WordDocument to PDF. - PdfDocument pdfDocument = converter.ConvertToPDF(fileStream); - //Save the document in the given name and PDF format - pdfDocument.Save("WordtoPDF.pdf"); - //Releases all resources used by the object. - converter.Dispose(); - //Closes the instance of document objects - fileStream.Close(); - pdfDocument.Close(true); - - - //Loads an existing Word document - Dim fileStream As Stream = New FileStream("Template.docx", FileMode.Open, FileAccess.Read, FileShare.Read) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As New DocToPDFConverter() - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(fileStream) - 'Save the document in the given name and PDF format - pdfDocument.Save("WordtoPDF.pdf"); - 'Releases all resources used by the object. - converter.Dispose(); - 'Closes the instance of document objects - fileStream.Close(); - pdfDocument.Close(true); - - - - - - Creates the PDF document. - - - - - - Adds the section. - - The page setup. - - - - - Sets the pages settings. - - The layouter. - - - - Adds the document properties. - - The doc properties. - - - - Adds the hyper links. - - The hyperlinks. - - - - Converts the TOC into Bookmark. - - - - - Draw To PDF - - The DocumentLayouter - PdfDocument - - - - Draw To PDF - - The DocumentLayouter - PdfDocument - - - - Shows the warnings. - - - - - - Create warning element names into the list - - - - - - Gets the page settings. - - The page settings. - - - - Gets or sets the quality. - - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets a value indicating whether this conversion has been canceled. - - - true if this conversion is canceled; otherwise, false. - - This method is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets or sets a value indicating whether the PDF document was generated using web service. - - - true if the PDF document was generated using web service; otherwise, false. - - - - - Represent class with setting of converter. - - This example illustrates DocToPDFConverter settings. - This class is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiation of DocToPDFConverter for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Skip the updating process for Alternate chunks in the Word document - converter.Settings.EnableAlternateChunks = false; - //Sets the image resolution - converter.Settings.ImageResolution = 640; - //Sets the jpeg image quality to reduce the Pdf file size - converter.Settings.ImageQuality = 100; - //Sets true to optimize the memory usage for identical image - converter.Settings.OptimizeIdenticalImages = false; - //Sets the PdfConformanceLevel - converter.Settings.PdfConformanceLevel = PdfConformanceLevel.None; - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Closes the instance of Word document object - wordDocument.Close(); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases the resources occupied by DocToPDFConverter instance - converter.Dispose(); - //Closes the instance of PDF document object - pdfDocument.Close(true); - - - 'Loads an existing Word document - Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) - 'Instantiation of DocToPDFConverter for Word to PDF conversion - Dim converter As DocToPDFConverter = New DocToPDFConverter() - 'Skip the updating process for Alternate chunks in the Word document - converter.Settings.EnableAlternateChunks = False - 'Sets the image resolution - converter.Settings.ImageResolution = 640 - 'Sets the jpeg image quality to reduce the Pdf file size - converter.Settings.ImageQuality = 100 - 'Sets true to optimize the memory usage for identical image - converter.Settings.OptimizeIdenticalImages = False - 'Sets the PdfConformanceLevel - converter.Settings.PdfConformanceLevel = PdfConformanceLevel.None - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Closes the instance of Word document object - wordDocument.Close() - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf") - 'Releases the resources occupied by DocToPDFConverter instance - converter.Dispose() - 'Closes the instance of PDF document object - pdfDocument.Close(True) - - - - - - Need to enable the Alternate chunks element - - - - - Need to enable the direct PDF rendering - - - - - Indicates the quality of the image. - - - - - Indicates the Image resolution - - - - - The m_warning - - - - - Gets or sets a value indicates to enable the Alternate chunks present in the Word document . Default value is True. - - True if need to enable the Alternate chunks; otherwise, false. - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets or sets a value that indicates whether to convert PDF faster by using direct PDF rendering. The default value is false. - - True If True, converts PDF faster by using direct PDF rendering approach. Otherwise uses EMF rendering. otherwise, false. - EMF rendering – Convert a Word document to EMF and render the generated EMF to PDF during Word to PDF conversion. - This is default approach, to maintain compatibility for earlier versions. PDF rendering – Directly render a Word document to PDF. - This approach is available from 2016 Volume 4 release. - - - - Gets or sets the quality. The value indicates in percentage, max value represents best quality and min value represents best compression. - - - The value indicates in percentage, max value represents best quality and min value represents best compression - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - - Sets the image resolution to the image, which are Embedded - in the Word document - - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets/Sets a value indicating whether to optimize the memory usage for the identical (duplicate) images in Doc to Pdf conversion and converted Pdf document. - - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets or sets the warning that describes the unsupported elements found while converting the specified Word document to PDF. - - - The warning. - - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets or sets the Pdf document's Conformance-level. - - The of the PDF document. - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - - Gets or sets a value indicating whether to embed fonts in the converted PDF document. Default value is false - - - True: if need to embed fonts in the converted PDF document; otherwise, False. - - - - This property is supported to embed TrueType fonts only. - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - This example illustrates EmbedFonts property of DocToPDFConverter settings. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiates DocToPDFConverter instance for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Sets EmbedFonts property as true, to embed fonts in resultant PDF - converter.Settings.EmbedFonts = true; - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Closes the instance of Word document object - wordDocument.Close(); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases the resources occupied by DocToPDFConverter instance - converter.Dispose(); - //Closes the instance of PDF document object - pdfDocument.Close(true); - - - 'Loads an existing Word document - Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) - 'Instantiates DocToPDFConverter instance for Word to PDF conversion - Dim converter As DocToPDFConverter = New DocToPDFConverter() - 'Sets EmbedFonts property as true, to embed fonts in resultant PDF - converter.Settings.EmbedFonts = True - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Closes the instance of Word document object - wordDocument.Close() - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf") - 'Releases the resources occupied by DocToPDFConverter instance - converter.Dispose() - 'Closes the instance of PDF document object - pdfDocument.Close(True) - - - - - - Gets or sets a value indicating whether to embed the complete font information in the converted PDF document. Default value is false - - - True: if need to embed the complete font information in the converted PDF document; otherwise, False. - - - - This property is used to indicate whether the complete font information of - the characters in the resultant PDF document to embedded or not. - This property is supported to embed TrueType fonts only. - This property is supported on Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms only. - - - This example illustrates EmbedCompleteFonts property of DocToPDFConverter settings. - - //Loads an existing Word document - WordDocument wordDocument = new WordDocument("Template.docx", FormatType.Docx); - //Instantiates DocToPDFConverter instance for Word to PDF conversion - DocToPDFConverter converter = new DocToPDFConverter(); - //Sets the embed complete font information in converted PDF - converter.Settings.EmbedCompleteFonts = true; - //Converts Word document into PDF document - PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument); - //Closes the instance of Word document object - wordDocument.Close(); - //Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf"); - //Releases the resources occupied by DocToPDFConverter instance - converter.Dispose(); - //Closes the instance of PDF document object - pdfDocument.Close(true); - - - 'Loads an existing Word document - Dim wordDocument As WordDocument = New WordDocument("Template.docx", FormatType.Docx) - 'Instantiates DocToPDFConverter instance for Word to PDF conversion - Dim converter As DocToPDFConverter = New DocToPDFConverter() - 'Sets the embed complete font information in converted PDF - converter.Settings.EmbedCompleteFonts = True - 'Converts Word document into PDF document - Dim pdfDocument As PdfDocument = converter.ConvertToPDF(wordDocument) - 'Closes the instance of Word document object - wordDocument.Close() - 'Saves the PDF file - pdfDocument.Save("WordtoPDF.pdf") - 'Releases the resources occupied by DocToPDFConverter instance - converter.Dispose() - 'Closes the instance of PDF document object - pdfDocument.Close(True) - - - - - diff --git a/3rdPackage/Syncfusion.OfficeChart.Base.dll b/3rdPackage/Syncfusion.OfficeChart.Base.dll deleted file mode 100644 index 516cb37..0000000 Binary files a/3rdPackage/Syncfusion.OfficeChart.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.OfficeChart.Base.xml b/3rdPackage/Syncfusion.OfficeChart.Base.xml deleted file mode 100644 index 9be75b4..0000000 --- a/3rdPackage/Syncfusion.OfficeChart.Base.xml +++ /dev/null @@ -1,166701 +0,0 @@ - - - - Syncfusion.OfficeChart.Base - - - - - Represents a collection of charts. - - - - - Creates a new chart. - - Newly created chart object. - - - - Defines a new name. - - Name of the new chart's sheet. - Newly created chart object. - - - - Removes Chart object from the collection. - - Name of the object to remove from the collection. - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns a single Chart object from a Charts collection - - - - - Returns a single Chart object from a Charts collection. - - - - - Collection of the Charts object. - - - - - This is the base class for all collections. - - - - - List with collection items. - - - - - Initializes a new instance of the class with the default initial capacity. - - - - - Initializes a new instance of the class with the specified capacity. - - The number of elements that the new list can initially store. - - - - Removes all objects from the System.Collections.CollectionBase instance. - - - - - Inserts an element into the list at the specified index. - - The zero-based index at which item should be inserted. - The object to insert. The value can be null for reference types. - - - - Returns an enumerator that iterates through this instance. - - An enumerator for this instance. - - - - Performs additional custom processes when clearing the contents of this instance. - - - - - Performs additional custom processes after clearing the contents of this instance. - - - - - Performs additional custom processes before inserting a new element into this instance. - - The zero-based index at which to insert value. - The new value of the element at index. - - - - Performs additional custom processes after inserting a new element into this instance. - - The zero-based index at which to insert value. - The new value of the element at index. - - - - Performs additional custom processes when removing an element from this instance. - - The zero-based index at which value can be found. - The value of the element to remove from index. - - - - Performs additional custom processes after removing an element from this instance. - - The zero-based index at which value can be found. - The value of the element to remove from index. - - - - Performs additional custom processes before setting a value in this instance. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at index. - - - - Performs additional custom processes after setting a value in this instance. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at index. - - - - Removes the element at the specified index of this instance. - - The zero-based index of the element to remove. - - - - Gets or sets the number of elements that the System.Collections.CollectionBase can contain. - - - - - Gets the number of elements contained in the System.Collections.CollectionBase instance. - - - - - Gets the list of elements in the instance. - - - - - Gets the list of elements in the instance. - - - - - Interface that contains parent application. - - - - - Parent object for this object. - - - - - Supports cloning, which creates a new instance of a class - with the same value as an existing instance. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - An Application object that represents the Excel application. - - - - - The parent object for the specified object. - - - - - If True, events will not be raised; if False, events will be raised. - - - - - Default constructor. To prevent class creation by default constructor. - - - - - Creates collection and sets its Application and Parent values. - - - Application object that represents the Excel application. - - Parent object of this collection. - - - - This method raises the Changed event. - - - - - OnClear is invoked before Clear behavior. - - - - - OnClear is invoked after Clear behavior. - - - - - Performs additional processes before inserting - a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at index. - - - - Performs additional processes after inserting - a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at index. - - - - Performs additional processes before removing - an element from the collection. - - - The zero-based index at which the value can be found. - - - The value of the element to remove from index. - - - - - Performs additional processes after removing - an element from the collection. - - The zero-based index at which the value can be found. - The value of the element to remove from index. - - - - Performs additional processes before setting - a value in the collection. - - - The zero-based index at which oldValue can be found. - - The value to replace with newValue. - The new value of the element at index. - - - - Performs additional processes after setting a value in the collection. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at the index. - - - - Method used to find parent within a specific type. - - Parent type to search. - Found parent if was parent was found or NULL otherwise. - - When there is cycle in object tree. - - - - - Method used to find parent within a specific type. - - Parent type to search. - Indicates whether to look into subclasses. - Found parent if was parent was found or NULL otherwise. - - When there is cycle in object tree. - - - - - Sets parent object for class. - - Parent object for sets. - - - - Creates copy of the collection. - - Parent object for the new collection. - A copy of the collection. - - - - Enlarges internal storage if necessary. - - Required size. - - - - Generates default name. - - Names collection. - Start string. - Returns string with new name. - - - - Generates default name. - - Names collection. - Start string. - Returns string with new name. - - - - Generate default name. - - Start string. - Collection with names. - Returns new name. - - - - Changes name. - - Hash table with names - - - - - Read-only. An Application object that represents the Excel application. - - - - - Read-only. The parent object for the specified object. - - - - - Gets / sets whether class can raise events. - - - - - Application object. Read-only. - - - - - Change in the collection. - - - - - Raised by class before real cleaning of collection. - - - - - Raised by class after collection clean process. - - - - - Raised by class before item will be added into the collection. - - - - - Raised by class after item is added to the collection. - - - - - Raised by class before real item is removed from the collection. - - - - - Raised by class after item is removed from the collection storage - - - - - Raised by class before item is replaced in the collection. - - - - - Raised by class after item is replaced in the collection. - - - - - Delegate for Clear event. - - - - - Delegate for Change event. - - - - - Delegate for Set event. - - - - - Default start of the chart name. - - - - - Name-to-Chart dictionary. - - - - - Creates chart collection. - - Application object for the collection. - Parent object for the collection. - - - - Adds specified chart to the collection. - - Chart that should be added to the collection. - Added chart object. - - - - Creates a new chart. - - Newly created chart object. - - - - Defines a new name. - - Name of the new chart's sheet. - Newly created chart object. - - - - Removes Chart object from the collection. - - Name of the object to remove from the collection. - - - - Sets all parents. - - - If one of the parent objects cannot be found. - - - - - Moves worksheet inside this collection only. - - Old index in the collection. - New index in the collection. - - - - Performs additional operations before Clear method execution. - - - - - - - - - - - - Adds chart into internal collections. - - Chart to add. - - - - Returns a single Chart object from a Charts collection. - - - - - Class used for format constants. - - - - - Number of hours in a day. - - - - - Number of minutes in a hour. - - - - - Number of minutes in a day. - - - - - Number of seconds in a minute. - - - - - Number of seconds in a day. - - - - - This class gives access to the XlsIO IApplication interface. - - - - - Storage of XlsIO Application object which provides an IApplication interface - - - - - Indicates if the class was disposed. - TRUE - If the class was disposed, otherwise FALSE - - - - - TRUE - Throw exception when object is disposed and it's data was - not saved, otherwise FALSE - - - - - Default constructor. - - - - - Destructor. - - - - - Releases all resources used by the object. - - - Thrown when ThrowNotSavedOnDestoy property is set to TRUE and XlsIO - object data was not saved. - - - - - Checks whether license is valid. - - - - - Interface to the XlsIO Application which gives - access to all supported functions. - - - - - Dispose will throw an ExcelWorkbookNotSavedException when the workbook is not saved - and this property is set to TRUE. Default value is FALSE. - - - - - Checks whether security permission can be granted. Read-only. - - - - - Exception that will be thrown when the user tries to dispose XlsIO - application without saving it. - - - - - Creates new ExcelWorkbookNotSavedException. - - Text that showed after rising. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a null reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Represents config xls class. - - - - - Creates xls config object. - - - - - Gets Copyright string. Read-only. - - - - - Class used for format parsing. - - - - - This is the base class for all Implementation's classes. - - - - - Reference to Application object. - - - - - Reference to parent Object. - - - - - Counter which can be used for calculating references. - - - - - Flag which indicates if the object was disposed or not. - - - - - Default constructor. Object cannot be constructed without setting Application - and parent references. - - - - - Main class constructor. Application and Parent properties are set. - - Reference to Application instance. - - Reference to the Parent object which will host this object - - - If specified application or parent is null. - - - - - Destructor. Call dispose method of current object. - - - - - This method is used to find parent with specific type. - - Parent type to locate. - The found parent or NULL if parent was not found. - - When there is cycle in object tree. - - - - - This method is used to find parent with specific type. - - Parent type to locate. - Indicates whether to search subtypes. - The found parent or NULL if parent was not found. - - When there is cycle in object tree. - - - - - This method is used to find parent with specific type. - - Start object for search operation. - Parent type to locate. - The found parent or NULL if parent was not found. - - - - This method is used to find parent with specific type. - - Start object for search operation. - Parent type to locate. - Indicates whether to search subtypes. - The found parent or NULL if parent was not found. - - - - Finds parent objects. - - Array of parents type. - Returns array of found parent objects. - - - - Find parent of object. - - Array of parents type. - Returns found parent object. - - - - Sets parent of the object. - - New parent for this object. - - - - Checks whether object was disposed and throws exception if it was. - - - - - Increase the quantity of reference. User must use this method when - new wrapper on object is created or reference on object stored. - - New state of Reference count value. - - - - Decrease quantity of Reference. User must call this method - when freeing resources. - - New state of Reference count value. - - - - Dispose object and free resources. - - - - - Method which can be overridden by users to take any specific actions when - object is disposed. - - - - - Reference to Application which hosts all objects. Read-only. - - - - - Reference to Parent object. Read-only. - - - - - Reference to Application which hosts all objects. Read-only. - - - - - Get quantity of instance references. - - - - - Constant Exponential symbol - - - - - constant Hash Symbol - - - - - List with all known format tokens. - - - - - Initializes a new instance of the FormatParserImpl class. - - Represents current application. - Represents parent object. - - - - Parses format string. - - String to parse. - Collection with parsed tokens. - - - - Class used for Format Section. - - - - - Return this value when element wasn't found. - - - - - Thousand separator. - - - - - Minus sign. - - - - - Default round off digit. - - - - - Table for token type detection. Value in TokenType arrays must be sorted. - - - - - Break tokens when locating hour token. - - - - - Break tokens when locating second token. - - - - - Possible digit tokens in the millisecond token. - - - - - Date Tokens - - - - - Time Tokens - - - - - Array of tokens. - - - - - Indicates whether format is prepared. - - - - - Position of decimal separator. - - - - - Position of E/E+ or E- signs in format string. - - - - - Last digit. - - - - - Indicates whether there are groups after last digit. - - - - - Number of digits in decimal fraction part. - - - - - Number of digits in integer part of number. - - - - - Position where fraction sign '/' was met for the first time. - - - - - Indicates whether number format contains fraction sign. - - - - - Start of the fraction numerator group. - - - - - End of the fraction denumerator group. - - - - - Length of the denumerator. - - - - - End position of the integer value. - - - - - End position of the decimal value. - - - - - Condition token. - - - - - Culture token. Used to display values. - - - - - Section format type. - - - - - Indicates whether we digits must be grouped. - - - - - Indicates whether more than one decimal point was met in the format string. - - - - - Indicates whether we should use system - - - - - Initializes a new instance of the FormatSection class. - - Represents current application. - Represents parent object. - - - - Initializes a new instance of the FormatSection class based on array of tokens. - - Represents current application. - Represents parent object. - Array of section's tokens. - - - - Prepares format if necessary. - - - - - Checks whether digits must be grouped. - - True if digits must be grouped, otherwise returns false. - - - - Prepares tokens and sets iternal position pointers. - - - - - Prepares insignificant digits that are present in decimal fraction part of this section. - - - - - Searches for corresponding hour token. - - Start index to search. - Corresponding hour token. - - - - Applies format to the value. - - Value to apply format to. - String representation of the value. - - - - Applies format to the value. - - Value to apply format to. - String representation of the value. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - String representation of the value. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - String representation of the value. - - - - Assigns position to the variable and checks if it wasn't assigned - before (throws ForamtException if it was). - - Variable to assign. - Current position. - - - - Applies part of the format tokens to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - Start format token. - End format token. - Indicates whether token index should be increased after each step. - String representation of the value. - - - - Applies part of the format tokens to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - Start format token. - End format token. - Indicates whether token index should be increased after each step. - Indicates whether to group digit tokens. - Indicates whether we should add negative sign before first digit token. - String representation of the value. - - - - Applies digit token to the value. - - Represents a digit token to apply. - Digit index. - Represents Start index of the range. - Represents Value to apply digit token to. - Represents digit counter. - Represents the StringBuilder to add value to. - Boolean value indicating direction of the apply cycle. - Boolean value indicating whether we should show hidden symbols. - Boolean value indicating whether digits are grouped. - Value of the digit count. - - - - Applies digit token to the value. - - Digit index. - Represents start index. - Represents digit counter. - Represents result of token string. - Represents the StringBuilder to add value to. - Boolean value indicating direction of the apply cycle. - Boolean value indicating whether digits are grouped. - Number of digits. - - - - Adds value to a StringBuilder. - - The StringBuilder to add value to. - Indicates whether we should call append method or insert. - Value to add. - - - - Checks whether iPos is inside range of correct values. - - End token index. - Indicates whether position is increasing each cycle. - Current position. - Value indicating whether iPos in inside of range of valid values. - - - - Locates last digit of the decimal fraction. - - Value of last decimal digit. - - - - Locates last group symbols. - - Start index to search. - Value indicating whether groups are present after last decimal digit. - - - - Applies last groups tokens. - - Value to apply to. - Indicates whether to show hidden symbols (reserved place). - - - - Prepares value for format application. - - Value to apply to. - Indicates whether to show hidden symbols (reserved place). - - - - Calculates number of fraction digits. - - Number of fraction digits. - - - - Calculates number of digits in the integer part of format string. - - Number of digits in the integer part of format string. - - - - Calculates number of digits in the specified range. - - Start index of the range. - End index of the range. - Number of digits in the specified range. - - - - Searches for block of digits that correspond to the fraction. - - - - - Searches for start of the group of digits. - - Start position to search. - Direction of the search: true - from left to right, false - from right to left. - Position of the start of the group. - - - - Indicates whether range contains any digits. - - Start range index. - End range index. - Value indicating whether range contains any digits. - - - - Checks whether value value meets the condition. - - Value to check. - True if value meets the condition; otherwise returns False. - - - - Tries to detect format type. - - - - - Checks whether section contains only specified token types. - - Array with possible tokens. - Value indicating whether the section contains only specified token types. - - - - Check whether this token is really minute token and substitutes it by Month if necessary. - - Token index to check. - - - - Searches for required time token. - - Start token index. - Types of tokens that could stop search process. - Indicates whether we have to increase token index on each iteration. - Types of token to search. - Index of the found token or -1 if token was not found. - - - - Sets to all second tokens. - - - - - Indicates whether type of specified token is in the array of tokens. - - Array of tokens to check. - Token type to locate. - True if token type is in the array of possible tokens. - - - - Splits value into integer and decimal parts. - - Value to split. - Return fraction value. - Integer value. - - - - Rounds value. - - Represents value to be rounded. - Rounded Value. - - - - Creates a new object that is a copy of the current instance. - - Represents parent object. - A new object that is a copy of this instance. - - - - Indicate whether the format string in time format - - - - - Indicate whether the format string in date format - - - - - Returns single token from the section. Read-only. - - - - - Gets the number of tokens in the section. - - - - - Gets a value indicating whether section contains condition. Read-only. - - - - - Gets the section type. - - - - - Gets the culture used for conversion. Read-only. - - - - - Gets a value indicating whether number format contains fraction sign. Read-only. - - - - - Gets a value indicating whether section contains E/E+ or E- signs in format string. - - - - - Gets a value indicating whether thousand separator is present in number format. Read-only. - - - - - Gets the number of digits after "." sign. Read-only. - - - - - Class used for Section Collection. - - - - - Two many sections error message. - - - - - Maximum number of sections in "conditional mode". - - - - - Maximum number of secionts in "non-conditional mode"; - - - - - Index of section with positive number format. - - - - - Index of section with negative number format. - - - - - Index of section with positive number format. - - - - - Index of section with positive number format. - - - - - Indicates whether format contains conditions. - - - - - Initializes a new instance of the FormatSectionCollection class to prevent creation without arguments. - - Represents current application. - Represents parent object. - - - - Initializes a new instance of the FormatSectionCollection class. - - Represents current application. - Represents parent object. - List to parse. - - - - Returns format type for a specified value. - - Value to get format type for. - Format type for the specified value. - - - - Returns format type for a specified value. - - Value to get format type for. - Format type for the specified value. - - - - Splits array of tokens by SectionSeparator. - - List to parse. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - String representation of the value. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show reserved symbols. - String representation of the value. - - - - Returns section for formatting with specified index. - - Section index. - Format section that should be to the value. - - - - Returns section that corresponds to the specified value. - - Value to search section for. - If section is found then returns it, otherwise returns Null. - - - - Searches for section that should be used for zero number formatting. - - Section that should be used for zero number formatting. - - - - Returns text section. - - Text format section. - - - - Indicate whether the format string in time format - - - - - Indicate whether the format string in date format - - - - - Creates a new object that is a copy of the current instance. - - Represents parent object. - A new object that is a copy of this instance. - - - - Contains Am Pm Token descriptions. - - - - - Base class for formula tokens. - - - - - Default regular expressions options: - - - - - Part of format. - - - - - Initializes a new instance of the FormatTokenBase class - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Tries to parse format string using regular expression. - - Regular expression to use. - Format string to parse. - Start index. - Position after parsing. - - - - Tries to parse format string using regular expression. - - Regular expression to use. - Format string to parse. - Start index. - Output regular expression match. - Position after parsing. - - - - Applies format to the value. - - Value to format. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Applies format to the value. - - Value to format. - Formatted value. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Searches for string from strings array in the format starting from the specified position. - - Array of strings to check. - String format to search in. - Start index in the format. - Indicates whether to ignore case. - String index or -1 if not found. - - - - This method is called after format string was changed. - - - - - Gets or sets format of the token. - - - - - Gets type of the token. Read-only. - - - - - Start of the token. - - - - - Start of the token. - - - - - Edge between AM and PM symbols. - - - - - AM symbol. - - - - - PM symbol. - - - - - Length of the token. - - - - - Initializes a new instance of the AmPmToken class - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Checks the AMPM is other pattern. - - - - - - - Returns type of the token. Read-only. - - - - - Class used for Asterix Token. - - - - - Default start character. - - - - - Initializes a new instance of the AsterixToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Character Token. - - - - - Start of the token. - - - - - Initializes a new instance of the CharacterToken class - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Color Tokens. - - - - - Class used for parsing Brackets. - - - - - Start character of the token. - - - - - End character of the token. - - - - - Initializes a new instance of the InBracketToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Tries to parse format string. - - Format string to parse. - Position of the first bracket. - Position to start parsing at. - Position of the end bracket. - Position after parsed block. - - - - Reserved keyword for color definition in excel number format. - - - - - Minimum possible color index. - - - - - Maximum possible color index. - - - - - Color increment. - - - - - Regex for color selecting. - - - - - Possible color values. - - - - - Color index. - - - - - Initializes a new instance of the ColorToken class - - - - - Tries to parse format string. - - Format string to parse. - Position of the first bracket. - Position to start parsing at. - Position of the end bracket. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Searches for color in the array of known colors. - - Format string. - Start index. - Index in the array of known colors or -1 if color was not found. - - - - Tries to get color number from format string. - - Format string - Index to start looking from. - End index of the token. - Extracted color index or -1 if color was not found. - - - - Returns type of the token. Read-only. - - - - - Class used for Condition Tokens. - - - - - All compare operations. - - - - - Indicates whether token should be formatted using am/pm time format. - - - - - Applied compare operation. - - - - - Initializes a new instance of the ConditionToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position of the first bracket. - Position to start parsing at. - Position of the end bracket. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Checks value with the condition. - - Value to check. - Value that indicates whether the condition is true for the value. - - - - Returns type of the token. Read-only. - - - - - Possible compare operators. - - - - - Class used for Culture Tokens. - - - - - Group in regular expression with locale id. - - - - - Group in regular expression with characters. - - - - - LocaleId value that indicates that we should use system settings instead of provided number format. - - - - - Regular expression for hours part of the format: - - - - - Locale id of the desired culture. - - - - - Character specifying the culture. - - - - - Initializes a new instance of the CultureToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Gets the culture info. Read-only. - - - - - Gets a value indicating whether we should ignore all following format tokens and use system date format. Read-only. - - - - - Class used for describing Day Tokens. - - - - - Regular expression for minutes part of the format: - - - - - Format string in lower case. - - - - - Initializes a new instance of the DayToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for describing DecimalSeparatorToken. - - - - - Class used for character token. - - - - - Initializes a new instance of the SingleCharToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Gets format character. Read-only. - - - - - Format character. - - - - - Initializes a new instance of the DecimalPointToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Format character. Read-only. - - - - - Returns type of the token. Read-only. - - - - - Class used for describing Digit Tokens. - - - - - Indicates whether this digit is last in the sequence of digits - and all significant numbers should be displayed. - - - - - Initializes a new instance of the DigitToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Gets single digit from number and updates number. - - Number to get digit from. - Extracted digit. - - - - Returns string representation according to the current format and digit value. - - Value after removing current digit. - Digit to convert into string. - Indicates whether to show hidden symbols. - Converted value. - - - - Gets or sets a value indicating whether this digit is last in the sequence of digits - and all significant numbers should be displayed. Read-only. - - - - - Class used for Fraction tokens. - - - - - Format character. - - - - - Initializes a new instance of the FractionToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Returns type of the token. Read-only. - - - - - Class used for organizing General Tokens. - - - - - Format string. - - - - - Initializes a new instance of the GeneralToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for 24 hour Token. - - - - - Regular expression for hours part of the format: - - - - - Initializes a new instance of the Hour24Token class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Hour Token. - - - - - Long format. - - - - - Regular expression for hours part of the format: - - - - - Indicates whether token should be formatted using am/pm time format. - - - - - Initializes a new instance of the HourToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Gets or sets a value indicating whether token should be formatted using am/pm time format. - - - - - Class used for Significant Digit Tokens. - - - - - Format character. - - - - - Indicates that we shouldn't show string value if digit is zero. - - - - - Initializes a new instance of the InsignificantDigitToken class. - - - - - Returns string representation according to the current format and digit value. - - Value after removing specified digit. - Digit to convert into string. - Indicates whether to show hidden symbols. - Converted value. - - - - Returns type of the token. Read-only. - - - - - Format character. Read-only. - - - - - Gets or sets a value indicating whether to show string value if digit is zero. - - - - - Class used for MilliSecond Token. - - - - - Long format. - - - - - Represents Dot. - - - - - Default OleDateValue - - - - - Maximum OleDateValue - - - - - Maximum format length. - - - - - Initializes a new instance of the MilliSecondToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Minute Token. - - - - - Long type of the format. - - - - - Default OleDateValue - - - - - Maximum OleDateValue - - - - - Regular expression for minutes part of the format: - - - - - Initializes a new instance of the MinuteToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - This method is called after format string was changed. - - - - - Returns type of the token. Read-only. - - - - - Class used for organizing Minutes since midnight. - - - - - Regular expression for hours part of the format: - - - - - Initializes a new instance of the MinuteTotalToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Month Token. - - - - - Short year format. - - - - - Length of the format for full name of the month. - - - - - Length of the format for full name of the month. - - - - - Length of the format for full name of the month. - - - - - Format for long number month representation. - - - - - Regular expression for minutes part of the format: - - - - - Initializes a new instance of the MonthToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - This method is called after format string was changed. - - - - - Returns type of the token. Read-only. - - - - - Class used for Percent Token. - - - - - Format character. - - - - - Initializes a new instance of the PercentToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Format character. Read-only. - - - - - Class used for placing reserved digit token. - - - - - Format character. - - - - - String to display when digit is 0 and ShowHiddenSymbols is set to False. - - - - - Initializes a new instance of the PlaceReservedDigitToken class. - - - - - Returns string representation according to the current format and digit value. - - Value after removing specified digit. - Digit to convert into string. - Indicates whether to show hidden symbols. - Converted value. - - - - Returns type of the token. Read-only. - - - - - Format character. Read-only. - - - - - Class used for reserved place format token. - - - - - Start of the token. - - - - - Space symbol. - - - - - Initializes a new instance of the ReservedPlaceToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Scientific Token. - - - - - Short form without plus sign. - - - - - One of the possible formats. - - - - - Used format index. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Seconds Token. - - - - - Long type of the format. - - - - - Half of possible milliseconds. - - - - - Default OleDateValue - - - - - Maximum OleDateValue - - - - - Regular expression for minutes part of the format: - - - - - Indicates whether number of seconds must be rounded. - - - - - Initializes a new instance of the SecondToken class - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Gets or sets a value indicating whether number of seconds must be rounded. - - - - - Class used for second total token. - - - - - Regular expression for hours part of the format: - - - - - Initializes a new instance of the SecondTotalToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for separator token. - - - - - Default string representation of the separator. - - - - - Initializes a new instance of the SectionSeparatorToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Significant Digit Token. - - - - - Format character. - - - - - Initializes a new instance of the SignificantDigitToken class. - - - - - Returns type of the token. Read-only. - - - - - Format character. Read-only. - - - - - Class used for String Token. - - - - - Regular expression for minutes part of the format: - - - - - Initializes a new instance of the StringToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for Text Token. - - - - - Format character for text token. - - - - - Initializes a new instance of the TextToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Format character. Read-only. - - - - - Class used for thousands separator token. - - - - - Format character. - - - - - Indicates whether this separator is placed immediately after last digit token. - - - - - Initializes a new instance of the ThousandsSeparatorToken class. - - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Prepares value to display. - - Value to prepare. - Prepared value. - - - - Format character. Read-only. - - - - - Returns type of the token. Read-only. - - - - - Gets or sets a value indicating whether this separator is placed immediately - after last digit token. Read-only. - - - - - Class used for UnknownToken. - - - - - Initializes a new instance of the UnknownToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Class used for YearToken. - - - - - Short year format. - - - - - Regular expression for minutes part of the format: - - - - - Initializes a new instance of the YearToken class. - - - - - Tries to parse format string. - - Format string to parse. - Position to start parsing at. - Position after parsed block. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Culture used to convert value into text. - Parent section. - Formatted value. - - - - Applies format to the value. - - Value to format. - Indicates whether to put in result hidden symbols. - Formatted value. - - - - Returns type of the token. Read-only. - - - - - Represents possible token types. - - - - - Represents unknown format token. - - - - - Represents section format token. - - - - - Represents hour format token. - - - - - Represents hours in 24 hours format format token. - - - - - Represents minute format token. - - - - - Represents total minutes format token. - - - - - Represents second format token. - - - - - Represents total seconds format token. - - - - - Represents year format token. - - - - - Represents month format token. - - - - - Represents day format token. - - - - - Represents string format token. - - - - - Represents reserved place format token. - - - - - Represents character format token. - - - - - Represents am/pm format token. - - - - - Represents color format token. - - - - - Represents condition format token. - - - - - Represents text format token. - - - - - Represents significant digit format token. - - - - - Represents insignificant digit format token. - - - - - Represents place reserved digit format token. - - - - - Represents percent format token. - - - - - Represents scientific format token. - - - - - Represents general format token. - - - - - Represents thousands separator format token. - - - - - Represents decimal point format token. - - - - - Represents asterix format token. - - - - - Represents fraction format token. - - - - - Represents millisecond format token. - - - - - Represents culture token. - - - - - Represents common fraction. Used to apply number format to the value. - - - - - Maximum number of digits. - - - - - Maximum accuracy. - - - - - Fraction numerator. - - - - - Fraction denumerator. - - - - - Initializes a new instance of the Fraction class. - - Represents numerator of the fraction. - Represents denominator of the fraction. - - - - Initializes a new instance of the Fraction class. - - Represents numerator of the fraction. - - - - Initializes a new instance of the Fraction class. - - Represents first term of the fraction. - Represents second term of the fraction. - Fraction of the numerator and denominator. - - - - Converts fraction to double value. - - Fraction to convert. - Double value equal to the fraction. - - - - Converts List into fraction. - - List to convert. - Converted value. - - - - Converts long into fraction. - - Value to convert. - Converted value. - - - - Swaps numerator and denumerator. - - Current fraction after reverse. - - - - Converts number to fraction using required digits number. - - Value to convert. - Maximum number of digits. - Optimal fraction. - - - - Returns maximum common divisor of two numbers using Euclid method. - - First number. - Second number. - Maximum common divisor of two numbers. - - - - Returns absolute difference between fraction and double. - - Fraction for difference evaluation. - Double value for difference evaluation. - Evaluated difference. - - - - Adds next number to List with continued fraction. - - List with continued fraction. - Remainder of the fraction. - Remainder after adding next number to the fraction. - - - - Returns string representation of the Fraction. - - String representation of the Fraction. - - - - Gets or sets the fraction numerator. - - - - - Gets or sets the fraction denumerator. - - - - - Gets the number of digits in the denumerator. - - - - - Summary description for AddInFunctionImpl. - - - - - Represents an Custom Addin Function in Excel. - - - - - Returns name of the add-in function. Read-only. - - - - - Index to extern workbook. - - - - - Name index in the extern workbook. - - - - - Parent workbook. - - - - - Creates new instance. - - Current application. - Parent object. - Book index. - Name index. - - - - Searches for all necessary parents. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Gets / sets book index. - - - - - Name index. - - - - - Returns name of add-in function. - - - - - XlsIO Application interface declaration. - - - - - Represents the Excel application. - - - - - Converts a measurement from centimeters to points - (one point equals 0.035 centimeters). - - - - - - - Converts a measurement from inches to points. - - - - - - - Saves changes to the active workbook. - - File name of result file. - - - - Check whether the file version is supported by XlsIO. - - File full path that contains workbook. - - - - - Check whether the file version is supported by XlsIO. - - File stream that contains workbook. - - - - - Converts units. - - Value to convert. - Form option. - To option. - Returns converted result. - - - - Returns a Range object that represents the active cell in the - active window (the window on top) or in the specified window. - If the window isn't displaying a worksheet, this property fails. - Read-only. - - - - - Returns an object that represents the active sheet (the sheet on - top) in the active workbook or in the specified window or workbook. - Returns Nothing if no sheet is active. Read-only. - - - - - Returns a Workbook object that represents the workbook in the active - window (the window on top). Read-only. Returns Nothing if there are - no windows open or if either the Info window or the Clipboard window - is the active window. - - - - - Returns a Workbooks collection that represents all the open workbooks. - Read-only. - - - - - For an Application object, returns a Sheets collection that represents - all the worksheets in the active workbook. For a Workbook object, - returns a Sheets collection that represents all the worksheets in the - specified workbook. Read-only Sheets object. - - - - - Returns a Range object that represents a cell or a range of cells. - - - - - All data entered after this property is set to True will be formatted - with the number of fixed decimal places set by the FixedDecimalPlaces - property. Read/write Boolean. - - - - - True (default) if the system separators of Microsoft Excel are - enabled. Read/write Boolean. - - - - - Returns the Microsoft Excel build number. Read-only. - - - - - Returns or sets the number of fixed decimal places used when - the FixedDecimal property is set to True. Read/write. - - - - - Returns or sets the number of sheets that Microsoft Excel - automatically inserts into new workbooks. Read/write Long. - - - - - Sets or returns the character used for the decimal separator as a - String. Read/write. - - - - - Returns or sets the default path that Microsoft Excel uses when it - opens files. Read/write String. - - - - - Returns the path separator character ("\"). Read-only String. - - - - - Sets or returns the character used for the thousands separator - as a String. Read / write. - - - - - Returns or sets the name of the current user. Read/write String. - - - - - For the Application object, always returns "Microsoft Excel". For - the CubeField object, the name of the specified field. For the Style - object, the name of the specified style. Read-only String. - - - - - If this property is set to True, then if some cells have reference - to the same style, changes will influence all these cells. - Default value: False - - - - - This flag controls behavior of workbook save methods. Each flag controls - one aspect of the save code. Can be set one or more flags which will influence - the output produced by the library. - - - - - Returns or sets the standard (default) height of all the rows in the worksheet, - in points. This value is used only for newly created worksheets. - Read/write Double. - - - - - Returns or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. - This value is used only for newly created worksheets. Read/write Bool. - - - - - Returns or sets the standard (default) width of all the columns in the - worksheet. This value is used only for newly created worksheets. - Read/write Double. - - - - - Indicates whether to optimize fonts count. This option will - take effect only on workbooks that will be added after setting - this property. - WARNING: Setting this property to True can decrease performance significantly, - but will reduce resulting file size. - - - - - Indicates whether to optimize Import data. This option will - take effect only on Import methods that are available with the worksheet - WARNING: Setting this property to True can decrease memory significantly, - but will increase the performance of data import . - - - - - Gets / sets row separator for array parsing. - - - - - Formula arguments separator. - - - - - Represents CSV Separator. Using for Auto recognize file type. - - - - - Returns or sets the name of the standard font. Read/write String. - - - - - Returns or sets the standard font size, in points. Read/write. - - - - - Indicates is use unsafe code. - - - - - Indicates whether to try fast record parsing. - - - - - Gets / sets memory allocation block for single row. Each row will allocate memory block - that can be divided on this number. Smaller value means smaller memory usage but slower - speed when changing cell's value. Default value is 128. That is enough to allocate 9 string records, - or 9 integer numbers (or floating numbers with 1 or 2 digits after decimal point) or 7 double numbers. - - - - - Indicates whether XlsIO should delete destination file before saving into it. - Default value is TRUE. - - - - - Gets / sets default excel version. This value is used in create methods. - - - - - Indicates whether we should use native storage (standard windows COM object) - or our .Net implementation to open excel 97-2003 files. - - - - - Changes data provider type for all operations after it. - - - - - Compression level for workbooks serialization. - - - - - Indicates whether to preserve the datatypes for the CSV file formats. - - - - - Represents the chart to image converter instance. - - - - - When workbook is read from stream and position of the stream changed, - this event is raised. - - - - - This event is fired when user tries to open password protected workbook - without specifying password. It is used to obtain password. - - - - - This event is fired when user specified wrong password when trying to open - password protected workbook. It is used to obtain correct password. - - - - - Width of the zero character. - - - - - Build number. - - - - - Default font size. - - - - - Default quantity of decimal digits after separator. - - - - - Default sheets in the new workbook. - - - - - Default font name. - - - - - Name of the object "Microsoft Excel". - - - - - Name of the switch. - - - - - Switch description. - - - - - Argument separator. - - - - - Row separator. - - - - - Represents size of biff file header. - - - - - Represents xml header. - - - - - Represents xml header. - - - - - Represents default buffer size for auto recognize. - - - - - Path separator. - - - - - Represents default header for .xls and .xlt files. - - - - - Array of Proportions. - - - - - Minimum cell size. - - - - - Represents the Graphic. - - - - - Switch indicating whether to show debug information. - - - - - Flag for debug message. - - - - - All types in the assembly (in order to increase performance). - - - - - Parent object - - - - - Indicates is debug info enabled. - - - - - XlsIO Static Members. - - - - - - - - - - Default styles names. Index means outline level value. - - - - - Table with paper sizes. - - - - - Range representing active cell of the active worksheet of the active workbook. - - - - - Active worksheet. - - - - - Active workbook. - - - - - Collection of all workbooks in the application. - - - - - All data entered after this field is set to True will be formatted - with the number of fixed decimal places set by the FixedDecimalPlaces - property. - - - - - True (default) if the system separators of Microsoft Excel are - enabled. - - - - - Standard font size, in points. - - - - - Number of fixed decimal places used when the FixedDecimal - property is set to True. - - - - - The number of sheets that Microsoft Excel automatically - inserts into new workbooks. - - - - - The character used for the decimal separator as a String. - - - - - Name of the standard font. - - - - - The character used for the thousands separator as a String. - - - - - The name of the current user. - - - - - If this value is True and if some cells have reference - to the same style, changes will influence all these cells. - False otherwise - - - - - Storage of SkipExtendedRecords property value. - - - - - Standard row height - height of the rows that do not have specified row height. - - - - - Standard (default) height option flag, which defines that standard (default) - row height and book default font height do not match. - - - - - Standard column width. - - - - - Indicates whether to optimize fonts count. This option will - take effect only on workbooks that will be added after setting - this property. - WARNING: Setting this property to True can decrease performance significantly, - but will reduce resulting file size. - - - - - Indicates whether to optimize Import data. This option will - take effect only on Import methods that are available with the worksheet - WARNING: Setting this property to True can decrease memory significantly, - but will increase the performance of data import . - - - - - Row separator for array parsing. - - - - - Formula arguments separator. - - - - - Represents CSV Separator. - - - - - Indicates whether to try fast record parsing. - - - - - Memory allocation block for single row. - - - - - Indicates whether XlsIO should delete destination file before saving into it. - Default value is TRUE. - - - - - Represents the Graphic. - - - - - Default excel version for new workbooks. - - - - - - - - - - Indicates whether evaluation license expired. - - - - - Indicates whether the dafault font is changed or not. - - - - - Static constructor. - - - - - Default constructor. - - - - - This method initializes inner collections of workbooks. - - - - - Converts a measurement from centimeters to points - (one point equals 0.035 centimeters). - - Value in centimeters to convert. - Converted value. - - - - Check whether the file version is supported by XlsIO. - - File full path that contains workbook - - - - - Check whether the file version is supported by XlsIO. - - File stream that contains workbook - - - - - Gets file type based on stream data. - - Represents data stream. - Represents type of the file for open operation. - Returns defined open type (cannot return automatic). - - - - Detects is csv or xml file type. - - Represents data stream. - MemoryStream with data from the file that will be used for file type detection. - Represents start position in stream. - Parsed workbook if detected or null. - - - - Indicates is surrogate value. - - Value for search. - Represents current separator. - Indicates is compare with separator content, or not. - - - - - Converts a measurement from inches to points. - - Value in inches. - Converted value in points. - - - - Saves changes to the active workbook. - - File name of result file. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Stream to read. - Current separator - Number of first row to write. - Number of first column to write. - Excel version. - Filename is used to generate worksheet name - Created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Stream with workbook's data. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Stream with workbook's data. - Parse options. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Name of the file with workbook. - Parse options. - Indicates whether to open workbook in read-only mode. - Password to decrypt. - Excel version. - Newly created workbook. - - - - Creates the workbook. - - Parent object for the new workbook. - Stream with workbook's data. - Parse options. - Indicates whether to open workbook in read-only mode. - Password to decrypt. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Number of sheets in the new workbook. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Name of the file with workbook. - Excel version. - Newly created workbook. - - - - Creates a new Workbook. - - Parent object for the new workbook. - Name of the file with workbook. - Parse options. - Excel version. - Newly created workbook. - - - - Creates a new Worksheet. - - Parent object for the new worksheet. - Newly created worksheet. - - - - Creates a new Range. - - Parent object for the new range. - Newly created range. - - - - Creates new range for a single cell. - - Parent object for the new range. - Column index for the new range. - Row index for the new range. - Newly created range. - - - - Creates a new Range. - - Parent object for the new range. - Array of BiffRecordRaws that contains range data. - Index of the range record. - Newly created range. - - - - Creates a new Range. - - Parent object for the new range. - Array of BiffRecordRaws that contains range data. - Index of the range record. - Indicates whether cell styles should be ignored. - Newly created range. - - - - Creates a new Range. - - Parent object for the new range. - Array of BiffRecordRaws that contains range data. - Index of the range record. - Indicates whether cell styles should be ignored. - Newly created range. - - - - Creates a new Range. - - Parent object for the new range. - First column of the range. - First row of the range. - Last column of the range. - Last row of the range. - Newly created range. - - - - Creates a new Range. - - Parent object for the new range. - Range record to parse. - Indicates whether styles should be ignored. - Newly created range. - - - - Creates a new Style. - - Parent object for the new style object. - Name of the new style. - Newly created style. - - - - Creates a new Style. - - Parent object for the new style object. - Name of the new style. - Base style for this style. - Newly created style. - - - - Creates a new Style. - - Parent object for the new style object. - Style record with style information. - Newly created style. - - - - Creates a new Style. - - Parent object for the new style object. - Name of the new style.> - Indicates whether built in style should be created. - - - - - Creates new font. - - Parent object for the new font. - Newly created font. - - - - Method creates a font object based on native font and register it in the workbook. - ] - Parent object for the new font. - Native font to get settings from. - Newly created font. - - - - Creates new font. - - Base font for the new one. - Newly created font. - - - - Creates new font. - - Parent object for the new font. - Font record that contains font information. - Newly created font. - - - - Creates new font. - - Parent object for the new font. - Font object that contains font information. - Newly created font. - - - - This method should be called before creating font. - Sets default font name and size. - - - - - Creates clipboard provider. - - Created provider. - - - - Creates clipboard provider. - - Sheet for which provider will be created. - Created provider. - - - - Creates a new chart. - - - The created chart object. - - - - Creates a chart series object. - - - The created chart series object. - - - - Creates new instance of RangesCollection. - - Parent object for the collection. - Newly created collection. - - - - Creates intptr data provider. - - New instance of created data provider. - - - - - - - - - - Create image from stream. - - - - - - - Creates new instance of the textbox shape. - - Parent shapes collection. - Created textbox shape. - - - - Checks and apply the seperators to the current culture. - (ie.. DecimalSeperator, ThousandSeperators). - - Current Culture with the new Seperators. - - - - Sets active workbook. - - Workbook that becomes active. - - - - Sets active worksheet. - - Worksheet that becomes active. - - - - Sets active cell. - - Range that becomes active. - - - - Converts to pixels. - - Value to convert. - MeasureUnits. - Returns converted result. - - - - Converts from pixel. - - Pixel to convert. - Convert options. - Returns converted result. - - - - Converts units. - - Value to convert. - Form option. - To option. - Returns converted result. - - - - Converts units. - - Value to convert. - Form option. - To option. - Returns converted result. - - - - Raising progress event. - - Position. - Full size. - - - - Measures string. - - String to measure. - Font to measure. - Rect size. - Returns new size. - - - - - - - - - - - - - - - - - - - - Switch indicating whether to show debug information. Read-only. - - - - - Indicates whether debug info is enabled. Read-only. - - - - - Indicates is use unsafe code. Static property. - - - - - Changes data provider type for all operations after it. Static property. - - - - - If True, no changes were made since last save. - - - - - Returns standard row height in units used by RowRecord. - - - - - Indicates whether evaluation license expired. - - - - - Returns a Range object that represents the active cell in the - active window (the window on top) or in the specified window. - If the window isn't displaying a worksheet, this property fails. - Read-only. - - - - - Returns an object that represents the active sheet (the sheet on - top) in the active workbook or in the specified window or workbook. - Returns NULL (Nothing in VB) if no sheet is active. Read-only. - - - - - Returns a Workbook object that represents the workbook in the active - window (the window on top). Read-only. Returns NULL (Nothing in VB) if there are - no windows open or if either the Info window or the Clipboard window - is the active window. - - - - - Used without an object qualifier, this property returns an Application - object that represents the Microsoft Excel application. Used with an - object qualifier, this property returns an Application object that - represents the creator of the specified object (you can use this property - with an OLE Automation object to return that object's application). - Read-only. - - - - - Returns a Workbooks collection that represents all the open workbooks. - Read-only. - - - - - For an Application object, returns a Sheets collection that represents - all worksheets in the active workbook. For a Workbook object, - returns a Sheets collection that represents all the worksheets in the - specified workbook. Read-only Sheets object. - - - - - Returns the parent object for the specified object. Read-only. - - - - - Returns a Range object that represents a cell or a range of cells. - Read-only. - - - - - All data entered after this property is set to True will be formatted - with the number of fixed decimal places set by the FixedDecimalPlaces - property. Read/write Boolean. - - - - - True (default) if the system separators of Microsoft Excel are - enabled. Read/write Boolean. - - - - - Returns or sets the standard font size, in points. Read/write. - - - - - Returns the Microsoft Excel build number. Read-only. - - - - - Returns or sets the number of fixed decimal places used when - the FixedDecimal property is set to True. Read/write. - - - - - Returns or sets the number of sheets that Microsoft Excel - automatically inserts into new workbooks. Read/write Long. - - - - - Sets or returns the character used for the decimal separator as a - String. Read/write. - - - - - Returns or sets the default path that Microsoft Excel uses when it - opens files. Read/write String. - - - - - Returns the path separator character ("\"). Read-only String. - - - - - Returns or sets the name of the standard font. Read/write String. - - - - - Sets or returns the character used for the thousands separator - as a String. Read/write - - - - - Returns or sets the name of the current user. Read/write String. - - - - - For the Application object, it always returns "Microsoft Excel". For - the CubeField object, the name of the specified field. For the Style - object, the name of the specified style. Read-only String. - - - - - When this property is set to True, if some cells have reference - to the same style, changes will influence all these cells. - Default value: FALSE. - - - - - Flags that control behavior of workbook save methods. Each flag controls - one aspect of save code. Can be set one or more flags influencing - the output produced. - - - - - Returns or sets the standard (default) height of all the rows in the worksheet, - in points. Read/write Double. - - - - - Returns or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. - Read/write Bool. - - - - - Returns or sets the standard (default) width of all the columns in the - worksheet. Read/write Double. - - - - - Indicates whether to optimize fonts count. This option will - take effect only on workbooks that will be added after setting - this property. - WARNING: Setting this property to True can decrease performance significantly, - but will reduce resulting file size. - - - - - Indicates whether to optimize Import data. This option will - take effect only on Import methods that are available with the worksheet - WARNING: Setting this property to True can decrease memory significantly, - but will increase the performance of data import . - - - - - Gets / sets row separator for array parsing. - - - - - Formula arguments separator. - - - - - Represents CSV Separator. - - - - - Indicates is use unsafe code. - - - - - Indicates whether to try fast record parsing. - - - - - Gets / sets memory allocation block for single row. Each row will allocate memory block - that can be divided on this number. Smaller value means smaller memory usage but slower - speed when changing cell's value. Default value is 128. That is enough to allocate 9 string records, - or 9 integer numbers (or floating numbers with 1 or 2 digits after decimal point) or 7 double numbers. - - - - - Indicates whether XlsIO should delete destination file before saving into it. - Default value is TRUE. - - - - - Gets / sets default excel version. This value is used in create methods. - - - - - Indicates whether we should use native storage (standard windows COM object) - or our .Net implementation to open excel 97-2003 files. - - - - - Changes data provider type for all operations after it. Static property. - - - - - Compression level for workbooks serialization. - - - - - Indicates whether to preserve the datatypes for the CSV file formats. - - - - - Represents the Chart to Image Converter instance. - Returns null if it is not instantiated. - - - - - Progress event handler. - - - - - This event is fired when user tries to open password protected workbook - without specifying password. It is used to obtain password. - - - - - This event is fired when user specified wrong password when trying to open - password protected workbook. It is used to obtain correct password. - - - - - Default size of autofilter arrow width. - - - - - This text should be added to value of the header of the table to equal the width of the dropdown symbol. - - - - - Intializes the AutoFit Manager - - - - - - - - - - Measures to fit column. - - The graphics. - The first row. - The last row. - The first column. - The last column. - - - - Measures the character ranges. - - The graphics. - The style with text. - The param num. - The rect F. - - - - - Measures the character ranges. - - The graphics. - The style. - The STR text. - The num. - The rect F. - - - - - Sorts the text to fit. - - The list. - The font impl. - The STR text. - - - - Collection of DisplayText with matching fonts. - This class used to improve the AutoFitToColumn method - Performance. - - - - - Represents the border of an object. - - - - - Represents the border of an object. - - - - - Returns or sets the primary color of the object. - Read/write ExcelKnownColors. - - - - - Returns or sets the primary color of the object. - Read/write ExcelKnownColors. - - - - - Returns color of the border. - - - - - Returns or sets the line style for the border. Read/write OfficeLineStyle. - - - - - This property is used only by Diagonal borders. For any other border - index property will have no influence. - - - - - Maximum color index that requires modification in order to let MS Excel edit styles. - - - - - Increment for color value in order to let MS Excel edit styles. - - - - - Index of the border. - - - - - Extended format that contains this border. - - - - - Creates a class instance and sets its Application and Parent properties. - - Application object for the Border. - Parent object for the Border. - - - - Creates border with specified index. - - Application object for the border. - Parent object for the border. - Index of border that should be created. - - - - Creates border from ExtendedFormat with specified border index. - - Application object for the border. - Parent object for the border. - - ExtendedFormat that contains all information about required border. - - Border index of the border. - - - - Determines whether the specified Object is equal to the current Object. - - The Object to compare with the current Object. - true if the specified Object is equal to the current Object; otherwise, false. - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current object. - - - - Copies all fields from baseBorder except Parent. - - Border that will be copied. - - - - Normalizes border color to let MS Excel edit style. - - - - - Normalizes border color to let MS Excel edit style. - - Color to normalize. - New color value. - - - - Clone current object. - - New extended format. - Cloned border object. - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read/write Long. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read/write Long. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read/write Color. - - - - - Returns or sets the line style for the border. Read/write OfficeLineStyle. - - - - - This property is used only by Diagonal borders. For any other border - index property will have no influence. - - - - - Returns border index. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - This class represents border for multicell range. - - - - - Cells of the range. - - - - - Border index. - - - - - Parent workbook. - - - - - Creates wrapper for specified range and border index. - - Range for which this wrapper is created. - Border index. - - - - Creates wrapper for specified range and border index. - - Range for which this wrapper is created. - Border index. - - - - Returns or sets the primary color of the object. - Read/write ExcelKnownColors. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read/write Long. - - - - - Returns or sets the line style for the border. Read/write OfficeLineStyle. - - - - - This property is used only by Diagonal borders. For any other border - index property will have no influence. - - - - - Worksheet calculation options block. - - - - - Represents the Calculation options in a Excel Workbook. - - - - - Specifies the maximum number of times the formulas should be iteratively calculated. - This is a fail-safe against mutually recursive formulas locking up - a spreadsheet application. - - - - - Defines whether to recalculate before saving. - - - - - Gets / sets maximum change of the result to the exit of an iteration. - - - - - Indicates whether iterations are turned on. - - - - - Indicates whether R1C1 reference mode is turned on. - - - - - Gets/sets calculation mode in Excel. - - - - - Correct records. - - - - - Specifies whether to calculate formulas manually, automatically, or automatically - except for multiple table operations. - - - - - Specifies the maximum number of times the formulas should be iteratively calculated. - This is a fail-safe against mutually recursive formulas locking up - a spreadsheet application. - - - - - Describes which reference mode to use. - - - - - Tells whether to iterate over formula calculations or not - (if a formula is dependent upon another formula's result) - (odd feature for something that can only have 32 elements in a formula). - - - - - Stores the maximum change of the result to the exit of an iteration. - - - - - Defines whether to recalculate before saving (set to 1). - - - - - Initializes new instance and sets application and parent fields. - - Application object for the page setup. - Parent object for the page setup. - - - - Recovers Page setup from the Biff Records array starting from position - - Application object for the page setup. - Parent object for the page setup. - Array of Biff Records that contains all needed records. - Position of PrintHeadersRecord in the array. - - - - Recovers Page setup from the Biff Records array starting from the position specified. - - Biff Records data. - Position of first PageSetup record - PrintHeadersRecord. - Position after extracting calculation options. - - - - Adds all records to OffsetArrayList. - - OffsetArrayList which will get all records. - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Specifies the maximum number of times the formulas should be iteratively calculated. - This is a fail-safe against mutually recursive formulas locking up - a spreadsheet application. - - - - - Specifies the mode of formula value calculations. - - - - - Defines whether to recalculate before saving. - - - - - Gets / sets maximum change of the result to the exit of an iteration. - - - - - Indicates whether iterations are turned on. - - - - - Indicates whether R1C1 reference mode is turned on. - - - - - Summary description for CellDataImpl. - - - - - Cell range. - - - - - Cell record. - - - - - Default constructor. - - - - - Cell range. - - - - - Cell record. - - - - - Summary description for CellStyle. - - - - - This class wraps extended format inside in order to hide from user - creation of new extended formats when user changes any properties - of extended format. - - - - - Common wrapper code. Implements BeginUpdate and EndUpdate methods. - - - - - This interface describes methods for optimized object update. - - - - - This method should be called before several updates to the object will take place. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Invoke the begin update method - chart.ChartTitleArea.BeginUpdate(); - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of the text area - chart.ChartTitleArea.Color = OfficeKnownColors.Plum; - //Invoke end update method - chart.ChartTitleArea.EndUpdate(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the chart title - chart.ChartTitle = "This is a chart Title" - 'Invoke the begin update method - chart.ChartTitleArea.BeginUpdate() - 'Set the bold font style - chart.ChartTitleArea.Bold = True - 'Set the color of the text area - chart.ChartTitleArea.Color = OfficeKnownColors.Plum - 'Invoke end update method - chart.ChartTitleArea.EndUpdate() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - This method should be called after several updates to the object took place. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Invoke the begin update method - chart.ChartTitleArea.BeginUpdate(); - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of the text area - chart.ChartTitleArea.Color = OfficeKnownColors.Plum; - //Invoke end update method - chart.ChartTitleArea.EndUpdate(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the chart title - chart.ChartTitle = "This is a chart Title" - 'Invoke the begin update method - chart.ChartTitleArea.BeginUpdate() - 'Set the bold font style - chart.ChartTitleArea.Bold = True - 'Set the color of the text area - chart.ChartTitleArea.Color = OfficeKnownColors.Plum - 'Invoke end update method - chart.ChartTitleArea.EndUpdate() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Number of begin update calls that have no corresponding end update. - - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object. - - - - - Creates a copy of the current object. - - Parent object for the new object. - A copy of the current object. - - - - Returns number of begin update calls that have no corresponding end update. Read-only. - - - - - Summary description for IInternalExtendedFormat. - - - - - Contains the font attributes (font name, size, - color, and so on) for an object. - - - - - Returns borders object for this extended format. - - - - - Gets / Sets index of fill background color. Obsolete, will be removed in next release. - - - - - Gets / Sets fill background color. Obsolete, will be removed in next release. - - - - - Gets / Sets index of fill foreground color. Obsolete, will be removed in next release. - - - - - Gets / Sets fill foreground color. Obsolete, will be removed in next release. - - - - - Gets / Sets fill pattern. - - - - - Returns font object for this extended format. - - - - - True if formula is hidden. - - - - - Horizontal alignment. - - - - - True if the style includes the AddIndent, HorizontalAlignment, - VerticalAlignment, WrapText, and Orientation properties. - Read / write Boolean. - - - - - True if the style includes the Color, ColorIndex, LineStyle, - and Weight border properties. Read / write Boolean. - - - - - True if the style includes the Background, Bold, Color, - ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, - Size, Strikethrough, Subscript, Superscript, and Underline - font properties. Read / write Boolean. - - - - - True if the style includes the NumberFormat property. - Read / write Boolean. - - - - - True if the style includes the Color, ColorIndex, - InvertIfNegative, Pattern, PatternColor, and PatternColorIndex - interior properties. Read / write Boolean. - - - - - True if the style includes the FormulaHidden and Locked protection - properties. Read / write Boolean. - - - - - Indent level. - - - - - If true then first symbol in cell is apostrophe. - - - - - True if cell is locked. - - - - - For far east languages. Supported only for format. Always 0 for US. - - - - - Returns or sets the format code for the object. Read / write String. - - - - - Gets / Sets format index. - - - - - Returns or sets the format code for the object as a string in the - language of the user. Read / write String. - - - - - Returns object that describes number format. Read-only. - - - - - Text direction, the reading order for far east versions. - - - - - Text rotation angle: - 0 Not rotated - 1-90 1 to 90 degrees counterclockwise - 91-180 1 to 90 degrees clockwise - 255 Letters are stacked top-to-bottom, but not rotated. - - Thrown when value is more than 0xFF. - - - - True - shrink content to fit into cell. - - - - - Vertical alignment. - - - - - True - Text is wrapped at right border. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior. The color is specified as - an index value into the current color palette. - - - - - Returns or sets the cell shading color. - - - - - Gets value indicating whether format was modified, compared to parent format. - - - - - Returns the Cell has border - - - - - Starts updating process. - - - - - Ends updating process. - - - - - Get/set BottomBorder color. - - - - - Get/set TopBorder color. - - - - - Get/set LeftBorder color. - - - - - Get/set RightBorder color. - - - - - Get/set DiagonalUpBorder color. - - - - - Gets / sets line style of the left border. - - - - - Gets / sets line style of the right border. - - - - - Gets / sets line style of the top border. - - - - - Gets / sets line style of the bottom border. - - - - - Gets / sets line style of the diagonal border. - - - - - Gets / sets line style of the diagonal border. - - - - - Indicates whether DiagonalUp line is visible. - - - - - Indicates whether DiagonalDown line is visible. - - - - - Parent workbook. - - - - - Summary description for IXFIndex. - - - - - Gets format index in m_book.InnerFormats. - - - - - Represents a style description for a range. The Style object contains - all style attributes (font, number format, alignment, and so on) as - properties. There are several built-in styles, including Normal, - Currency, and Percent. Using the Style object is a fast and efficient - way to change several cell-formatting properties on multiple cells at - the same time. - For the Workbook object, the Style object is a member of the Styles - collection. The Styles collection contains all the defined styles for - the workbook - - - - - True if the style is a built-in style. Read-only Boolean. - - - - - Returns or sets the name of the object. Read-only String. - - - - - Indicates whether style is initialized (differs from Normal style). - Read-only. - - - - - Returns interior object for this extended format. - - - - - Extended format with style settings. - - - - - Parent workbook. - - - - - Font wrapper. - - - - - Borders collection. - - - - - Interior wrapper. - - - - - Creates new instance of extended format wrapper. - - - - - Creates new instance of extended format wrapper. - - Parent workbook. - Index of extended format to wrap. - - - - Sets solid fill pattern when changing - - - - - Creates inner extended format. - - Index to extended format to wrap. - - - - Updates inner extended format's font wrapper. - - - - - Searches for all necessary parent objects. - - Parent object. - - - - Sets Saved flag of the parent workbook to the False. - Called when any changes occurred in the style. - - - - - Event handler for font AfterChange event. - - Event sender. - Event arguments. - - - - Event handler for interior AfterChange event. - - Event sender. - Event arguments. - - - - This method is called after changes in NumberFormat. - - - - - - - - - - - - This method is called before reading any value. Can be used - to update wrapped object before read operation. - - - - - Gets style object either from parent or from this instance if it has no parent. - - Parent style object. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Returns parent workbook. Read-only. - - - - - Gets / Sets fill pattern. - - - - - Gets format index in m_book.InnerFormats. - - - - - Gets / Sets index of fill background color. - - - - - Gets / Sets fill background color. - - - - - Gets / Sets index of fill foreground color. - - - - - Gets / Sets fill foreground color. - - - - - Gets / Sets format index. - - - - - Horizontal alignment. - - - - - True if the style includes the AddIndent, HorizontalAlignment, - VerticalAlignment, WrapText, and Orientation properties. - Read / write Boolean. - - - - - True if the style includes the Color, ColorIndex, LineStyle, - and Weight border properties. Read / write Boolean. - - - - - True if the style includes the Background, Bold, Color, - ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, - Size, Strikethrough, Subscript, Superscript, and Underline - font properties. Read / write Boolean. - - - - - True if the style includes the NumberFormat property. - Read / write Boolean. - - - - - True if the style includes the Color, ColorIndex, - InvertIfNegative, Pattern, PatternColor, and PatternColorIndex - interior properties. Read / write Boolean. - - - - - True if the style includes the FormulaHidden and Locked protection - properties. Read / write Boolean. - - - - - Indent level. - - - - - True if formula is hidden. - - - - - True if cell is locked. - - - - - For far east languages. Supported only for format. Always 0 for US. - - - - - Returns or sets the format code for the object. Read / write String. - - - - - Returns or sets the format code for the object as a string in the - language of the user. Read / write String. - - - - - Returns object that describes number format. Read-only. - - - - - Text direction, the reading order for far east versions. - - - - - Text rotation angle: - 0 Not rotated - 1-90 1 to 90 degrees counterclockwise - 91-180 1 to 90 degrees clockwise - 255 Letters are stacked top-to-bottom, but not rotated. - - Thrown when value is more than 0xFF. - - - - True - shrink content to fit into cell. - - - - - Vertical alignment. - - - - - True - Text is wrapped at right border. - - - - - Returns font object for this extended format. - - - - - Returns borders object for this extended format. - - - - - If true then first symbol in cell is apostrophe. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior. The color is specified as - an index value into the current color palette. - - - - - Returns or sets the cell shading color. - - - - - Returns interior object for this extended format. - - - - - Gets value indicating whether format was modified, compared to parent format. - - - - - Gets / Sets font index. - - - - - Returns wrapped format. - - - - - Get/set BottomBorder color. - - - - - Get/set TopBorder color. - - - - - Get/set LeftBorder color. - - - - - Get/set RightBorder color. - - - - - Get/set DiagonalUpBorder color. - - - - - Gets / sets line style of the left border. - - - - - Gets / sets line style of the right border. - - - - - Gets / sets line style of the top border. - - - - - Gets / sets line style of the bottom border. - - - - - Gets / sets line style of the diagonal border. - - - - - Gets / sets line style of the diagonal border. - - - - - Indicates whether DiagonalUp line is visible. - - - - - Indicates whether DiagonalDown line is visible. - - - - - Event is raised after changes in number format. - - - - - Reference to Application which hosts all objects. Read-only. - - - - - Reference to Parent object. Read-only. - - - - - Indicates whether style is build in. Read-only. - - - - - Returns name of the style. Read-only. - - - - - Indicates whether style is initialized (differs from Normal style). - Read-only. - - - - - Parent range. - - - - - Represents whether to get adjacent or not - - - - - Creates new instance of cell style. - - Parent range. - - - - Creates new instance of cell style. - - Parent range. - Index of extended format to wrap. - - - - This method is called before changes in extended format. - - - - - This method is called after changes in extended format. - - - - - Searches for all necessary parent objects. - - Parent object. - - - - This method is called before reading any value. Can be used - to update wrapped object before read operation. - - - - - Gets line style of the left border. - - - - - - - Gets line style of the right border. - - - - - - - Gets line style of the top border. - - - - - - - Get line style of the bottom border. - - - - - - - Gets line color of the left border. - - - - - - - Gets line color of the right border. - - - - - - - Gets line color of the top border. - - - - - - - Get line color of the bottom border. - - - - - - - Gets left adjecent cell. - - - - - - Gets rigth adjecent cell. - - - - - - Gets top adjecent cell. - - - - - - Gets bottom adjecent cell. - - - - - - Gets relative cell. - - - - - - - - Get/set LeftBorder color. - - - - - Get/set RightBorder color. - - - - - Get/set TopBorder color. - - - - - Get/set BottomBorder color. - - - - - Gets / sets line style of the left border. - - - - - Gets / sets line style of the right border. - - - - - Gets / sets line style of the top border. - - - - - Gets / sets line style of the top border. - - - - - Gets or sets a boolean value - whether to get adjacent or not - - - - - Class used for Chart Axis implementation. - - - - - Represents an axis in a chart. - - - - - Gets or sets the format code for the axis values. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - //Set the number format of axis - chartAxis.NumberFormat = "Number"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - 'Set the number format of axis - chartAxis.NumberFormat = "Number" - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the axis type. Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Get the chart axis type, read only - OfficeAxisType axisType = chartAxis.AxisType; - //Enable reverse plot order - chartAxis.ReversePlotOrder = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Get the chart axis type, read only - Dim axisType As OfficeAxisType = chartAxis.AxisType - 'Enable reverse plot order - chartAxis.ReversePlotOrder = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the axis title. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - chartAxis.ReversePlotOrder = true; - //Set the text rotation angle - chartAxis.TextRotationAngle = 30; - //Set the title - chartAxis.Title = "Chart Axis"; - //Set the font style for title area - chartAxis.TitleArea.Bold = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - chartAxis.ReversePlotOrder = True - 'Set the text rotation angle - chartAxis.TextRotationAngle = 30 - 'Set the title - chartAxis.Title = "Chart Axis" - 'Set the font style for title area - chartAxis.TitleArea.Bold = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the text rotation angle. Should be integer value between -90 and 90. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - chartAxis.ReversePlotOrder = true; - //Set the text rotation angle - chartAxis.TextRotationAngle = 50; - //Set the title - chartAxis.Title = "Chart Axis"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - chartAxis.ReversePlotOrder = True - 'Set the text rotation angle - chartAxis.TextRotationAngle = 30 - 'Set the title - chartAxis.Title = "Chart Axis" - 'Set the font style for title area - chartAxis.TitleArea.Bold = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets text area for the axis title. Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - chartAxis.ReversePlotOrder = true; - //Set the text rotation angle - chartAxis.TextRotationAngle = 30; - //Set the title - chartAxis.Title = "Chart Axis"; - //Set the font style for title area - chartAxis.TitleArea.Bold = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - chartAxis.ReversePlotOrder = True - 'Set the text rotation angle - chartAxis.TextRotationAngle = 30 - 'Set the title - chartAxis.Title = "Chart Axis" - 'Set the font style for title area - chartAxis.TitleArea.Bold = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets a Font object that represents character formatting. Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = true; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = True - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the major gridlines for the axis. Read-only - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set major gridline - chartAxis.HasMajorGridLines = true; - //Get the major gridline of chart axis, read only - IOfficeChartGridLine gridline = chartAxis.MajorGridLines; - //Set border of major grid line - gridline.Border.AutoFormat = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set major gridline - chartAxis.HasMajorGridLines = True - 'Get the major gridline of chart axis, read only - Dim gridline As IOfficeChartGridLine = chartAxis.MajorGridLines - 'Set border of major grid line - gridline.Border.AutoFormat = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the minor gridlines for the axis. Read-only - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set minor gridline - chartAxis.HasMinorGridLines = true; - //Get the minor gridline of chart axis, read only - IOfficeChartGridLine gridline = chartAxis.MinorGridLines; - //Set border of minor grid line - gridline.Border.AutoFormat = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set minor gridline - chartAxis.HasMinorGridLines = True - 'Get the minor gridline of chart axis, read only - Dim gridline As IOfficeChartGridLine = chartAxis.MinorGridLines - 'Set border of minor grid line - gridline.Border.AutoFormat = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the axis has minor gridlines. - - True If the axis has minor gridlines.Otherwise False - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Set the minor grid lines - chartAxis.HasMinorGridLines = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Set the minor grid lines - chartAxis.HasMinorGridLines = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the axis has major gridlines. - - True If the axis has major gridlines.Otherwise False - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set minor gridline - chartAxis.HasMinorGridLines = true; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Set the major gridlines - chartAxis.HasMajorGridLines = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set minor gridline - chartAxis.HasMinorGridLines = True - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Set the major gridlines - chartAxis.HasMajorGridLines = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the type of minor tick mark for the axis. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Set the minor tick mark - chartAxis.MinorTickMark = OfficeTickMark.TickMark_Outside; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Set the minor tick mark - chartAxis.MinorTickMark = OfficeTickMark.TickMark_Outside - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the type of major tick mark for the axis. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Set the major tick mark - chartAxis.MajorTickMark = OfficeTickMark.TickMark_Inside; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Set the major tick mark - chartAxis.MajorTickMark = OfficeTickMark.TickMark_Inside - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets border of the axis. Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = true; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = True - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets a value that indicates the tick label position is automatic or not - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = true; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = True - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the position of tick-mark labels on the axis. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set the tick label position - chartAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set the tick label position - chartAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates axis is visible or not. - - True If axis visible. Otherwise False - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Hide the visibility of chart axis - chartAxis.Visible = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Hide the visibility of chart axis - chartAxis.Visible = False - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets How to plots data points in the axis.True if plots data points from last to first. - - True if plots data points from last to first.Otherwise False - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Get the chart axis type, read only - OfficeAxisType axisType = chartAxis.AxisType; - //Enable reverse plot order - chartAxis.ReversePlotOrder = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Get the chart axis type, read only - Dim axisType As OfficeAxisType = chartAxis.AxisType - 'Enable reverse plot order - chartAxis.ReversePlotOrder = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets shadow formatting properties for the chart element. Read-only - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Get the shadow od axis - IShadow shadow = chartAxis.Shadow; - //Set the shadow color - shadow.ShadowColor = Color.Brown; - //Set the shadow angle - shadow.Angle = 87; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Get the shadow od axis - Dim shadow As IShadow = chartAxis.Shadow - 'Set the shadow color - shadow.ShadowColor = Color.Brown - 'Set the shadow angle - shadow.Angle = 87 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the 3-D�effect formatting properties for the specified chart. Read-only - - The three_ D. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create an instance of chart axis - IOfficeChartAxis chartAxis = chart.PrimaryValueAxis; - //Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium; - //Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200; - //Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart= TryCast(slide.Shapes(0), IPresentationChart) - 'Create an instance of chart axis - Dim chartAxis As IOfficeChartAxis = chart.PrimaryValueAxis - 'Set auto tick label spacing - chartAxis.AutoTickLabelSpacing = True - 'Set the border of chart axis - chartAxis.Border.LineWeight = OfficeChartLineWeight.Medium - 'Set 3D options for chart - chartAxis.Chart3DOptions.BevelBottomWidth = 200 - 'Set the font color for chart axis - chartAxis.Font.Color = OfficeKnownColors.Lavender - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Represents default number format index; - - - - - Represents index to general format. - - - - - Type of the axis. - - - - - True if this is the primary axis; false if secondary. - - - - - Text area for the axis title. - - - - - Chart tick record for this axis. - - - - - Represents Shadow - - - - - Indicates whether line format is present. - - - - - Font used for axis drawing. - - - - - Font used to store the default font used with axis drawing. - - - - - Represents major grid. - - - - - Represents minor grid. - - - - - Represents if axis has major gridlines. - - - - - Represents if axis has minor gridlines. - - - - - Represents parent axis. - - - - - Represents format index. - - - - - Represents border axis. - - - - - Represents text direction. - - - - - Axis id. - - - - - Inidicates whether axis was deleted. - - - - - Indicates whether tick label spacing value is automatically evaluated. - - - - - Indicates whether TickMarkSpacing has automatic value. - - - - - Stores label alignment setting. - - - - - Represents the 3D features - - - - - Represents the TextArea Paragraph - - - - - Represents the frame format of Axis - - - - - Creates axis object. - - Application object for the axis. - Parent object for the axis. - - - - Creates primary axis of specified type. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - - - Creates axis of specified type and specified IsPrimary value. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - True if primary axis should be created; otherwise False. - - - - - Extracts primary axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - - - Extracts axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - True if it is primary axis; otherwise False. - - - - - Finds parent objects. - - - - - Extracts axis from the array of BiffRecords. - - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - True if it is primary axis; otherwise False. - - - If specified record is not ChartAxis record - or next record is not Begin record. - - - - - Parses axis line format. - - Array of BiffRecords with axis data. - - Position of the ChartAxisLineFormat record in the data array. - - - - - Parses ChartFontxRecord. - - Record to parse. - - - - Parses walls or floor. - - Record storage. - Position in storage. - - - - Parses chart ifmt record. - - Record to parse. - - - - Parses data. - - Represents record data. - Represents records storage. - Represents position in storage. - - - - Parses chart tick record. - - Represents chart tick record. - - - - Serializes axis. - - OffsetArrayList that will receive all records. - - - - Serializes title of the axis. - - OffsetArrayList that will receive all records. - - - - Saves font. - - OffsetArrayList that will receive all records. - - - - Serializes Grid lines. - - OffsetArrayList that will receive all records. - - - - Serializes number format. - - Record storage. - - - - Serializes axis border. - - Record storage. - - - - Serializes tick record. - - Record storage. - - - - Sets some important variables to the initial state. - - - - - Initializes internal tick record. - - - - - Sets title area. - - Title area to set. - - - - Clone current object. - - Parent object. - Dictionary with new indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Clones the current object. - - - - - - Updates surface tick record. - - Represents value type. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Initializes frame format. - - - - - Creates frame format. - - Newly created frame format. - - - - Set the border on this object - - the input border - - - - Type of the axis. - - - - - True if this is primary axis; False if secondary. - - - - - Title of the axis. - - - - - Text rotation angle. Should be integer value between -90 and 90. - - - - - Gets value indicating whether text rotation angle is autoselected. - - - - - Returns text area for the axis title. Read-only. - - - - - Returns font used for axis text displaying. Read-only. - - - - - Gets or Sets the value indicating whether the aixs font settings are applied from the chart default font settings. - - - - - Returns major gridLines. Read-only. - - - - - Returns minor gridLines. Read-only. - - - - - Gets or sets if axis has minor gridlines. - - - - - Gets or sets if axis has major gridlines. - - - - - Returns chart parent axis. Read-only. - - - - - Gets or sets format index. - - - - - Gets or sets number format string. - - - - - Represents minor tick marks. - - - - - Represents major tick marks. - - - - - Represents chart border. Read-only. - - - - - Represents tick label position. - - - - - Indicates is axis is visible. - - - - - Represents alignment for the tick label. - - - - - True if plots data points from last to first. - - - - - Returns axis id. - - - - - Returns parent chart object. Read-only. - - - - - Gets or Sets the value indicating whether axis was deleted. - - - - - Represents the Shadow.Read-only - - - - - Represents Shadow Propertes.Read-Only - - - - - This property indicates whether the shadow object has been created - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - Gets the chart3 D properties. - - The chart3 D properties. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - Return frame format of Axis. Read-only. - - - - - Indicates wheather the axis has title - - - - - Represents the TextArea Paragraph - - - - - Represents the Default Text Settings - - - - - Creates title area. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Represents chart border object. - - - - - Represents the border of an object. - - - - - Gets or sets the Color of the line. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Enable auto line color - chartAreaBorder.IsAutoLineColor = false; - //Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; - //Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; - //Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; - //Set the transparency of border - chartAreaBorder.Transparency = 0.8; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Enable auto line color - chartAreaBorder.IsAutoLineColor = False - 'Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue - 'Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot - 'Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide - 'Set the transparency of border - chartAreaBorder.Transparency = 0.8 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the Line pattern for the border. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Enable auto line color - chartAreaBorder.IsAutoLineColor = false; - //Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; - //Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; - //Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; - //Set the transparency of border - chartAreaBorder.Transparency = 0.8; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Enable auto line color - chartAreaBorder.IsAutoLineColor = False - 'Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue - 'Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot - 'Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide - 'Set the transparency of border - chartAreaBorder.Transparency = 0.8 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the Weight of the line. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Enable auto line color - chartAreaBorder.IsAutoLineColor = false; - //Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue; - //Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; - //Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; - //Set the transparency of border - chartAreaBorder.Transparency = 0.8; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Enable auto line color - chartAreaBorder.IsAutoLineColor = False - 'Set the line color - chartAreaBorder.LineColor = System.Drawing.Color.CornflowerBlue - 'Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot - 'Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide - 'Set the transparency of border - chartAreaBorder.Transparency = 0.8 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the border format as automatic or custom. - - True if border has automatic format.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Set the auto format - chartAreaBorder.AutoFormat = false; - //Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Set the auto format - chartAreaBorder.AutoFormat = False - 'Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets whether the line color is automatic. - - True if the line color is auto.Otherwise False - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Enable auto line color - chartAreaBorder.IsAutoLineColor = false; - //Set the line color - //chartAreaBorder.LineColor = Color.Chocolate; - //Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot; - //Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide; - //Set the transparency of border - chartAreaBorder.Transparency = 0.8; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Enable auto line color - chartAreaBorder.IsAutoLineColor = False - 'Set the line color - 'chartAreaBorder.LineColor = Color.Chocolate; - 'Set the line pattern - chartAreaBorder.LinePattern = OfficeChartLinePattern.DashDotDot - 'Set the line weight - chartAreaBorder.LineWeight = OfficeChartLineWeight.Wide - 'Set the transparency of border - chartAreaBorder.Transparency = 0.8 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the color of the border. - - The color is specified as an index value into the current color palette. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the transparency level of the specified Solid color shaded fill as a floating-point - value from 0.0 (Clear) through 1.0(Opaque) - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart area border - IOfficeChartBorder chartAreaBorder = chart.ChartArea.Border; - //Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange; - //Set the transparency of border - chartAreaBorder.Transparency = 0.8; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart area border - Dim chartAreaBorder As IOfficeChartBorder = chart.ChartArea.Border - 'Set the color index of chart area border - chartAreaBorder.ColorIndex = OfficeKnownColors.Light_orange - 'Set the transparency of border - chartAreaBorder.Transparency = 0.8 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents default color index. - - - - - Line format. - - - - - Represents parent workbook. - - - - - Represents parent Series format. - - - - - Represents line color. - - - - - Represents the default transparency level for the solid type - - - - - Preserve Gradient Stops (Supported in Excel 2007 and higher) - - - - - border edge join type - - - - - Creates new instance of class. - - Represents current application. - Represents parent object. - - - - Creates new instance of class. - - Represents current application. - Represents parent object. - Represents line record. - - - - Creates new instance of class. - - Represents current application. - Represents parent object. - Represents record storage. - Represents position in storage. - - - - Parsing current object. - - Records offset. - Position in offset. - - - - Serialize current object. - - Records offset. - - - - Finds parent objects. - - - - - Updates internal record for Excel97 file format. - - - - - Clones current object. - - Represents parent object. - Returns cloned object. - - - - Makes complete copy of the current object and updates its parent. - - Parent object to set. - Cloned object. - - - - Color of line. - - - - - Line pattern. - - - - - Weight of line. - - - - - preserve fill and gradient stops (Supported in Excel 2007 and higher) - - - - - indicates whether the line filled with gradient fill - - - - - Border edge join type - - - - - If true - default format; otherwise custom. - - - - - True to draw tick labels on this axis. - - - - - Custom format for line color. - - - - - Line color index. - - - - - Returns border color object. Read-only. - - - - - Returns the transparency level of the specified Solid color shaded fill as a floating-point - value from 0.0 (light) through 1.0(dark) - - - - - Gets or sets the line weight string. - - The line weight string. - - - - Represents the chart category - - - - - Gets or sets the category filter. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the categories of chart - IOfficeChartCategories categories = chart.Categories; - //Get the name of the category - string name = categories[0].Name; - //Set the category filter - categories[0].IsFiltered = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the categories of chart - Dim categories As IOfficeChartCategories = chart.Categories - 'Get the name of the category - Dim name As String = categories(0).Name - 'Set the category filter - categories(0).IsFiltered = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the category name.Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the category from the category collection - IOfficeChartCategory category = chart.Categories[0]; - //Get the name of the category - string name = category.Name; - //Get the category label, read only - IOfficeDataRange dataRange = category.CategoryLabel; - //Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol"); - dataRange.SetValue(2, 4, 290); - //Get the values of category - IOfficeDataRange values = category.Values; - //Set the value - values.SetValue(3, 2, 120); - values.SetValue(5, 2, 320); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the category from the category collection - Dim category As IOfficeChartCategory = chart.Categories(0) - 'Get the name of the category - Dim name As String = category.Name - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = category.CategoryLabel - 'Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol") - dataRange.SetValue(2, 4, 290) - 'Get the values of category - Dim values As IOfficeDataRange = category.Values - 'Set the value - values.SetValue(3, 2, 120) - values.SetValue(5, 2, 320) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the category labels of the category. Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the category from the category collection - IOfficeChartCategory category = chart.Categories[0]; - //Get the name of the category - string name = category.Name; - //Get the category label, read only - IOfficeDataRange dataRange = category.CategoryLabel; - //Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol"); - dataRange.SetValue(2, 4, 290); - //Get the values of category - IOfficeDataRange values = category.Values; - //Set the value - values.SetValue(3, 2, 120); - values.SetValue(5, 2, 320); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the category from the category collection - Dim category As IOfficeChartCategory = chart.Categories(0) - 'Get the name of the category - Dim name As String = category.Name - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = category.CategoryLabel - 'Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol") - dataRange.SetValue(2, 4, 290) - 'Get the values of category - Dim values As IOfficeDataRange = category.Values - 'Set the value - values.SetValue(3, 2, 120) - values.SetValue(5, 2, 320) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the category values.Read-only. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the category from the category collection - IOfficeChartCategory category = chart.Categories[0]; - //Get the name of the category - string name = category.Name; - //Get the category label, read only - IOfficeDataRange dataRange = category.CategoryLabel; - //Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol"); - dataRange.SetValue(2, 4, 290); - //Get the values of category - IOfficeDataRange values = category.Values; - //Set the value - values.SetValue(3, 2, 120); - values.SetValue(5, 2, 320); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the category from the category collection - Dim category As IOfficeChartCategory = chart.Categories(0) - 'Get the name of the category - Dim name As String = category.Name - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = category.CategoryLabel - 'Set the value - dataRange.SetValue(2, 1, "2ndRow, 1stCol") - dataRange.SetValue(2, 4, 290) - 'Get the values of category - Dim values As IOfficeDataRange = category.Values - 'Set the value - values.SetValue(3, 2, 120) - values.SetValue(5, 2, 320) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents the Filterd Category - - - - - Represents the category labels - - - - - Represents the category labels - - - - - Represents the category values - - - - - Represents the category values - - - - - Represents the categoryname. - - - - - Class used for Chart Category Axis implementation. - - - - - Class used for Chart Value Axis implementation. - - - - - Represents the chart value axis. - - - - - Gets or sets the minimum value on the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMin = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMinor = false; - //Set the major unit - chart.PrimaryValueAxis.MinorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MinimumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the maximum value on the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMajor = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMax = false; - //Set the major unit - chart.PrimaryValueAxis.MajorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MaximumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the major units on the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMajor = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMax = false; - //Set the major unit - chart.PrimaryValueAxis.MajorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MaximumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the minor units on the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMin = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMinor = false; - //Set the major unit - chart.PrimaryValueAxis.MinorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MinimumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the point on the value axis where the category axis crosses it. Applies only to the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the crosses At - chart.PrimaryValueAxis.CrossesAt = 1.2; - //Set the display unit - chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; - //Set the display unit custom - chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or set a value that indicates whether automatically calculates the minimum value for the value axis. - - Trueif Essential Presentation calculates the minimum value for the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMin = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMinor = false; - //Set the major unit - chart.PrimaryValueAxis.MinorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MinimumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or set a value that indicates whether automatically calculates the maximum value for the value axis. - - Trueif Essential Presentation calculates the maximum value for the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMajor = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMax = false; - //Set the major unit - chart.PrimaryValueAxis.MajorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MaximumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or set a value that indicates whether automatically calculates the major units for the value axis. - - Trueif Essential Presentation calculates the major units for the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Diable auto major - chart.PrimaryValueAxis.IsAutoMajor = false; - //Disable auto max - chart.PrimaryValueAxis.IsAutoMax = false; - //Set the major unit - chart.PrimaryValueAxis.MajorUnit = 24.34; - //Set the maximum value - chart.PrimaryValueAxis.MaximumValue = 60; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or set a value that indicates whether automatically calculates the minor units for the value axis. - - Trueif Essential Presentation calculates the minor units for the value axis.Otherwise False. - - - - Gets or sets a value that indicates whether the automatic category crossing point selected on the value axis or not. - - Trueif automatically category crossing point selected on the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Disable the auto cross - chart.PrimaryValueAxis.IsAutoCross = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that indicates whether the Logarithmic scale is using or not. - - Trueif using logarithmic scale.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the log scale - chart.PrimaryValueAxis.IsLogScale = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that indicates whether category axis to cross at maximum value or not. - - Trueif category axis to cross at maximum value.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Disable the auto cross - chart.PrimaryValueAxis.IsAutoCross = false; - //Set the Max cross - chart.PrimaryValueAxis.IsMaxCross = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the value of the displayed units. while DisplayUnit type is custom. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the crosses At - chart.PrimaryValueAxis.CrossesAt = 1.2; - //Set the display unit - chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; - //Set the display unit custom - chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the unit label for the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the crosses At - chart.PrimaryValueAxis.CrossesAt = 1.2; - //Set the display unit - chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds; - //Set the display unit custom - chart.PrimaryValueAxis.DisplayUnitCustom = 12.34; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that indicates whether the label is displayed on the value axis or not. - - if the label is displayed on the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the display unit - chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.MillionMillions; - //Hide the display unit label - chart.PrimaryValueAxis.HasDisplayUnitLabel = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets the DisplayUnitLabel object for the value axis. - Gets a Null reference if the HasDisplayUnitLabel property is set to False. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the display unit - chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.MillionMillions; - //Set the italic font style for the lable - chart.PrimaryValueAxis.DisplayUnitLabel.Italic = true; - //Set the RGB color of the label - chart.PrimaryValueAxis.DisplayUnitLabel.RGBColor = System.Drawing.Color.Bisque; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Represents logarithmic scale. - - - - - Represents reverse plot order. - - - - - Represents maximum value. - - - - - Represents minimum value. - - - - - Represents array of display units values. - Index - display units index, value - double value. - - - - - Indicates is has display unit label. - - - - - Chart value record. - - - - - Represents custom unit to display. - - - - - Represents display unit. - - - - - Represents display Unit label. - - - - - Indicates whether tick label spacing value is automatically evaluated. - - - - - Creates axis object. - - Application object for the axis. - Parent object for the axis. - - - - Creates primary axis of specified type. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - - - Creates axis of specified type and specified IsPrimary value. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - True if primary axis should be created; otherwise False. - - - - - Extracts primary axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - - - Extracts axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - True if it is primary axis; otherwise False. - - - - - Parses max cross. - - Represents max cross data to parse. - - - - Parses walls or floor. - - Record storage. - Position in storage. - - - - Parses data. - - Represents current record to parse. - Represents records storage. - Represents position in storage. - - - - Parses display unit record. - - Represents record to parse. - - - - Parses display unit label. - - Record storage. - Position in storage. - - - - Serializes axis. - - OffsetArrayList that will receive all records. - - - - Serializes axis. - - OffsetArrayList that will receive all records. - Represents axis type. - - - - Serializes walls or floor. - - Record storage. - - - - Serialize display units. - - Represents records storage. - - - - Initializes internal variables. - - - - - Checks if everything is ok with ChartValueRangeRecord. - - True if check succeeded. - - - - Checks if everything is ok with ChartValueRangeRecord. - - Indicates whether we should throw an exception in the case of check failed. - True if check succeeded. - - - - Clone current object. - - Parent object. - Dictionary with new indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Creates display unit label. - - - - - Maximum value on axis. - - - - - Maximum value on axis. - - - - - Value of major increment. - - - - - Value of minor increment. - - - - - Represents the point on the axis another axis crosses it. - - - - - Represents the point on the axis another axis crosses it. - - - - - Automatic minimum selected. - - - - - Automatic maximum selected. - - - - - Represents whether the label spacing is automatic or not - - - - - Automatic major selected. - - - - - Automatic minor selected. - - - - - Automatic category crossing point selected. - - - - - Logarithmic scale. - - - - - True if plots data points from last to first. - - - - - Category axis to cross at maximum value. - - - - - Gets or sets the ChartValueRangeRecord. - - - - - Represents custom unit to display. - - - - - Returns or sets the unit label for the specified axis. - - - - - True if the label is displayed on the specified axis. - - - - - Returns the DisplayUnitLabel object for the specified axis. - Returns Null if the HasDisplayUnitLabel property is set to False. Read-only. - - - - - Gets text link for this axis. - - - - - Represents the chart Category Axis. - - - - - Gets or sets the number of categories or series between tick-mark labels. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the tick label spacing - categoryAxis.TickLabelSpacing = 2; - //Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the tick label spacing - categoryAxis.TickLabelSpacing = 2 - 'Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates whether the tick label spacing is automatic. - - True if the tick label spacing is automatic.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the auto tick label spacing - categoryAxis.AutoTickLabelSpacing = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the auto tick label spacing - categoryAxis.AutoTickLabelSpacing = False - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the number of categories or series between tick marks. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the tick label spacing - categoryAxis.TickLabelSpacing = 2; - //Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the tick label spacing - categoryAxis.TickLabelSpacing = 2 - 'Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets true - cuts unused plot area. Default for area, surface charts. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the tick label spacing - categoryAxis.TickLabelSpacing = 2; - //Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2; - //Set IsBetween, default is true - categoryAxis.IsBetween = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the tick label spacing - categoryAxis.TickLabelSpacing = 2 - 'Set the tick mark spacing - categoryAxis.TickMarkSpacing = 2 - 'Set IsBetween, default is true - categoryAxis.IsBetween = False - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets Category labels for the chart. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the category axis type. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the category type - categoryAxis.CategoryType = OfficeCategoryType.Category; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the category type - categoryAxis.CategoryType = OfficeCategoryType.Category - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the distance between the labels and axis line. - The value can be from 0 through 1000. - - - - - Gets or sets the base unit for the category axis - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; - //Set the base unit for the category axis, default is true - categoryAxis.BaseUnitIsAuto = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month - 'Set the base unit for the category axis, default is true - categoryAxis.BaseUnitIsAuto = False - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets True if use automatic base units for the category axis. The default is true. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; - //Set the base unit for the category axis, default is true - categoryAxis.BaseUnitIsAuto = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month - 'Set the base unit for the category axis, default is true - categoryAxis.BaseUnitIsAuto = False - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the major unit scale value for the category axis - when the CategoryType property is set to TimeScale. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; - //Set the major unit scale - categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month; - //Set the minor unit scale - categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month; - //Set the minor unit - categoryAxis.MinorUnit = 10; - //Set the major unit - categoryAxis.MajorUnit = 10; - //Set the offset value - categoryAxis.Offset = 450; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month - 'Set the major unit scale - categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month - 'Set the minor unit scale - categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month - 'Set the minor unit - categoryAxis.MinorUnit = 10 - 'Set the major unit - categoryAxis.MajorUnit = 10 - 'Set the offset value - categoryAxis.Offset = 450 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the minor unit scale value for the category axis - when the CategoryType property is set to TimeScale. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis of chart - IOfficeChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis; - //Set the category labels - categoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy"; - //Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month; - //Set the major unit scale - categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month; - //Set the minor unit scale - categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month; - //Set the minor unit - categoryAxis.MinorUnit = 10; - //Set the major unit - categoryAxis.MajorUnit = 10; - //Set the offset value - categoryAxis.Offset = 450; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "9/21/2015") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "9/24/2015") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "9/28/2015") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis of chart - Dim categoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the category labels - categoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Set the number format of axis - categoryAxis.NumberFormat = "m/d/yyyy" - 'Set the base unit - categoryAxis.BaseUnit = OfficeChartBaseUnit.Month - 'Set the major unit scale - categoryAxis.MajorUnitScale = OfficeChartBaseUnit.Month - 'Set the minor unit scale - categoryAxis.MinorUnitScale = OfficeChartBaseUnit.Month - 'Set the minor unit - categoryAxis.MinorUnit = 10 - 'Set the major unit - categoryAxis.MajorUnit = 10 - 'Set the offset value - categoryAxis.Offset = 450 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Error message for not supported property. - - - - - Represents default offset. - - - - - Represents month count. - - - - - Represents min axis data. - - - - - ChartCatserRangeRecord that describes this axis. - - - - - UnknownRecord that describes label intervals of this axis. - - - - - Represents time scale data. - - - - - Represents category axis type. - - - - - Represents default axis offset. - - - - - Indicates whether tick label spacing value is automatically evaluated. - - - - - Indicates whether multi level label is allowed or not - - - - - Represents to serialize NoMultiLvlLbl attribute or not - - - - - Represents to serialize majorUnitScale is Auto - - - - - Represents to serialize minorUnitScale is Auto - - - - - Creates axis object. - - Application object for the axis. - Parent object for the axis. - - - - Creates primary axis of specified type. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - - - Creates axis of specified type and specified IsPrimary value. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - True if primary axis should be created; otherwise False. - - - - - Extracts primary axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - - - Extracts axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - True if it is primary axis; otherwise False. - - - - - Parses data. - - Represents data to parse. - Represents records storage. - Represents position in storage. - - - - Parses max cross. - - Represents max cross data to parse. - - - - Parses walls or floor. - - Record storage. - Position in storage. - - - - Parses category axis type. - - Represents record for parsing. - - - - Serializes axis. - - OffsetArrayList that will receive all records. - - - - Serializes primary standard category axis. - - OffsetArrayList that will receive all records. - - - - Serializes walls or floor. - - Record storage. - - - - Serialize category axis type. - - Represents record storage. - - - - Initializes internal variables. - - - - - Checks if everything is ok with ChartValueRangeRecord. - - Indicates whether we should throw an exception in the case of check failed. - True if check succeeded. - - - - Clones current object. - - Parent object. - Dictionary with new indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Gets start chart type only for series type. - - Returns start chart type. - - - - Checks for time scale axis mode. Otherwise rise exception. - - - - - Swap the values from category axis properties - - - - - Value axis crosses at the far right category (in a line, bar, - column, scatter, or area chart; 2D charts only). - - - - - Represents the point on the axis another axis crosses it. - - - - - Represents whether the label spacing is automatic or not - - - - - Represents the number of categories or series between tick-mark labels. - - - - - Represents the number of categories or series between tick-mark labels. - - - - - Represents the number of categories or series between tick marks. - - - - - Represents the number of categories or series between tick marks. - - - - - Creates title area. Read-only. - - - - - If false - cuts unused plot area. Default for area, surface charts. - - - - - True if plots data points from last to first. - - - - - Category labels for the chart. - - - - - Category labels for the chart. - - - - - Entered directly category labels for the chart. - - - - - Represents axis category type. - - - - - Represents distance between the labels and axis line. - The value can be from 0 through 1000. - - - - - Represents base unit for the specified category axis. - - - - - True if use automatic base units for the specified category axis. - - - - - True if use automatic major units for the specified category axis. - - - - - True if use automatic major units for the specified category axis. - - - - - Automatic major selected. - - - - - Automatic minor selected. - - - - - Automatic category crossing point selected. - - - - - Automatic maximum selected. - - - - - Automatic minimum selected. - - - - - Value of major increment. - - - - - Value of minor increment. - - - - - Represents the major unit scale value for the category axis - when the CategoryType property is set to TimeScale. - - - - - Represents the minor unit scale value for the category axis - when the CategoryType property is set to TimeScale. - - - - - Represents whether axis labels allow multi level string or not - - - - - Returns ChartCatserRangeRecord record. Read-only. - - - - - Indicates is chart bubble or scatter. Using series start type. - - - - - Indicates is category axis type is category. Read-only. - - - - - Represents the collection of IOfficeChartCategory - - - - - Gets the number of objects in the collection. Read-only Long. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[1].Charts[0] as IPresentationChart; - //Get the categories of chart - IOfficeChartCategories categories = chart.Categories; - //Get the count of categories - int count = categories.Count; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(1).Charts(0), IPresentationChart) - 'Get the categories of chart - Dim categories As IOfficeChartCategories = chart.Categories - 'Get the count of categories - Dim count As Integer = categories.Count - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance at the specified index from the collection. Read-only. - - The zero-based index of the element. - Returns the particular category based on the index. - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the categories of chart - IOfficeChartCategories categories = chart.Categories; - //Get the name of the category - string name = categories[0].Name; - //Set the category filter - categories[0].IsFiltered = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the categories of chart - Dim categories As IOfficeChartCategories = chart.Categories - 'Get the name of the category - Dim name As String = categories(0).Name - 'Set the category filter - categories(0).IsFiltered = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance with the specified index from the collection. Read-only. - - Name of the category - Returns the particular category based on the given name. - - - - Creates collection. - - Application object for the collection. - Parent object for the collection. - - - - Adds series to the collection. - - Series that should be added to the collection. - Series that was added. - - - - Performs additional operations before the Clear method. - - - - - Clone current instance. - - Parent object. - Returns cloned instance. - - - - Returns array of entered records. - - Si record index. - Returns array of entered records. - - - - Gets array by si index. - - Si index. - Returns array of arrays by si index. - - - - Returns a single Name object from a Names collection. - - - - - Represents access to the linked or embedded data associated with a chart. - - - - - Sets the value in the specified row and column index of the cell with the integer value. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the category label, read only - IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; - //Set the cell with an integer - dataRange.SetValue(2, 4, 290); - //Set the cell with double value - dataRange.SetValue(3, 3, 23.34); - //Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C"); - //Set the cell with an object - object value = "@!@#"; - dataRange.SetValue(2, 1, "value"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) - 'Set the cell with an integer - dataRange.SetValue(2, 4, 290) - 'Set the cell with double value - dataRange.SetValue(3, 3, 23.34) - 'Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C") - 'Set the cell with an object - Dim value As Object = "@!@#" - dataRange.SetValue(2, 1, "value") - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Sets the specified value at the specified row and column index. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the category label, read only - IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; - //Set the cell with an integer - dataRange.SetValue(2, 4, 290); - //Set the cell with double value - dataRange.SetValue(3, 3, 23.34); - //Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C"); - //Set the cell with an object - object value = "@!@#"; - dataRange.SetValue(2, 1, "value"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) - 'Set the cell with an integer - dataRange.SetValue(2, 4, 290) - 'Set the cell with double value - dataRange.SetValue(3, 3, 23.34) - 'Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C") - 'Set the cell with an object - Dim value As Object = "@!@#" - dataRange.SetValue(2, 1, "value") - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Sets the value in the specified row and column index of the cell with the string value. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the category label, read only - IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; - //Set the cell with an integer - dataRange.SetValue(2, 4, 290); - //Set the cell with double value - dataRange.SetValue(3, 3, 23.34); - //Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C"); - //Set the cell with an object - object value = "@!@#"; - dataRange.SetValue(2, 1, "value"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) - 'Set the cell with an integer - dataRange.SetValue(2, 4, 290) - 'Set the cell with double value - dataRange.SetValue(3, 3, 23.34) - 'Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C") - 'Set the cell with an object - Dim value As Object = "@!@#" - dataRange.SetValue(2, 1, "value") - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Sets the value in the specified row and column index of the cell with the object value. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the category label, read only - IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; - //Set the cell with an integer - dataRange.SetValue(2, 4, 290); - //Set the cell with double value - dataRange.SetValue(3, 3, 23.34); - //Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C"); - //Set the cell with an object - object value = "@!@#"; - dataRange.SetValue(2, 1, "value"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) - 'Set the cell with an integer - dataRange.SetValue(2, 4, 290) - 'Set the cell with double value - dataRange.SetValue(3, 3, 23.34) - 'Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C") - 'Set the cell with an object - Dim value As Object = "@!@#" - dataRange.SetValue(2, 1, "value") - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Sets the chart data in the specified two dimensional object array. - - Represents the two dimensional chart data - - - - Sets the chart data in the specified row and column index with the two dimensional object array. - - Represents the two dimensional chart data - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - - - - Sets the chart data in the specified row and column index with the IEnumerable object data. - - IEnumerable object with desired data - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - - - - - Returns the cell value at the specified row and column index. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Returns value corresponding to the cell. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the value of a particular cell from the chart data - object value = chartData.GetValue(2, 3); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with postion and size - Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the value of a particular cell from the chart data - Dim value As Object = chartData.GetValue(2, 3) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Clears the chart data. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Clear the chart data - chartData.Clear(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Clear the chart data - chartData.Clear() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the particular data range from the chart data. - - Represents the first row of the chart data. - Represents the first column of the chart data. - Represents the last row of the chart data. - Represents the last column of the chart data. - Returns the data range specified from the chart data. - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IOfficeChart chart = slide.Shapes[0] as IOfficeChart; - //Get the chart data - IOfficeChartData chartData = chart.ChartData; - //Get the category label, read only - IOfficeDataRange dataRange = chartData[2, 2, 4, 5]; - //Set the cell with an integer - dataRange.SetValue(2, 4, 290); - //Set the cell with double value - dataRange.SetValue(3, 3, 23.34); - //Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C"); - //Set the cell with an object - object value = "@!@#"; - dataRange.SetValue(2, 1, "value"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IOfficeChart = TryCast(slide.Shapes(0), IOfficeChart) - 'Get the chart data - Dim chartData As IOfficeChartData = chart.ChartData - 'Get the category label, read only - Dim dataRange As IOfficeDataRange = chartData(2, 2, 4, 5) - 'Set the cell with an integer - dataRange.SetValue(2, 4, 290) - 'Set the cell with double value - dataRange.SetValue(3, 3, 23.34) - 'Set the cell with a string - dataRange.SetValue(3, 1, "ChartData - 3R1C") - 'Set the cell with an object - Dim value As Object = "@!@#" - dataRange.SetValue(2, 1, "value") - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Class used for Chart Data Labels implementation. - - - - - Represents the chart data labels for the serie. - - - - - Represents the Text Area in a chart. - - - - - Represents character formatting for text or a bullet. - - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - Gets or sets a value that Determines whether the font in the specified text is bold. - - Trueif text is bold.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the primary color of the object. Read / write OfficeKnownColors. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets / sets font color. Searches for the closest color in - the presentation palette. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the size of text area - chart.ChartTitleArea.Size = 32; - //Set the RGB color - chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; - //Set strike through - chart.ChartTitleArea.Strikethrough = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that determines the font style is italic or not. - - Trueif font style is italic.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that indicates the font is an outline font. - - Trueif the font is an outline font.Otherwise False. - - - - Gets or sets a value that indicates the font is a shadow font. - - Trueif the font is a shadow font.Otherwise False. - - - - Gets or sets the character size, in points. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the size of text area - chart.ChartTitleArea.Size = 32; - //Set the RGB color - chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; - //Set strike through - chart.ChartTitleArea.Strikethrough = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that indicates the font is struck through with a horizontal line or not. - - Trueif the font is struck through with a horizontal line.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the size of text area - chart.ChartTitleArea.Size = 32; - //Set the RGB color - chart.ChartTitleArea.RGBColor = System.Drawing.Color.Peru; - //Set strike through - chart.ChartTitleArea.Strikethrough = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that Determines whether the text is subscript or not.The default is false. - - Trueif the text is subscript.Otherwise False. - - - - Gets or sets a value that Determines whether the text is superscript or not.The default is false. - - Trueif the text is superscript.Otherwise False. - - - - Gets or sets the type of underline applied to the font. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the name of the font. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value of the font vertical alignment. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets a value that Indicates whether color is automatically selected. Read-only. - - Trueif the color is automatically selected.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "This is a chart Title"; - //Set the bold font style - chart.ChartTitleArea.Bold = true; - //Set the color of chart title area - chart.ChartTitleArea.Color = OfficeKnownColors.BlueCustom; - //Set the font name - chart.ChartTitleArea.FontName = "Calibri"; - //Get if the chart area is auto color - bool autoColor = chart.ChartTitleArea.IsAutoColor; - //Set the italic font style - chart.ChartTitleArea.Italic = true; - //Set the underline property - chart.ChartTitleArea.Underline = OfficeUnderline.Double; - //Set the alignment - chart.ChartTitleArea.VerticalAlignment = OfficeFontVerticalAlignment.Baseline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Area's text. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the size of title text area - chart.ChartTitleArea.Size = 26; - //Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; - //Set the text for chart title - chart.ChartTitleArea.Text = "The Chart Title"; - //Set the text rotation angle - chart.ChartTitleArea.TextRotationAngle = 45; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the size of title text area - chart.ChartTitleArea.Size = 26 - 'Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru - 'Set the text for chart title - chart.ChartTitleArea.Text = "The Chart Title" - 'Set the text rotation angle - chart.ChartTitleArea.TextRotationAngle = 45 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that represents rotation angle of the text area. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the size of title text area - chart.ChartTitleArea.Size = 26; - //Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; - //Set the text for chart title - chart.ChartTitleArea.Text = "The Chart Title"; - //Set the text rotation angle - chart.ChartTitleArea.TextRotationAngle = 45; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the size of title text area - chart.ChartTitleArea.Size = 26 - 'Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru - 'Set the text for chart title - chart.ChartTitleArea.Text = "The Chart Title" - 'Set the text rotation angle - chart.ChartTitleArea.TextRotationAngle = 45 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the object that represents fill,line and effects formatting of the text area.Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the chart title - chart.ChartTitle = "The Chart Title"; - //Set the size of title text area - chart.ChartTitleArea.Size = 26; - //Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru; - //Set the line pattern - chart.ChartTitleArea.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; - //Set the line weight - chart.ChartTitleArea.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Medium; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the chart title - chart.ChartTitle = "The Chart Title" - 'Set the size of title text area - chart.ChartTitleArea.Size = 26 - 'Set the border color of frame format - chart.ChartTitleArea.FrameFormat.Border.LineColor = System.Drawing.Color.Peru - 'Set the line pattern - chart.ChartTitleArea.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot - 'Set the line weight - chart.ChartTitleArea.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Medium - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the object that represents layout settings of the text area. - - - - - Gets or sets a value that indicates to show the series name for the data labels on a chart. - - Trueto show the series name.Falseto hide the series name. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the serie name - dataLabels.IsSeriesName = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the serie name - dataLabels.IsSeriesName = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates to display the category name for the data labels on a chart. - - Trueto display the category name.Falseto hide the category name. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the serie name - dataLabels.IsSeriesName = true; - //Set the category name - dataLabels.IsCategoryName = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the serie name - dataLabels.IsSeriesName = True - 'Set the category name - dataLabels.IsCategoryName = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates to display a chart's data label values. - - Trueto display a chart's data label values.Falseto hide a chart's data label values. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the value for data labels - dataLabels.IsValue = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the value for data labels - dataLabels.IsValue = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates to display the percentage value for the data labels on a chart. - - Trueto display the percentage value.Falseto hide the percentage value. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Pie chart - chart.ChartType = OfficeChartType.Pie; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the data label as percentage - dataLabels.IsPercentage = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Pie chart - chart.ChartType = OfficeChartType.Pie - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the data label as percentage - dataLabels.IsPercentage = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the format string of the data label. - - - Number format is specified by the formatCode attribute.To know more about the possible formatCode - see NumberFormat. - - - - //Create an instance equivalent to PowerPoint presentation - IPresentation presentation = Presentation.Create(); - //Add a blank slide - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart of specific size and position - IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 400); - chart.ChartData.SetValue(1, 2, 1); - chart.ChartData.SetValue(1, 3, 2); - chart.ChartData.SetValue(1, 4, 3); - chart.ChartData.SetValue(2, 1, "Blue"); - chart.ChartData.SetValue(2, 2, 0.4); - chart.ChartData.SetValue(2, 3, 0.5); - chart.ChartData.SetValue(2, 4, 1.2); - chart.ChartData.SetValue(3, 1, "Red"); - chart.ChartData.SetValue(3, 2, 2.6); - chart.ChartData.SetValue(3, 3, 3.6); - chart.ChartData.SetValue(3, 4, 2.1); - chart.ChartData.SetValue(4, 1, "Orange"); - chart.ChartData.SetValue(4, 2, 1.1); - chart.ChartData.SetValue(4, 3, 0.6); - chart.ChartData.SetValue(4, 4, 1.2); - chart.ChartData.SetValue(5, 1, "Light Blue"); - chart.ChartData.SetValue(5, 2, 2.1); - chart.ChartData.SetValue(5, 3, 3.4); - chart.ChartData.SetValue(5, 4, 1.1); - IOfficeChartSerie serieJan = chart.Series.Add("1"); - //Sets the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 5, 2]; - IOfficeChartSerie serieFeb = chart.Series.Add("2"); - //Sets the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 5, 3]; - //Creates a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("3"); - //Sets the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 5, 4]; - //Set chart data range - chart.DataRange = chart.ChartData[2, 1, 5, 4]; - //Specifies the chart type - chart.ChartType = OfficeChartType.Bar_Stacked; - chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.IsValue = true; - //Set the number format of the data label in percentage, round off to two decimal places - chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%"; - //Save the presentation - presentation.Save("sample.pptx"); - //Close the Presentation - presentation.Close(); - - - 'Create an instance equivalent to PowerPoint presentation - Dim presentationDocument As IPresentation = Presentation.Create() - 'Add a blank slide - Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) - 'Add chart of specific size and position - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 400) - chart.ChartData.SetValue(1, 2, 1) - chart.ChartData.SetValue(1, 3, 2) - chart.ChartData.SetValue(1, 4, 3) - chart.ChartData.SetValue(2, 1, "Blue") - chart.ChartData.SetValue(2, 2, 0.4) - chart.ChartData.SetValue(2, 3, 0.5) - chart.ChartData.SetValue(2, 4, 1.2) - chart.ChartData.SetValue(3, 1, "Red") - chart.ChartData.SetValue(3, 2, 2.6) - chart.ChartData.SetValue(3, 3, 3.6) - chart.ChartData.SetValue(3, 4, 2.1) - chart.ChartData.SetValue(4, 1, "Orange") - chart.ChartData.SetValue(4, 2, 1.1) - chart.ChartData.SetValue(4, 3, 0.6) - chart.ChartData.SetValue(4, 4, 1.2) - chart.ChartData.SetValue(5, 1, "Light Blue") - chart.ChartData.SetValue(5, 2, 2.1) - chart.ChartData.SetValue(5, 3, 3.4) - chart.ChartData.SetValue(5, 4, 1.1) - Dim serieJan As IOfficeChartSerie = chart.Series.Add("1") - 'Sets the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 5, 2) - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("2") - 'Sets the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 5, 3) - 'Creates a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("3") - 'Sets the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 5, 4) - 'Set chart data range - chart.DataRange = chart.ChartData(2, 1, 5, 4) - 'Specifies the chart type - chart.ChartType = OfficeChartType.Bar_Stacked - chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.IsValue = True - 'Set the number format of the data label in percentage, round off to two decimal places. - chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%" - 'Save the presentation - presentationDocument.Save("sample.pptx") - 'Close the Presentation - presentationDocument.Close() - - - - - - Gets or sets a value that indicates to show bubble size for the data labels of a chart. - - True to show the bubble size. False to hide the bubble size. - - - - Gets or sets the delimiter for data labels. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the position of data labels - dataLabels.Delimiter = "L"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the position of data labels - dataLabels.Delimiter = "L" - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the data label legend key is visible. - - Trueto show the legend key.Falseto hide the legend key. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the serie name - dataLabels.IsSeriesName = true; - //Set the legend key for data labels - dataLabels.IsLegendKey = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the serie name - dataLabels.IsSeriesName = True - 'Set the legend key for data labels - dataLabels.IsLegendKey = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates Leader Lines is in data labels. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Pie chart - chart.ChartType = OfficeChartType.Pie; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the leader lines - dataLabels.ShowLeaderLines = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Pie chart - chart.ChartType = OfficeChartType.Pie - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the leader lines - dataLabels.ShowLeaderLines = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the position of the data labels. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie data labels - IOfficeChartDataLabels dataLabels = chart.Series[0].DataPoints.DefaultDataPoint.DataLabels; - //Set the serie name - dataLabels.IsSeriesName = true; - //Set the legend key for data labels - dataLabels.IsLegendKey = true; - //Set the position of data labels - dataLabels.Position = OfficeDataLabelPosition.Outside; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie data labels - Dim dataLabels As IOfficeChartDataLabels = chart.Series(0).DataPoints.DefaultDataPoint.DataLabels - 'Set the serie name - dataLabels.IsSeriesName = True - 'Set the legend key for data labels - dataLabels.IsLegendKey = True - 'Set the position of data labels - dataLabels.Position = OfficeDataLabelPosition.Outside - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents objects that can be saved into list of biff records. - - - - - Saves object into list of biff records. - - List of biff records to save object into. - - - - Summary description for IInternalFont. - - - - - Returns font index. Read-only. - - - - - Returns FontImpl for current font. Read-only. - - - - - Returns textarea's color object. Read-only. - - - - - Gets value indicating whether TextRotation was changed. Read-only. - - - - - Represents the Legend Paragraph - - - - - Represents the Default Fontname - - - - - Represents the Default Language - - - - - Represents the Default size - - - - - Parent Series. - - - - - Text area. - - - - - Parent data point; - - - - - Represents Excel 2007 layout data - - - - - boolean containing delete value - - - - - Represents the TextArea Paragraph - - - - - Indicats whether to show text properties or not - - - - - Indicats whether to show text size properties or not - - - - - Indicats whether to show text bold properties or not - - - - - Indicates if data labels are linked to source - - - - - Initializes new instance of data label and sets its parent and application objects. - - Application object. - Parent object - Data point index. - - - - Searches for all necessary parent objects. - - - - - Generates the font object corresponding to the current font. - - The generated supported font. - - - - Saves object into OffsetArrayList. - - - OffsetArrayList that will receive all records. - - - When specified OffsetArrayList is NULL. - - - - - Fill object link record. - - - - - Sets the format string of the data label. - - - - - Updates Series index. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - New font indexes. - New worksheet names. - A new object that is a copy of this instance. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Indicates whether series name is in data labels. - - - - - Indicates whether category name is in data labels. - - - - - Indicates whether value is in data labels. - - - - - Indicates whether percentage is in data labels. - - - - - Indicates if data labels are linked to source. - - - - - Indicates whether bubble size is in data labels. - - - - - Delimiter. - - - - - Indicates whether legend key is in data labels. - - - - - Indicates whether Leader Lines is in data labels. - - - - - Represents data labels position. - - - - - Display mode of the background. - - - - - True if background is set to automatic. - - - - - Area's text. - - - - - Gets rich text. - - - - - Text rotation angle. - - - - - Return format of the text area. - - - - - True if the font is bold. Read / write Boolean. - - - - - Returns or sets the primary color of the object. - Read / write ExcelKnownColors. - - - - - Gets / sets font color. Searches for the closest color in - the workbook palette. - - - - - True if the font style is italic. Read / write Boolean. - - - - - True if the font is an outline font. Read / write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read / write Boolean. - - - - - Returns or sets the size of the font. Read / write Variant. - - - - - True if the font is struck through with a horizontal line. - Read / write Boolean - - - - - True if the font is formatted as subscript. - False by default. Read / write Boolean. - - - - - True if the font is formatted as superscript. False by default. - Read/write Boolean - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read / write OfficeUnderline. - - - - - Returns or sets the font name. Read / write string. - - - - - Gets / sets font vertical alignment. - - - - - Indicates whether color is automatically selected. Read-only. - - - - - Gets / sets text area. - - - - - Gets corresponding data format. Read-only. - - - - - Gets or sets Excel 2007 layout data - - - - - Gets or sets whether to delete or not. - - - - - Gets value indicating whether TextRotation was changed. Read-only. - - - - - Represents the Legend Paragraph - - - - - Gets or sets the format string of the data label. - - - Number format is specified by the formatCode attribute.To know more about the possible formatCode - see NumberFormat. - - - - //Create an instance equivalent to PowerPoint presentation - IPresentation presentation = Presentation.Create(); - //Add a blank slide - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart of specific size and position - IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 400); - chart.ChartData.SetValue(1, 2, 1); - chart.ChartData.SetValue(1, 3, 2); - chart.ChartData.SetValue(1, 4, 3); - chart.ChartData.SetValue(2, 1, "Blue"); - chart.ChartData.SetValue(2, 2, 0.4); - chart.ChartData.SetValue(2, 3, 0.5); - chart.ChartData.SetValue(2, 4, 1.2); - chart.ChartData.SetValue(3, 1, "Red"); - chart.ChartData.SetValue(3, 2, 2.6); - chart.ChartData.SetValue(3, 3, 3.6); - chart.ChartData.SetValue(3, 4, 2.1); - chart.ChartData.SetValue(4, 1, "Orange"); - chart.ChartData.SetValue(4, 2, 1.1); - chart.ChartData.SetValue(4, 3, 0.6); - chart.ChartData.SetValue(4, 4, 1.2); - chart.ChartData.SetValue(5, 1, "Light Blue"); - chart.ChartData.SetValue(5, 2, 2.1); - chart.ChartData.SetValue(5, 3, 3.4); - chart.ChartData.SetValue(5, 4, 1.1); - IOfficeChartSerie serieJan = chart.Series.Add("1"); - //Sets the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 5, 2]; - IOfficeChartSerie serieFeb = chart.Series.Add("2"); - //Sets the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 5, 3]; - //Creates a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("3"); - //Sets the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 5, 4]; - //Set chart data range - chart.DataRange = chart.ChartData[2, 1, 5, 4]; - //Specifies the chart type - chart.ChartType = OfficeChartType.Bar_Stacked; - chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.IsValue = true; - //Set the number format of the data label in percentage, round off to two decimal places - chart.Series[0].DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%"; - //Save the presentation - presentation.Save("sample.pptx"); - //Close the Presentation - presentation.Close(); - - - 'Create an instance equivalent to PowerPoint presentation - Dim presentationDocument As IPresentation = Presentation.Create() - 'Add a blank slide - Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) - 'Add chart of specific size and position - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 400) - chart.ChartData.SetValue(1, 2, 1) - chart.ChartData.SetValue(1, 3, 2) - chart.ChartData.SetValue(1, 4, 3) - chart.ChartData.SetValue(2, 1, "Blue") - chart.ChartData.SetValue(2, 2, 0.4) - chart.ChartData.SetValue(2, 3, 0.5) - chart.ChartData.SetValue(2, 4, 1.2) - chart.ChartData.SetValue(3, 1, "Red") - chart.ChartData.SetValue(3, 2, 2.6) - chart.ChartData.SetValue(3, 3, 3.6) - chart.ChartData.SetValue(3, 4, 2.1) - chart.ChartData.SetValue(4, 1, "Orange") - chart.ChartData.SetValue(4, 2, 1.1) - chart.ChartData.SetValue(4, 3, 0.6) - chart.ChartData.SetValue(4, 4, 1.2) - chart.ChartData.SetValue(5, 1, "Light Blue") - chart.ChartData.SetValue(5, 2, 2.1) - chart.ChartData.SetValue(5, 3, 3.4) - chart.ChartData.SetValue(5, 4, 1.1) - Dim serieJan As IOfficeChartSerie = chart.Series.Add("1") - 'Sets the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 5, 2) - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("2") - 'Sets the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 5, 3) - 'Creates a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("3") - 'Sets the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 5, 4) - 'Set chart data range - chart.DataRange = chart.ChartData(2, 1, 5, 4) - 'Specifies the chart type - chart.ChartType = OfficeChartType.Bar_Stacked - chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.IsValue = True - 'Set the number format of the data label in percentage, round off to two decimal places - chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.NumberFormat = "0.00%" - 'Save the presentation - presentationDocument.Save("sample.pptx") - 'Close the Presentation - presentationDocument.Close() - - - - - - Gets or sets a value indicating whether this instance is formula. - - - true if this instance is formula; otherwise, false. - - - - - Gets or sets a value indicating whether to show text properties or not - - - - - Gets or sets a value indicating whether to show text size properties or not - - - - - Gets or sets a value indicating whether to show text bold properties or not - - - - - Gets or sets the Text Rotation - - - - - Data labels color. Read-only. - - - - - Returns font index. Read-only. - - - - - Returns FontImpl for current font. Read-only. - - - - - Represents single data point in the collection. - - - - - Represents single data point in the chart. - - - - - Gets the data label associated with the data point. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D; - //Get the serie data point - IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; - //Get the data labels of data point - IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; - //Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D - 'Get the serie data point - Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint - 'Get the data labels of data point - Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels - 'Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets index of the point in the points collection. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D; - //Get the serie data point - IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; - //Gets the index of data point from points collection - int index = dataPoint.Index; - //Check if the point is default data point - bool isDefault = dataPoint.IsDefault; - //Set the default marker type - dataPoint.IsDefaultmarkertype = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D - 'Get the serie data point - Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint - 'Gets the index of data point from points collection - Dim index As Integer = dataPoint.Index - 'Check if the point is default data point - Dim isDefault As Boolean = dataPoint.IsDefault - 'Set the default marker type - dataPoint.IsDefaultmarkertype = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the data format of chart serie. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D; - //Get the serie data point - IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; - //Get the data format of the data point, read only - IOfficeChartSerieDataFormat dataFormat = dataPoint.DataFormat; - //Set the BarShapeTop - dataFormat.BarShapeTop = OfficeTopFormat.Trunc; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D - 'Get the serie data point - Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint - 'Get the data format of the data point, read only - Dim dataFormat As IOfficeChartSerieDataFormat = dataPoint.DataFormat - 'Set the BarShapeTop - dataFormat.BarShapeTop = OfficeTopFormat.Trunc - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets whether this data point is default data point. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D; - //Get the serie data point - IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; - //Gets the index of data point from points collection - int index = dataPoint.Index; - //Check if the point is default data point - bool isDefault = dataPoint.IsDefault; - //Set the default marker type - dataPoint.IsDefaultmarkertype = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D - 'Get the serie data point - Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint - 'Gets the index of data point from points collection - Dim index As Integer = dataPoint.Index - 'Check if the point is default data point - Dim isDefault As Boolean = dataPoint.IsDefault - 'Set the default marker type - dataPoint.IsDefaultmarkertype = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets whether marker type is default. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D; - //Get the serie data point - IOfficeChartDataPoint dataPoint = chart.Series[0].DataPoints.DefaultDataPoint; - //Gets the index of data point from points collection - int index = dataPoint.Index; - //Check if the point is default data point - bool isDefault = dataPoint.IsDefault; - //Set the default marker type - dataPoint.IsDefaultmarkertype = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Stacked_3D - 'Get the serie data point - Dim dataPoint As IOfficeChartDataPoint = chart.Series(0).DataPoints.DefaultDataPoint - 'Gets the index of data point from points collection - Dim index As Integer = dataPoint.Index - 'Check if the point is default data point - Dim isDefault As Boolean = dataPoint.IsDefault - 'Set the default marker type - dataPoint.IsDefaultmarkertype = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Data labels. - - - - - Point index. - - - - - Data format. - - - - - Represents parent chart. - - - - - Represents whether the series has datapoint or not - - - - - Represent whether it's having the seperate seperate marker - - - - - Indicates whether bubbles have a 3-D effect applied to them or not - - - - - Represents the amount the data shall be moved from the center of the pie. - - - - - Represents whether the pie has explosion - - - - - Initializes new instance and sets its application and parent objects. - - Application object. - Parent object. - Index of the data point. - - - - Serializes data labels data. - - List to serialize into. - - - - Serializes used data formats. - - List to serialize into. - - - - Sets data labels text area format. - - Text area to set. - - - - Creates data labels object if necessary. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for the cloned object. - New font indexes. - Dictionary with new worksheet names. - A new object that is a copy of this instance. - - - - Updates Series index. - - - - - Changes data format to create ChartStockHighLowClose chart type. - - - - - Changes data format to create ChartStockHighLowClose chart type. - - - - - Changes intimate bubble series. - - Type to change. - - - - Updates current data format. - - Represents data format for update. - - - - Clears data formats. - - Represents format to update. - - - - Returns data labels object for the data point. Read-only. - - - - - Returns data format. Read-only. - - - - - Gets /sets inner data format. - - - - - Gets / sets index of the point in the points collection. - - - - - Returns data format or null. - - - - - Indicates whether this data point is default data point. Read-only. - - - - - Indicates whether data labels object was created for this data point. Read-only. - - - - - Indicates whether the series has datapoint or not. - - - - - Indicate It's having the seperate marker type - - - - - Indicates whether bubbles have a 3-D effect applied to them or not - - - - - Gets or sets the amount the data shall be moved from the center of the pie. - - - - - Gets the boolean value which represents whether the pie has explosion - - - - - Represents collection of data points in the chart series. - - - - - Represents a collection of data point in the series. - - - - - Gets the default data points of the chart. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the series data points - IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; - //Get the default data point, read only - IOfficeChartDataPoint dataPoint = dataPoints.DefaultDataPoint; - //Get the data labels of data point - IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; - //Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center; - //Set the series name - dataLabels.IsSeriesName = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the series data points - Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints - 'Get the default data point, read only - Dim dataPoint As IOfficeChartDataPoint = dataPoints.DefaultDataPoint - 'Get the data labels of data point - Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels - 'Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center - 'Set the series name - dataLabels.IsSeriesName = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets single data point by its index. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IOfficeChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the series data points - IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; - //Get the data point using the index, read only - IOfficeChartDataPoint dataPoint = dataPoints[0]; - //Get the data labels of data point - IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; - //Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center; - //Set the series name - dataLabels.IsSeriesName = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IOfficeChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the series data points - Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints - 'Get the data point using the index, read only - Dim dataPoint As IOfficeChartDataPoint = dataPoints(0) - 'Get the data labels of data point - Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels - 'Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center - 'Set the series name - dataLabels.IsSeriesName = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Format for data points without explicit format. - - - - - Collection of used data points, key - int index, value - data point. - - - - - Parent chart series. - - - - - Initializes new instance of the collection and sets its parent and application properties. - - Application object. - Parent object. - - - - Finds parent objects. - - - - - Check for data labels on data points - - retuns true,if single data point have data labels,otherwise false - - - - Serializes data labels data. - - List to serialize into. - - - - Serializes all used data formats. - - List to serialize into. - - - - Creates a new object that is a copy of the current instance. - - Parent object for the cloned object. - Parent workbook. - Dictionary with new font indexes. - Dictionary with new worksheet names. - A new object that is a copy of this instance. - - - - Adds new data point to the collection. - - Data point to add. - - - - Removes all elements from the collection. - - - - - Updates index of the parent Series. - - - - - Clears all series data formats. - - Represents format to update. - - - - Returns an enumerator that iterates through a collection. - - An IEnumerator object that can be used to iterate through the collection. - - - - Returns single entry from the collection. Read-only. - - - - - Returns default data point which describes formats for data points without format. Read-only. - - - - - Indicates whether workbook is loading. Read-only. - - - - - Gets the default data format or null. Read-only. - - - - - Returns number of defined (created) data points. Read-only. - - - - - Represents a range of values of the chart. - - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Returns the cell value. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Returns value corresponding to the cell. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Get data from the chart using specific RowIndex and columnIndex - object value = chart.DataRange.GetValue(2, 3); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets a first row of the range. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - //Set the chart type - chart.ChartType = OfficeChartType.Area; - //Get the first and last row - int _firstRow = chart.DataRange.FirstRow; - int _lastRow = chart.DataRange.LastRow; - //Get the first and last column - int _firstColumn = chart.DataRange.FirstColumn; - int _lastColumn = chart.DataRange.LastColumn; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets a last row of the range. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - //Set the chart type - chart.ChartType = OfficeChartType.Area; - //Get the first and last row - int _firstRow = chart.DataRange.FirstRow; - int _lastRow = chart.DataRange.LastRow; - //Get the first and last column - int _firstColumn = chart.DataRange.FirstColumn; - int _lastColumn = chart.DataRange.LastColumn; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets a first column of the range. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - //Set the chart type - chart.ChartType = OfficeChartType.Area; - //Get the first and last row - int _firstRow = chart.DataRange.FirstRow; - int _lastRow = chart.DataRange.LastRow; - //Get the first and last column - int _firstColumn = chart.DataRange.FirstColumn; - int _lastColumn = chart.DataRange.LastColumn; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets a last column of the range. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - //Set the chart type - chart.ChartType = OfficeChartType.Area; - //Get the first and last row - int _firstRow = chart.DataRange.FirstRow; - int _lastRow = chart.DataRange.LastRow; - //Get the first and last column - int _firstColumn = chart.DataRange.FirstColumn; - int _lastColumn = chart.DataRange.LastColumn; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Class used for Chart DataTable implementation. - - - - - Represents the data table of the chart. - - - - - Gets or sets a value that indicates the chart data table has horizontal cell borders or not. - - Trueif the chart data table has horizontal cell borders.OtherwiseFalse. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Enable the chart data table - chart.HasDataTable = true; - //Get the data table of chart - IOfficeChartDataTable datatable = chart.DataTable; - //Set the horizontal border - datatable.HasHorzBorder = true; - //Set the vertical border - datatable.HasVertBorder = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Enable the chart data table - chart.HasDataTable = True - 'Get the data table of chart - Dim datatable As IOfficeChartDataTable = chart.DataTable - 'Set the horizontal border - datatable.HasHorzBorder = True - 'Set the vertical border - datatable.HasVertBorder = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the chart data table has vertical cell borders or not. - - Trueif the chart data table has vertical cell borders.OtherwiseFalse. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Enable the chart data table - chart.HasDataTable = true; - //Get the data table of chart - IOfficeChartDataTable datatable = chart.DataTable; - //Set the horizontal border - datatable.HasHorzBorder = true; - //Set the vertical border - datatable.HasVertBorder = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Enable the chart data table - chart.HasDataTable = True - 'Get the data table of chart - Dim datatable As IOfficeChartDataTable = chart.DataTable - 'Set the horizontal border - datatable.HasHorzBorder = True - 'Set the vertical border - datatable.HasVertBorder = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the chart data table has borders or not. - - Trueif the chart data table has borders.OtherwiseFalse. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Enable the chart data table - chart.HasDataTable = true; - //Get the data table of chart - IOfficeChartDataTable datatable = chart.DataTable; - //Set the borders - datatable.HasBorders = true; - //Set the horizontal border - datatable.HasHorzBorder = true; - //Set the vertical border - datatable.HasVertBorder = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Enable the chart data table - chart.HasDataTable = True - 'Get the data table of chart - Dim datatable As IOfficeChartDataTable = chart.DataTable - 'Set the horizontal border - datatable.HasHorzBorder = True - 'Set the vertical border - datatable.HasVertBorder = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the chart data table show series keys or not. - - Trueif the chart data table show series keys.OtherwiseFalse. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Enable the chart data table - chart.HasDataTable = true; - //Get the data table of chart - IOfficeChartDataTable datatable = chart.DataTable; - //Set the horizontal border - datatable.HasHorzBorder = true; - //Set the vertical border - datatable.HasVertBorder = true; - //Set the series keys - datatable.ShowSeriesKeys = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Enable the chart data table - chart.HasDataTable = True - 'Get the data table of chart - Dim datatable As IOfficeChartDataTable = chart.DataTable - 'Set the horizontal border - datatable.HasHorzBorder = True - 'Set the vertical border - datatable.HasVertBorder = True - 'Set the series keys - datatable.ShowSeriesKeys = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets text area of the data table. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Enable the chart data table - chart.HasDataTable = true; - //Get the data table of chart - IOfficeChartDataTable datatable = chart.DataTable; - //Get the text area of data table - IOfficeChartTextArea textArea = datatable.TextArea; - //Set the color of text area - textArea.Color = OfficeKnownColors.Violet; - //Set the font name - textArea.FontName = "Helvetica"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Enable the chart data table - chart.HasDataTable = True - 'Get the data table of chart - Dim datatable As IOfficeChartDataTable = chart.DataTable - 'Get the text area of data table - Dim textArea As IOfficeChartTextArea = datatable.TextArea - 'Set the color of text area - textArea.Color = OfficeKnownColors.Violet - 'Set the font name - textArea.FontName = "Helvetica" - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - This record stores options for the chart data table. - - - - - Records that were read (if data table was not created but loaded). - - - - - Represents chart text record and sub records. - - - - - Represents data table has shape properties or not. - - - - - This is used to hold data table's shape properties. - - - - - Creates default data table. - - Application object for the new data table. - Parent object for the new data table. - - - - Extracts data table's data from the array of BiffRecords. - - Application object for the new data table. - Parent object for the new data table. - Array of BiffRecords that contains the data table's data. - Position of the ChartData record. - - - - Extracts data table from the array of BiffRecords. - - BiffRecords with data table records. - Position of the ChartData record. - - When specified record is not ChartData record - or when next record is not Begin record. - - - - - Serializes data table. - - - OffsetArrayList that will receive all data table records. - - - When specified OffsetArrayList is NULL. - - - - - Clone current Record. - - Parent object for create new instance. - Returns clone of current object. - - - - True if data table has horizontal border. - - - - - True if data table has vertical border. - - - - - True if data table has borders. - - - - - True if there is series keys in the data table. - - - - - Return text area of data table. - - - - - Represents ChartDropBar record and another records. - - - - - Represents ChartDropBarImpl. - - - - - Represents the options for area: area fill and border formatting. - - - - - Gets whether interior object was created. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill - IOfficeChartBorder line = chartFill.LineProperties; - //Check interior object, read only - bool interior = chartFill.HasInterior; - //Check for 3D properties, read only - bool _3DProperties = chartFill.Has3dProperties; - //Check the line properties, read only - bool lineProps = chartFill.HasLineProperties; - //Check the shadow properties, read only - bool shadowProps = chartFill.HasShadowProperties; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill - Dim line As IOfficeChartBorder = chartFill.LineProperties - 'Check interior object, read only - Dim interior As Boolean = chartFill.HasInterior - 'Check for 3D properties, read only - Dim _3DProperties As Boolean = chartFill.Has3dProperties - 'Check the line properties, read only - Dim lineProps As Boolean = chartFill.HasLineProperties - 'Check the shadow properties, read only - Dim shadowProps As Boolean = chartFill.HasShadowProperties - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets whether line formatting object was created. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill - IOfficeChartBorder line = chartFill.LineProperties; - //Check interior object, read only - bool interior = chartFill.HasInterior; - //Check for 3D properties, read only - bool _3DProperties = chartFill.Has3dProperties; - //Check the line properties, read only - bool lineProps = chartFill.HasLineProperties; - //Check the shadow properties, read only - bool shadowProps = chartFill.HasShadowProperties; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill - Dim line As IOfficeChartBorder = chartFill.LineProperties - 'Check interior object, read only - Dim interior As Boolean = chartFill.HasInterior - 'Check for 3D properties, read only - Dim _3DProperties As Boolean = chartFill.Has3dProperties - 'Check the line properties, read only - Dim lineProps As Boolean = chartFill.HasLineProperties - 'Check the shadow properties, read only - Dim shadowProps As Boolean = chartFill.HasShadowProperties - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a value indicating whether [has3d properties]. - - true if [has3d properties]; otherwise, false. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill - IOfficeChartBorder line = chartFill.LineProperties; - //Check interior object, read only - bool interior = chartFill.HasInterior; - //Check for 3D properties, read only - bool _3DProperties = chartFill.Has3dProperties; - //Check the line properties, read only - bool lineProps = chartFill.HasLineProperties; - //Check the shadow properties, read only - bool shadowProps = chartFill.HasShadowProperties; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill - Dim line As IOfficeChartBorder = chartFill.LineProperties - 'Check interior object, read only - Dim interior As Boolean = chartFill.HasInterior - 'Check for 3D properties, read only - Dim _3DProperties As Boolean = chartFill.Has3dProperties - 'Check the line properties, read only - Dim lineProps As Boolean = chartFill.HasLineProperties - 'Check the shadow properties, read only - Dim shadowProps As Boolean = chartFill.HasShadowProperties - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a value indicating whether this instance has shadow properties. - - - true if this instance has shadow properties; otherwise, false. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill - IOfficeChartBorder line = chartFill.LineProperties; - //Check interior object, read only - bool interior = chartFill.HasInterior; - //Check for 3D properties, read only - bool _3DProperties = chartFill.Has3dProperties; - //Check the line properties, read only - bool lineProps = chartFill.HasLineProperties; - //Check the shadow properties, read only - bool shadowProps = chartFill.HasShadowProperties; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill - Dim line As IOfficeChartBorder = chartFill.LineProperties - 'Check interior object, read only - Dim interior As Boolean = chartFill.HasInterior - 'Check for 3D properties, read only - Dim _3DProperties As Boolean = chartFill.Has3dProperties - 'Check the line properties, read only - Dim lineProps As Boolean = chartFill.HasLineProperties - 'Check the shadow properties, read only - Dim shadowProps As Boolean = chartFill.HasShadowProperties - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets object, that represents line properties. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill - IOfficeChartBorder line = chartFill.LineProperties; - //Set the line color - line.LineColor = System.Drawing.Color.DarkGreen; - //Set the line weight - line.LineWeight = OfficeChartLineWeight.Wide; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill - Dim line As IOfficeChartBorder = chartFill.LineProperties - 'Set the line color - line.LineColor = System.Drawing.Color.DarkGreen - 'Set the line weight - line.LineWeight = OfficeChartLineWeight.Wide - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets object, that represents area properties. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the interior of chart fill - IOfficeChartInterior _interior = chartFill.Interior; - //Enable the automatic format - _interior.UseAutomaticFormat = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the interior of chart fill - Dim _interior As IOfficeChartInterior = chartFill.Interior - 'Enable the automatic format - _interior.UseAutomaticFormat = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets fill options. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the line properties of chart fill, read only - IOfficeFill fill = chartFill.Fill; - //set the fill type as pattern - fill.FillType = OfficeFillType.Pattern; - //Set the back color - fill.BackColor = Color.Red; - //Set the fore color - fill.ForeColor = Color.Yellow; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the line properties of chart fill, read only - Dim fill As IOfficeFill = chartFill.Fill - 'set the fill type as pattern - fill.FillType = OfficeFillType.Pattern - 'Set the back color - fill.BackColor = System.Drawing.Color.Red - 'Set the fore color - fill.ForeColor = System.Drawing.Color.Yellow - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the chart3 D properties. - - The chart3 D properties. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the shadow properties - IThreeDFormat _3Dimension = chartFill.ThreeD; - //Set the 3D properties - _3Dimension.BevelBottom = Office2007ChartBevelProperties.HardEdge; - _3Dimension.BevelBottomHeight = 140; - _3Dimension.BevelBottomWidth = 67; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the shadow properties - Dim _3Dimension As IThreeDFormat = chartFill.ThreeD - 'Set the 3D properties - _3Dimension.BevelBottom = Office2007ChartBevelProperties.HardEdge - _3Dimension.BevelBottomHeight = 140 - _3Dimension.BevelBottomWidth = 67 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the shadow properties. - - The shadow properties. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the serie format - IOfficeChartFillBorder chartFill = chart.Series[0].SerieFormat; - //Get the shadow properties - IShadow shadow = chartFill.Shadow; - //Set the custom shadow style - shadow.HasCustomShadowStyle = true; - //set the shadow color - shadow.ShadowColor = System.Drawing.Color.Green; - //Set the shadow with inner preset - shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the serie format - Dim chartFill As IOfficeChartFillBorder = chart.Series(0).SerieFormat - 'Get the shadow properties - Dim shadow As IShadow = chartFill.Shadow - 'Set the custom shadow style - shadow.HasCustomShadowStyle = True - 'set the shadow color - shadow.ShadowColor = System.Drawing.Color.Green - 'Set the shadow with inner preset - shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the drop bar gap width (0 to 100%). - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the chart serie option - IOfficeChartFormat chartFormat = chart.Series[0].SerieFormat.CommonSerieOptions; - //Get the First Drop Bar - IOfficeChartDropBar dropBar = chartFormat.FirstDropBar; - //Set the gap width of data series in chart - dropBar.Gap = 100; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation__1.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the chart serie option - Dim chartFormat As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Get the First Drop Bar - Dim dropBar As IOfficeChartDropBar = chartFormat.FirstDropBar - 'Set the gap width of data series in chart - dropBar.Gap = 100 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents interface, that synchronize chart fill color properties and interior colors. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents pattern. - - - - - Represents is automatic format. - - - - - Represents fill properties. - - - - - Represents visible. - - - - - Represents chart drop bar record. - - - - - Represents drop bar line format. - - - - - Represents drop bar area format. - - - - - Represents parent workBook. - - - - - Represents drop bar filling options. - - - - - Represents the 3D features - - - - - Represents Shadow - - - - - Initialize new instance. - - Current application. - Parent object. - - - - Sets parent objects. - - - - - Parses current block of records. - - Offset array list. - Current position in offset array list. - - - - Serializes DropBar. - - OffsetArrayList that will receive all records. - - - - Clones current object. - - Parent object. - Returns cloned object. - - - - This property indicates whether interior object was created. Read-only. - - - - - Represents the Shadow.Read-only - - - - - Gets a value indicating whether this instance has shadow properties. - - - true if this instance has shadow properties; otherwise, false. - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - This property indicates whether border formatting object was created. Read-only. - - - - - Drop bar gap width. - - - - - Returns interior object. Read-only. - - - - - Returns object, that represents line properties. Read-only. - - - - - Represents fill options. Read-only. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents pattern. - - - - - Represents if use automatic format. - - - - - Represents visibility. - - - - - Represents chart error bars. - - - - - Represents the error bars on a chart series. - - - - - Clears the formatting of the error bars. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation; - //Set the cap for errorbars - errorBars.HasCap = true; - //Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus; - //Clear formats - errorBars.ClearFormats(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation - 'Set the cap for errorbars - errorBars.HasCap = True - 'Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus - 'Clear formats - errorBars.ClearFormats() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Deletes the error bars. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation; - //Set the cap for errorbars - errorBars.HasCap = true; - //Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus; - //Delete the error bars - errorBars.Delete(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation - 'Set the cap for errorbars - errorBars.HasCap = True - 'Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus - 'Delete the error bars - errorBars.Delete() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the border object of the error bars. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //set the border line color - errorBars.Border.LineColor = System.Drawing.Color.BlueViolet; - //Set the border line weight - errorBars.Border.LineWeight = OfficeChartLineWeight.Wide; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'set the border line color - errorBars.Border.LineColor = System.Drawing.Color.BlueViolet - 'Set the border line weight - errorBars.Border.LineWeight = OfficeChartLineWeight.Wide - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets error bar include type. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation; - //Set the cap for errorbars - errorBars.HasCap = true; - //Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation - 'Set the cap for errorbars - errorBars.HasCap = True - 'Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the value that indicates error bars has cap or not. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation; - //Set the cap for errorbars - errorBars.HasCap = true; - //Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation - 'Set the cap for errorbars - errorBars.HasCap = True - 'Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets chart error bar type. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //set the border line color - errorBars.Border.LineColor = System.Drawing.Color.BlueViolet; - //Set the border line weight - errorBars.Border.LineWeight = OfficeChartLineWeight.Wide; - //Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'set the border line color - errorBars.Border.LineColor = System.Drawing.Color.BlueViolet - 'Set the border line weight - errorBars.Border.LineWeight = OfficeChartLineWeight.Wide - 'Set the type - errorBars.Type = OfficeErrorBarType.StandardDeviation - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets number value. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus; - //Set the number value - errorBars.NumberValue = 12.78; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the include property - errorBars.Include = OfficeErrorBarInclude.Minus - 'Set the number value - errorBars.NumberValue = 12.78 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets custom plus value. - - - - - Gets or sets custom minus value. - - - - - Gets shadow formatting properties for the error bars. - - The shadow. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Enable error bar X for a serie - chart.Series[0].HasErrorBarsX = true; - //Get the error bar X - IOfficeChartErrorBars errorBars = chart.Series[0].ErrorBarsX; - //Set the shadow color - errorBars.Shadow.ShadowColor = System.Drawing.Color.Brown; - //Set the inner preset of shadow - errorBars.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight; - //Set the size of the shadow - errorBars.Shadow.Size = 34; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Enable error bar X for a serie - chart.Series(0).HasErrorBarsX = True - 'Get the error bar X - Dim errorBars As IOfficeChartErrorBars = chart.Series(0).ErrorBarsX - 'Set the shadow color - errorBars.Shadow.ShadowColor = System.Drawing.Color.Brown - 'Set the inner preset of shadow - errorBars.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalBottomRight - 'Set the size of the shadow - errorBars.Shadow.Size = 34 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the 3-D�effect formatting properties for the error bars. Read-only - - The chart3 D options. - - - - Represents default value for X error bar. - - - - - Represents default value for Y axis. - - - - - Serialize Series record. - - Represents record holder. - Values number. - - - - Serialize data format records. - - Represents record holder. - Represents border object. - Represents Series index. - Represents Series indexes. - - - - Represents border object. - - - - - Represents error bar record. - - - - - Represents Shadow - - - - - Represents error include. - - - - - Represents parent Series. - - - - - Represents positive range of custom values. - - - - - Represents negative range of custom values. - - - - - Indicates that is on Y axis. - - - - - ChartAI record containing referred range. - - - - - Preserved marker formta record - - - - - Represents the 3D features - - - - - Represents the chart ErrorBar plus range values - - - - - Represents the chart ErrorBar minus range values - - - - - Creates new instance of error bars implementation. - - Application object. - Represents parent object. - Indicates if it's Y axis bar. - - - - Parses new instance of error bars from stream. - - Application object. - Represents parent object. - Represents data holder. - - - - Finds parent objects. - - - - - Clears current error bar. - - - - - Deletes current error bar. - - - - - Parses error bars object from stream. - - Represents record holder. - - - - Serializes records to biff stream - - Represents record holder. - - - - Serializes AI records. - - Represents records holder. - If true than plus sub bar; otherwise minus. - - - - Serializes single error bar to biff stream. - - Represents record holder. - Indicates if in Y axis. - Indicates if Plus error bar. - Represents Series index. - - - - Gets native PTG. - - Indicates if it plus error bar. - Returns PTG. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Checks include value. - - Represents include value. - Returns true if class support current inclure; otherwise false. - - - - Clones current object. - - Represents parent object for new cloned instance. - Represents new names. - Returns cloned object. - - - - Represents border object. Read-only. - - - - - Represents error bar include type. - - - - - Indicates if error bar has cap. - - - - - Represents excel error bar type. - - - - - Represents number value. - - - - - Gets or sets a value indicating whether this instance is plus number literal. - - - true if this instance is plus number literal; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is minus number literal. - - - true if this instance is minus number literal; otherwise, false. - - - - - Represents custom positive value. - - - - - Represents custom positive value. - - - - - Represents custom negative value. - - - - - Represents custom negative value. - - - - - Represents the Shadow.Read-only - - - - - This property indicates whether the shadow object has been created - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - If true, error bar is on Y axis; otherwise - on X axis. - - - - - Represents the chart ErrorBar plus range values - - - - - Represents the chart ErrorBar minus range values - - - - - Represents fill format in chart object. - - - - - Represents fill format in shape object. - - - - - Represents fill formatting for a shape. - - - - - Fills the specified shape with one large image. - - The name of the picture file. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the picture fill type for plot area - chart.PlotArea.Fill.UserPicture("Image.gif"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Fills the specified shape with one large image. - - Represents user defined image. - The name of the picture file. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create instance for image - System.Drawing.Image image = System.Drawing.Image.FromFile("Image.gif"); - //Set the picture fill type for chart area - chart.ChartArea.Fill.UserPicture(image, "Image"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Fills the specified shape with small tiles of an image. - - Represents user defined texture. - Represents name of user defined texture. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create instance for image - System.Drawing.Image image = System.Drawing.Image.FromFile("Image.gif"); - //Set the texture fill type for chart area - chart.ChartArea.Fill.UserTexture(image, "Image"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Fills the specified shape with small tiles of an image. - - Path to image. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the texture fill type for plot area - chart.PlotArea.Fill.UserTexture("Image.gif"); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a pattern. - - The pattern to be used for the specified fill. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the pattern fill for chart area - chart.ChartArea.Fill.Patterned(OfficeGradientPattern.Pat_50_Percent); - //Set the fore color - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; - //Set the back color - chart.ChartArea.Fill.BackColor = System.Drawing.Color.Pink; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the preset gradient - chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Early_Sunset); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - Represents gradient style, for preset gradient. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the preset gradient - chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Parchment, OfficeGradientStyle.Horizontal); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - Represents gradient style, for preset gradient. - Represents gradient variant for preset gradient. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the preset gradient - chart.ChartArea.Fill.PresetGradient(OfficeGradientPreset.Grad_Fire, OfficeGradientStyle.FromCorner, OfficeGradientVariants.ShadingVariants_1); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill format to a preset texture. - - Represents texture to set. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the preset texture - chart.ChartArea.Fill.PresetTextured(OfficeTexture.Canvas); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a two-color gradient. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the gradient color - chart.ChartArea.Fill.TwoColorGradient(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a two-color gradient. - - Represents shading style. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the gradient color - chart.ChartArea.Fill.TwoColorGradient(OfficeGradientStyle.Horizontal); - //Set the fore color index - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.BlueCustom; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a two-color gradient. - - Represents shading style. - Represents shading variant. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the gradient color - chart.ChartArea.Fill.TwoColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); - //Set the fore color index - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.BlueCustom; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a one-color gradient. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Se the specified fill to one color gradient - chart.ChartArea.Fill.OneColorGradient(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a one-color gradient. - - Represents shading style. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Se the specified fill to one color gradient - chart.ChartArea.Fill.OneColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); - //Set the fill type for plot area - chart.PlotArea.Fill.FillType = OfficeFillType.Gradient; - //Set the fore color for plot area - chart.PlotArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; - //Se the specified fill to one color gradient - chart.PlotArea.Fill.OneColorGradient(OfficeGradientStyle.Diagonl_Up); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a one-color gradient. - - Represents shading style. - Represents shading variant. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Se the specified fill to one color gradient - chart.ChartArea.Fill.OneColorGradient(OfficeGradientStyle.Vertical, OfficeGradientVariants.ShadingVariants_2); - //Set the fill type for plot area - chart.PlotArea.Fill.FillType = OfficeFillType.Gradient; - //Set the fore color for plot area - chart.PlotArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; - //Se the specified fill to one color gradient - chart.PlotArea.Fill.OneColorGradient(OfficeGradientStyle.Diagonl_Up); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Sets the specified fill to a uniform color. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the solid fill for chart area - chart.ChartArea.Fill.Solid(); - //Set the fore color for chart area - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.PowderBlue; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the fill type for the shape. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the gradient color type - chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; - //Set the Back and fore colors - chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; - //Set the gradient style - chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the gradient style for the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the gradient color type - chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; - //Set the Back and fore colors - chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; - //Set the gradient style - chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the gradient variant type for the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the fore color index of the fill - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Brown; - //Set the gradient variant - chart.ChartArea.Fill.GradientVariant = OfficeGradientVariants.ShadingVariants_2; - //Set the preset gradient type - chart.ChartArea.Fill.PresetGradientType = OfficeGradientPreset.Grad_Desert; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - Gets or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - Gets or sets the gradient color type for the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the gradient color type - chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.TwoColor; - //Set the Back and fore colors - chart.ChartArea.Fill.BackColor = System.Drawing.Color.FromArgb(205, 217, 234); - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.White; - //Set the gradient style - chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.FromCorner; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that represents the pattern applied to the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; - //Set the back anf fore color of the pattern - chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; - //Set the pattern - chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets texture of the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Texture; - //Set the texture type - chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; - //Set the horizontal scale - chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; - //Set the offset X - chart.ChartArea.Fill.TextureOffsetX = 50.40F; - //Set the offset Y - chart.ChartArea.Fill.TextureOffsetY = 67.54F; - //Set the vertical scale - chart.ChartArea.Fill.TextureVerticalScale = 4.5F; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a index value that represents a background color of the specified fill or patterned line. - - - - - Gets or sets a index value that represents a foreground color of the specified fill or patterned line. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the gradient color type - chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.OneColor; - //Set the gradient degree - chart.ChartArea.Fill.GradientDegree = 0.67; - //Set the gradient style - chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.Horizontal; - //Set the fore color index of the fill - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that represents background color of the specified fill.This property is only for the pattern type fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; - //Set the back anf fore color of the pattern - chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; - //Set the pattern - chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that represents foreground color of the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Pattern; - //Set the back anf fore color of the pattern - chart.ChartArea.Fill.BackColor = System.Drawing.Color.Green; - chart.ChartArea.Fill.ForeColor = System.Drawing.Color.Blue; - //Set the pattern - chart.ChartArea.Fill.Pattern = OfficeGradientPattern.Pat_30_Percent; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the preset gradient type for the specified fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the fore color index of the fill - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Brown; - //Set the gradient variant - chart.ChartArea.Fill.GradientVariant = OfficeGradientVariants.ShadingVariants_2; - //Set the preset gradient type - chart.ChartArea.Fill.PresetGradientType = OfficeGradientPreset.Grad_Desert; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or Sets the Transparency for specified picture_only. - - - - - Gets a instance that represents user defined picture or texture. Read-only. - - - - - Gets a user defined picture or texture name. Read-only. - - - - - Gets or sets a value that indicates whether the fill style is visible or not. - - Trueif visible.Otherwise False. - - - - Gets or sets the value that represents gradient degree of the specified one-color shaded fill as a floating-point - value from 0.0 (dark) through 1.0 (light) - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.Gradient; - //Set the gradient color type - chart.ChartArea.Fill.GradientColorType = OfficeGradientColor.OneColor; - //Set the gradient degree - chart.ChartArea.Fill.GradientDegree = 0.67; - //Set the gradient style - chart.ChartArea.Fill.GradientStyle = OfficeGradientStyle.Horizontal; - //chart.ChartArea.Fill.BackColorIndex = OfficeKnownColors.Blue; - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets a value that represents transparency level of the specified Solid color shaded fill as a floating-point - value from 0.0 (Clear) through 1.0(Opaque) - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type of the chart area - chart.ChartArea.Fill.FillType = OfficeFillType.SolidColor; - //chart.ChartArea.Fill.BackColorIndex = OfficeKnownColors.Blue; - chart.ChartArea.Fill.ForeColorIndex = OfficeKnownColors.Blue_grey; - //Set the transparency of the fill - chart.ChartArea.Fill.Transparency = 0.5; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the vertical scaling factor for the texture fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Texture; - //Set the texture type - chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; - //Set the horizontal scale - chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; - //Set the offset X - chart.ChartArea.Fill.TextureOffsetX = 50.40F; - //Set the offset Y - chart.ChartArea.Fill.TextureOffsetY = 67.54F; - //Set the vertical scale - chart.ChartArea.Fill.TextureVerticalScale = 4.5F; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the horizontal scaling factor for the texture fill. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Texture; - //Set the texture type - chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; - //Set the horizontal scale - chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; - //Set the offset X - chart.ChartArea.Fill.TextureOffsetX = 50.40F; - //Set the offset Y - chart.ChartArea.Fill.TextureOffsetY = 67.54F; - //Set the vertical scale - chart.ChartArea.Fill.TextureVerticalScale = 4.5F; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the horizontal offset of the texture from the origin in points. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Texture; - //Set the texture type - chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; - //Set the horizontal scale - chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; - //Set the offset X - chart.ChartArea.Fill.TextureOffsetX = 50.40F; - //Set the offset Y - chart.ChartArea.Fill.TextureOffsetY = 67.54F; - //Set the vertical scale - chart.ChartArea.Fill.TextureVerticalScale = 4.5F; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the vertical offset of the texture from the origin in points. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the fill type as texture - chart.ChartArea.Fill.FillType = OfficeFillType.Texture; - //Set the texture type - chart.ChartArea.Fill.Texture = OfficeTexture.Blue_Tissue_Paper; - //Set the horizontal scale - chart.ChartArea.Fill.TextureHorizontalScale = 6.7F; - //Set the offset X - chart.ChartArea.Fill.TextureOffsetX = 50.40F; - //Set the offset Y - chart.ChartArea.Fill.TextureOffsetY = 67.54F; - //Set the vertical scale - chart.ChartArea.Fill.TextureVerticalScale = 4.5F; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Represents background color. - - - - - Represents foreground color. - - - - - Represents whether picture is tiled or stretched. - - - - - It's define Alphamodfix for bilp(tranparency) - - - - - It's define the Texture properties - - - - - Represents gradient fill format. - - - - - Compares the gradient instances to determine the equality. - - Gradient to compare with. - Returns Zero if gradients are equal. - - - - Sets the specified fill to a two-color gradient. - - - - - Sets the specified style to a two-color gradient. - - Represents shading style. - Represents shading variant. - - - - Gets or sets a object that represents background color of the gradient fill. - - - - - Gets or sets the background color for the gradient fill using System.Drawing.Color. - - - - - Gets or sets a index value that represents a background color for the gradient fill. - - - - - Gets or sets a object that represents foreground color for the gradient fill. - - - - - Gets or sets the foreground color for the gradient fill using System.Drawing.Color. - - - - - Gets or sets a index value that represents a foreground color for the gradient fill. - - - - - Gets or sets the gradient shading style type for the gradient fill. - - - - - Gets or sets the gradient shading variant type for the gradient fill. - - - - - Represents default vertical shading style. - - - - - Represents default vertical shading style in Excel 2007 generated xls files. - - - - - Represents default diagonal up shading style. - - - - - Represents default diagonal down shading style. - - - - - Represents color constant. - - - - - Represents default value for one color. - - - - - Represents pattern prefix. - - - - - Represents texture prefix. - - - - - Represents preset gradient prefix. - - - - - Represents pattern enum prefix. - - - - - Represents value, that indicate that fill doesn't visible. - - - - - Represents index, that represents default comment color. - - - - - Represents corner gradient style. - - - - - Represents center gradient style. - - - - - Represents default offset. - - - - - Maximum value for such attributes like Alpha, Tint, Shade. - - - - - Represents horizontal angle of fill. - - - - - Represents vertical angle of fill. - - - - - Represents Diagonal up angle of fill. - - - - - Represents Diagonal down angle of fill. - - - - - Represents default shade variant array value. - - - - - Represents default shade third variant array value. - - - - - Represents default shade variant array value. - - - - - Represents additional data for center variants. - - - - - Represents additional data for corner variants. - - - - - Represents array, that indicate, that current picture is bitmap. - - - - - Represents default comment fill color. - - - - - Represents rectangular structure fill from center. - - - - - Represents rectangular structure fill from corner. - - - - - Dictionary to access to resource data. Key - string, resource id, value - byte[], resource data. - - - - - Represents fill type. - - - - - Represents shading style. - - - - - Represents current shading variants. - - - - - Represents transparency to. - - - - - Represents transparency from. - - - - - Represents gradient style. - - - - - Represents gradient pattern. - - - - - Represents gradient texture. - - - - - Represents parent book. - - - - - Represents background color index. - - - - - Represents foreground color index. - - - - - Represents preset gradient. - - - - - Represents user defined picture of texture. - - - - - Represents picture name. - - - - - Represents if fill style is visible. - - - - - Represents image index. - - - - - Represents gradient degree. - - - - - Represents picture data to parse. - - - - - Indicates if this instance of object is shape fill. - - - - - Represent the fillrectangle - - - - - Represent the source rectangle - - - - - It's define the alphamodfix value - - - - - Preset gradient. - - - - - Indicates whether gradient is supported. - - - - - It's define the texture attributes - - - - - Represents current assembly. - - - - - Represent array, that contain all preset gradient types. - - - - - This collection contains gradient stops collection for preset gradients. - - - - - Initialize all static members. - - - - - Gets picture from resources file by id. - - Represents unique id in resource file. - Returns picture from resource file by unique id. - - - - Parses color. - - Represents parent book. - Color value to parse. - Extracted color. - - - - Parses color. - - Represents parent book. - Color value to parse. - - - - Returns collection of gradient stops that stores specified preset color. - - Gradient preset to return gradient stops collection for. - Corresponding gradient stops collection. - - - - Returns binary data for collection of gradient stops that stores specified preset color. - - Gradient preset to return gradient stops collection for. - Corresponding gradient stops binary data. - - - - Creates new instance of this class. - - Represents current application. - Represents parent object. - - - - Creates new instance of this class. - - Represents current application. - Represents parent object. - Fill type. - - - - Finds parent objects. - - - - - Sets user defined picture. - - Path to image. - - - - Sets user defined picture. - - Represents user defined image. - Represents name of user defined image. - - - - Sets user defined texture. - - Path to image. - - - - Sets user defined texture. - - Represents user defined texture. - Represents name of user defined texture. - - - - Sets the specified fill to a pattern. - - Pattern to set. - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - Represents gradient style, for preset gradient. - - - - Sets the specified fill to a preset gradient. - - Represents preset gradient type. - Represents gradient style, for preset gradient. - Represents gradient variant for preset gradient. - - - - Sets the specified fill format to a preset texture. - - Represents texture to set. - - - - Sets the specified fill to a two-color gradient. - - - - - Sets the specified fill to a two-color gradient. - - Represents shading shading style. - - - - Sets the specified fill to a two-color gradient. - - Represents shading shading style. - Represents shading variant. - - - - Sets the specified fill to a one-color gradient. - - - - - Sets the specified fill to a one-color gradient. - - Represents shading shading style. - - - - Sets the specified fill to a one-color gradient. - - Represents shading shading style. - Represents shading variant. - - - - Sets the specified fill to a uniform color. - - - - - Compares with shape fill impl. - - Shape fill to compare with. - Zero if shape fills are equal. - - - - Parses fill options. - - Record to parse. - Value indicating fill option. - - - - Parses fill type. - - Represents fill type value. - - - - Parses shading style. - - Represents option value byte array. - - - - Parse shading variant. - - Represents variant value. - - - - Parses pattern or texture name. - - Represents addition data, that contain name. - - - - Parses gradient color. - - Represents gradient color value to parse. - - - - Parses preset gradient type. - - Represents data to parse. - - - - Parses picture or user defined texture. - - Represents name of picture. - If true - parses picture otherwise user defined texture. - - - - Updates bitmap header to stream. - - Represents memory stream. - Represents bitmap data. - - - - Parses visible property. - - Represents data value. - - - - Serialize fill properties. - - Option holder. - Returns updated option holder. - - - - Serialize gradient as gradient style. - - Option holder. - Returns updated option holder. - - - - Serialize gradient as pattern style. - - Option holder. - Returns updated option holder. - - - - Serialize gradient as picture style. - - Option holder. - Returns updated option holder. - - - - Serialize gradient as solid color style. - - Option holder. - Returns updated option holder. - - - - Serialize fill type. - - Options holder. - Returns updated options holder. - - - - Serialize shading style. - - Represents fopte option. - Serialized option. - - - - Serialize shading variant. - - Options holder. - Returns updated options holder. - - - - Serialize center shad variants. - - Represents options holder. - Returns updated option holder. - - - - Serialize corner shad variants. - - Represents options holder. - Returns updated option holder. - - - - Serialize gradient style. - - Represents options holder. - Returns updated options holder. - - - - Serialize gradient preset type. - - Represents option holder. - Returns updated option holder. - - - - Serialize visible. - - Represents option holder. - Returns updated visible. - - - - Serialize gradient degree to biff stream - - Represents option holder. - Returns updated option holder. - - - - Indicates if fill type is gradient. If not throw NotSupportedException. - - - - - Indicates if fill type is user defined texture or picture. If not throw NotSupportedException. - - - - - Indicates if fill type is pattern. If not throw NotSupportedException. - - - - - Indicates if fill type is texture. If not throw NotSupportedException. - - - - - Validates the type of the solid. - - - - - Convert name to byte array. - - Represents name to convert. - Returns converted name in byte array. - - - - Parses gradient degree. - - Represents value to parse. - Returns parsed gradient degree. - - - - Parses corner variants. - - Represents value to parse. - - - - Fills internal collection with preset gradients default data. - - - - - Sets picture to option storage. - - Represents option storage. - Returns updated option storage. - - - - Sets picture to bse collection. - - Image to set. - Represent name of image. - Return index of image. - - - - Serialize transparency to option holder. - - Represents option holder. - Returns updated option holder. - - - - If need changes visible. - - - - - Clones current object. - - Represents parent object. - Returns cloned methods. - - - - Copies filling settings from. - - Object to copy settings from. - - - - Returns true if colors should be placed in inverted order. - - Gradient style. - Gradient variant. - True if colors should be placed in inverted order. - - - - Evaluates whether colors should be placed in inverted order for DiagonalDown gradient style. - - Gradient variant to check. - True if colors should be placed in inverted order. - - - - Evaluates whether colors should be placed in inverted order for the most - of gradient styles (Horizontal, Vertical, DiagonalUp and FromCenter). - - Represents gradient variant. - Value indicating whether colors placed in inverted order. - - - - Detects whether color sequence should be doubled or not. - - Gradient style. - Gradient variant. - True if color sequence should be doubled. - - - - Detects whether color sequence should be doubled for the most of gradient - styles (all except FromCorner). - - Gradient variant. - True if color sequence should be doubled. - - - - Evaluates gradient angle based on gradient style. - - Gradient style. - Gradient angle, or -1 when gradient style is not linear gradient. - - - - Evaluates fillToRect value for gradient. - - Gradient style. - Gradient variant. - Value of the fillToRect rectangle or Rectangle.Empty if gradient style doesn't need it. - - - - Returns gradient type value based on gradient style. - - Gradient style. - Gradient type value that correspond to the specified gradient style. - - - - Returns collection of gradient stops that stores gradient fill settings. Read-only. - - - - - Represents whether picture is tiled or stretched. - - - - - Gets or Sets the fillrect values - - - - - Gets or Sets the sourcerect values - - - - - Gets parsed picture data. - - - - - Represents shape fill type. - - - - - Represents gradient shading style. - - - - - Represents current shading variant. - - - - - Returns or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - Returns or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - It Gets or Sets the TransparencyColor value - - - - - Returns the transparency level of the specified Solid color shaded fill as a floating-point - value from 0.0 (opaque) through 1.0(transparent) - - - - - - Represents gradient style. - - - - - Represents gradient pattern - - - - - Represents gradient texture - - - - - Represents background color index. - - - - - Represents foreground color index. - - - - - Represents background color. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents foreground color. - - - - - Represents preset gradient type. - - - - - Represents user defined picture or texture. Read-only. - - - - - Returns user defined picture of texture name. Read-only. - - - - - Represents if fill style visible. - - - - - Returns the gradient degree of the specified one-color shaded fill as a floating-point - value from 0.0 (dark) through 1.0 (light) - - - - - Gets or Sets the TextureVerticalScale for specified fill - - - - - Gets or Sets the TextureHorizontalScale for specified fill - - - - - Gets or Sets the offset X for the specified fill - - - - - Gets or Sets the offset Y for the specified fill - - - - - Define Alignment value - - - - - Define TileFlipping value - - - - - Represents gel record. - - - - - It's define the series color with invertifnegative attribute - - - - - Initialize new instance of fill class. - - Represents current application. - Represents parent object. - - - - Initialize new instance of fill class. - - Represents current application. - Represents parent object. - Represents gel record. - - - - Parses current properties. - - - - - Serialize fill properties. - - Represents records to serialize. - - - - Sets picture to option storage. - - Represents option storage. - Returns updated option storage. - - - - Sets picture to bse collection. - - Image to set. - Represent name of image. - Return index of image. - - - - Serialize transparency to option holder. - - Represents option holder. - Returns updated option holder. - - - - Changes if need visible. - - - - - Returns or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - Returns or sets the degree of transparency of the specified fill as - a value from 0.0 (opaque) through 1.0 (clear). - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents if fill format is visible. - - - - - Represent the invert option's - - - - - Represents collection of ChartFormatImpl. - - - - - Represents default array value. - - - - - Represents capacity of array. - - - - - Represents chart types that need secondary axis. - - - - - Key - ZOrder, value - index. - - - - - Represents parent axis. - - - - - Creates new instance of collection. - - Application object. - Parent object. - - - - Sets parent objects. - - - - - Serializes current collection. - - OffsetArrayList that will receive all records. - - - - Adds new format. - - Chartformat to add. - Returns just added format. - - - - Checks whether similar format is already present in the collection - and returns it, otherwise it add new format. - - Format that should be placed in the collection. - Format from the collection. - - - - Checks for containing index in collection. - - Index to check. - If contains - returns true; otherwise - false. - - - - Removes formats by instance. - - Removes current instance. - - - - Updates indexes in collection after remove. - - Index of removed format. - - - - Changes Series chart group in all series. - - New index. - Old Index. - - - - Clears current collection. - - - - - Clones current object. - - Parent object. - Returns cloned object. - - - - Sets the value by index. - - Index to set. - Value to set. - - - - Updates formats on adding format. - - Index to updates. - - - - Updates formats on removing. - - Index to update. - - - - Gets format by index, and shallow removes current format. - - Format order. - If true - delete current format. - Format by index. - - - - Shallow adds format to collection. - - Format to add. - - - - Returns single format by DrawingZOrder. Read-only. - - - - - If true - this collection represents formats for primary axis; - otherwise - secondary collection. - - - - - Returns true if this collection is primary and contain series that need - secondary axis. - - - - - Represent the ChartChartFormatRecord. - - - - - Provides access to the OfficeArt formatting for chart elements. - - - - - Gets or set the color vary for each data point. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the bubble scale - format.BubbleScale = 200; - //Set the vary color - format.IsVaryColor = true; - //Set negative bubbles - format.ShowNegativeBubbles = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the bubble chart from the slide - Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the bubble scale - format.BubbleScale = 200 - 'Set the vary color - format.IsVaryColor = True - 'Set negative bubbles - format.ShowNegativeBubbles = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets Space between bars ( -100 : 100 ). - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the gap width - format.GapWidth = 200; - //Set the overlap - format.Overlap = -90; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the gap width - format.GapWidth = 200 - 'Set the overlap - format.Overlap = -90 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - - Gets or sets Angle of the first pie slice expressed in degrees. ( 0 - 360 ) - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Pie - chart.ChartType = OfficeChartType.Pie; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the angle of first slice - format.FirstSliceAngle = 240; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Pie - chart.ChartType = OfficeChartType.Pie - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the angle of first slice - format.FirstSliceAngle = 240 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets Size of center hole in a doughnut chart (as a percentage).( 10 - 90 ) - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Doughtnut - chart.ChartType = OfficeChartType.Doughnut; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the doughnut hole size - format.DoughnutHoleSize = 50; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Doughtnut - chart.ChartType = OfficeChartType.Doughnut - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the doughnut hole size - format.DoughnutHoleSize = 50 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets Percent of largest bubble compared to chart in general. ( 0 - 300 ) - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the bubble scale - format.BubbleScale = 200; - //Set the vary color - format.IsVaryColor = true; - //Set negative bubbles - format.ShowNegativeBubbles = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the bubble chart from the slide - Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the bubble scale - format.BubbleScale = 200 - 'Set the vary color - format.IsVaryColor = True - 'Set negative bubbles - format.ShowNegativeBubbles = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value indicates what the bubble size represents in a bubble chart. - - - - - Gets or sets true to show negative bubbles. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the bubble scale - format.BubbleScale = 200; - //Set the vary color - format.IsVaryColor = true; - //Set negative bubbles - format.ShowNegativeBubbles = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the bubble chart from the slide - Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the bubble scale - format.BubbleScale = 200 - 'Set the vary color - format.IsVaryColor = True - 'Set negative bubbles - format.ShowNegativeBubbles = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets true if a radar chart has axis labels. Applies only to radar charts. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar; - //Set the serie format of chart - IOfficeChartFormat format = chart.Series[0].SerieFormat.CommonSerieOptions; - //Set the axis labels - format.HasRadarAxisLabels = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar - 'Set the serie format of chart - Dim format As IOfficeChartFormat = chart.Series(0).SerieFormat.CommonSerieOptions - 'Set the axis labels - format.HasRadarAxisLabels = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the way the two sections of either a pie of pie chart or a bar - of pie chart are split. - - - - - Gets or sets the threshold value separating the two sections of either a pie of pie chart or a bar of pie chart. - - - - - Gets or sets the size of the secondary section of either a pie of pie chart or a bar of pie chart, - as a percentage of the size of the primary pie. ( 5 - 200 ) - - - - - Gets object that represents first drop bar.Read-only. - - - - - Gets object that represents second drop bar.Read-only. - - - - - Gets series line properties. ( For pie of pie or pie of bar chart types only. ) Read-only. - - - - - Id for bar stacked chart type. - - - - - Represents default series number. - - - - - Represents the ChartChartFormatRecord - - - - - Represents the chart format of some series. - - - - - Represents chart 3d record. - - - - - Represents format link record. - - - - - Represents data labels record. - - - - - Represents chart chart line record. - - - - - Represents data format record and subrecords. - - - - - Represents first drop bar record and subrecords. - - - - - Represents second drop bar record and subrecords. - - - - - Represents series list record. - - - - - Parent chart object. - - - - - Parent axis object. - - - - - Represents chart Series line properties object. - - - - - Boolean value indicates whether the format is in chart ex type - - - - - Create new instance. - - Current application. - Parent object. - - - - Finds parent objects. - - - - - Parsing chart chart format. - - Records offset. - Position in offset. - - - - Serialize current object. - - Records offset. - - - - Gets start Series type. - - Type to extract. - Returns start Series type. - - - - Changed chart type. - - Type to change. - Indicates whether we are in the process of series creation. - - - - Sets null for some records. - - - - - Changes for chart stock. - - - - - Changes type for stock high low close type. - - - - - Changes type for stock open high low close type. - - - - - Change type for stock volume high low close type in primary axis. - - - - - Change type for stock volume high low close type in secondary axis. - - - - - Change type for stock volume open high low close type. - - - - - Changes Series type. - - Type to change. - Indicates whether we are in the process of series creation. - - - - Change Series type as one kind of doughnut. - - Type to change. - - - - Change Series type to one kind of bubble. - - Type to change. - Indicates whether we are in the process of series creation. - - - - Updates bubble series. - - Represents series collection. - - - - Change Series type as one kind of surface. - - Type to change. - Indicates whether we are in the process of series creation. - - - - Change Series type as one kind of radar. - - Type to change. - - - - Change Series type as one kind of bar clustered. - - Type to change. - - - - Change Series type as one kind of bar stacked. - - Type to change. - - - - Change Series type as one kind of line. - - Type to change. - - - - Change Series type as one kind of pie. - - Type to change. - - - - Change Series type as one kind of area. - - Type to change. - - - - Change Series type as one kind of scatter. - - Type to change. - - - - Changes Series type for Cylinder or Pyramid, Cone. - - Type to change. - - - - Clones current object. - - Parent object for clone. - Returns just cloned object. - - - - Initialize the high-low lines,drop bar for stock chart at parsing - - - - - cloning the removed format from collection - - Parent object for clone - format to be cloned - If true clone the dataformat,else clone others - - - - Vary color for each data point. - - - - - Vary color for each data point. - - - - - Returns data format. Read-only. - - - - - Space between bars ( -100 : 100 ). - - - - - Space between categories (percent of bar width), default = 50. - - - - - True for horizontal bars (bar chart). - False for vertical bars (column chart). - - - - - Stack the displayed values. - - - - - Each category is displayed as a percentage. - - - - - True if this bar has a shadow; otherwise False. - - - - - Stack the displayed values. - - - - - Each category is broken down as a percentage. - - - - - True if this line has a shadow. - - - - - Angle of the first pie slice expressed in degrees. - - - - - 0 = True pie chart - Non-zero = size of center hole in a donut chart (as a percentage). - - - - - True if this pie has a shadow. - - - - - True to show leader lines to data labels. - - - - - Percent of largest bubble compared to chart in general.( 0 - 300 ) - - - - - Returns or sets what the bubble size represents on a bubble chart. - - - - - True if this a bubble series. - - - - - True to show negative bubbles. - - - - - True if bubble series has a shadow. - - - - - Series in this group are stacked. - - - - - Each category is broken down as a percentage. - - - - - This area has a shadow. - - - - - True if chart contains color fill for surface. - - - - - True if this surface chart has shading. - - - - - True if this radar series has a shadow. - - - - - True if a radar chart has axis labels. Applies only to radar charts. - - - - - 0 = normal pie chart - 1 = pie of pie chart - 2 = bar of pie chart - - - - - True to use default split value; otherwise False. - - - - - Returns or sets the way the two sections of either a pie - of pie chart or a bar of pie chart are split. - - - - - Returns or sets the threshold value separating the two sections of either a pie of pie chart or a bar of pie chart. - - - - - For split = 2, what percentage should go to the other pie / bar. - - - - - Returns or sets the size of the secondary section of either a pie of pie chart or - a bar of pie chart, as a percentage of the size of the primary pie. - - - - - Space between the first pie and the second. - - - - - For split = 1, what values should go to the other pie / bar. - - - - - 1 = the second pie / bar has a shadow. - - - - - If true Series has name. - - - - - If true category has name. - - - - - If true has value. - - - - - If true has percentage. - - - - - If true bubble has size. - - - - - Returns delimiter length. - - - - - Represents delimiter. - - - - - Drop lines / hi-lo lines: - 0 = drop lines - 1 = hi-lo lines - 2 = series lines (the lines that connect the columns in a stacked column chart) - - - - - Returns object that represents first drop bar (up bar). - - - - - Returns object that represents second drop bar (down bar). - - - - - Represents series line properties. ( For pie of pie or pie of bar chart types only. ) Read-only. - - - - - Returns or sets the rotation of the 3-D chart view - (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). - - - - - Indicates whether rotation has default value. - - - - - Returns or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). - - - - - Indicates whether elevation has default value. - - - - - Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) - - - - - Returns or sets the height of a 3-D chart as a percentage of the chart width - (between 5 and 500 percent). - - - - - Returns or sets the depth of a 3-D chart as a percentage of the chart width - (between 20 and 2000 percent). - - - - - Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) - - - - - True if the chart axes are at right angles, independent of chart rotation or elevation. - - - - - 3D columns are clustered or stacked. - - - - - Gets or Sets the chart type as chart ex or not - - - - - True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. - - - - - True if gridlines are drawn two-dimensionally on a 3-D chart. - - - - - Try to convert m_serieFormat to chartBarRecord. - If can - returns chartBarRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartLineRecord. - If can - returns chartLineRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartPieRecord. - If can - returns chartPieRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartScatterRecord. - If can - returns chartScatterRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartAreaRecord. - If can - returns chartAreaRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartSurfaceRecord. - If can - returns chartSurfaceRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartRadarRecord. - If can - returns chartRadarRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartRadarAreaRecord. - If can - returns chartRadarAreaRecord; otherwise rise exception. Read-only. - - - - - Try to convert m_serieFormat to chartBoppopRecord. - If can - returns chartBoppopRecord; otherwise rise exception. Read-only. - - - - - Returns data labels record. Read-only. - - - - - Returns chart data format. Read-only. - - - - - Returns chart chart format. Read-only. - - - - - Returns Chart3d record. Read-only. - - - - - If true then belong to primary axis; otherwise to secondary axis. - - - - - If true - format contains chart chart line record. Read-only. - - - - - If true - format contains series line. Read-only. - - - - - If true - format contains drop bar record. Read-only. - - - - - Returns record that represents Series format. Read-only. - - - - - Drawing order (0 = bottom of the z-order). - - - - - Represents type code of major format record type. Read-only. - - - - - If true - Series 3D; otherwise Series 2D. Read-only. - - - - - Returns dataformat or null; Read-only. - - - - - If true - format has marker; otherwise false. Read-only. - - - - - If true - format has line; otherwise false. Read-only. - - - - - If true - format has smoothed line; otherwise false. Read-only. - - - - - Represents High Low line properties. ( For stock chart and line chart only.). - - - - - Class used for Chart FrameFormat implementation. - - - - - Represents the formatting settings of the chart element. - - - - - Clear current plot area. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set border settings - chart.PlotArea.Border.AutoFormat = false; - //Set the auto line color - chart.PlotArea.Border.IsAutoLineColor = false; - //Set the border line color - chart.PlotArea.Border.LineColor = System.Drawing.Color.Blue; - //Set the border line pattern - chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot; - //Set the border line weight - chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide; - //Set the border transparency - chart.PlotArea.Border.Transparency = 0.6; - //Set the plot area�s fill type - chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor; - //Set the plot area�s fill color - chart.PlotArea.Fill.ForeColor = System.Drawing.Color.LightPink; - //Set the plot area shodow presence - chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft; - //Reset the plotarea - chart.PlotArea.Clear(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set border settings - chart.PlotArea.Border.AutoFormat = False - 'Set the auto line color - chart.PlotArea.Border.IsAutoLineColor = False - 'Set the border line color - chart.PlotArea.Border.LineColor = System.Drawing.Color.Blue - 'Set the border line pattern - chart.PlotArea.Border.LinePattern = OfficeChartLinePattern.DashDot - 'Set the border line weight - chart.PlotArea.Border.LineWeight = OfficeChartLineWeight.Wide - 'Set the border transparency - chart.PlotArea.Border.Transparency = 0.6 - 'Set the plot area�s fill type - chart.PlotArea.Fill.FillType = OfficeFillType.SolidColor - 'Set the plot area�s fill color - chart.PlotArea.Fill.ForeColor = System.Drawing.Color.LightPink - 'Set the plot area shodow presence - chart.PlotArea.Shadow.ShadowInnerPresets = Office2007ChartPresetsInner.InsideDiagonalTopLeft - 'Reset the plotarea - chart.PlotArea.Clear() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets flag if border corners is round. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Set the borders with rounded corners - chart.ChartArea.IsBorderCornersRound = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Set the borders with rounded corners - chart.ChartArea.IsBorderCornersRound = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the border of the chart element. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Format Chart Area. - IOfficeChartFrameFormat chartArea = chart.ChartArea; - //Chart Area Border Settings - //Style - chartArea.Border.LinePattern = OfficeChartLinePattern.Solid; - //Color - chartArea.Border.LineColor = System.Drawing.Color.Blue; - //Weight - chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Format Chart Area. - Dim chartArea As IOfficeChartFrameFormat = chart.ChartArea - 'Chart Area Border Settings - 'Style - chartArea.Border.LinePattern = OfficeChartLinePattern.Solid - 'Color - chartArea.Border.LineColor = System.Drawing.Color.Blue - 'Weight - chartArea.Border.LineWeight = OfficeChartLineWeight.Hairline - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the Layout settings of TextArea of the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get a bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Format Plot Area - IOfficeChartFrameFormat plotArea = chart.PlotArea; - //Set the height mode - plotArea.Layout.Height = 150; - plotArea.Layout.HeightMode = LayoutModes.factor; - //Set the top mode - plotArea.Layout.Top = 100; - plotArea.Layout.TopMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get a bubble chart from the slide - Dim chart As IPresentationChart = presentation__1.Slides(0).Charts(0) - 'Format Plot Area - Dim plotArea As IOfficeChartFrameFormat = chart.PlotArea - 'Set the height mode - plotArea.Layout.Height = 150 - plotArea.Layout.HeightMode = LayoutModes.factor - 'Set the top mode - plotArea.Layout.Top = 100 - plotArea.Layout.TopMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Chart frame. - - - - - Represents chart border. - - - - - Represents the 3D features - - - - - Represents chart interior. - - - - - Represents Shadow - - - - - Represents fill format. - - - - - Parent chart. - - - - - Represents Excel 2007 layout data. - - - - - Plot area layout - - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates whether we should set defaults for fill and border properties. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates is auto size. - Indicates is interior is gray. - Indicates whether we should set defaults for fill and border properties. - - - - Creates and parses current object. - - Application object for the chart. - Parent object for the chart. - Records storage. - Position in storage. - - - - Searches for all necessary parent objects. - - - - - Parses frame. - - Array with frame records. - Position of the frame records. - - - - Checks whether specified record is begin. - - Record to check. - True if this is begin; false otherwise. - - - - Parses single record. - - Record to parse. - Number of not closed begin record. - - - - Saves chart frame as biff records. - - OffsetArrayList that will get biff records. - - - - Serializes single record. - - OffsetArrayList that will get biff records. - Record to serialize. - - - - Unwraps record. - - Record to unwrap. - Unwrapped record. - - - - Set variable to the default state. - - Indicates whether MS Excel should calculate size of the frame. - Indicates is default interior is gray. - - - - Updates known colors. - - Color to update. - Returns updated color. - - - - Clears current frame. - - - - - Clone current Record. - - Parent object. - Returns clone of current object. - - - - Gets frame record. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Gets / sets Excel 2007 layout data. - - - - - This property indicates whether interior object was created. Read-only. - - - - - This property indicates whether border formatting object was created. Read-only. - - - - - Represents chart border. Read-only. - - - - - Represents frame interior. Read-only - - - - - Gets the chart3 D properties. - - The chart3 D properties. - - - - Represents fill gradient format. Read-only. - - - - - This property indicates whether the shadow object has been created - - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - Gets the shadow properties. - - The shadow properties. - - - - Rectangle style. - - - - - Microsoft Excel calculates size. - - - - - Microsoft Excel calculates position. - - - - - Gets or sets flag if border corners is round. - - - - - Represents chart border. Read-only. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents pattern. - - - - - Represents if use automatic format. - - - - - Represents visibility. - - - - - Contains primary parent axis, secondary parent axis. - - - - - - - - - - - - - - - Represents primary parent axis. - - - - - Represents secondary parent axis. - - - - - Default constructor. - - - - - Creates object and initializes collections. - - Application object. - Parent object for primary collection. - Parent object for secondary collection. - - - - Parses ChartAxisParent record. - - Array of records containing record. - Position of the record to parse. - - When specified record is not ChartAxisParent record. - - - - - Serializes chart axes. - - - OffsetArrayList that will receive all records. - - - - - If can - removes format. - - Format to remove. - - - - Creates format collection. - - Application object. - Parent object for collection. - If true - primary collection; otherwise - secondary. - - - - Changes primary and secondary format collections. - - - - - Helper methods for adding new formats. - - Format to add. - Format order. - Format index. - If true - adds in primary format; otherwise - in secondary. - - - - - Removes format from collection. - - Index to remove. - Order to remove. - If true - removes in primary collection; otherwise - secondary. - - - - Returns collection by parameter. - - If true - returns primary collection; otherwise - secondary. - Returns one of collection. - - - - Clones current instance. - - Parent for primary collection. - Returns just cloned method. - - - - Clones secondary collection. - - Global collection. - Parent object. - - - - Detects chart type. - - Chart series collection. - Returns chart type. - - - - Detects chart type by primary formats only. - - Chart series collection. - Returns chart type. - - - - Clears all format collections. - - - - - Changes not intimate types. - - Type to change. - Current Series type. - Application object. - Chart object. - Returns format for current type. - - - - Change format in axis. - - If true - changes format to primary. otherwise - to secondary. - Format order. - If true - standard add; otherwise - shallow. - Represents new order. - - - - Changes format in axis collection. - - Collection from format gets. - Collection to format sets. - Formats order. - New order to set. - IF true - standard add; otherwise - shallow. - - - - Represents primary format collection. Read-only. - - - - - Represents secondary format collection. Read-only. - - - - - Represents chart grid lines. - - - - - Represents major or minor gridlines on a chart axis. - - - - - Clears current GridLines. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Delete gridline - chart.PrimaryValueAxis.MajorGridLines.Delete(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Delete gridline - chart.PrimaryValueAxis.MajorGridLines.Delete() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the border of the gridline. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Get the major grid line - IOfficeChartGridLine gridLine = chart.PrimaryValueAxis.MajorGridLines; - //Set the line pattern - gridLine.Border.LinePattern = OfficeChartLinePattern.DarkGray; - //Set the line weight - gridLine.Border.LineWeight = OfficeChartLineWeight.Hairline; - //Set the line color - gridLine.Border.LineColor = System.Drawing.Color.Green; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Get the major grid line - Dim gridLine As IOfficeChartGridLine = chart.PrimaryValueAxis.MajorGridLines - 'Set the line pattern - gridLine.Border.LinePattern = OfficeChartLinePattern.DarkGray - 'Set the line weight - gridLine.Border.LineWeight = OfficeChartLineWeight.Hairline - 'Set the line color - gridLine.Border.LineColor = System.Drawing.Color.Green - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents default color index. - - - - - Represents axis line record. - - - - - Represents parent axis. - - - - - Represents Shadow - - - - - Represents parent book. - - - - - Represents chart border. - - - - - Represents the 3D features - - - - - Creates ChartGridLine object. - - Application object. - Parent object. - Represents type of axisline record. - - - - Creates ChartGridLine object. Only for parsing. - - Application object. - Parent object. - Represents records storage. - Represents position in storage. - - - - Finds all parent objects. - - - - - Parses GridLine records. - - Offset array list. - Current position in offset array list. - - - - Serializes Grid lines. - - OffsetArrayList that will receive all records. - - - - Clears the grid lines of the chart. - - - - - Clones current object. - - Parent object. - Returns cloned object. - - - - Gets line border. Read-only. - - - - - Gets line border. Read-only. - - - - - This property indicates whether line formatting object was created. Read-only. - - - - - Represents the Shadow.Read-only - - - - - This property indicates whether the shadow object has been created - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - This property indicates whether interior object was created. Read-only. - - - - - Returns object, that represents area properties. Read-only. - - - - - Represents fill options. Read-only. - - - - - Gets or sets axis line type. - - - - - Returns parent axis. Read-only. - - - - - This class represents the Excel Chart object. - - - - - Base class for all worksheet objects (objects that have own tab in the workbook) - like worksheets and charts. - - - - - Implement objects that contains Name. - - - - - Name of the object. - - - - - Supports parsing, which parses internal records and creates necessary objects. - - - - - Parses internal records. - - - - - Represents an Excel worksheet Tab. - - - - - Makes the current sheet the active sheet. Equivalent to clicking the - sheet's tab. - - - - - Selects current tab sheet. - - - - - Unselects current tab sheet. - - - - - Protects worksheet's content with password. - - Password to protect with. - - - - Protects current worksheet. - - Represents password to protect. - Represents params to protect. - - - - Unprotects worksheet's content with password. - - Password to unprotect. - - - - Gets / sets tab color. - - - - - Gets / sets tab color. - - - - - Returns charts collection. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Returns shapes collection. Read-only. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Indicates whether tab of this sheet is selected. Read-only. - - - - - Returns index in the parent ITabSheets collection. Read-only. - - - - - Gets / sets name of the tab sheet. - - - - - Control visibility of worksheet to end user. - - - - - Returns collection with all textboxes inside this worksheet. Read-only. - - - - - Name used by macros to access workbook items. Read-only. - - - - - Indicates is current sheet is protected. - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Indicates if the worksheet is password protected. - - - - - Maximum length of the password. - - - - - Default password hash value. - - - - - Min column index. - - - - - Min row index. - - - - - Default tab color. - - - - - Maximum one-based index of the row. - - - - - Maximum one-based index of the column. - - - - - Maximum allowed worksheet name length. - - - - - Records that do not belong to mso part of the worksheet. - - - - - Default tab color. - - - - - Represents a boolean value to parse worksheets on demand - - - - - Represents to parse sheet on demand - - - - - Parent workbook. - - - - - Worksheet's name. - - - - - Indicates whether worksheet was changed and need saving. - - - - - Real worksheet's index in the workbook. - - - - - Starting index for Mso record. - - - - - Current index of the mso drawing object. - - - - - Parse options. - - - - - List with all mso drawing records in the worksheet. - - - - - List in which all records which belong to worksheet are stored. - - - - - Collection with all shapes in the worksheet. - - - - - Charts collection. - - - - - True - indicates that record extracted from stream can be used, by this - implementation, otherwise False. - - - - - Zoom of the current window. - - - - - Represents sheet protection record. - - - - - Represents Range Protection Record - - - - - Describes password entered by user to protect worksheet's data. - - - - - Code name. - - - - - Indicates whether worksheet was parsed. - - - - - Indicates whether object is currently being parsed. - - - - - Indicates whether to skip parsing. - - - - - Window two record. - - - - - Pagelayout view record. - - - - - One field from Worksheet dimension records. - - - - - One field from Worksheet dimension records. - - - - - One field from Worksheet dimension records. - - - - - One field from Worksheet dimension records - - - - - Index of the tab color. - - - - - Contains images used in header and footer. - - - - - Worksheet index. - - - - - Represents sheet protection for support old version. Using for parsing. - - - - - BOF record that will be serialized. - - - - - Indicates whether to keep record inside of internal storage. - - - - - Visibility of worksheet. - - - - - Data holder for 2007 Excel. - - - - - Indicates whether worksheet contains some unknown vml shapes. - - - - - Collection with all textboxes. - - - - - Custom height - - - - - - - - - - Indicate whether sheet contain tab color rgb - - - - - Alogrithm name to protect/unprotect worksheet. - - - - - Hash value to ensure the sheet protected password. - - - - - Random generated Salt for the sheet password. - - - - - Spin count to loop the hash algorithm. - - - - - Initializes new instance and sets its application and parent properties. - - Application object for the new instance. - Parent object for the new instance. - - - - Clears NameChanged event. - - - - - Returns true if visible sheet found. Also sets active sheet index and display tab. - - Workbook objects collection - Object index. - True if visible sheet found - - - - Searches for all necessary parent objects. - - - - - This method is called when Name of the worksheet was changed. - - Event arguments. - - - - This method raises NameChanged event. - - Event arguments. - - - - This method should be called after any changes in the worksheet. - Sets Saved property of the parent workbook to false. - - - - - Initializes all required collections. - - - - - Clear all internal collections. - - Allows to avoid clearing of some properties. - - - - Makes the current sheet the active sheet. Equivalent to clicking the - sheet's tab in MS Excel. - - - - - Selects current tab sheet. - - - - - Unselects current tab sheet if possible. - - - - - Unselects current tab sheet if possible. - - Indicates whether to allow unselect last sheet. - - - - Protects worksheet with password. - - Protection password. - - If worksheet is already protected. - - - If specified password is null. - - - If length of the password is more than 15 symbols. - - - - - Protects current worksheet. - - Represents password to protect. - Represents params to protect. - - - - Prepares protection options before setting protection. - - - - - - - Unprotects this worksheet without password. - - - - - Unprotects this worksheet using specified password. - - Password to unprotect. - - - - This method is called after RealIndex property change. - - Old index. - - - - Adds sheet tab to the selected tab. - - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - This method should be called immediately after extended format removal. - - Dictionary with updated extended formats. - - - - Creates copy of the current object. - - Parent object for the new object. - Copy of the current object. - - - - Creates copy of the current object. - - Parent object for the new object. - Indicates whether we should clone shapes or not. - Copy of the current object. - - - - Create copy of the shapes collection inside specified worksheet object. - - Object to put shapes into. - - - - Updates style indexes. - - Array with changed style indexes. - - - - Protects worksheet. - - Password hash to use for protection. - Protection options. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Prepares protection variables. - - - - - Parses Protect record. - - Record to parse. - - - - Parses Password record. - - Record to parse. - - - - Parse ObjectProtect record. - - Record to parse. - - - - Parse ScenProtect record. - - Record to parse. - - - - Prepares variables to worksheet parsing. - - Parse options. - Indicates whether to skip parsing. - - - - Parse pagelayoutview - - Record to parse. - - - - Parse WindowTwo record. - - Record to parse. - - - - Parses single record. - - Record to parse. - Indicates whether to ignore styles. - - Dictionary with new extended format indexes for ignore styles mode. - - - - - Parses dimensions record. - - Record to parse. - - - - Parses WindowZoom record. - - Record to parse. - - - - Parses sheet layout record. - - Record to parse. - - - - Serializes records. - - Records to be serialized. - - - - Saves all shapes. - - List to save records into. - - - - Saves protection block. - - List to save records into. - - - - Serialize sheet protection. - - Represents record storage. - - - - Serializes header / footer pictures. - - List to save records into. - - - - Serializes WindowTwo record. - - List to save records into. - - - - Serializes page layout view - - List to save records into. - - - - Serializes macros support. - - List to save records into. - - - - Serializes WindowZoom. - - List to save records into. - - - - Serializes sheet layout record. - - List to save records into. - - - - Returns hash value for the password string. - - Password to hash. - Hash value for the password string. - - - - Converts character to 15 bits sequence - - Character to convert. - Array of values indicating 15 bit sequence. - - - - Converts bits array to UInt16 value. - - Array to convert. - Converted UInt16 value. - - - - Rotates (cyclic shift) bits in the array specified number of times - - Array to rotate - Number of times to rotate - Rotated array. - - - - Rounds value. - - Value to be rounded. - Represents degree used to round the given value. - Rounded value. - - - - Parses internal records. - - - - - Parses worksheet's data. - - - - - Parses worksheet's data. - - - - - Extracts MsoDrawing records from internal array. - - Index to the first MsoDrawing record. - Parse options. - - - - Combines all MsoBase records into one array. - - Array of records. - - - - Extracts client data for mso records. - - Array of records. - - - - Combines several byte arrays into one. - - Size of the combined data. - List that contains byte arrays to combine. - Combined array. - - - - Copies all data from another worksheet. - - Parent worksheet. - Dictionary with style names. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Copy flags. - - Dictionary with extended format indexes, key - old index, value - new index. - - - - - Copies preserved header/footer images. - - Source worksheet. - Hash with new WorkSheet names. - Dictionary with new font indexes. - - - - Copies all shapes from a source worksheet. - - Source worksheet. - Hash with new WorkSheet names. - Dictionary with new font indexes. - - - - Copies different sheet options. - - Source sheet. - - - - Generates unique name for the parent collection - - Name getter. - Proposed name - Generated unique name. - - - - Gets code name of the tabsheet. - - Tabsheet to get name from. - Code name of the tabsheet. - - - - Gets name of the tabsheet. - - Tabsheet to get name from. - Name of the tabsheet. - - - - Copies tab color from another worksheet. - - Worksheet to copy tab color from. - - - - Checks the worksheet for parse on demand load - - - - - Creates random salt. - - Desired salt length. - Array with random data. - - - - Returns or sets the name of the object. Read / write String. - - - - - Indicates whether worksheet was saved. - - - - - Returns embedded charts collection. Read-only. - - - - - Returns shapes collection. Read-only. - - - - - Shapes collection. - - - - - Returns InnerShapes base collection. - - - - - Header / footer shapes collection. - - - - - Header / footer shapes collection. - - - - - Returns charts collection. Read-only. - - - - - Name used by macros to access workbook items. Read-only. - - - - - Sheet window settings. - - - - - Indicates is current sheet is protected. - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Gets a value indicating whether worksheet is protected with password. - - - - - Indicates whether object was parsed. - - - - - Indicates whether object is currently being parsed. - - - - - Indicates whether worksheet was opened in skip parsing mode. Read-only. - - - - - Indicates whether worksheet type is supported. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Gets / sets one-based index of the first row of the worksheet. - - - - - Gets / sets one-based index of the first column of the worksheet. - - - - - Gets / sets one-based index of the last row of the worksheet. - - - - - Gets / sets one-based index of the last column of the worksheet. - - - - - Zoom factor of document. Value must be in range from 10 to 400. - - - - - Tab color. - - - - - Tab color. - - - - - Tab color. - - - - - Grid line color. - - - - - Indicates whether gridline color has default value. - - - - - Get parent workbook of current worksheet. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Return page setup. Read-only. - - - - - Indicates whether tab of this sheet is selected. Read-only. - - - - - Returns the index number of the object within the collection of - similar objects. Read-only. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Returns internal BOF record. Read-only. - - - - - Controls end user visibility of worksheet. - - - - - Gets / sets worksheet data holder. - - - - - Gets/sets top visible row of the worksheet. - - - - - Gets/sets left visible column of the worksheet. - - - - - Describes password entered by user to protect worksheet's data. - - - - - Indicates whether worksheet contains some unknown vml shapes. - - - - - Returns inner textboxes collection. Read-only. - - - - - Returns inner textboxes collection. Read-only. - - - - - Returns inner textboxes collection. Read-only. - - - - - Returns number of known vml shapes. Read-only. - - - - - Gets the default protection options for the worksheet. - - - - - Indicates whether Protection property is direct (specified items are - protected) or indirect (specified items are unprotected). - - - - - Inidicates whether protection should be serialized. - - - - - Returns sheet protection record. - - - - - Gets or Sets a boolean value to parse worksheets on demand - - - - - Gets or sets the boolean value to load worksheets on demand - - - - - Indicate whether sheet contain tab color rgb - - - - - Alogrithm name to protect/unprotect worksheet. - - - - - Hash value to ensure the sheet protected password. - - - - - Random generated Salt for the sheet password. - - - - - Spin count to loop the hash algorithm. - - - - - This event is raised when name of the worksheet is changed. - - - - - Index of the worksheet in the workbook - (not necessary in Worksheets collection) - - - - - Returns index in the parent ITabSheets collection. Read-only. - - - - - Delegate to be used for getting name information from the worksheet. - - Worksheet to get name from. - Extracted name. - - - - Represents a chart in a document - - - - - Refreshes the chart with the modified excel data. - - - - //Open a presentation containing charts - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the slide from presentation - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Charts[0]; - //Refresh the chart to set worksheet data to current chart - chart.Refresh(); - //Save the presentation - presentation.Save("Sample.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation containing charts - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - 'Get the slide from presentation - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = slide.Charts(0) - 'Refresh the chart to set worksheet data to current chart - chart.Refresh() - 'Save the presentation - presentation.Save("Sample.pptx") - 'Close the presentation - presentation.Close() - - - - - - Converts the chart to image and saves the image in the specified stream. - - The stream to save the image. - - - //Open the presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Initialize the ChartToImageConverter class; this is mandatory - presentation.ChartToImageConverter = new ChartToImageConverter(); - //Set the scaling mode for quality - presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best; - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Create a stream instance to store the image - MemoryStream stream = new MemoryStream(); - //Save the image to stream - chart.SaveAsImage(stream); - //Save the stream to a file - using (FileStream fileStream = File.Create("ChartImage.png", (int)stream.Length)) - fileStream.Write(stream.ToArray(), 0, stream.ToArray().Length); - //Close the stream - stream.Close(); - //Save the Presentation - presentation.Save("output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - 'Initialize the ChartToImageConverter class; this is mandatory - presentation.ChartToImageConverter = New ChartToImageConverter() - 'Set the scaling mode for quality - presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Create a stream instance to store the image - Dim stream As New MemoryStream() - 'Save the image to stream - chart.SaveAsImage(stream) - 'Save the stream to a file - Using fileStream As FileStream = File.Create("ChartImage.png", CInt(stream.Length)) - fileStream.Write(stream.ToArray(), 0, stream.ToArray().Length) - End Using - 'Close the stream - stream.Close() - 'Save the Presentation - presentation.Save("output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Sets the chart data with the specified two dimensional object array. - - Represents the two dimensional chart data - - - - //Create a new PowerPoint presentation - IPresentation presentation = Presentation.Create(); - //Add slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 200); - //Create an instance of object array - object[][] chartData = { new object[3], new object[4] }; - //Invoke setChartData method by passing object array - chart.SetChartData(chartData); - //Set the chart title - chart.ChartTitle = "Chart"; - //Save the Presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a new PowerPoint presentation - Dim presentation As IPresentation = Presentation.Create() - 'Add slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to slide - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 100, 300, 200) - 'Create an instance of object array - Dim chartData As Object()() = {New Object(2) {}, New Object(3) {}} - 'Invoke setChartData method by passing object array - chart.SetChartData(chartData) - 'Set the chart title - chart.ChartTitle = "Chart" - 'Save the Presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Sets the chart data with the specified two dimensional object array, row index and column index. - - Represents the two dimensional chart data - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - - - //Create a new PowerPoint presentation - IPresentation presentation = Presentation.Create(); - //Add slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Charts.AddChart(100, 100, 300, 300); - //Create an instance of object array - object[][] dataRange = { new object[5], new object[5] }; - //Invoke set data Range method - chart.SetDataRange(dataRange, 1, 3); - //Save the Presentation - presentation.Save("output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a new PowerPoint presentation - Dim presentation As IPresentation = Presentation.Create() - 'Add slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to slide - Dim chart As IPresentationChart= slide.Charts.AddChart(100, 100, 300, 300) - 'Create an instance of object array - Dim dataRange As Object()() = {New Object(4) {}, New Object(4) {}} - 'Invoke set data Range method - chart.SetDataRange(dataRange, 1, 3) - 'Save the Presentation - presentation.Save("output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Sets the chart data with the specified enumerable, row index and column index. - - IEnumerable object with desired data - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - - - - Gets or sets the Chart Type. - Initiate series, ranges and update the ChartType. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D; - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the DataRange for the chart series. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - chart.ChartType = OfficeChartType.Area; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to slide - Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 120, 500, 300) - 'Sets the data range of chart - chart.DataRange = chart.ChartData(1, 2, 4, 3) - 'Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012") - chart.ChartData.SetValue(2, 2, 330) - chart.ChartData.SetValue(3, 2, 490) - chart.ChartData.SetValue(4, 2, 700) - chart.ChartType = OfficeChartType.Area - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets whether series in rows or not. True if series are in rows in DataRange; - False otherwise. - - - - - Gets or sets the Title of the chart. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets an object that represents the title area for the chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D; - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Get the chart title text area - IOfficeChartTextArea textArea = chart.ChartTitleArea; - //Set the background mode of the title area - textArea.BackgroundMode = OfficeChartBackgroundMode.Transparent; - //Set bold font style - textArea.Bold = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Get the chart title text area - Dim textArea As IOfficeChartTextArea = chart.ChartTitleArea - 'Set the background mode of the title area - textArea.BackgroundMode = OfficeChartBackgroundMode.Transparent - 'Set bold font style - textArea.Bold = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the X coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the x - position of the chart - chart.XPos = 300; - //Set the y - position of the chart - chart.YPos = 140; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the x - position of the chart - chart.XPos = 300 - 'Set the y - position of the chart - chart.YPos = 140 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the Y coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the x - position of the chart - chart.XPos = 300; - //Set the y - position of the chart - chart.YPos = 140; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the x - position of the chart - chart.XPos = 300 - 'Set the y - position of the chart - chart.YPos = 140 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the Width of the chart in points (1/72 inch). - - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Modify the chart height - chart.Height = 500; - //Modify the chart width - chart.Width = 700; - //Change the title - chart.ChartTitle = "New title"; - //Change the serie name of first chart serie - chart.Series[0].Name = "Modified serie name"; - //Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; - //Show Data Table. - chart.HasDataTable = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Modify the chart height - chart.Height = 500 - 'Modify the chart width - chart.Width = 700 - 'Change the title - chart.ChartTitle = "New title" - 'Change the serie name of first chart serie - chart.Series(0).Name = "Modified serie name" - 'Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone - 'Show Data Table. - chart.HasDataTable = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the Height of the chart in points (1/72 inch). - - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Modify the chart height - chart.Height = 500; - //Modify the chart width - chart.Width = 700; - //Change the title - chart.ChartTitle = "New title"; - //Change the serie name of first chart serie - chart.Series[0].Name = "Modified serie name"; - //Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; - //Show Data Table. - chart.HasDataTable = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Modify the chart height - chart.Height = 500 - 'Modify the chart width - chart.Width = 700 - 'Change the title - chart.ChartTitle = "New title" - 'Change the serie name of first chart serie - chart.Series(0).Name = "Modified serie name" - 'Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone - 'Show Data Table. - chart.HasDataTable = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the collection of the all series of this chart. Read-only. - - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Modify the chart height - chart.Height = 500; - //Modify the chart width - chart.Width = 700; - //Change the title - chart.ChartTitle = "New title"; - //Change the serie name of first chart serie - chart.Series[0].Name = "Modified serie name"; - //Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; - //Show Data Table. - chart.HasDataTable = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Modify the chart height - chart.Height = 500 - 'Modify the chart width - chart.Width = 700 - 'Change the title - chart.ChartTitle = "New title" - 'Change the serie name of first chart serie - chart.Series(0).Name = "Modified serie name" - 'Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone - 'Show Data Table. - chart.HasDataTable = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the primary category axis for the chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary category axis - IOfficeChartCategoryAxis primaryCategoryAxis = chart.PrimaryCategoryAxis; - //Set the data range of the category axis - primaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary category axis - Dim primaryCategoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the data range of the category axis - primaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the primary value axis for the chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the primary value axis - IOfficeChartValueAxis primaryValueAxis = chart.PrimaryValueAxis; - //Set bold font style - primaryValueAxis.Font.Bold = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the primary value axis - Dim primaryValueAxis As IOfficeChartValueAxis = chart.PrimaryValueAxis - 'Set bold font style - primaryValueAxis.Font.Bold = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the primary series axis for the chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Get the primary serie axis - IOfficeChartSeriesAxis primarySerieAxis = chart.PrimarySerieAxis; - //Set the font style of serie axis - primarySerieAxis.Font.Italic = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Get the primary serie axis - Dim primarySerieAxis As IOfficeChartSeriesAxis = chart.PrimarySerieAxis - 'Set the font style of serie axis - primarySerieAxis.Font.Italic = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the secondary category axis for the chart. Read-only. - - - - //Open a presentation with Combinational chart type - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the secondary category axis - IOfficeChartCategoryAxis secondaryCategoryAxis = chart.PrimaryCategoryAxis; - //Set the minor grid lines - secondaryCategoryAxis.HasMinorGridLines = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation with Combinational chart type - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the secondary category axis - Dim secondaryCategoryAxis As IOfficeChartCategoryAxis = chart.PrimaryCategoryAxis - 'Set the minor grid lines - secondaryCategoryAxis.HasMinorGridLines = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the secondary value axis for the chart. Read-only. - - - - //Open a presentation with Combinational chart type - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Get the secondary value axis - IOfficeChartValueAxis secondaryValueAxis = chart.SecondaryValueAxis; - //Set the tick label position - secondaryValueAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation with Combinational chart type - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Get the secondary value axis - Dim secondaryValueAxis As IOfficeChartValueAxis = chart.SecondaryValueAxis - 'Set the tick label position - secondaryValueAxis.TickLabelPosition = OfficeTickLabelPosition.TickLabelPosition_NextToAxis - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets an object that represents the complete chart area for the chart. Read-only. - - - - //Create a new presentation - IPresentation presentation = Presentation.Create(); - //Add slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 100, 400, 300); - //Set the chart data value - chart.ChartData.SetValue(1, 2, "1"); - chart.ChartData.SetValue(2, 1, "A"); - chart.ChartData.SetValue(2, 2, 20); - //Set chart data range - chart.DataRange = chart.ChartData[2, 2, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Get the chart area - IOfficeChartFrameFormat chartArea = chart.ChartArea; - //Set the line pattern of chart border - chartArea.Border.LinePattern = OfficeChartLinePattern.DashDotDot; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a new presentation - Dim presentation As IPresentation = Presentation.Create() - 'Add slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to slide - Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 100, 400, 300) - 'Set the chart data value - chart.ChartData.SetValue(1, 2, "1") - chart.ChartData.SetValue(2, 1, "A") - chart.ChartData.SetValue(2, 2, 20) - 'Set chart data range - chart.DataRange = chart.ChartData(2, 2, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Get the chart area - Dim chartArea As IOfficeChartFrameFormat = chart.ChartArea - 'Set the line pattern of chart border - chartArea.Border.LinePattern = OfficeChartLinePattern.DashDotDot - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - - Gets the walls of the 3-D chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the fill type of wall as pattern - chart.Walls.Fill.FillType = OfficeFillType.Pattern; - //set the back color of the pattern fill - chart.Walls.Fill.BackColor = Color.AliceBlue; - //Set the fore color of the pattern fill - chart.Walls.Fill.ForeColor = Color.Brown; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the fill type of wall as pattern - chart.Walls.Fill.FillType = OfficeFillType.Pattern - 'set the back color of the pattern fill - chart.Walls.Fill.BackColor = Color.AliceBlue - 'Set the fore color of the pattern fill - chart.Walls.Fill.ForeColor = Color.Brown - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets an object that allows to individually format the side wall of a 3-D chart. Read-only. - - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D; - //Set the rotation - chart.Rotation = 80; - //Set the shadow angle - chart.SideWall.Shadow.Angle = 60; - //Set the backwall border weight - chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow; - //Save the presentation - presentation.Save("output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D - 'Set the rotation - chart.Rotation = 80 - 'Set the shadow angle - chart.SideWall.Shadow.Angle = 60 - 'Set the backwall border weight - chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow - 'Save the presentation - presentation.Save("output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets an object that allows to individually format the back wall of a 3-D chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D; - //Get the back wall of the chart - IOfficeChartWallOrFloor backWall = chart.BackWall; - //Set the line properties of the back wall - backWall.LineProperties.LineWeight = OfficeChartLineWeight.Narrow; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D - 'Get the back wall of the chart - Dim backWall As IOfficeChartWallOrFloor = chart.BackWall - 'Set the line properties of the back wall - backWall.LineProperties.LineWeight = OfficeChartLineWeight.Narrow - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the floor of the 3-D chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Get the floor of chart - IOfficeChartWallOrFloor floor = chart.Floor; - //Set the filltype of floor as pattern fill - floor.Fill.FillType = OfficeFillType.Pattern; - //Set the back and fore color of the pattern fill - floor.Fill.BackColor = Color.Blue; - floor.Fill.ForeColor = Color.Brown; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Get the floor of chart - Dim floor As IOfficeChartWallOrFloor = chart.Floor - 'Set the filltype of floor as pattern fill - floor.Fill.FillType = OfficeFillType.Pattern - 'Set the back and fore color of the pattern fill - floor.Fill.BackColor = Color.Blue - floor.Fill.ForeColor = Color.Brown - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the charts dataTable object. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Set the chart with data table - chart.HasDataTable = true; - //Get the data table, read only - IOfficeChartDataTable dataTable = chart.DataTable; - //set borders for data table - dataTable.HasBorders = true; - //Set the show serie keys - dataTable.ShowSeriesKeys = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Set the chart with data table - chart.HasDataTable = True - 'Get the data table, read only - Dim dataTable As IOfficeChartDataTable = chart.DataTable - 'set borders for data table - dataTable.HasBorders = True - 'Set the show serie keys - dataTable.ShowSeriesKeys = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets whether the chart has data table. - - TrueIf the chart has a data table. Otherwise False - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Modify the chart height - chart.Height = 500; - //Modify the chart width - chart.Width = 700; - //Change the title - chart.ChartTitle = "New title"; - //Change the serie name of first chart serie - chart.Series[0].Name = "Modified serie name"; - //Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone; - //Show Data Table. - chart.HasDataTable = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Modify the chart height - chart.Height = 500 - 'Modify the chart width - chart.Width = 700 - 'Change the title - chart.ChartTitle = "New title" - 'Change the serie name of first chart serie - chart.Series(0).Name = "Modified serie name" - 'Hiding the category labels - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelNone - 'Show Data Table. - chart.HasDataTable = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the legend for the chart. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to slide - IPresentationChart chart = slide.Shapes.AddChart(100, 120, 500, 300); - //Sets the data range of chart - chart.DataRange = chart.ChartData[1, 2, 4, 3]; - //Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012"); - chart.ChartData.SetValue(2, 2, 330); - chart.ChartData.SetValue(3, 2, 490); - chart.ChartData.SetValue(4, 2, 700); - chart.ChartType = OfficeChartType.Area; - //Edge: Specifies that the width or Height will be interpreted as right or bottom of the chart element - //Factor: Specifies that the width or Height will be interpreted as the width or height of the chart element - chart.PlotArea.Layout.LeftMode = LayoutModes.auto; - chart.PlotArea.Layout.TopMode = LayoutModes.factor; - //Value in points should not be a negative value if LayoutMode is Edge - //It can be a negative value if the LayoutMode is Factor. - chart.ChartTitleArea.Layout.Left = 10; - chart.ChartTitleArea.Layout.Top = 100; - //Manually positioning chart plot area - chart.PlotArea.Layout.LayoutTarget = LayoutTargets.outer; - chart.PlotArea.Layout.LeftMode = LayoutModes.edge; - chart.PlotArea.Layout.TopMode = LayoutModes.edge; - //Manually positioning chart legend - chart.Legend.Layout.LeftMode = LayoutModes.factor; - chart.Legend.Layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to slide - Dim chart As IPresentationChart = slide.Shapes.AddChart(100, 120, 500, 300) - 'Sets the data range of chart - chart.DataRange = chart.ChartData(1, 2, 4, 3) - 'Set data to the chart- RowIndex, columnIndex and data - chart.ChartData.SetValue(1, 2, "2012") - chart.ChartData.SetValue(2, 2, 330) - chart.ChartData.SetValue(3, 2, 490) - chart.ChartData.SetValue(4, 2, 700) - chart.ChartType = OfficeChartType.Area - 'Edge: Specifies that the width or Height will be interpreted as right or bottom of the chart element - 'Factor: Specifies that the width or Height will be interpreted as the width or height of the chart element - chart.PlotArea.Layout.LeftMode = LayoutModes.auto - chart.PlotArea.Layout.TopMode = LayoutModes.factor - 'Value in points should not be a negative value if LayoutMode is Edge - 'It can be a negative value if the LayoutMode is Factor. - chart.ChartTitleArea.Layout.Left = 10 - chart.ChartTitleArea.Layout.Top = 100 - 'Manually positioning chart plot area - chart.PlotArea.Layout.LayoutTarget = LayoutTargets.outer - chart.PlotArea.Layout.LeftMode = LayoutModes.edge - chart.PlotArea.Layout.TopMode = LayoutModes.edge - 'Manually positioning chart legend - chart.Legend.Layout.LeftMode = LayoutModes.factor - chart.Legend.Layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets whether the chart has legends. - - TrueIf the chart has a legend. Otherwise False - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Hide the legend - chart.HasLegend = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Hide the legend - chart.HasLegend = False - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the rotation of the 3-D chart view - (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). - - - - //Open the presentation - IPresentation presentation = Presentation.Open("Sample.pptx"); - //Get the first slide - ISlide slide = presentation.Slides[0]; - //Get the chart in slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D; - //Set the rotation - chart.Rotation = 80; - //Set the shadow angle - chart.SideWall.Shadow.Angle = 60; - //Set the backwall border weight - chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow; - //Save the presentation - presentation.Save("output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open the presentation - Dim presentation As IPresentation = Presentation.Open("Sample.pptx") - 'Get the first slide - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart in slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D - 'Set the rotation - chart.Rotation = 80 - 'Set the shadow angle - chart.SideWall.Shadow.Angle = 60 - 'Set the backwall border weight - chart.BackWall.Border.LineWeight = OfficeChartLineWeight.Narrow - 'Save the presentation - presentation.Save("output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the elevation of chart - chart.Elevation = -50; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the elevation of chart - chart.Elevation = -50 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the perspective for the 3-D chart view (0 to 100). - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the perspective - chart.Perspective = 100; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the perspective of chart - chart.Perspective = 100 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the height of a 3-D chart as a percentage of the chart width - (between 5 and 500 percent). - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the height percent - chart.HeightPercent = 400; - //Set the Depth percent - chart.DepthPercent = 200; - //Set the gap depth of data series - chart.GapDepth = 400; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the height percent - chart.HeightPercent = 400 - 'Set the Depth percent - chart.DepthPercent = 200 - 'Set the gap depth of data series - chart.GapDepth = 400 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the depth of a 3-D chart as a percentage of the chart width - (between 20 and 2000 percent). - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the height percent - chart.HeightPercent = 400; - //Set the Depth percent - chart.DepthPercent = 200; - //Set the gap depth of data series - chart.GapDepth = 400; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the height percent - chart.HeightPercent = 400 - 'Set the Depth percent - chart.DepthPercent = 200 - 'Set the gap depth of data series - chart.GapDepth = 400 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the height percent - chart.HeightPercent = 400; - //Set the Depth percent - chart.DepthPercent = 200; - //Set the gap depth of data series - chart.GapDepth = 400; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the height percent - chart.HeightPercent = 400 - 'Set the Depth percent - chart.DepthPercent = 200 - 'Set the gap depth of data series - chart.GapDepth = 400 - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets a value that indicates the chart axes are at right angles, independent of chart rotation or elevation. - - Trueif the chart axes are at right angles.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the right angle axes - chart.RightAngleAxes = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the right angle axes - chart.RightAngleAxes = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets whether chart has 3-D scaling. RightAngleAxes property must be true. - - - TrueIf Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Set the right angle axes property of the chart - chart.RightAngleAxes = true; - //Set the auto scaling of chart - chart.AutoScaling = true; - //Save the presentation - presentation.Save("sample.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the right angle axes - chart.RightAngleAxes = True - 'Set the auto scaling of chart - chart.AutoScaling = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets if gridlines are drawn two-dimensionally on a 3-D chart. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the 2D gridlines for chart - chart.WallsAndGridlines2D = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the 2D gridlines for chart - chart.WallsAndGridlines2D = True - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets a value that indicates chart has plot area. - - Trueif chart has plot area. Otherwise False. - - - - Gets or sets the way that blank cells are plotted on a chart. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the way blank cells to be plotted - chart.DisplayBlanksAs = OfficeChartPlotEmpty.Interpolated; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the way blank cells to be plotted - chart.DisplayBlanksAs = OfficeChartPlotEmpty.Interpolated - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets a value that indicates the visible/hidden cells are plotted. - - True if only visible cells are plottedFalse if both visible and hidden cells are plotted - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Hide the plot visiblity of cells - chart.PlotVisibleOnly = false; - //Hide the chart size with sheet window - chart.SizeWithWindow = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Hide the plot visiblity of cells - chart.PlotVisibleOnly = False - 'Hide the chart size with sheet window - chart.SizeWithWindow = False - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets whether the chart size matches with the chart sheet window. True if Microsoft Excel resizes the chart to match the size of the chart sheet window. - False if the chart size isn't attached to the window size. Applies only to chart sheets. - - - - IPresentation presentation = Presentation.Open("Template.pptx"); - ISlide slide = presentation.Slides[0]; - //Get the chart from slide - IPresentationChart chart = slide.Shapes[0] as IPresentationChart; - //set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Hide the plot visiblity of cells - chart.PlotVisibleOnly = false; - //Hide the chart size with sheet window - chart.SizeWithWindow = false; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation As IPresentation = Presentation.Open("Template.pptx") - Dim slide As ISlide = presentation.Slides(0) - 'Get the chart from slide - Dim chart As IPresentationChart = TryCast(slide.Shapes(0), IPresentationChart) - 'set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Hide the plot visiblity of cells - chart.PlotVisibleOnly = False - 'Hide the chart size with sheet window - chart.SizeWithWindow = False - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets the collection of the all categories of this chart. Read-only. - - - - - Gets or sets an constant that specifies the source level of the series names. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //set the serie name level - chart.SeriesNameLevel = OfficeSeriesNameLevel.SeriesNameLevelNone; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'set the serie name level - chart.SeriesNameLevel = OfficeSeriesNameLevel.SeriesNameLevelNone - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets or sets an constant that specifies the source level of the chart category labels. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D; - //Set the category label level - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelAll; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Specify the chart type - chart.ChartType = OfficeChartType.Surface_3D - 'Set the category label level - chart.CategoryLabelLevel = OfficeCategoriesLabelLevel.CategoriesLabelLevelAll - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - Gets an information about the linked or embedded data associated with a chart. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 4, 1]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the data range of the category axis - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 4, 1) - 'Save the presentation - presentation.Save("Output.pptx") - 'Close the presentation - presentation.Close() - - - - - - INamedObject interface declaration - object with name, - index, and ability to serialize. - - - - - Serializes this object into OffsetArrayList. - - - OffsetArrayList that will receive records of the object. - - - - - Name of the object. - - - - - Index of the object in the collection. - - - - - - - - - - First Series default name. - - - - - Default chart type. - - - - - Prefix for 3D charts. - - - - - Prefix for bar charts. - - - - - Prefix for clustered charts. - - - - - Prefix for contour charts. - - - - - Prefix for exploded charts. - - - - - Prefix for line charts. - - - - - Prefix for charts with markers. - - - - - Prefix for charts with no color. - - - - - Prefix for 100% charts. - - - - - Prefix for charts with smoothed lines. - - - - - Prefix for stacked charts. - - - - - Start of the chart type for area charts. - - - - - Start of the chart type for bar charts. - - - - - Start of the chart type for bubble charts. - - - - - Start of the chart type for column charts. - - - - - Start of the chart type for cone charts. - - - - - Start of the chart type for cylinder charts. - - - - - Start of the chart type for doughnut charts. - - - - - Start of the chart type for line charts. - - - - - Start of the chart type for pie charts. - - - - - Start of the chart type for pyramid charts. - - - - - Start of the chart type for radar charts. - - - - - Start of the chart type for scatter charts. - - - - - Start of the chart type for surface charts. - - - - - Index of the primary axes. - - - - - Si value index. - - - - - Si category index. - - - - - Si bubble index. - - - - - Index of the secondary axes. - - - - - Maximum font count. - - - - - Represents the Defualt Plot Area Top Left X. - - - - - Represents the Default Plot Area Top Left Y. - - - - - Represents the Default Plot Area X Length. - - - - - Represents the Default Plot Area Y Length. - - - - - Represents start types of chart that support data point. - - - - - Represents types of chart that support series axis . - - - - - Represents types of chart that do not support the pivot chart. - - - - - Represents start types of chart that support data table. - - - - - Represents start types of chart that support error bars. - - - - - Represents start types of chart that support trendlines. - - - - - Represents types of charts that contain walls or floor objects. - - - - - Specifies default secondary axis types. - - - - - Represents types of charts that can't be 3d. - - - - - Represents types of charts that are not 3d. - - - - - Represents series type that supports gridlines. - - - - - Represents series type that must be in secondary primary axis. - - - - - Represents - - - - - Represents array that contain start Series types sorted by drawing order. - - - - - Represents chart types that can change as intimate types. - - - - - Represents chart start types that doesn't need plot or walls. - - - - - Represents chart types for pivot chart which need view tag to be rendered. - - - - - 100% charts: - - - - - Stacked charts: - - - - - 3D charts: - - - - - Line charts: - - - - - Bubble charts: - - - - - Charts that can be without category axis: - - - - - Charts that need another color for each value: - - - - - Exploded charts: - - - - - Charts that need series lines: - - - - - Scatter charts: - - - - - Charts with smoothed lines: - - - - - Stock charts: - - - - - Charts with perspective: - - - - - Clustered charts: - - - - - Charts with plot area (by default): - - - - - Legend types that are displayed vertically: - - - - - Unknown bytes. Needed for data labels serialization. - - - - - Charts that have different ways of data labels storage: - - - - - Charts that can have percentage data labels: - - - - - Represents to parse sheet on demand - - - - - Specifies the contents of this attribute contain an integer between -100 and 100. - - - - - Specifies the contents - - - - - Represents whether to serialize gapwidth - - - - - If true than chart contain secondary axis. - - - - - Represents if chart in worksheet. - - - - - Chart type. - - - - - Pivot Chart type. - - - - - DataRange for the chart series. - - - - - True if series are in rows in DataRange; - otherwise False. - - - - - True if has data table; - otherwise False. - - - - - Page setup for the chart. - - - - - X coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Y coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Width of the chart in points (1/72 inch). - - - - - Height of the chart in points (1/72 inch). - - - - - Array of the fonts used in the chart. - - - - - Collection of all the series of this chart. - - - - - Collection of all the categories of this chart. - - - - - Chart's data table. - - - - - Chart sheet properties. - - - - - This record stores scale factors for font scaling. - - - - - Position of the plot area bounding box. The plot-area bounding box - includes the plot area, tick marks, and a small border around - the tick marks. - - - - - Chart frame format. - - - - - Frame for plot area. - - - - - Dictionary that contains information about default text. - Key - Object identifier for the text, - Value - List with text records. - - - - - Title area. - - - - - Represents primary parent axis record and subrecords. - - - - - Represents secondary parent axis record and subrecords. - - - - - Represents legend in chart. - - - - - True if has legend; - otherwise False. - - - - - Represents chart walls/back_walls. - - - - - Represents chart side_walls. - - - - - Represents chart floor. - - - - - Represents chart plot area. - - - - - Indicates if we change chart or Series type. - - - - - Indicates if we change chart or Series type. - - - - - Represents helper array for parse trends. Use only for parsing. - - - - - Represents list with pivot records; - - - - - WindowZoomRecord that was met inside ChartChartRecord block. - - - - - Relations collection. - - - - - Style index for Excel 2007 chart. - - - - - Stream with extracted pivot formats data. - - - - - - - - - - Dictionary with error bars which requires future reparsing. - - - - - Preserved band formats. - - - - - Since we don't parse pivot tables we can only preserve pivot source using string variable, this should be remove after we start pivot tables parsing. - - - - - represents the format id of the chart - - - - - Indicates the all button fields in a pivot chart. - - - - - Indicates the Axis button in a pivot chart. - - - - - Indicates the value button in a pivot chart. - - - - - Indicates the legend button in a pivot chart. - - - - - Indicates the filter button in a pivot chart. - - - - - Indicates wheather the chart contains title - - - - - Preserves the Chart's Default Text Property. - TODO: Need to support Chart default text proprety, should be remove after we start to parse. - - - - - Font used for chart drawing. - - - - - Plot area layout - - - - - Collect the filter from category - - - - - Collect the filter from series - - - - - Represents the Excel2013 series name filter - - - - - Represents the Excel2013 category Filter - - - - - Indicates whether the PlotVisOnly attribute exists or not - - - - - Indicates whether the PlotVisOnly attribute exists or not - - - - - Indicates whether the chart is copied from another workbook - - - - - Represents the common category label values. - - - - - Represents the category lable reference as range. - - - - - This stream stores xml text with overided themes. - - - - - Contains list of theme colors. - - - - - Indicates that the chart data is cleared or not. - - - - - Sets the Worksheet data into the current chart. - - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Creates chart from the array of BiffRecords. - - Application object for the chart. - Parent object for the chart. - Array of BiffRecords with chart's data. - Position of the first chart's record. - Parse options. - - - - Searches for all necessary parent objects. - - - - - Creates chart title object. - - - - - Parses internal records. - - - - - Extracts chart from array of BiffRecords. - - Array of BiffRecords containing chart's data. - Position of the first chart's record. - Parse options. - - - - Parses object's records. - - - - - Reparses error bars. - - - - - Parses ordinary chart record. - - Record to parse. - Record position - will be updated during this operation. - - - - Saves all chart records in the internal storage (without first BOF record). - - Array with chart records. - Position to the first chart record. - Array that will get all chart records. - Parse options. - - - - Extracts fonts from the BiffRecords array. - - BiffRecords array containing fonts. - Position of the first font record. - - If specified by parameter record is not ChartFbi record. - - - - - Parses ChartChartReacod and all its subrecords. - - Array of BiffRecords containing chart's data. - Position of the ChartChart record. - - When specified record is not ChartChart record - or the next record is not Begin record. - - - - - Extracts data from ChartChart record. - - Record with data. - - - - Parses ChartPlotGrowth record. - - Record to parse. - - - - Parses ChartSiIndex records. - - Array of records containing ChartSiIndex records. - Position of the first ChartSiIndex record. - - When specified record is not ChartSiIndex record. - - - - - Parses ChartSeries record and its subrecords. - Creates new series in the Series collection. - - Array of records containing ChartSeries data. - Position of the ChartSeries record. - - - - Parses sheet properties. - - Array of records containing sheet properties data. - Position of the ChartShtprops record. - - When specified record is not ChartShtprops record. - - - - - Parses ChartDefaultText record. - - Array of records containing default text data. - Position of the record. - - When specified record is not ChartDefaultText record. - - - - - Gets record of the text data block. - - Array of records containing text data. - Position of the first text record. - List with all text records. - - - - Parses ChartText record and all its subrecords. - - Array of records containing text data. - Position of the record. - ChartTextAreaImpl that represents parsed text area. - - When specified record is not ChartText record - or when next record is not Begin record. - - - - - Parses ChartAxesUsed record. - - Array of records containing record. - Position of the record to parse. - - When specified record is not ChartAxesUsed record. - - - - - Parses ChartAxisParent record. - - Array of records containing record. - Position of the record to parse. - - When specified record is not ChartAxisParent record. - - - - - Parses ChartData table records. - - Array of records containing data table records. - Position of the ChartData record in the data array. - - When specified record is not ChartData record. - - - - - Assigns text area to its owner. - - Text area to assign. - List with unassigned text areas. - - - - Parses chart's plot area and all its sub records. - - Array of records containing plot area data. - - Position of the ChartPlotArea record in the array. - - - When specified record is not ChartPlotArea record. - - - - - Parses chart frame records. - - Array of records containing axes names data. - Position of the ChartFrame record in the array. - - - - Detects type of the chart. - - - When it is not possible to detect chart type. - - - - - Sets some important variables into initial state. - - - - - Parses ChartFontxRecord. - - Record to parse. - IFont corresponding to the fontx record. - - - - Parses legend. - - Record storage. - Position in storage. - - - - Adds series records to subholder from global holder. - - Represents global record holder. - Represents record subholder. - Represents position in global holder - Gets series index for error bar. - Indicates parsing error bars. - If true - parse Series; otherwise - error bars or trend lines. - - - - Reparse trend line legend entries. - - - - - Saves chart into OffsetArrayList. - - - OffsetArrayList that will receive all chart's records. - - - When specified OffsetArrayList is NULL. - - - - - Saves all chart's fonts into OffsetArrayList. - - - OffsetArrayList that will receive all fonts records. - - - - - Saves ChartChart record and all its subrecords. - - - OffsetArrayList that will receive all records. - - - - - Saves DefaultText. - - - OffsetArrayList that will receive all records. - - - - - Serializes chart's axes. - - - OffsetArrayList that will receive all records. - - - - - Serializes sheet properties. - - - OffsetArrayList that will receive all records. - - - - - Serializes ChartSiIndex records. - - - OffsetArrayList that will receive all records. - - - - - Serializes category labels. - - - OffsetArrayList that will receive all records. - - - - - Serializes series values. - - - OffsetArrayList that will receive all records. - - - - - Serializes data table if it is visible. - - - OffsetArrayList that will receive all records. - - - - - Serializes data labels. - - - OffsetArrayList that will receive all records. - - - - - Serializes Series list. - - - OffsetArrayList that will receive all records. - - - - - Serializes ChartSi members. - - OffsetArrayList that will receive all records. - SiIndex record index. - - - - Serialize legend. - - Represents record list to serialize into. - - - - Serialize walls. - - Records collection. - - - - Serialize floor. - - Records collection. - - - - Serialize plot area to stg stream. - - Represents record storage. - - - - Find and Update Category - - - - - - - Update seriesFilter - - - - - - Find the Category Range - - - - - - - - - - Getting the filter from series and categories - - - - - Filter is assigned to the categories/series. - - - - - Get chart title name - - return chart Title name - - - - Returns True if chart is a clustered chart. Read-only. - - - - - Returns True if chart is 100%. Read-only. - - - - - Returns True if chart is a stacked chart. Read-only. - - - - - Indicates whether specified charttype is pie chart. - - Represents chart type to check. - Value indicating whether specified chart type is pie chart. - - - - Creates necessary primary axes. - - Value indicating whether axis is primary. - - - - Initializes all internal collections. - - - - - Checks whether chart support data table. - - - - - Checks whether data table is compatible with specified start type. - - - - - - Initializes collection of default text objects. - - - - - This method is called if DataRange was changed. - - Represents chart type. - - - - Calculate the serie name range by empty spaces - - Input data range to calculate - Input Data Range without series name range - boolean value indicates whether the chart is Office 2016 or not - series name range - - - - Calculate and retruns the range after removing the input series name range - - The complete input range to calculate - Input series name range - Input series name range modified - the axis range - - - - Adds default row series to the series collection. - - - - - Adds default column series to the series collection. - - - - - Adds bubble row series to the series collection. - - - - - Adds bubble column series to the series collection. - - - - - Adds scatter row series to the series collection. - - - - - Adds scatter column series to the series collection. - - - - - Adds stock row series without volume to the series collection. - - Number of series to add. - - When data range rows count does not correspond to the specified count. - - - - - Adds stock column series without volume to the series collection. - - Number of series to add. - - When data range columns count does not correspond to the specified count. - - - - - Adds stock row series with volume to the series collection. - - Number of series to add. - - When data range rows count does not correspond to the specified count. - - - - - Adds stock column series with volume to the series collection. - - Number of series to add. - - When data range columns count does not correspond to the specified count. - - - - - Sets format of secondary axes for volume chart type. - - - - - Sets default format for the first stock Series. - - Series to set format. - - - - This method is called when IsSeriesInRows is changed. - - - - - Updates series in bubble chart. - - - - - This method is called when chart type is changed. - - Represents chart type. - Value indicating whether series needs to be created. - - - - Updates tick record in surface chart type. - - - - - Updates tick record in radar chart type. - - - - - Updates chart members on type changing. - - Represents new chart type. - - - - Changes Chart type for one of stock types. - - Type to change. - - - - Returns Chart3D record for this chart. - - Chart3D record for this chart. - - - - This is event handler for ValueRangeChanged of each series of the chart. - - - - - Initializes chart frames. - - - - - Removes chart format. - - Format to remove. - - - - Updates chart title on parsing and creating chart. - - - - - Detects start type of the chart. - - Returns null if cann't detect. - - - - Detects data range by series and category axis. - - Returns detected data range or null if cann't detect. - - - - Detects if series in rows or in column. - - Represents data range. - Returns true if in rows; otherwise in column. - - - - Gets range, that represents series name or category axis by data range. - - Represents data range. - Represents if series in row. - Represents range, that contain series value range. - Returns series name or category axis range, if can; otherwise null. - - - - Validates Series range for min Series count of custom chart type. - - Represents range, that contain Series values. - Represents chart type. - Returns true if can set data range, otherwise false. - - - - Updates series value by data range. - - Represents range, that contain series value. - Represents range, that contain series name. - Represents chart type. - Represents index. - - - - Indicates if Series is in data range. - - Represents rec of first Series values. - Represents range of current Series values. - index of this Series in collection. - Represents sheet name. - Returns true if series values is equal. - - - - Gets range, that represents series value range. - - Represents last range. - Represents bubble range. - Represents parent sheet. - Represents name of worksheet in data range. - Returns detected series range. - - - - Gets range, that represents series name values. - - Represents first Series name range. - Represents bubble range. - Represents parent sheet. - Represents sheet name. - Sets out parameter to Series name range. - Value indicating range representing serie name values. - - - - Updates data range rectangle. - - Represents range to update. - Represents rec, that represents current data range. Ref parameter. - Indicates if values is in rows. - Returns true if can update data range; otherwise false. - - - - Detects if series in rows. - - Returns true if series values in row; otherwise - false. - - - - Changes chart type. - - Represents new chart type. - Value indicating whether to create series. - - - - Prepares protection options before setting protection. - - - - - - - Clones current instance. - - Parent object. - Returns clone of current object. - - - - Clones current instance. - - Hash table with new Worksheet names. - Parent object. - Dictionary with new font indexes. - Returns clone of current object. - - - - Changes primary axis from primary to secondary. - - If parsing - true; otherwise false. - - - - Updates Fbi Font indexes. - - Dictionary with new indexes. - - - - Updates Fontx indexes. - - Dictionary with new indexes. - - - - Chacks for existing gridlines in chart. - - Returns true if can exist; otherwise false. - - - - Check for if any series is bubble_3D,Assign SerieFormat - - Chart to be changed - - - - Sets to default chart grid lines on chart type or Series type changing. - - Represents type to change. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Method saves the chart sheet as image in the stream. - - The stream to save the image. - - - - Indicates whether the chart type is Stock chart - - - - - Converts double value into 32-bits fixed-point value. - - Value to convert. - Converted 32-bits fixed-point value. - - - - Converts 32-bits fixed-point value into double. - - Value to convert. - Converted double value. - - - - Creates primary series axis. - - Created axis. - - - - Returns the chart color respect to index on automatic format - - index of the series or data points - total count of series and data points - Indicates whether the parent workbook is binary or not - Indicates whether the color to be taken from color palette only for line,scatter,radar in binary files - the Color of the chart - - - - Specifies the contents of this attribute contain an integer between -100 and 100. - - - - - Represents whether to serialize gapwidth - - - - - Returns or sets the rotation of the 3-D chart view - (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). - - - - - Returns or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). - - - - - Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) - - - - - Gets or sets the type of the pivot chart. - - The type of the pivot chart. - - - - It specifies the Format id of the chart - - - - - Gets or sets a value indicating whether [show all field buttons]. - - - true if [show all field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show value field buttons]. - - - true if [show value field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show axis field buttons]. - - - true if [show axis field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show legend field buttons]. - - - true if [show legend field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show report filter field buttons]. - - - true if [show report filter field buttons]; otherwise, false. - - - - - Returns or sets the height of a 3-D chart as a percentage of the chart width - (between 5 and 500 percent). - - - - - Returns or sets the depth of a 3-D chart as a percentage of the chart width - (between 20 and 2000 percent). - - - - - Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) - - - - - True if the chart axes are at right angles, independent of chart rotation or elevation. - - - - - True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. - - - - - True if gridlines are drawn two-dimensionally on a 3-D chart. - - - - - Type of the chart. - - - - - Represents the Series NameLevel. - - - - - Represents the Cateories NameLevel. - - - - - DataRange for the chart series. - - - - - DataRange for the chart series. - - - - - True if series are in rows in DataRange; - otherwise False. - - - - - Title of the chart. - - - - - Returns object that describes chart title area. Read-only. - - - - - Gets font used for title displaying. Read-only. - - - - - Title of the category axis. - - - - - Title of the value axis. - - - - - Title of the secondary category axis. - - - - - Title of the secondary value axis. - - - - - Title of the series axis. - - - - - Returns primary category axis. Read-only. - - - - - Returns primary value axis. Read-only. - - - - - Returns primary series axis. Read-only. - - - - - Returns secondary category axis. Read-only. - - - - - Returns secondary value axis. Read-only. - - - - - Page setup for the chart. Read-only. - - - - - X coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Y coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Width of the chart in points (1/72 inch). - - - - - Height of the chart in points (1/72 inch). - - - - - Collection of the all series of this chart. Read-only. - - - - - Collection of all categories of this chart.Read-only - - - - - Returns chart format collection in primary axis. - - - - - Returns chart format collection in secondary axis. - - - - - Returns an object that represents the complete chart area for the chart. Read-only. - - - - - Indicates whether chart has chart area. - - - - - Indicates whether chart has plot area. - - - - - Returns plot area frame format. Read-only. - - - - - Returns primary parent axis. - - - - - Returns secondary parent axis. - - - - - Represents chart walls. - - - - - Represents the SideWall - - - - - Represents the BackWall - - - - - Represents chart floor. - - - - - Represents charts dataTable object. - - - - - True if the chart has a data table. - - - - - Represents chart legend. - - - - - True if the chart has a legend object. - - - - - Represents the way that blank cells are plotted on a chart. - - - - - True if only visible cells are plotted. False if both visible and hidden cells are plotted. - - - - - Indicates whether to show the PlotVisOnly attribute or not - - - - - True if Microsoft Excel resizes the chart to match the size of the chart sheet window. - False if the chart size isn't attached to the window size. Applies only to chart sheets. - - - - - Indicates whether this chart supports walls and floor. Read-only. - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Return attached label layout record. Read-only - - - - - Represents the common category label values. - - - - - Represents the category lable reference as range - - - - - Tab color. - - - - - Returns True if chart has a category axis. Read-only. - - - - - Returns True if chart has a value axis. Read-only. - - - - - Returns True if chart has a series axis. Read-only. - - - - - Returns True if chart is stacked. Read-only. - - - - - Returns True if chart is 100%. Read-only. - - - - - Returns True if chart is 3D. Read-only. - - - - - Gets a value indicating whether this instance is pivot chart3 D. - - - true if this instance is pivot chart3 D; otherwise, false. - - - - - Returns True if chart is line. Read-only. - - - - - Returns True if chart needs data format to be saved. Read-only. - - - - - Returns True if chart needs marker format to be saved. Read-only. - - - - - Returns True if chart is a bar chart. Read-only. - - - - - Returns True if chart is a pyramid shape. Read-only. - - - - - Returns True if chart is a conical shape. Read-only. - - - - - Returns True if chart is a cylinder shape. Read-only. - - - - - Returns True if chart is a bubble chart. Read-only. - - - - - Returns True if chart is a doughnut chart. Read-only. - - - - - Returns True if chart should have a different color for each series value. Read-only. - - - - - Returns True if chart is exploded. Read-only. - - - - - Returns True if chart has series lines. Read-only. - - - - - Returns True if chart can have series lines. Read-only. - - - - - Returns True if chart is a scatter chart. Read-only. - - - - - Returns default line pattern for the chart. Read-only. - - - - - Returns True if chart has smoothed lines. Read-only. - - - - - Returns True if this is a stock chart. Read-only. - - - - - Returns True if chart needs drop bars to be saved. Read-only. - - - - - Returns True if chart is a stock chart with volume. Read-only. - - - - - Returns True if chart has perspective. Read-only. - - - - - Returns True if chart is a clustered chart. Read-only. - - - - - Returns True if chart has no plot area. Read-only. - - - - - Returns True if chart is a radar chart. Read-only. - - - - - Returns True if chart is a pie chart. Read-only. - - - - - Returns True if chart has walls. Read-only. - - - - - Returns True if chart has floor. Read-only. - - - - - Gets the serialized axis ids. - - The serialized axis ids. - - - - Returns True if secondary category axis present. Read-only. - - - - - Returns True if secondary value axis present. Read-only. - - - - - Returns True if at least one of the secondary axes is present. Read-only. - - - - - Returns True if chart needs special data labels serialization. - Read-only. - - - - - Returns True if chart can have percentage data labels. Read-only. - - - - - Returns True if chart can have bubble data labels. Read-only. - - - - - Indicates whether chart was manually formatted. - - - - - This record stores scale factors for font scaling. - - - - - Plot are bounding box. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Returns inner frame format. Read-only. - - - - - Returns inner plot area frame format. Read-only. - - - - - Returns start type of chart type. Read-only. - - - - - Page setup for the chart. Read-only. - - - - - Gets chart options. Read-only. - - - - - Represents if chart is reading from biff stream. Read-only. - - - - - Gets chart format for 3-d charts. Read-only. - - - - - Indicates if we change chart or Series type. - - - - - Resulting chart type after type change operation. - - - - - Returns collection of chart relations. Read-only. - - - - - Style index for Excel 2007 chart. - - - - - Gets value indicating whether floor object was created. - - - - - Gets value indicating whether floor object was created. - - - - - Gets or sets pivot formats stream. - - - - - Gets or sets zoomToFit value. - - - - - Gets the default protection options for the worksheet. - - - - - Gets value indicating whether chart is embeded into worksheet. - - - - - Gets font index from the default font records. - - - - - Gets or sets preserved band formats for surface chart. - - - - - Indicates whether chart has title. - - - - - Indicates wheather the chart has title - - - - - Preserves the Chart's Default Text Property. - TODO: Need to support Chart default text proprety, should be remove after we start to parse. - - - - - Returns font used for axis text displaying. Read-only. - - - - - Gets or sets to specify the title shall not be shown for this chart. - - - - - Gets or sets the boolean value to load worksheets on demand - - - - - Gets or sets to specify the title shall not be shown for this chart. - - - - - Represents chart interior. - - - - - Represents the interior of the chart element. - - - - - Gets or sets the foreground color (RGB). - - - - - Gets or sets background color (RGB). - - - - - Gets or sets area pattern. - - - - - Gets or sets index of foreground color. - - - - - Gets or sets the background color index. - - - - - Gets or sets a value that indicates the interior space should use the automatic or custom format. - - Trueif use automatic.Otherwise False. - - - - Gets or sets a value that indicated a foreground and background are swapped when the data value is negative. - - - - - Represents area format record. - - - - - Represents parent book. - - - - - Represents parent Series format. - - - - - Represents series fore color. - - - - - Represents series back color. - - - - - Represents dictionary to convert OfficePattern to excelgradient pattern. - key - OfficePattern, value - OfficeGradientPattern. - - - - - Initialize all static members. - - - - - Creates chart interior instance. - - Represents current application. - Represents parent object. - - - - Creates chart interior instance. - - Represents current application. - Represents parent object. - Represents area record. - - - - Creates new instance of class. - - Represents current application. - Represents parent object. - Represents record storage. - Represents position in storage. - - - - Finds parent objects. - - - - - Parsing current object. - - Records offset. - Position in offset. - - - - Serialize current object. - - Records offset. - - - - Updates foreground color. - - - - - Updated background color. - - - - - Initialize interior for frame format. - - Indicate is autosize interior. - Represents is 3d chart. - Indicates is interior is gray. - - - - Initialize interior for frame format. - - Indicate is autosize interior. - Represents is 3d chart. - Indicates is interior is gray. - Indicates is default color is gray_50. - - - - Clones current object. - - Represents parent object. - Returns cloned object. - - - - Makes copy of the current object and update its parent. - - Represents Parent object to set. - Cloned object. - - - - Foreground color (RGB). - - - - - Background color (RGB). - - - - - Foreground color (RGB). - - - - - Background color (RGB). - - - - - Area pattern. - - - - - Index of foreground color. - - - - - Background color index. - - - - - If true - use automatic format; otherwise custom. - - - - - Foreground and background are swapped when the data value is negative. - - - - - Class used for setting chart elements layout - - - - - Represents the layout of the chart element. - - - - - Gets or sets the manual layout of the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets whether to layout only the plot area. - - - - - Gets or sets how to interpret the Left element for this manual layout - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets how to interpret the Top element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the x location (left) of the chart element as a fraction of the width of the chart. - If Left Mode is Factor, then the position is relative to the default position for the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the top of the chart element as a fraction of the height of the chart. - If Top Mode is Factor, then the position is relative to the default position for the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets how to interpret the Width element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets how to interpret the Height element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element - as a fraction of the width of the chart. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart - element as a fraction of the height of the chart. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Modify the legend layout height - layout.Height = 120; - //Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor; - //Modify the legend layout width - layout.Width = 100; - //Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge; - //Modify the legend layout left position - layout.Left = 100; - //Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - layout.Top = 100; - //Modify the legend layout top mode - layout.TopMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Modify the legend layout height - layout.Height = 120 - 'Modify the legend layout height mode - layout.HeightMode = LayoutModes.factor - 'Modify the legend layout width - layout.Width = 100 - 'Modify the legend layout width mode - layout.WidthMode = LayoutModes.edge - 'Modify the legend layout left position - layout.Left = 100 - 'Modify the legend layout left mode - layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - layout.Top = 100 - 'Modify the legend layout top mode - layout.TopMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Parent chart. - - - - - Parent object - - - - - Chart interface - - - - - ChartShape interface - - - - - Manual layout - - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates whether we should set defaults for fill and border properties. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates is auto size. - Indicates is interior is gray. - Indicates whether we should set defaults for fill and border properties. - - - - Creates and parses current object. - - Application object for the chart. - Parent object for the chart. - Records storage. - Position in storage. - - - - Searches for all necessary parent objects. - - - - - Parses frame. - - Array with frame records. - Position of the frame records. - - - - Checks whether specified record is begin. - - Record to check. - True if this is begin; false otherwise. - - - - Parses single record. - - Record to parse. - Number of not closed begin record. - - - - Saves chart frame as biff records. - - OffsetArrayList that will get biff records. - - - - Serializes single record. - - OffsetArrayList that will get biff records. - Record to serialize. - - - - Unwraps record. - - Record to unwrap. - Unwrapped record. - - - - Set variable to the default state. - - Indicates whether MS Excel should calculate size of the frame. - Indicates is default interior is gray. - - - - Returns parent workbook. Read-only. - - - - - Return the parent object. Read-only. - - - - - Gets or sets the manual layout for the layout - - - - - Gets or sets the layout target - - - - - Gets or sets the left mode (x) value - - - - - Gets or sets the top mode (y) value - - - - - Gets or sets the left (x) value - - - - - Gets or sets the top (y) value - - - - - Gets or sets the Width mode - - - - - Gets or sets the Height mode - - - - - Gets or sets the Width - - - - - Gets or sets the Height - - - - - Indicates whether the manual layout is initialized or not - - - - - Represents collection of ChartLegendEntries in chart legend. - - - - - Represents a collection of all the objects in the specified chart legend. - - - - - Gets the count of legend entries in collection. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the legend entries - IChartLegendEntries legendEntries = chart.Legend.LegendEntries; - //Get the count of the legend entries - int count = legendEntries.Count; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the legend entries - Dim legendEntries As IChartLegendEntries = chart.Legend.LegendEntries - 'Get the count of the legend entries - Dim count As Integer = legendEntries.Count - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance at the specified index from the collection. Read-only. - - The zero-based index of the element. - Returns the particular legend entry based on the index. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the legend entries - IChartLegendEntries legendEntries = chart.Legend.LegendEntries; - //Get the count of the legend entries - int count = legendEntries.Count; - //Set the bold style for text area - legendEntries[0].TextArea.Bold = true; - //Set the color of the text area - legendEntries[0].TextArea.Color = OfficeKnownColors.Magenta; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the legend entries - Dim legendEntries As IChartLegendEntries = chart.Legend.LegendEntries - 'Get the count of the legend entries - Dim count As Integer = legendEntries.Count - 'Set the bold style for text area - legendEntries(0).TextArea.Bold = True - 'Set the color of the text area - legendEntries(0).TextArea.Color = OfficeKnownColors.Magenta - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents global storage for legend entries. - Key - entry index; Value - legend entry. - - - - - Represents parent chart. - - - - - Creates new instance of Legend entry collection. - - Represents current application. - Parent object. - - - - Finds all parent objects. - - - - - Adds legend to collection by index. - - Represents index of new entry in collection.( Zero based ) - Returns added entry. - - - - Adds legend to collection by index. - - Represents index of new entry in collection.( Zero based ) - Represents entry to add. - Returns added entry. - - - - Checks for contain changed from default formatting legend entry by index. - - Represents legend entry index. - Returns true if contains otherwise false. - - - - Checks before deleting legend entry. - - Represents index in collection. - If true - can delete; otherwise false. - - - - Updates legend entries collection after removing series. - - Index of legend entry to remove. - - - - Clones current object. - - Parent for cloned object. - Represents list with new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Clears current collection. - - - - - Adds value to entry indexes. - - Represents start entry index. - Represents value to add. - - - - Represents count of legend entries in collection. Read-only. - - - - - Gets legend entry object by index. Read-only. - - - - - Class used for Chart Legend entries implementation. - - - - - Represents the functionalities for IOfficeChartLegendEntry. - - - - - Clears current data point - - - - - Deletes current legend entry. - - - - - Gets or sets a value that indicates the removal of the legend entry. - - - - - Gets or sets that indicates whether the legend entry is formatted of not. - - - - - Gets object that represents a text area of the single legend entry.Read-only. - - - - - Represents LegendXN record. - - - - - Represents text of legend entry. - - - - - Represents parent chart legend entry collection. - - - - - Represents index of legend entry in collection. - - - - - Creates new instance of legend entry. - - Application object. - Parent object. - Represents index in collection - - - - Creates new instance of legend entry by parsing from stream. - - Application object. - Parent object. - Represents index in collection. - Represents record holder. - Represents position in stream. - - - - Parses legend entry. - - Record storage. - Position in storage. - - - - Finds parent object for collection. - - - - - Serialize legend entry object. - - Record storage. - - - - Clears the current data point - - - - - Deletes the current legend entry. - - - - - Clones current object. - - Parent object. - Dictionary with new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - If true then this entry deleted. otherwise false. - - - - - True if the legend entry has been formatted. - - - - - Returns text area. Read-only. - - - - - Legend-entry index. - - - - - Represents index in collection. - - - - - Represents ChartLegend. - - - - - Represents the legend in a chart. Each chart can have only one legend. - - - - - Clears chart legend. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend border format - legend.FrameFormat.Border.AutoFormat = false; - //Set the legend border auto line color - legend.FrameFormat.Border.IsAutoLineColor = false; - //Set the border line color - legend.FrameFormat.Border.LineColor = Color.Blue; - //Set the border line pattern - legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; - //Set the legend border line weight - legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide; - //Reset the legend format - legend.Clear(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend border format - legend.FrameFormat.Border.AutoFormat = False - 'Set the legend border auto line color - legend.FrameFormat.Border.IsAutoLineColor = False - 'Set the border line color - legend.FrameFormat.Border.LineColor = Color.Blue - 'Set the border line pattern - legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot - 'Set the legend border line weight - legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide - 'Reset the legend format - legend.Clear() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Deletes chart legend. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Delete the chart's legend - legend.Delete(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Delete the chart's legend - legend.Delete() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the object that represents the formatting settings of the legend.Read-only. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend border format - legend.FrameFormat.Border.AutoFormat = false; - //Set the legend border auto line color - legend.FrameFormat.Border.IsAutoLineColor = false; - //Set the border line color - legend.FrameFormat.Border.LineColor = System.Drawing.Color.Blue; - //Set the border line pattern - legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot; - //Set the legend border line weight - legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend border format - legend.FrameFormat.Border.AutoFormat = False - 'Set the legend border auto line color - legend.FrameFormat.Border.IsAutoLineColor = False - 'Set the border line color - legend.FrameFormat.Border.LineColor = System.Drawing.Color.Blue - 'Set the border line pattern - legend.FrameFormat.Border.LinePattern = OfficeChartLinePattern.DashDot - 'Set the legend border line weight - legend.FrameFormat.Border.LineWeight = OfficeChartLineWeight.Wide - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets object that represents a text area of the legend.Read-only. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the text area font weight - legend.TextArea.Bold = true; - //Set the legend text area forecolor - legend.TextArea.Color = OfficeKnownColors.Sky_blue; - //Set the legend text area font name - legend.TextArea.FontName = "Times New Roman"; - //Set the legend text area font size - legend.TextArea.Size = 15; - //Set the legend text area' strike through - legend.TextArea.Strikethrough = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the text area font weight - legend.TextArea.Bold = True - 'Set the legend text area forecolor - legend.TextArea.Color = OfficeKnownColors.Sky_blue - 'Set the legend text area font name - legend.TextArea.FontName = "Times New Roman" - 'Set the legend text area font size - legend.TextArea.Size = 15 - 'Set the legend text area' strike through - legend.TextArea.Strikethrough = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets X-position of upper-left corner. 1/4000 of chart plot. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend position - legend.Position = OfficeLegendPosition.Top; - //Set the position of legend - legend.X = 120; - legend.Y = 25; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend position - legend.Position = OfficeLegendPosition.Top - 'Set the position of legend - legend.X = 120 - legend.Y = 25 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets Y-position of upper-left corner. 1/4000 of chart plot. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend position - legend.Position = OfficeLegendPosition.Top; - //Set the position of legend - legend.X = 120; - legend.Y = 25; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend position - legend.Position = OfficeLegendPosition.Top - 'Set the position of legend - legend.X = 120 - legend.Y = 25 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the position of the legend on the chart - Type: - 0 = bottom - 1 = corner - 2 = top - 3 = right - 4 = left - 7 = not docked or inside the plot area - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend position - legend.Position = OfficeLegendPosition.Left; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend position - legend.Position = OfficeLegendPosition.Left - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets whether the legend is vertical. - True if vertical legend (a single column of entries); - False if horizontal legend (multiple columns of entries). - Manual-sized legends always have this bit set to False. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the legend position - legend.Position = OfficeLegendPosition.Left; - //Enable the vertical legend - legend.IsVerticalLegend = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the legend position - legend.Position = OfficeLegendPosition.Left - 'Enable the vertical legend - legend.IsVerticalLegend = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets legend entries collection. Read-only. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the text area font weight - legend.TextArea.Bold = true; - //Set the legend text area forecolor - legend.TextArea.Color = OfficeKnownColors.Sky_blue; - //Set the legend text area font name - legend.TextArea.FontName = "Times New Roman"; - //Set the legend text area font size - legend.TextArea.Size = 15; - //Modify the legend entry - legend.LegendEntries[0].IsDeleted = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the text area font weight - legend.TextArea.Bold = True - 'Set the legend text area forecolor - legend.TextArea.Color = OfficeKnownColors.Sky_blue - 'Set the legend text area font name - legend.TextArea.FontName = "Times New Roman" - 'Set the legend text area font size - legend.TextArea.Size = 15 - 'Modify the legend entry - legend.LegendEntries(0).IsDeleted = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates the legends are overlapping with chart space or not. Default is true. - - Trueif a legend will occupy the chart layout space when a chart layout is being determined.Otherwise False - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Set the layout inclusion - legend.IncludeInLayout = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Set the layout inclusion - legend.IncludeInLayout = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the Layout settings of TextArea - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IPresentationChart chart = presentation.Slides[0].Charts[0] as IPresentationChart; - //Get the chart legend - IOfficeChartLegend legend = chart.Legend; - //Modify the legend layout height - legend.Layout.Height = 100; - //Modify the legend layout height mode - legend.Layout.HeightMode = LayoutModes.factor; - //Modify the legend layout left position - legend.Layout.Left = 100; - //Modify the legend layout left mode - legend.Layout.LeftMode = LayoutModes.factor; - //Modify the legend layout top position - legend.Layout.Top = 100; - //Modify the legend layout top mode - legend.Layout.TopMode = LayoutModes.factor; - //Modify the legend layout width - legend.Layout.Width = 150; - //Modify the legend layout width mode - legend.Layout.WidthMode = LayoutModes.factor; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IPresentationChart = TryCast(presentation__1.Slides(0).Charts(0), IPresentationChart) - 'Get the chart legend - Dim legend As IOfficeChartLegend = chart.Legend - 'Modify the legend layout height - legend.Layout.Height = 100 - 'Modify the legend layout height mode - legend.Layout.HeightMode = LayoutModes.factor - 'Modify the legend layout left position - legend.Layout.Left = 100 - 'Modify the legend layout left mode - legend.Layout.LeftMode = LayoutModes.factor - 'Modify the legend layout top position - legend.Layout.Top = 100 - 'Modify the legend layout top mode - legend.Layout.TopMode = LayoutModes.factor - 'Modify the legend layout width - legend.Layout.Width = 150 - 'Modify the legend layout width mode - legend.Layout.WidthMode = LayoutModes.factor - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents top-left position in pos record. - - - - - Represents chart legend record. - - - - - Represents chart pos record. - - - - - Attached label layout - - - - - Represents chart text record and sub records. - - - - - Represents legend frame format. - - - - - Show legend without overlapping. Default is True. - - - - - Represents parent chart. - - - - - Represents collection of legend entries. - - - - - Represents Excel 2007 layout data - - - - - Represents the TextArea Paragraph - - - - - Represents the legend text properties stream - - - - - Represents the default ChartTextArea settings - - - - - Represents the default ChartTextArea settings - - - - - Creates new instance. - - Current application. - Parent object. - - - - Finds all parent objects. - - - - - Parsing current object. - - Records offset. - Position in offset. - - - - Serialize current object. - - Represents record to serialize - - - - Saves single record into list of biff records. - - OffsetArrayList that will receive necessary records. - Record to serialize. - - - - Clones current object. - - Parent object. - Array with new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Clears the chart legend. - - - - - Deletes the chart legend. - - - - - Sets to default position - - - - - Sets legend to custom position. - - - - - Represents chart frame format. - - - - - Return text area of legend. - - - - - Show legend without overlapping. Default is True. - - - - - X-position of upper-left corner. 1/4000 of chart plot. - - - - - Y-position of upper-left corner. 1/4000 of chart plot. - - - - - Type: - 0 = bottom - 1 = corner - 2 = top - 3 = right - 4 = left - 7 = not docked or inside the plot area - - - - - True if vertical legend (a single column of entries); - False if horizontal legend (multiple columns of entries). - Manual-sized legends always have this bit set to False. - - - - - Represents legend entries collection. Read-only. - - - - - Represents the Default ChartTextArea Settings - - - - - Gets or Sets the value indicating whether the ChartTextArea settings are applied from the chart default text settings. - - - - - X-size. - - - - - Y-size. - - - - - True if chart contains data table. - - - - - Spacing: - 0 = close - 1 = medium - 2 = open - - - - - Automatic positioning (True if legend is docked). - - - - - Automatic series distribution (True in Microsoft Excel 5.0). - - - - - X positioning is automatic. - - - - - Y positioning is automatic. - - - - - Gets / sets Excel 2007 layout data - - - - - Represents the Legend Paragraph - - - - - Return attached label layout record. Read-only - - - - - Returns legend record. Read-only. - - - - - Returns position record. Read-only. - - - - - Class used for setting chart elements layout manually - - - - - Represents the manual layout of the chart element. - - - - - Specifies whether to layout only the plot area - - - - - Specifies how to interpret the Left element for this manual layout - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies how to interpret the Top element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies the x location (left) of the chart element as a fraction of the width of the chart. - If Left Mode is Factor, then the position is relative to the default position for the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies the top of the chart element as a fraction of the height of the chart. - If Top Mode is Factor, then the position is relative to the default position for the chart element. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies how to interpret the Width element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies how to interpret the Height element for this manual layout. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element - as a fraction of the width of the chart. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart - element as a fraction of the height of the chart. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get the chart from the first slide - IOfficeChart chart = presentation.Slides[0].Charts[0] as IOfficeChart; - //Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top; - //Get the legend layout - IOfficeChartLayout layout = chart.Legend.Layout; - //Get the manual layout - IOfficeChartManualLayout manualLayout = layout.ManualLayout; - //Modify the manual layout left position - manualLayout.Left = 100; - //Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor; - //Modify the manual layout top position - manualLayout.Top = 100; - //Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor; - //Modify the manual layout height - manualLayout.Height = 120; - //Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor; - //Modify the manual layout width - manualLayout.Width = 100; - //Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Open a presentation - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Get the chart from the first slide - Dim chart As IOfficeChart = TryCast(presentation__1.Slides(0).Charts(0), IOfficeChart) - 'Set the legend position - chart.Legend.Position = OfficeLegendPosition.Top - 'Get the legend layout - Dim layout As IOfficeChartLayout = chart.Legend.Layout - 'Get the manual layout - Dim manualLayout As IOfficeChartManualLayout = layout.ManualLayout - 'Modify the manual layout left position - manualLayout.Left = 100 - 'Modify the manual layout left mode - manualLayout.LeftMode = LayoutModes.factor - 'Modify the manual layout top position - manualLayout.Top = 100 - 'Modify the manual layout top mode - manualLayout.TopMode = LayoutModes.factor - 'Modify the manual layout height - manualLayout.Height = 120 - 'Modify the manual layout height mode - manualLayout.HeightMode = LayoutModes.factor - 'Modify the manual layout width - manualLayout.Width = 100 - 'Modify the manual layout width mode - manualLayout.WidthMode = LayoutModes.edge - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Parent chart. - - - - /// - Parent object - - - - - byte value used as flag and boolean property for the values - - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates whether we should set defaults for fill and border properties. - - - - Creates chart and sets its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - Indicates is auto size. - Indicates is interior is gray. - Indicates whether we should set defaults for fill and border properties. - - - - Creates and parses current object. - - Application object for the chart. - Parent object for the chart. - Records storage. - Position in storage. - - - - Searches for all necessary parent objects. - - - - - Set variable to the default state. - - Indicates whether MS Excel should calculate size of the frame. - Indicates is default interior is gray. - - - - Return the parent object. Read-only. - - - - - Gets or sets the layout target - - - - - Gets or sets the left mode (x) value - - - - - Gets or sets the top mode (y) value - - - - - Gets or sets the left (x) value - - - - - Gets or sets the top (y) value - - - - - Gets or sets the dx value - - - - - Gets or sets the dy value - - - - - Gets or sets the Width mode - - - - - Gets or sets the Height mode - - - - - Gets or sets the Width - - - - - Gets or sets the Height - - - - - Gets or sets the xTL value - - - - - Gets or sets the yTL value - - - - - Gets or sets the xBR value - - - - - Gets or sets the yBR value - - - - - Returns the flag options for this class. - - - - - Class allows users to configure Print setting of chart. - - - - - Summary description for PageSetupBaseImpl. - - - - - Base interface for all page setups. - - - - - Indicates whether FirstPageNumber is set to Auto or not. - - - - - True if elements of the document will be printed in black and white. - Read / write Boolean. - - - - - Returns or sets the size of the bottom margin, in inches. - Read / write Double. - - - - - Returns or sets the center part of the footer. Read / write String. - - - - - Gets / set image for center part of the footer. - - - - - Gets / set image for center part of the header. - - - - - Returns or sets the center part of the header. Read / write String. - - - - - True if the sheet is centered horizontally on the page when it is - printed. Read / write Boolean. - - - - - True if the sheet is centered vertically on the page when it is - printed. Read / write Boolean. - - - - - Number of copies to print. - - - - - True if the sheet will be printed without graphics. - Read / write Boolean. - - - - - Returns or sets the first page number that will be used when - this sheet is printed. If xlAutomatic, Microsoft Excel chooses the - first page number. The default is xlAutomatic. Read / write Long. - - - - - Returns or sets the distance from the bottom of the page to the footer, - in inches. Read / write Double. - - - - - Returns or sets the distance from the top of the page to the header, - in inches. Read / write Double. - - - - - Returns or sets the left part of the footer. Read / write String. - &L Left aligns the characters that follow. - &C Centers the characters that follow. - &R Right aligns the characters that follow. - &E Turns double-underline printing on or off. - &X Turns superscript printing on or off. - &Y Turns subscript printing on or off. - &B Turns bold printing on or off. - &I Turns italic printing on or off. - &U Turns underline printing on or off. - &S Turns strikethrough printing on or off. - &D Prints the current date. - &T Prints the current time. - &F Prints the name of the document. - &A Prints the name of the workbook tab. - &P Prints the page number. - &P+number Prints the page number plus the specified number. - &P-number Prints the page number minus the specified number. - && Prints a single ampersand. - & "fontname" Prints the characters that follow in the specified font. Be sure to include the double quotation marks. - &nn Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points. - &N Prints the total number of pages in the document. - - - - - Gets / set image for left part of the footer. - - - - - Gets / set image for left part of the header. - - - - - Returns or sets the left part of the header. Read / write String. - - - - - Returns or sets the size of the left margin, in inches. - Read / write Double. - - - - - Returns or sets the order that Microsoft Excel uses to number - pages when printing a large worksheet. Read / write OfficeOrder. - - - - - Portrait or landscape printing mode. Read / write OfficePageOrientation. - - - - - Returns or sets the size of the paper. Read / write OfficePaperSize. - - - - - Returns or sets the way comments are printed with the sheet. - Read / write OfficePrintLocation. - - - - - Sets or returns an OfficePrintErrors constant specifying the type of - print error displayed. This feature allows users to suppress the - display of error values when printing a worksheet. Read / write. - - - - - True if cell notes are printed as end notes with the sheet. Applies - only to worksheets. Read / write Boolean. - - - - - Returns or sets the print quality in the dpi. Read / write ushort. - - - - - Returns or sets the right part of the footer. Read / write String. - - - - - Gets / set image for right part of the footer. - - - - - Gets / set image for right part of the header. - - - - - Returns or sets the right part of the header. Read / write String. - - - - - Returns or sets the size of the right margin, in inches. - Read / write Double. - - - - - Returns or sets the size of the top margin, in inches. - Read / write Double. - - - - - Returns or sets a percentage (between 10 and 400 percent) by which - Microsoft Excel will scale the worksheet for printing. Applies only - to worksheets. Read / write ushort. - - - - - Gets / sets the header and footer margins are aligned with page margins. - - - - - Gets / sets the header and footer of the first page is different with other pages. - - - - - Gets / sets the header and footer odd pages are differed with even page. - - - - - Gets / sets the header and footer are scaled with document scaling. - - - - - Gets / sets background image. - - - - - Summary description for IBiffStorage. - - - - - Size of the required storage space. Read-only. - - - - - Returns type code of the biff storage. Read-only. - - - - - Returns code of the biff storage. Read-only. - - - - - Indicates whether data array is required by this record. - - - - - Indicates record position in stream. This is a utility member of class and - is used only in the serialization process. Does not influence the data. - - - - - Value of the top margin by default. - - - - - Value of the bottom margin by default. - - - - - Value of the left margin by default. - - - - - Value of the right margin by default. - - - - - Name of the shape with header image. - - - - - Name of the shape with header image. - - - - - Whether to center between horizontal margins. - - - - - Whether to center between vertical margins. - - - - - Unknown record. This record contains additional information about - system printer. If such record is found, it is stored, otherwise we is skipped. - - - - - Stores print setup options. - - - - - This record contains information about worksheet bottom margin. - - - - - This record contains information about worksheet left margin. - - - - - This record contains information about worksheet right margin. - - - - - This record contains information about worksheet top margin. - - - - - Array of headers: 0 - left header, 1 - center header, 2 - right header. - - - - - Array of footers: 0 - left footer, 1 - center footer, 2 - right footer. - - - - - Parent sheet. - - - - - Contains background image. - - - - - Indicates whether page setup is in FitTo printing mode. - - - - - Dictionary which stores Max paper width - - - - - Dictionary which stores Max paper height - - - - - Stores print setup options. - - - - - Value of the header string limit - - - - - Value of the footer string limit - - - - - Fills the dictionaries with paper width size and height size - - - - - - Sets application and parent fields. - - Application object for the page setup. - Parent object for the page setup. - - - - Find parent Worksheet. - - - Can't find parent worksheet. - - - - - This function splits header or footer into three parts left, center, and right. - - - Header (footer) string that will be split into - parts: left, center, right. - - Array of split strings. - - - - Function combines header or footer strings array to one format string. - - Array which must contain only 3 elements. - Combined format string. - - When parameter is null. - - - When number of strings in parts is not 3. - - - - - Adds all records to OffsetArrayList. - - OffsetArrayList which will get all records. - - When at least one of the internal records is null. - - - - - Serializes some records before main page setup block. - - OffsetArrayList to serialize into. - - - - Serializes some records after main page setup block. - - OffsetArrayList to serialize into. - - - - Parses page setup. - - Array with biff records. - Starting position. - Position after parsing. - - - - Parses record. - - Record to parse. - True if record was successfully parsed, false otherwise. - - - - Returns record of the specified type from the array of Biff - records and sets its position after the returned record. - - Array of Biff records. - Starting from this position, record must be searched. - Type of the needed record. - Biff record if it was found, null otherwise. - - - - Returns current record from the Biff records array and updates its position by 1. - - Array of Biff records. - - Position of the record in the array that will be returned. - - Current record from array. - - - - Returns record of the specified type from the array of Biff - records and sets its position after the returned record. - - Array of Biff records. - Starting from this position, record must be searched. - Type of the needed record. - Biff record if it was found, null otherwise. - - - - Serializes margin. - - OffsetArrayList to serialize into. - Margin's code. - Margin value. - Default margin value. - - - - This method is called after changes to the page setup. - Sets Saved property of the parent workbook to the False state. - - - - - Size of the required storage space. Read-only. - - - - - Indicates whether fit to page mode is selected. - - - - - Returns or sets the height of the pages that the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read/write Boolean. - - - - - Returns or sets the width of the pages the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read/write Boolean. - - - - - True if paper size, scaling factor, paper orientation (portrait / landscape), - print resolution, and number of copies are not initialized. - - - - - Indicates whether FirstPageNumber is set to Auto or not. - - - - - True if elements of the document will be printed in black and white. - Read/write Boolean. - - - - - Returns or sets the size of the bottom margin, in inches. - Read / write Double. - - - - - Returns or sets the center part of the footer. Read / write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - Gets / set image for center part of the footer. - - - - - Gets / set image for center part of the header. - - - - - Returns or sets the center part of the header. Read/write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - True if the sheet is centered horizontally on the page when it is - printed. Read/write Boolean. - - - - - True if the sheet is centered vertically on the page when it is - printed. Read/write Boolean. - - - - - Number of copies to print. - - - - - True if the sheet will be printed without graphics. - Read/write Boolean. - - - - - Returns or sets the first page number that will be used when - this sheet is printed. - - - - - Returns or sets the distance from the bottom of the page to the footer, - in inches. Read/write Double. - - - - - Returns or sets the distance from the top of the page to the header, - in inches. Read/write Double. - - - - - Returns or sets the left part of the footer. Read/write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localized style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - Returns or sets the left part of the header. Read/write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - Gets / set image for left part of the footer. - - - - - Gets / set image for left part of the header. - - - - - Returns or sets the size of the left margin, in inches. - Read/write Double. - - - - - Returns or sets the order that Microsoft Excel uses to number - pages when printing a large worksheet. Read / write OfficeOrder. - - - - - Portrait or landscape printing mode. Read/write OfficePageOrientation. - - - - - Returns or sets the size of the paper. Read / write OfficePaperSize. - - - - - Returns or sets the way comments are printed with the sheet. - Read/write OfficePrintLocation. - - - - - Sets or returns an OfficePrintErrors constant specifying the type of - print error displayed. This feature allows users to suppress the - display of error values when printing a worksheet. Read/write. - - - - - True if cell notes are printed as end notes with the sheet. Applies - only to worksheets. Read/write Boolean. - - - - - Returns or sets the print quality. Read / write ushort. - - - - - Returns or sets the right part of the footer. Read / write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - Gets / set image for right part of the footer. - - - - - Returns or sets the right part of the header. Read / write String. - Special Formatting symbols: - &P Current page number - &N Page count - &D Current date - &T Current time - &A Sheet name (BIFF5-BIFF8) - &F File name without path - &Z File path without file name (BIFF8X) - &G Picture (BIFF8X) - &B Bold on/off (BIFF2-BIFF4) - &I Italic on/off (BIFF2-BIFF4) - &U Underlining on/off - &E Double underlining on/off (BIFF5-BIFF8) - &S Strikeout on/off - &X Superscript on/off (BIFF5-BIFF8) - &Y Subscript on/off (BIFF5-BIFF8) - &"[FONTNAME]" Set new font [FONTNAME] - &"[FONTNAME],[FONTSTYLE]" Set new font with specified style [FONTSTYLE]. - The style [fontstyle] is in most cases one of Regular, Bold, Italic, - or Bold Italic. But this setting is dependent on the used font, it may - differ (localised style names, or Standard, Oblique, ...). (BIFF5-BIFF8) - &[FONTHEIGHT] Set font height in points ([FONTHEIGHT] is a decimal value). - If this command is followed by a plain number to be printed in the header, - it will be separated from the font height with a space character. - - - - - Gets / set image for right part of the header. - - - - - Returns or sets the size of the right margin, in inches. - Read/write Double. - - - - - Returns or sets the size of the top margin, in points. - Read/write Double. - - - - - Returns or sets a percentage (between 10 and 400 percent) by which - Microsoft Excel will scale the worksheet for printing. Applies only - to worksheets. Read/write ushort. - - - - - Gets / sets background image. - - - - - Returns page width in points. Read-only. - - - - - Returns page width in points. Read-only. - - - - - Gets / sets horizontal resolution in dpi. - - - - - Gets / sets vertical resolution in dpi. - - - - - Represents full header string. Read/write. - - - - - Gets footer full string. Read/write. - - - - - Indicates whether the header and footer margins are aligned with page margins. Read/Write Boolean. - - - - - True - The header / footer of the first page is different with other pages.Otherwise False. - - - - - True - The header/footer odd pages are differed with even page. Otherwise False. - - - - - Indicates whether the header and footer are scaled with document scaling.Read/Write Boolean. - - - - - Returns type code of the biff storage. Read-only. - - - - - Returns code of the biff storage. Read-only. - - - - - Indicates whether data array is required by this record. - - - - - Indicates record position in stream. This is a utility member of class and - is used only in the serialization process. Does not influence the data. - - - - - Set indexes as constants. - - - - - Left part of header or footer formatting. - - - - - Center part of header or footer formatting. - - - - - Right part of header or footer formatting. - - - - - This class contains size of the paper. - - - - - Paper width in points. - - - - - Paper height in points. - - - - - Default constructor. To prevent creation without arguments. - - - - - Initializes new instance of paper size entry. - - Paper width. - Paper height. - Units in which width and height are set. - - - - Represents the page setup description. The PageSetup object - contains all page setup attributes (left margin, bottom margin, - paper size, and so on) as properties. - - - - - Returns or sets the number of pages tall the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write Boolean. - - - - - Returns or sets the number of pages wide the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write Boolean. - - - - - Informs how chart should be printed. - - - - - Sets application and parent fields. - - Application object for the page setup. - Parent object for the page setup. - - - - Recovers page setup from the stream and sets its application and parent fields. - The current record in the stream must be the PrintHeadersRecord. - - Application object for the page setup. - Parent object for the page setup. - BiffReader that contains page setup records. - - - - Recovers Page setup from the Biff Records array starting from position. - - Application object for the page setup. - Parent object for the page setup. - Array of Biff Records that contains all needed records. - Position of PrintHeadersRecord in the array. - - - - Recovers Page setup from the Biff Records list starting from position. - - Application object for the page setup. - Parent object for the page setup. - List which contains Biff Records. - Position of PrintHeadersRecord in the array. - - - - Parses record. - - Record to parse. - True if record was successfully parsed, false otherwise. - - - - Recovers page setup from the stream, first record must be PrintHeadersRecord. - - Stream that contains all needed records. - - - - Serializes some records after main page setup block. - - OffsetArrayList to serialize into. - - - - Clone current Record. - - Parent object for create new instance. - Returns clone of current object. - - - - Returns or sets the number of pages tall the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write Boolean. - - - - - Returns or sets the number of pages wide the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write Boolean. - - - - - Represents ChartParentAxis record and subrecords. - - - - - Represents chartAxisParent record. - - - - - Represents chart pos record. - - - - - Represents chart category axis. - - - - - Represents Chart value axis. - - - - - Represents Chart series axis. - - - - - Represents parent chart. - - - - - Represents formats coll. - - - - - Creates new instance of chart parent axis. - - Application object. - Parent object. - - - - Creates new instance of chart parent axis. - - Application object. - Parent object. - If true - creates primary axis; otherwise - secondary. - - - - Finds all parent objects. - - - - - Parses parent axis impl. - - Record storage. - Position in storage. - - - - Parsers category, value, series axis. - - Records storage. - Position in storage. - - - - Parses chart text. - - Record storage. - Position in storage. - - - - Parses chart format. - - Record storage. - Position in storage. - - - - Serialize current object. - - Record storage to serialize. - - - - Creates global format collection. - - - - - Using for creating secondary axis in Series type change. - - Value indicating whether to create new axis. - - - - Clones current object. - - Parent object. - Dictionary with new font indexes. - Dictionary with new sheet names. - Returns cloned object. - - - - Clears all walls, floor, gridLines. - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Represents chartAxisParent record. - - - - - Returns collection that contain chart format. Read-only. - - - - - If true this axis is primary axis; otherwise false. Read-only. - - - - - Gets or sets ChartCategoryAxis. - - - - - Gets or sets the value axis. - - - - - Gets or sets series axis. - - - - - Returns parent chart. Read-only. - - - - - Represents formats collection. Read-only. - - - - - Represents chart plot area object. - - - - - Represents chart plot area record. - - - - - Represents Excel 2007 layout data - - - - - Creates new instance. - - Represents current application - Represents parent object. - - - - Creates new instance. - - Represents current application - Represents parent object. - Represents chart type. - - - - Parses new instance from stg stream. - - Represents current application - Represents parent object. - Represents record storage. - Represents position in storage. - - - - Parses from stg stream. - - Record storage. - Represents position in storage. - - - - Serialize current records to stg stream. - - Represents list of records to serialize into. - - - - Gets or sets Excel 2007 layout data - - - - - Return attached label layout plot area record. Read-only - - - - - Represents rich text string in the workbook. - - - - - Represents a Rich Text String that can be used to apply several styles inside a single cell. - - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Gets font for the specified formatting run. - - Formatting run to return its font - - - - Returns the entire text value - - - - - Gets the formatting runs of rich-text - - - - - Low level text object. - - - - - Parent workbook. - - - - - Indicates whether string is read-only. - - - - - Represents the parent object - - - - - Represents the chart text area - - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - Indicates whether to create inner TextWithFormat. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Text to wrap. - - - - Searches for all necessary parent objects. - - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Gets font for the specified formatting run. - - Formatting run to return its font - - - - Adds font to all required collections.. - - Font to add. - Font index in the collection. - - - - Gets the formatting runs of rich-text - - - - - Gets or sets the chart text area - - - - - Gets the text - - - - - Returns parent object. Read-only. - - - - - Returns parent application object. Read-only. - - - - - ChartSerieDataFormatImpl class. - - - - - Summary description for IOfficeChartSerieDataFormat. - - - - - Gets the object, that represents area of the series. Read-only. - - - - - Gets or sets type that represents base of the shape. - - - - - Gets or sets type that represents top of the shape. - - - - - Get or set Background color: RGB value (high byte = 0) to the marker. - - - - - Gets or sets Foreground color: RGB value (high byte = 0) to the marker. - - - - - Gets or sets type of the marker. - - - - - Gets or sets the marker foreground color as an index into the current color palette. - - - - - Get or sets the marker background color as an index into the current color palette. - - - - - Gets or sets the data-marker size, in points. - - - - - Gets or set a value that indicates whether the marker has auto or custom. - - Trueif marker has auto.Otherwise False. - - - - Gets or sets a value that represents Distance of pie slice from center of pie. - - This property is only for pie chart. - - - - Gets or sets a value that indicates whether to draw bubbles with 3D effects. - - Trueto draw bubbles with 3D effects.Otherwise False. - - - - Gets the object, that represents common formatting settings of the series. Read-only. - - - - - Gets or sets a value that Indicates whether marker is supported by this chart/series. - - Trueif supported.Otherwise False - - - - Represents None color index. - - - - - Represents marker size mull prefix. - - - - - Represents start color. - - - - - Represents start pie type. - - - - - Represents start doughnut type. - - - - - Represents start surface type. - - - - - Represents start line type. - - - - - Represents start scatter type. - - - - - Represents default line size in marker record. - - - - - Represents default line size in marker record. - - - - - Represents default line color. - - - - - Represents default index for marker record. - - - - - Represents default color in marker record. - - - - - Represents types of chart that support data format properties. - - - - - Main series data format record. - - - - - 3-D data format. - - - - - Pie format. - - - - - Represents the 3D features - - - - - Represents the Chart Shadow - - - - - Marker format. - - - - - Attached label. - - - - - Represents the beginning of a collection of records - - - - - Represents the shape formatting properties for chart elements - - - - - Represents the end of a collection of records - - - - - Attached label layout - - - - - Series format. - - - - - Represents default data point. - - - - - Parent series. - - - - - Parent chart format. - - - - - Parent chart. - - - - - Represents border. - - - - - Represents chart area properties. - - - - - Represents if DataFormat is Formatted. - - - - - Represents fill properties. - - - - - Object that holds marker background color. - - - - - Object that holds marker foreground color. - - - - - Preserved marker gradient data. - - - - - Represents whether the marker properties exists or not - - - - - Represents whether the data point is parsed or not - - - - - Represents whether the MarkerColor is changed or not - - - - - Creates series and set its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Initializes marker color variables. - - - - - Searches for all necessary parents. - - - - - Parses data format. - - Array with data format records. - Position of the first data format record. - Position after the last data format record. - - - - Serializes data format. - - Represents record list to serialize into. - - - - Sets default values. - - - - - Sets 3D data format to the default state. - - - - - Sets format fields to Null. - - - - - Clone current instance. - - Parent object. - Return cloned object. - - - - Updates Series index. - - - - - Updates data format in data points. - - - - - Changes data format to create radar chart. - - Type to change. - - - - Changes data format to create scatter chart. - - Type to change. - - - - Changes data format to create line chart. - - Type to change. - - - - Updates bar column properties in series and chartformat points. - - If true updates data format top property; otherwise data format base. - - - - Updates line color for line, radar, skater Series data format. - - Returns updated color index or -1. - - - - Updates color for line, markers and series. - - Represents series to update color. - Represents data point to update color. - Returns updated color index. - - - - Updates series formats for chartformat object. - - - - - Checks for default record. - - Record to check. - Returns true if not equal; otherwise false. - - - - Clears sub data formats on property change. - - - - - Validate marker properties. - - If true than marker properties valid for this chart type; otherwise false. - - - - Indicates whether interior object is supported. Read-only. - - Chart type to check whether interior object is supported. - Value indicating whether interior object is supported. - - - - Indicates whether border object is supported. Read-only. - - Chart type to check whether border is supported. - Vale indicating whether border is supported. - - - - Event handler for marker foreground color change. - - - - - Event handler for marker background color change. - - - - - Gets or sets the value indicating whether line properties are created. - - - - - Gets a value indicating whether this instance has shadow properties. - - - true if this instance has shadow properties; otherwise, false. - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - Gets or sets the value indicating whether interior object was created. - - - - - Returns object, that represents line properties. Read-only. - - - - - Returns object, that represents area properties. Read-only. - - - - - Represents the base data format. - - - - - Represents the top data format. - - - - - Foreground color: RGB value (high byte = 0). - - - - - Background color: RGB value (high byte = 0). - - - - - Type of marker. - - - - - Index to color of marker border. - - - - - Index to color of marker fill. - - - - - Size of markers. - - - - - Automatic color. - - - - - True = "background = none". - - - - - True = "foreground = none". - - - - - Distance of pie slice from center of pie. - - - - - True if the line series has a smoothed line. - - - - - True to draw bubbles with 3D effects. - - - - - True if this series has a shadow. - - - - - Gets or Sets the value indicating whether to show label active value. - - - - - Show value as a percent of the total. This bit applies only to pie charts. - - - - - Show category label and value as a percentage (pie charts only). - - - - - Show smoothed line. - - - - - Show category label. - - - - - Show bubble sizes. - - - - - Represents fill options. Read-only. - - - - - Gets value indicating whether chart supports transparency. - - - - - Gets common Series options. Read-only. - - - - - Indicates whether marker is supported by this chart/series. - - - - - Returns object, that represents area properties. Read-only. - - - - - Indicates whether interior object is supported. Read-only. - - - - - Indicates whether border object is supported. Read-only. - - - - - Indicates whether the marker properties exists or not - - - - - Returns parent Series. Read-only. - - - - - Returns data format main record. - - - - - Returns pie format record. Read-only. - - - - - Returns marker format main record. Read-only. - - - - - Returns 3dData format main record. Read-only. - - - - - Returns Series format main record. Read-only. - - - - - Returns attached label record. Read-only. - - - - - Return attached label layout record. Read-only - - - - - If line not null - returns true; otherwise - false. Read-only. - - - - - If marker is not null returns marker format main record otherwise null. Read-only. - - - - - If 3dData not Null returns 3DData format main record; otherwise - returns null. Read-only. - - - - - if SerieFormat not Null returns Series format main record; otherwise - returns null. Read-only. - - - - - Returns pie format or null. Read-only. - - - - - Gets or sets Series number. - - - - - If true - format has marker; otherwise false. Read-only. - - - - - If true - format has line; otherwise false. Read-only. - - - - - If true - format has smoothed line; otherwise false. Read-only. - - - - - Gets Series type. Read-only. - - - - - Indicate if data format is formatted. - - - - - Represents parent chart. Read-only. - - - - - Gets object that holds marker background color. - - - - - Gets object that holds marker foreground color. - - - - - Gets or sets the transparency of the line marker. - - The transparency. - - - - Gets or sets whether the data point is parsed or not. - If parsed, it will be serialized. - - - - - Indicates whether the MarkerColor is changed or not. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents pattern. - - - - - Indicates, if automatic format is used for area. - - - - - Represents visibility. - - - - - This class represents ChartSeries object. - - - - - Represents a series in a chart. - - - - - Creates error bar for the series. - - If true - on Y axis; otherwise on X axis. - Returns error bar object of the series. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Add error bars to series - serieJan.ErrorBar(true); - serieFeb.ErrorBar(false); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Add error bars to series - serieJan.ErrorBar(True) - serieFeb.ErrorBar(False) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Creates error bar for the series. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Return error bar object of the series. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Add error bars to series - serieJan.ErrorBar(true,OfficeErrorBarInclude.Both); - serieFeb.ErrorBar(false,OfficeErrorBarInclude.Minus); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Add error bars to series - serieJan.ErrorBar(True, OfficeErrorBarInclude.Both) - serieFeb.ErrorBar(False, OfficeErrorBarInclude.Minus) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Creates error bar for the series. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Represents error bar type. - Return error bar object. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Add error bars to series - serieJan.ErrorBar(true, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation); - serieFeb.ErrorBar(false, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Add error bars to series - serieJan.ErrorBar(True, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation) - serieFeb.ErrorBar(False, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Creates error bar for the series. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Represents error bar type. - Represents number value. - Return error bar object. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Add error bars to series - serieJan.ErrorBar(true, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation, 12.34); - serieFeb.ErrorBar(false, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError, 25.89); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Add error bars to series - serieJan.ErrorBar(True, OfficeErrorBarInclude.Both, OfficeErrorBarType.StandardDeviation, 12.34) - serieFeb.ErrorBar(False, OfficeErrorBarInclude.Plus, OfficeErrorBarType.StandardError, 25.89) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Creates error bar for the series. - - If true - on Y axis; otherwise on X axis. - Represents plus range. - Represents minus range. - Returns error bar object. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line; - //Set the error bar X for serie - serieJan.HasErrorBarsX = true; - //Set the plus range - serieJan.ErrorBarsX.PlusRange = chart.ChartData[2, 2, 4, 2]; - //Set the minus range - serieJan.ErrorBarsX.MinusRange = chart.ChartData[2, 3, 4, 3]; - //Add Error bar to serie - serieJan.ErrorBar(true, serieJan.ErrorBarsX.PlusRange, serieJan.ErrorBarsX.MinusRange); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Scatter_Line - 'Set the error bar X for serie - serieJan.HasErrorBarsX = True - 'Set the plus range - serieJan.ErrorBarsX.PlusRange = chart.ChartData(2, 2, 4, 2) - 'Set the minus range - serieJan.ErrorBarsX.MinusRange = chart.ChartData(2, 3, 4, 3) - 'Add Error bar to serie - serieJan.ErrorBar(True, serieJan.ErrorBarsX.PlusRange, serieJan.ErrorBarsX.MinusRange) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the value range of the series. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentationDocument As IPresentation = Presentation.Create() - Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentationDocument.Save("Output.pptx") - 'Close the presentation - presentationDocument.Close() - - - - - - Gets or sets a value to specify the series to invert its colors if the value is negative. The default value is true. - - - - IPresentation presentationDocument = Presentation.Create(); - ISlide slide = presentationDocument.Slides.Add(SlideLayoutType.Blank); - //Loads the excel file as stream - Stream excelStream = File.OpenRead("Excel_Template.xlsx"); - //Creates and Appends chart to the paragraph with excel stream as parameter - IPresentationChart chart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", new RectangleF(0, 0, 470, 300)); - foreach (IOfficeChartSerie serie in chart.Series) - { - serie.InvertIfNegative = false; - } - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData[2, 1, 6, 1]; - //Sets chart type and title - chart.ChartType = OfficeChartType.Bar_Clustered; - chart.ChartTitle = "Purchase Details"; - chart.ChartTitleArea.FontName = "Calibri"; - chart.ChartTitleArea.Size = 14; - chart.PrimaryValueAxis.CrossesAt = 1500; - presentationDocument.Save("Output.pptx"); - presentationDocument.Close(); - - - Dim presentationDocument As IPresentation = Presentation.Create() - Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) - 'Loads the excel file as stream - Dim excelStream As Stream = File.OpenRead("Excel_Template.xlsx") - 'Creates and Appends chart to the paragraph with excel stream as parameter - Dim chart As IPresentationChart = slide.Shapes.AddChart(excelStream, 1, "A1:C6", New RectangleF(0, 0, 470, 300)) - For Each serie As IOfficeChartSerie In chart.Series - serie.InvertIfNegative = False - Next - chart.PrimaryCategoryAxis.CategoryLabels = chart.ChartData(2, 1, 6, 1) - 'Sets chart type and title - chart.ChartType = OfficeChartType.Bar_Clustered - chart.ChartTitle = "Purchase Details" - chart.ChartTitleArea.FontName = "Calibri" - chart.ChartTitleArea.Size = 14 - chart.PrimaryValueAxis.CrossesAt = 1500 - presentationDocument.Save("Output.pptx") - presentationDocument.Close() - - - - - - Gets or sets the range of category labels of the series. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the range of category labels - IOfficeDataRange dataRange = chart.Series[0].CategoryLabels; - //Changes the category label of a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - Retrieves the range of category labels - Dim dataRange As IOfficeDataRange = chart.Series(0).CategoryLabels - 'Changes the category label of a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4) - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Gets or sets the range of bubble sizes of the bubble chart. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the range of bubble sizes of the chart - IOfficeDataRange dataRange = chart.Series[0].Bubbles; - //Changes the bubble size in a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - 'Retrieves the range of bubble sizes of the chart - Dim dataRange As IOfficeDataRange = chart.Series(0).Bubbles - 'Changes the bubble size in a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20) - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Gets or sets the name of the series. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar; - //Reset the name of the serie - serieFeb.Name = "February"; - //Get the Serie Format - IOfficeChartSerieDataFormat serieFormat = serieFeb.SerieFormat; - //Set the radar axis labels - serieFormat.CommonSerieOptions.HasRadarAxisLabels = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar - 'Reset the name of the serie - serieFeb.Name = "February" - 'Get the Serie Format - Dim serieFormat As IOfficeChartSerieDataFormat = serieFeb.SerieFormat - 'Set the radar axis labels - serieFormat.CommonSerieOptions.HasRadarAxisLabels = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the Name range of the series. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the name range of the series - IOfficeDataRange dataRange = chart.Series[0].NameRange; - //Sets a new name to the series - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name"); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - 'Retrieves the name range of the series - Dim dataRange As IOfficeDataRange = chart.Series(0).NameRange - 'Sets a new name to the series - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name") - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Gets or Sets a value that Indicates whether to use primary axis for series drawing. - - True if use primary axis.Otherwise False. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the primary axis for the serie - serieMarch.UsePrimaryAxis = true; - //Add the trendline to chart serie - serieJan.TrendLines.Add(); - serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create()///Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the primary axis for the serie - serieMarch.UsePrimaryAxis = True - 'Add the trendline to chart serie - serieJan.TrendLines.Add() - serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the collection of data points of the series. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the series data points - IOfficeChartDataPoints dataPoints = chart.Series[0].DataPoints; - //Get the data point using the index, read only - IOfficeChartDataPoint dataPoint = dataPoints[0]; - //Get the data labels of data point - IOfficeChartDataLabels dataLabels = dataPoint.DataLabels; - //Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center; - //Set the series name - dataLabels.IsSeriesName = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the series data points - Dim dataPoints As IOfficeChartDataPoints = chart.Series(0).DataPoints - 'Get the data point using the index, read only - Dim dataPoint As IOfficeChartDataPoint = dataPoints(0) - 'Get the data labels of data point - Dim dataLabels As IOfficeChartDataLabels = dataPoint.DataLabels - 'Set the position of the data label - dataLabels.Position = OfficeDataLabelPosition.Center - 'Set the series name - dataLabels.IsSeriesName = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the object that represents formatting settings of the series.Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar; - //Reset the name of the serie - serieFeb.Name = "February"; - //Get the Serie Format - IOfficeChartSerieDataFormat serieFormat = serieFeb.SerieFormat; - //Set the radar axis labels - serieFormat.CommonSerieOptions.HasRadarAxisLabels = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Radar - chart.ChartType = OfficeChartType.Radar - 'Reset the name of the serie - serieFeb.Name = "February" - 'Get the Serie Format - Dim serieFormat As IOfficeChartSerieDataFormat = serieFeb.SerieFormat - 'Set the radar axis labels - serieFormat.CommonSerieOptions.HasRadarAxisLabels = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a series type for the series. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the serie type for each serie - serieFeb.SerieType = OfficeChartType.Line; - serieJan.SerieType = OfficeChartType.Area; - serieMarch.SerieType = OfficeChartType.Bar_Clustered; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the serie type for each serie - serieFeb.SerieType = OfficeChartType.Line - serieJan.SerieType = OfficeChartType.Area - serieMarch.SerieType = OfficeChartType.Bar_Clustered - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the object that represents horizontal error bars. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line; - //Set the error Bar Y - serieJan.HasErrorBarsY = true; - //Set the color of error barX border - serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red; - //Set the has cap - serieJan.ErrorBarsY.HasCap = true; - //Set the include - serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line - 'Set the error Bar Y - serieJan.HasErrorBarsY = True - 'Set the color of error barX border - serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red - 'Set the has cap - serieJan.ErrorBarsY.HasCap = True - 'Set the include - serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that Indicates the series contains Y error bars. - - Trueif series contains Y error bars.Otherwise False. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line; - //Set the error Bar Y - serieJan.HasErrorBarsY = true; - //Set the color of error barX border - serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red; - //Set the has cap - serieJan.ErrorBarsY.HasCap = true; - //Set the include - serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line - 'Set the error Bar Y - serieJan.HasErrorBarsY = True - 'Set the color of error barX border - serieJan.ErrorBarsY.Border.LineColor = System.Drawing.Color.Red - 'Set the has cap - serieJan.ErrorBarsY.HasCap = True - 'Set the include - serieJan.ErrorBarsY.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the object that represents vertical error bars. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line; - //Set the error Bar X - serieJan.HasErrorBarsX = true; - //Set the color of error barX border - serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red; - //Set the has cap - serieJan.ErrorBarsX.HasCap = true; - //Set the include - serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line - 'Set the error Bar X - serieJan.HasErrorBarsX = True - 'Set the color of error barX border - serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red - 'Set the has cap - serieJan.ErrorBarsX.HasCap = True - 'Set the include - serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that Indicates the series contains X error bars. - - Trueif series contains X error bars.Otherwise False. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line; - //Set the error Bar X - serieJan.HasErrorBarsX = true; - //Set the color of error barX border - serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red; - //Set the has cap - serieJan.ErrorBarsX.HasCap = true; - //Set the include - serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type as Scatter line - chart.ChartType = OfficeChartType.Scatter_Line - 'Set the error Bar X - serieJan.HasErrorBarsX = True - 'Set the color of error barX border - serieJan.ErrorBarsX.Border.LineColor = System.Drawing.Color.Red - 'Set the has cap - serieJan.ErrorBarsX.HasCap = True - 'Set the include - serieJan.ErrorBarsX.Include = OfficeErrorBarInclude.Minus - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the trend lines collection of the series. Read-only. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the primary axis for the serie - serieMarch.UsePrimaryAxis = true; - //Add the trendline to chart serie - serieJan.TrendLines.Add(); - serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the primary axis for the serie - serieMarch.UsePrimaryAxis = True - 'Add the trendline to chart serie - serieJan.TrendLines.Add() - serieJan.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Returns or sets a value that determines whether the specified chart series is filtered out from the chart. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Filter the serie value - serieJan.IsFiltered = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentation__1 As IPresentation = Presentation.Create() - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Filter the serie value - serieJan.IsFiltered = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - - - - - - - - - - - Index for format that corresponds to all points in the Series. - - - - - Represents default point number for surface chart type. - - - - - Represents default chart group. - - - - - Represents start radar type. - - - - - Represents true as string. - - - - - Represents false as string. - - - - - Values range for the series. - - - - - Category labels for the series. - - - - - Bubble sizes for the series. - - - - - Name of the series. - - - - - Dictionary IndexIdentifier-to-ChartAiRecord - - - - - Index of the chart group this axis belongs to. - - - - - Parent workbook for the series. - - - - - ChartSeries record describing this series. - - - - - Parent chart for the series. - - - - - Parent series collection. - - - - - Index of the series. - - - - - Drawing order of the series. - - - - - Indicates whether series name has default value. - - - - - Data points collection. - - - - - Represents Series type. - - - - - Represents array of number or label records for value range. - - - - - Represents array of number or label records for category range. - - - - - Represents array of number or label records for bubble range. - - - - - Represents array of values for value range. - - - - - Represents array of values for category range. - - - - - Represents array of values for bubble range. - - - - - Represents series name range. - - - - - Represents not default series text for first Series on parsing. - - - - - Represents Y error bar. - - - - - Represents X error bar. - - - - - Represents trend line collection. - - - - - This element specifies the series - to invert its colors if the value is negative. - - - - - Represents the string reference formula - - - - - Represents the number reference formula - - - - - Represents the number reference formula - - - - - Preserve the drop lines - - - - - Reprsent the Filter option - - - - - Reprsent the category filter range - - - - - Reprsent the category value Range - - - - - Specifies the kind of grouping for a column, line or area chart - - - - - Represents chart gapWidth for the first series - - - - - Represents chart overlap for the first series - - - - - Represents whether to serialize gapwidth - - - - - This holds index value of the series values - - - - - This holds Format Code For Num Cache Values - - - - - Represents the stream for preserving the Extents node - - - - - - Represents the stream for preserving the Extents node - - - - - Creates series and set its Application and Parent - properties to specified values. - - Application object for the chart. - Parent object for the chart. - - - - Creates series from the array of BiffRecords. - - Application object for the series. - Parent object for the series. - Array of BiffRecords with series data. - Position of the first series record. - - - - Creates error bar object. - - If true - on Y axis; otherwise on X axis. - Return error bar object. - - - - Creates error bar object. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Return error bar object. - - - - Creates error bar object. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Represents error bar type. - Return error bar object. - - - - Creates error bar object. - - If true - on Y axis; otherwise on X axis. - Represents include type. - Represents error bar type. - Represents number value. - Returns error bar object. - - - - Sets custom error bar type. - - If true - on Y axis; otherwise on X axis. - Represents plus range. - Represents minus range. - Returns error bar object. - - - - Parses series data. - - Array of biff records that contains series data. - Position of the ChartSeries record in the array. - - Specified record is not ChartSeries record - or if next record is not Begin record. - - - - - Parses ChartSeries record. - - Record to parse. - - - - Parses ChartAI record. - - Array of BiffRecords that contains ChartAi record. - Position of the record in the data array. - - When specified record is not ChartAi record. - - - When ChartAI record with the same IndexIdentifier was - already added to the collection. - - - - - Parses ChartSertocrt record. - - Array of BiffRecords that contains necessary record. - - Position of the ChartSertocrt record in the data array. - - - - - Parses series title. - - ChartAi record describing chart title. - Array of BiffRecords that contains necessary records. - Position of the ChartAi record in the data array. - - - - Parses legend entry from biff stream. - - Array of BiffRecords that contains ChartAi record. - Position of the record in the data array. - - - - Parses error bars. - - Represents data holder. - - - - Searches for all needed parent objects. - - - When parents cannot be found. - - - - - Initializes m_hashAI member. - - - - - Initializes all internal collections. - - - - - Sets data format. - - Data format to set. - - - - Return Chart3DDataFormat record for this series. - - Chart3DDataFormat record for this series. - - - - This method is called when the name of the series needs to be changed. - - New name of the series. - - - - Raises ValueRangeChanged event and sets new value to the ValueRange. - - - - - Sets new value to the CategoryRange. - - - - - Sets new value to the BubbleRange. - - - - - Clone current instance. - - Parent object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Cloned series. - - - - Gets worksheet name. - - Address of Range. - Returns name of parent worksheet. - - - - Changes axis. - - If true - to primary; otherwise - to secondary. - - - - Returns new series order. - - If true - to primary; otherwise - to secondary. - A new series order. - - - - Add entered record by si index. - - si index. - Record to add. - - - - Gets array by siIndex. - - Si index. - Returns array by si index. - - - - Gets values of entered directly values. - - Record storage. - Returns just created array of values. - - - - Gets type of Entered directly values. - - Array with entered directly values. - If true - type is Number; otherwise label. - - - - Gets array of records by values. - - If true - values type is number; otherwise - string. - Array list with values. - Returns created array with records. - - - - Updates in entered directly values Series index. - - Array to update. - - - - Detects name. - - Returns detected Series name. - - - - Gets text range value for Series name that supports cell, or row, or column. - - Range to gets text value. - Value representing text range. - - - - Sets default Series name. - - Represents Series name. - - - - Gets Series name range. - - Returns range, that represents Series name range. Can be null. - - - - Detects Series type. - - Extracted series type. - - - - Detects Series type. - - Detected string representationg of the series type. - - - - Detects Series type. - - Extracted series type. - - - - Detects the type of the series when describing record is ChartBar. - - Series format. - Returns series type. - - - - Gets bar start string. - - Format for detect start string. - Returns start string. - - - - Detects the type of the series when describing record is ChartPie. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is ChartArea. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is ChartSurface. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is ChartBoppop. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is ChartRadar. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is Chartline. - - Series format. - Returns series type. - - - - Detects the type of the series when describing record is ChartScatter. - - Series format. - Returns series type. - - - - This method changes series type. - - Series type to change to. - Indicates whether this change happens because of series creation process. - - - - This method changes series type. - - Series type to change to. - Indicates whether this change happens because of series creation process. - - - - Calls before series type changed. - - Type to change. - Indicates whether we are in the process of series creation. - - - - Changes not intimate type. - - Type to change. - - - - Checks is types are intimate. If intimate then change chart type. - - Format to change. - Type to change. - Returns true if changed type. otherwise false. - - - - Changes intimate line series. - - Format to change. - Type to change. - TypeToChange string representation. - - - - Initialize hash table for change intimate line type. - - HashTable to initialize. - - - - Changes series in combination charts. - - Type to change. - - - - Finds intimate format by type. - - Type to find. - Returns found format or null. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Updates formulas after copy operation. - - Record with range info to update. - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - Updated range. - - - - Updates formulas after copy operation. - - Formula token to update. - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - Updated token. - - - - Updates formula token when only part of it was moved. - - Original token. - Source worksheet index. - Rectangle with token range. - Source rectangle. - Destination rectangle. - Token after move operation. - - - - Partially removes token. - - Token to shrink - Sheet index. - Range rectangle. - Source rectangle. - Destination rectangle. - Token after shrink operation. - - - - Updates error bars. - - Represents current error bar. - Represents error bar to update. - - - - Gets common series format. - - Returns common series format. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Serializes series to the OffsetArrayList. - - OffsetArrayList that will receive records. - - When specified OffsetArrayList is NULL. - - - - - Serializes ChartAi records. - - OffsetArrayList that will receive records. - - - - Sets range value into the ChartAi record. - - ChartAi record that will contain specified range. - Range that will be assigned. - ReferenceType that should be written if range is NULL. - - When specified ChartAi record is NULL. - - - - - Fills and serializes ChartSeries record. - - OffsetArrayList that will receive records. - - - - Checks whether number of items inside single series is correct. - - - - - Serializes data labels data. - - List of biff records to serialize into. - - - - Serializes legend entries. - - Record storage. - - - - Serialize series name. - - Represents record storage. - - - - Reparses method. - - - - - Returns range from ChartAi record. - - ChartAi record that contains range. - Parsed range. - - When chartAi is NULL. - - - - - Gets IRange from current ptg. - - Current ptg. - Returns ptg. - - - - This event is raised when ValueRange was changed. - - - - - Name of the series. - - - - - Series Name range for the series. - - - - - - Gets the Name range of the series. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the name range of the series - IOfficeDataRange dataRange = chart.Series[0].NameRange; - //Sets a new name to the series - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name"); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - 'Retrieves the name range of the series - Dim dataRange As IOfficeDataRange = chart.Series(0).NameRange - 'Sets a new name to the series - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, "My serie Name") - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Values range for the series. - - - - - Gets or sets the value range of the series. - - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie - start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie - start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series - start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - Dim presentationDocument As IPresentation = Presentation.Create() - Dim slide As ISlide = presentationDocument.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie - start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie - start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series - start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentationDocument.Save("Output.pptx") - 'Close the presentation - presentationDocument.Close() - - - - - - Category labels for the series. - - - - - Gets or sets the range of category labels of the series. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the range of category labels - IOfficeDataRange dataRange = chart.Series[0].CategoryLabels; - //Changes the category label of a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - Retrieves the range of category labels - Dim dataRange As IOfficeDataRange = chart.Series(0).CategoryLabels - 'Changes the category label of a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 2.4) - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Bubble sizes for the series. - - - - - Gets or sets the range of bubble sizes of the bubble chart. - - - - //Creates a Presentation instance - IPresentation presentation = Presentation.Open("BubbleChart.pptx"); - ISlide slide = presentation.Slides[0]; - IPresentationChart chart = slide.Charts[0]; - //Retrieves the range of bubble sizes of the chart - IOfficeDataRange dataRange = chart.Series[0].Bubbles; - //Changes the bubble size in a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20); - //Saves the presentation - presentation.Save("Output.pptx"); - //Closes the presentation - presentation.Close(); - - - 'Creates a Presentation instance - Dim presentationDocument As IPresentation = Presentation.Open("BubbleChart.pptx") - Dim slide As ISlide = presentationDocument.Slides(0) - Dim chart As IPresentationChart = slide.Charts(0) - 'Retrieves the range of bubble sizes of the chart - Dim dataRange As IOfficeDataRange = chart.Series(0).Bubbles - 'Changes the bubble size in a specific cell within the data range. - dataRange.SetValue(dataRange.FirstRow, dataRange.FirstColumn, 20) - 'Saves the presentation - presentationDocument.Save("Output.pptx") - 'Closes the presentation - presentationDocument.Close() - - - - - - Synonym for Index property. - - - - - Returns data points collection for the chart series. Read-only. - - - - - Returns format of current Series. - - - - - Represents Series type. - - - - - Indicates whether to use primary axis for series drawing. - - - - - Represents value as entered directly. - - - - - Represents category values as entered directly. - - - - - Represents bubble values as entered directly. - - - - - Indicates if the serie has specific column shape - - - - - Represents Y error bars. Read-only. - - - - - Indicates if Series contains Y error bars. - - - - - Represents X error bars. Read-only. - - - - - Indicates if Series contains X error bars. - - - - - Represents Series trend lines collection. Read-only. - - - - - Gets or sets the value that represents the kind of grouping for a column, line or area chart - - - - - Gets or sets the value of chart gapWidth of first series - - - - - Gets or sets the value of chart overlap of first series - - - - - Represents whether to serialize gapwidth - - - - - This holds Format Code For Num Cache Values - - - - - Format of chart category. - - - - - This event is raised when name of the series changes. - - - - - Represents index of the series. - - - - - Represent series is Filter - - - - - Series drawing/settings order.//Number of the series. - - - - - Index of the chart group. - - - - - Returns parent chart. Read-only. - - - - - Indicates whether series has default title. - - - - - Returns number of points in the series. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Represent the filtered category label range - - - - - Represent the Filtered Category value - - - - - Returns series start type. Read-only. - - - - - Represents not default series text for first series. Read-only. - - - - - Gets parent series collection. Read - only. - - - - - Represents parent chart. Read - only. - - - - - Gets parent workbook. Read - only. - - - - - Indicates whether this is pie series. - - - - - Gets series name or formula value (not actual string value). - - - - - Gets or sets a value to specify the series to invert its colors if the value is negative. The default value is true. - - - - - Gets or sets the string reference formula - - - - - Gets or sets the number reference formula - - - - - Gets or sets the number reference formula - - - - - Gets the invertifnegative color. - - - - - Gets or sets the chart's drop lines property as stream. - TODO: Need to add parsing support for drop lines. Should be removed after adding parsing support. - - - - - Class used for Chart Series Axis implementation. - - - - - Represents the chart series Axis. - - - - - Represents the number of categories or series between tick-mark labels. - - - - - Gets or sets the number of categories or series between tick-mark labels. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the number of series between tick-mark labels - chart.PrimarySerieAxis.TickLabelSpacing = 10; - //Sets the number of series between tick marks. - chart.PrimarySerieAxis.TickMarkSpacing = 15; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the number of series between tick-mark labels - chart.PrimarySerieAxis.TickLabelSpacing = 10 - 'Sets the number of series between tick marks. - chart.PrimarySerieAxis.TickMarkSpacing = 15 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the number of categories or series between tick marks. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Set the chart type - chart.ChartType = OfficeChartType.Column_3D; - //Set the number of series between tick-mark labels - chart.PrimarySerieAxis.TickLabelSpacing = 10; - //Sets the number of series between tick marks. - chart.PrimarySerieAxis.TickMarkSpacing = 15; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Set the chart type - chart.ChartType = OfficeChartType.Column_3D - 'Set the number of series between tick-mark labels - chart.PrimarySerieAxis.TickLabelSpacing = 10 - 'Sets the number of series between tick marks. - chart.PrimarySerieAxis.TickMarkSpacing = 15 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Specifies maximum spacing value. - - - - - Catser range record. - - - - - Creates axis object. - - Application object for the axis. - Parent object for the axis. - - - - Creates primary axis of specified type. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - - - Creates axis of specified type and specified IsPrimary value. - - Application object for the axis. - Parent object for the axis. - Type of the new axis. - - True if primary axis should be created; otherwise False. - - - - - Extracts primary axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - - - Extracts axis from the array of BiffRecords. - - Application object for the axis. - Parent object for the axis. - Array of BiffRecords with axis data. - - Position of the first axis record in the data array. - - - True if it is primary axis; otherwise False. - - - - - Parse max cross. - - Represents MaxCross data. - - - - Parses walls or floors. - - Represents record storage. - Represents position in storage. - - - - Parses data. - - Represents record to parse. - Represents records storage. - Represents position in storage. - - - - Serializes axis. - - OffsetArrayList that will receive all records. - - - - Initializes variables. - - - - - Clone current object. - - Parent object. - Dictionary with new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Represents the number of categories or series between tick-mark labels. - - - - - Represents the number of categories or series between tick-mark labels. - - - - - Represents the number of categories or series between tick marks. - - - - - Represents the number of categories or series between tick marks. - - - - - Display categories in reverse order. - - - - - Returns title area. Read-only. - - - - - Represents the point on the axis another axis crosses it. - - - - - ChartSeriesCollection - collection of the chart series. - - - - - Represents the collection of chart series. - - - - - Adds a new series to the collection. - - Returns the Added object to the collection. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Adds a new series to the collection with specified type. - - Type of the new series. - Returns the Added object to the collection. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Adds a new series to the collection with specified series name. - - Name of the new series. - Returns the Added object to the collection. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Adds a new series to the collection with specified series name and type. - - Name of the new series. - Type of the new series. - Returns the Added object to the collection. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Removes object at the specified index from the collection. - - The zero-based index of the serie to remove. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Remove a serie using the index position - chart.Series.RemoveAt(0); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Remove a serie using the index position - chart.Series.RemoveAt(0) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Removes object with specified name from the collection. - - Name of the series to remove. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Remove a specific serie from collection - chart.Series.Remove(serieJan); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Remove a specific serie from collection - chart.Series.Remove(serieJan) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the number of objects in the collection. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the count of the series - int count = chart.Series.Count; - //Set the data range of chart serie � start row, start column, end row, end column - chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; - chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the count of the series - Dim count As Integer = chart.Series.Count - 'Set the data range of chart serie � start row, start column, end row, end column - chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) - chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance at the specified index from the collection. Read-only. - - The zero-based index of the element. - Returns the particular series based on the index. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the count of the series - int count = chart.Series.Count; - //Set the data range of chart serie � start row, start column, end row, end column - chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; - chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the count of the series - Dim count As Integer = chart.Series.Count - 'Set the data range of chart serie � start row, start column, end row, end column - chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) - chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance with the specified name from the collection. Read-only. - - Name of the series - Returns the particular series based on the given name. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add(); - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb",OfficeChartType.Area); - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the count of the series - int count = chart.Series.Count; - //Set the data range of chart serie � start row, start column, end row, end column - chart.Series[0].Values = chart.ChartData[2, 2, 4, 2]; - chart.Series["Feb"].Values = chart.ChartData[2, 3, 4, 3]; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 500, 300) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add() - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb", OfficeChartType.Area) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Get the count of the series - Dim count As Integer = chart.Series.Count - 'Set the data range of chart serie � start row, start column, end row, end column - chart.Series(0).Values = chart.ChartData(2, 2, 4, 2) - chart.Series("Feb").Values = chart.ChartData(2, 3, 4, 3) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Start of the default series name. - - - - - Represents parent chart. - - - - - Represents record storage for serialize error bars and trend lines. Use only for serialize. - - - - - Array that helps to serialize trendlines labels. Use only for serialize. - - - - - Represents summary index for error bars and trends. Use only for serialize. - - - - - Represents trend line index. - - - - - Returns True, when creating the chart serie. - - - - - Creates collection. - - Application object for the collection. - Parent object for the collection. - - - - Defines a new series. - - Returns a Series object. - - - - Defines a new series. Returns a Series object. - - Name of the new series. - Newly created series object. - - - - Defines a new series. Returns a Series object. - - Type of new series. - Newly created series object. - - - - Defines a new series. Returns a Series object. - - Name of the new series. - Type of new series. - Newly created series object. - - - - Removes Series object from the collection. - - Index of the series to remove. - - - - Removes series by name. - - Series name to remove. - - - - Parses ChartSiIndex records. - - Array of records containing ChartSiIndex records. - Position of the first ChartSiIndex record. - - When specified record is not ChartSiIndex record. - - - - - Serializes collection. - - OffsetArrayList that will receive all records. - - When specified OffsetArrayList is NULL. - - - - - Serializes data labels data. - - List of biff records to serialize into. - - - - Adds series to the collection. - - Series that should be added to the collection. - Series that was added. - - - - Performs additional operations before the Clear method. - - - - - Clone current instance. - - Parent object. - Hash table with new Worksheet names. - Dictionary with new font indexes. - Returns cloned instance. - - - - Clone current instance. - - Parent object. - Returns cloned instance. - - - - Gets count of series that has same chart group index. - - Parameter to check. - Returns count of found series. - - - - Gets series that has same chart group index. - - Parameter to check. - Returns list of found series. - - - - Gets count of series with same type in collection. - - Current type. - Returns count of same types. - - - - Gets count of series with same type in collection. - - Current type. - Returns count of same start types. - - - - Sets for default all series in chart. - - - - - Finds order by series type. - - Type to find. - Returns order. - - - - Updates data points for create one of Pyramid, Cylinder, Cone chart types. - - Base format for update. - Top format for update. - - - - Adds record in some collection in some series. - - Collection index. - Record to add. - - - - Returns array of entered records. - - Si record index. - Returns array of entered records. - - - - Gets array by si index. - - Si index. - Returns array of arrays by si index. - - - - Updates series index after remove - - Remove index. - - - - Gets series type by order. - - Current order. - Returns found type. - - - - Clears all series data formats. - - Represents format to update. - - - - Gets the default series name. - - Returns default series name. - - - - Gets the default series name. - - Represents series index in collections. - Returns default series name. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Returns legend offset. - - Represents series index. - Returns legend offset. - - - - Assign trend data label. - - Represents data label. - - - - Clears error bars. - - - - - Puts all series into correct order based on their index. - - Dictionary containing series axis. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Returns a single Name object from a Names collection. - - - - - Returns a single Name object from a Names collection. - - - - - Represents record storage for serialize error bars and trend lines. Use only for serialize. - - - - - Represents summary index for error bars and trends. Use only for serialize. - - - - - Represents record storage for serialize trend labels. Use only for serialize. Read-only. - - - - - Represents count of trends + series count. - - - - - Returns True, when creating the chart serie. - - - - - Represents text area in the chart. - - - - - Text area font. - - - - - Chart text record. - - - - - Parent workbook. - - - - - Text frame. - - - - - Text. - - - - - Object link. - - - - - Data labels record. - - - - - Chart ai record. - - - - - Chart Al Runs record represents the rich text format - - - - - Represents chart position record. - - - - - Attached label layout - - - - - Indicates if current text assign to trend object. - - - - - Represents Excel 2007 layout data - - - - - Represents the TextArea Paragraph - - - - - Indicats whether to show text properties or not - - - - - Indicats whether to show text size properties or not - - - - - Indicats whether to show text bold properties or not - - - - - Represents RTF string. - - - - - Represents Vertical Text Rotation. - - - - - Indicates whether text is parsed or not - - - - - Boolean value indicates whether other elements in chart can overlap this text area. - - - - - Unwraps specified record. - - Record to unwrap. - Unwrapped record. - - - - Creates objects sets its Application and Parent properties to specified values. - - Application object. - Parent object. - - - - Creates objects sets its Application and Parent properties to specified values. - - Application object. - Parent object. - Text link. - - - - Creates objects sets its Application and Parent properties to specified - values and parses object data. - - Application object. - Parent object. - Array with object's records. - Position of the first object's record in the data array. - - - - Searches for all necessary parent objects. - - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - Parses chart text area. - - BiffRecords array to parse. - Starting data position. - Position after parsing. - - - - Parses ChartFontxRecord. - - Record to parse. - - - - Parses single record. - - Record to parse. - Data array with records to parse (used for complex object parsing). - Position in data array after current record. - Position after record parsing. - - - - Saves chart text area into OffsetArrayList. - - - OffsetArrayList that will receive all chart's records. - - - When specified OffsetArrayList is NULL. - - - - - Saves chart text area into OffsetArrayList. - - - OffsetArrayList that will receive all chart's records. - - If true - serialize as legend entry text; otherwise false. - - - When specified OffsetArrayList is NULL. - - - - - Saves fontx record. - - OffsetArrayList that will receive necessary records. - - - - Saves single record into list of biff records. - - OffsetArrayList that will receive necessary records. - Record to serialize. - - - - Creates frame format. - - Newly created frame format. - - - - Initializes frame format. - - - - - Sets internal font according to the font index. - - Font index to set. - - - - Creates data labels object if necessary. - - - - - Clone current record. - - Parent object for create new instance. - Dictionary with new font indexes. - Dictionary with new worksheet names. - Returns clone of current object. - - - - Creates object that is copy of the current instance. - - Parent object for create new instance. - Returns clone of current object. - - - - Updates Series index. - - Index to set. - - - - Updates record for serialize as trend line data label. - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Attaches all necessary events. - - - - - Detaches all events. - - - - - Event handler for color change. - - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Creates rich text string. - - - - - True if the font is bold. Read / write Boolean. - - - - - Returns or sets the primary color of the object. Read / write ExcelKnownColors. - - - - - Gets / sets font color. If there is at least one free color, - define a new color; if not, search for the closest one in - workbook palette. - - - - - True if the font style is italic. Read / write Boolean. - - - - - True if the font is an outline font. Read / write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read / write Boolean. - - - - - Returns or sets the size of the font. Read / write Variant. - - - - - True if the font is struck through with a horizontal line. - Read / write Boolean - - - - - Gets or sets the offset value of superscript and subscript - - - - - True if the font is formatted as subscript. - False by default. Read / write Boolean. - - - - - True if the font is formatted as superscript. False by default. - Read/write Boolean - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read / write OfficeUnderline. - - - - - Returns or sets the font name. Read / write string. - - - - - Gets / sets font vertical alignment. - - - - - Text. - - - - - Gets rich text. - - - - - Return frame format. Read-only. - - - - - Gets object link record. Read-only. - - - - - Text rotation angle. - - - - - Gets value indicating whether TextRotation was changed. Read-only. - - - - - Represents Vertical Text Rotation. - - - - - Returns chart text record. Read-only. - - - - - Gets / sets number format for the text area. - - - - - Gets index to the number format. Read-only. - - - - - Returns ChartAIRecord for the text area (creates it if necessary). Read-only. - - - - - Return ChartAlRunsRecord for the text area (creates if necessary). Read-only. - - - - - Returns true if contain dataLabels otherwise false. Read-only. - - - - - Display mode of the background. - - - - - True if background is set to automatic. - - - - - Indicates if current text assign to trend object. - - - - - Indicates whether color has automatic color. Read-only. - - - - - Gets or sets Excel 2007 layout data - - - - - Returns parent workbook object. - - - - - Gets / Sets the overlay boolean value - - - - - Represents the TextArea Paragraph - - - - - Gets or sets a value indicating whether to show text properties or not - - - - - Gets or sets a value indicating whether to show text size properties or not - - - - - Gets or sets a value indicating whether to show text bold properties or not - - - - - Indicates whether object should be serialized. Read-only. - - - - - Indicates whether text area contains text. - - - - - Gets or sets a value indicating whether this instance is formula. - - - true if this instance is formula; otherwise, false. - - - - - Indicats whether text is parsed or not - - - - - Indicates whether series name is in data labels. - - - - - Indicates whether category name is in data labels. - - - - - Indicates whether value is in data labels. - - - - - Indicates whether percentage is in data labels. - - - - - Indicates whether bubble size is in data labels. - - - - - Indicates whether Leader Lines is in data labels. - - - - - Delimiter. - - - - - Indicates whether legend key is in data labels. - - - - - Represents data labels position. - - - - - Return attached label layout record. Read-only - - - - - Gets or sets the value indicating whether to show category label and value as percentage. - - - - - Returns textarea's color object. Read-only. - - - - - Returns font index. Read-only. - - - - - Returns FontImpl for current font. Read-only. - - - - - Represents Trend Line Collection. - - - - - Interface that represents trend line collection. - - - - - Adds new instance of trend line to collection. - - Returns added trend line object. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Set the trendline color and weight - serieFeb.TrendLines[0].Border.LineWeight = OfficeChartLineWeight.Wide; - serieFeb.TrendLines[0].Border.LineColor = System.Drawing.Color.Blue; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Set the trendline color and weight - serieFeb.TrendLines(0).Border.LineWeight = OfficeChartLineWeight.Wide - serieFeb.TrendLines(0).Border.LineColor = System.Drawing.Color.Blue - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Adds new instance of trend line to collection with specified type of trend line. - - Represents type of trend line. - Returns added trend line object. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Set the trendline color and weight - serieFeb.TrendLines[0].Border.LineWeight = OfficeChartLineWeight.Wide; - serieFeb.TrendLines[0].Border.LineColor = System.Drawing.Color.Blue; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Set the trendline color and weight - serieFeb.TrendLines(0).Border.LineWeight = OfficeChartLineWeight.Wide - serieFeb.TrendLines(0).Border.LineColor = System.Drawing.Color.Blue - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Removes trend line object at the specified index from the collection. - - Represents - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - serieFeb.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Get the count of the trendline - int count = serieFeb.TrendLines.Count; - //Get the trendline instance from collection - IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; - //Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide; - trendline.Border.LineColor = System.Drawing.Color.Blue; - //Remove a trendline object using index - serieFeb.TrendLines.RemoveAt(1); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - serieFeb.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Get the count of the trendline - Dim count As Integer = serieFeb.TrendLines.Count - 'Get the trendline instance from collection - Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) - 'Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide - trendline.Border.LineColor = System.Drawing.Color.Blue - 'Remove a trendline object using index - serieFeb.TrendLines.RemoveAt(1) - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Clears trend line collection. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - serieFeb.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Get the count of the trendline - int count = serieFeb.TrendLines.Count; - //Get the trendline instance from collection - IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; - //Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide; - trendline.Border.LineColor = System.Drawing.Color.Blue; - //Clear the trendlines in serie - serieFeb.TrendLines.Clear(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - serieFeb.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Get the count of the trendline - Dim count As Integer = serieFeb.TrendLines.Count - 'Get the trendline instance from collection - Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) - 'Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide - trendline.Border.LineColor = System.Drawing.Color.Blue - 'Clear the trendlines in serie - serieFeb.TrendLines.Clear() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets a single instance at the specified index from the collection. Read-only. - - The zero-based index of the element. - Returns the particular trend line based on the index. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - serieFeb.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Get the count of the trendline - int count = serieFeb.TrendLines.Count; - //Get the trendline instance from collection - IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; - //Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide; - trendline.Border.LineColor = System.Drawing.Color.Blue; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - serieFeb.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Get the count of the trendline - Dim count As Integer = serieFeb.TrendLines.Count - 'Get the trendline instance from collection - Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) - 'Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide - trendline.Border.LineColor = System.Drawing.Color.Blue - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the number of objects in the collection.Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Specify the chart title - chart.ChartTitle = "Sales Analysis"; - //Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered; - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - serieFeb.TrendLines.Add(); - //Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average); - //Get the count of the trendline - int count = serieFeb.TrendLines.Count; - //Get the trendline instance from collection - IOfficeChartTrendLine trendline = serieFeb.TrendLines[0]; - //Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide; - trendline.Border.LineColor = System.Drawing.Color.Blue; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Specify the chart title - chart.ChartTitle = "Sales Analysis" - 'Specify the chart type - chart.ChartType = OfficeChartType.Column_Clustered - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieFeb As IOfficeChartSerie = chart.Series.Add("Feb") - 'Set the data range of chart serie � start row, start column, end row, end column - serieFeb.Values = chart.ChartData(2, 3, 4, 3) - 'Add trendline to the serie - serieJan.TrendLines.Add() - serieFeb.TrendLines.Add() - 'Add trendline with specific type - serieFeb.TrendLines.Add(OfficeTrendLineType.Moving_Average) - 'Get the count of the trendline - Dim count As Integer = serieFeb.TrendLines.Count - 'Get the trendline instance from collection - Dim trendline As IOfficeChartTrendLine = serieFeb.TrendLines(0) - 'Set the trendline color and weight - trendline.Border.LineWeight = OfficeChartLineWeight.Wide - trendline.Border.LineColor = System.Drawing.Color.Blue - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Represents parent series. - - - - - Creates new instance of collection. - - Represents current application. - Represents parent object. - - - - Adds new instance of trend line to collection. - - Returns added trend line object. - - - - Adds new instance of trend line to collection. - - Represents type of trend line. - Returns added trend line object. - - - - Removes trend line object from collection. - - Represents - - - - Serialize all trend lines. - - Represents record holder. - - - - Checks if current trend line supported negative values. - - Represents trend line types. - - - - Adds trend object to trends collection. - - Represents trend object to add. - - - - Checks series type. If current type does not support trendlines throw exception. - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Clones current object. - - Represents parent object for new cloned instance. - Represents new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Gets single trend line by index. Read-only - - - - - Indicates whether object was parsed. - - - - - Represents chart trend line. - - - - - Represents a trend line in a chart. - - - - - Clears the formatting of the trend line. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial; - //Set the intercept of trendline - trendline.Intercept = 0.8; - //Set the name for trendline - trendline.Name = "Trendline"; - //Set the order - trendline.Order = 3; - //Clear the trendline formats - trendline.ClearFormats(); - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial - 'Set the intercept of trendline - trendline.Intercept = 0.8 - 'Set the name for trendline - trendline.Name = "Trendline" - 'Set the order - trendline.Order = 3 - 'Clear the trendline formats - trendline.ClearFormats() - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the border of the trend line. Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the line color of border - trendline.Border.LineColor = System.Drawing.Color.Green; - //Set the line weight - trendline.Border.LineWeight = OfficeChartLineWeight.Medium; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the line color of border - trendline.Border.LineColor = System.Drawing.Color.Green - 'Set the line weight - trendline.Border.LineWeight = OfficeChartLineWeight.Medium - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the number of periods (or units on a scatter chart) that the trend line extends backward. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the backward - trendline.Backward = 0.3; - //Set the line color of border - trendline.Border.LineColor = System.Drawing.Color.Green; - //Set the line weight - trendline.Border.LineWeight = OfficeChartLineWeight.Medium; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the backward - trendline.Backward = 0.3 - 'Set the line color of border - trendline.Border.LineColor = System.Drawing.Color.Green - 'Set the line weight - trendline.Border.LineWeight = OfficeChartLineWeight.Medium - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the number of periods (or units on a scatter chart) that the trend line extends forward. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the intercept as auto - trendline.InterceptIsAuto = true; - //Set the name as auto - trendline.NameIsAuto = true; - //Set the forward - trendline.Forward = 0.3; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the intercept as auto - trendline.InterceptIsAuto = True - 'Set the name as auto - trendline.NameIsAuto = True - 'Set the forward - trendline.Forward = 0.3 - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that indicates whether the equation for the trend line is displayed on the chart or not. - - Trueif the equation for the trend line is displayed on the chart.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the display equation - trendline.DisplayEquation = true; - //Set the display RSSquared - trendline.DisplayRSquared = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the display equation - trendline.DisplayEquation = True - 'Set the display RSSquared - trendline.DisplayRSquared = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets of sets a value that indicates whether the R-squared value of the trend line is displayed on the chart or not. - - Trueif the R-squared value of the trend line is displayed on the chart.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the display equation - trendline.DisplayEquation = true; - //Set the display RSSquared - trendline.DisplayRSquared = true; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the display equation - trendline.DisplayEquation = True - 'Set the display RSSquared - trendline.DisplayRSquared = True - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the point where the trend line crosses the value axis. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial; - //Set the intercept of trendline - trendline.Intercept = 0.8; - //Set the name for trendline - trendline.Name = "Trendline"; - //Set the order - trendline.Order = 3; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial - 'Set the intercept of trendline - trendline.Intercept = 0.8 - 'Set the name for trendline - trendline.Name = "Trendline" - 'Set the order - trendline.Order = 3 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the value that indicates whether the point where the trend line crosses the value - axis is automatically determined by the regression. - - Trueif the point where the trend line crosses the value axis.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the intercept as auto - trendline.InterceptIsAuto = true; - //Set the name as auto - trendline.NameIsAuto = true; - //Set the forward - trendline.Forward = 0.3; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance///Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the intercept as auto - trendline.InterceptIsAuto = True - 'Set the name as auto - trendline.NameIsAuto = True - 'Set the forward - trendline.Forward = 0.3 - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Returns or sets the trend line type - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the intercept as auto - trendline.InterceptIsAuto = true; - //Set the name as auto - trendline.NameIsAuto = true; - //Set the forward - trendline.Forward = 0.3; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the intercept as auto - trendline.InterceptIsAuto = True - 'Set the name as auto - trendline.NameIsAuto = True - 'Set the forward - trendline.Forward = 0.3 - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets the trend line order (an integer greater than 1) when the trend line type is Polynomial. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial; - //Set the intercept of trendline - trendline.Intercept = 0.8; - //Set the name for trendline - trendline.Name = "Trendline"; - //Set the order - trendline.Order = 3; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial - 'Set the intercept of trendline - trendline.Intercept = 0.8 - 'Set the name for trendline - trendline.Name = "Trendline" - 'Set the order - trendline.Order = 3 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets a value that Indicates whether the name of the trend line is determined automatically or not. - - Trueif Essential presentation automatically determines the name of the trendline.Otherwise False. - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the intercept as auto - trendline.InterceptIsAuto = true; - //Set the name as auto - trendline.NameIsAuto = true; - //Set the forward - trendline.Forward = 0.3; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the intercept as auto - trendline.InterceptIsAuto = True - 'Set the name as auto - trendline.NameIsAuto = True - 'Set the forward - trendline.Forward = 0.3 - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Logarithmic - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets or sets name of the trend line. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial; - //Set the intercept of trendline - trendline.Intercept = 0.8; - //Set the name for trendline - trendline.Name = "Trendline"; - //Set the order - trendline.Order = 3; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the type of trendline - trendline.Type = OfficeTrendLineType.Polynomial - 'Set the intercept of trendline - trendline.Intercept = 0.8 - 'Set the name for trendline - trendline.Name = "Trendline" - 'Set the order - trendline.Order = 3 - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the data label that is associated with the trendline.Read-only. - - - - //Create a presentation instance - IPresentation presentation = Presentation.Create(); - //Add a blank slide to the presentation - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 700, 500); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered; - //Add trendline to the serie - serieJan.TrendLines.Add(); - //Get the trendline of serie - IOfficeChartTrendLine trendline = serieJan.TrendLines[0]; - //Set the bold font style for data label - trendline.DataLabel.Bold = true; - //Set the color of data label - trendline.DataLabel.Color = OfficeKnownColors.Red; - //Set the font name - trendline.DataLabel.FontName = "Helvetica"; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - 'Create a presentation instance - Dim presentation__1 As IPresentation = Presentation.Create() - 'Add a blank slide to the presentation - Dim slide As ISlide = presentation__1.Slides.Add(SlideLayoutType.Blank) - 'Add chart to the slide with position and size - Dim chart As IPresentationChart = slide.Charts.AddChart(100, 10, 700, 500) - 'Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan") - chart.ChartData.SetValue(1, 3, "Feb") - chart.ChartData.SetValue(1, 4, "March") - 'Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2010") - chart.ChartData.SetValue(2, 2, "60") - chart.ChartData.SetValue(2, 3, "70") - chart.ChartData.SetValue(2, 4, "80") - 'Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2011") - chart.ChartData.SetValue(3, 2, "80") - chart.ChartData.SetValue(3, 3, "70") - chart.ChartData.SetValue(3, 4, "60") - 'Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2012") - chart.ChartData.SetValue(4, 2, "60") - chart.ChartData.SetValue(4, 3, "70") - chart.ChartData.SetValue(4, 4, "80") - 'Create a new chart series with the name - Dim serieJan As IOfficeChartSerie = chart.Series.Add("Jan") - 'Set the data range of chart serie � start row, start column, end row, end column - serieJan.Values = chart.ChartData(2, 2, 4, 2) - 'Create a new chart series with the name - Dim serieMarch As IOfficeChartSerie = chart.Series.Add("March") - 'Set the data range of chart series � start row, start column, end row, end column - serieMarch.Values = chart.ChartData(2, 4, 4, 4) - 'Set the chart type - chart.ChartType = OfficeChartType.Bar_Clustered - 'Add trendline to the serie - serieJan.TrendLines.Add() - 'Get the trendline of serie - Dim trendline As IOfficeChartTrendLine = serieJan.TrendLines(0) - 'Set the bold font style for data label - trendline.DataLabel.Bold = True - 'Set the color of data label - trendline.DataLabel.Color = OfficeKnownColors.Red - 'Set the font name - trendline.DataLabel.FontName = "Helvetica" - 'Save the presentation - presentation__1.Save("Output.pptx") - 'Close the presentation - presentation__1.Close() - - - - - - Gets the shadow that is associated with the trendline.Read-only. - - The shadow. - - - - Gets the chart3D options that is associated with the trendline.Read-only. - - The chart3 D options. - - - - Represents max order value for polynomial trend line type. - - - - - Represents name hash table - Key - trend line type, Value - legend string. - - - - - Represents main trend line record. - - - - - Represents Shadow - - - - - Represents border object. - - - - - Represents parent series. - - - - - Represents trend line type. - - - - - Indicates if name is auto. - - - - - Represents custom name. - - - - - Represents text area for data label. - - - - - Represents some unique ID. - - - - - Represents the 3D features - - - - - Initialize all static members. - - - - - Creates new instance of object. - - Represents current application. - Represents parent object. - - - - Finds parent objects. - - - - - Creates new instance of trend object by parsing from stream. - - Represents application object. - Represents parent object. - Represents data holder. - Represents position in stream. - Represents parsed legend entry, or null. - - - - Clears current trend line. - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Parse trend object from stream. - - Represents record holder. - Represents position in storage. - Represents legend entry. - - - - Serialize records to biff stream - - Represents record holder. - - - - Serialize chart ai records. - - Represents record holder. - - - - Serialize legend entry. - - Represents record storage. - - - - Serialize data labels. - - Represents records holder. - - - - Checks some records properties. - - - - - Check if current trend support intercept property, if failed throws exception. - - - - - Check if current trend support backward property, if failed throws exception. - - Represents value. - - - - Changes trend line type. - - Represents new trend line type. - - - - Check if current trend support backward property, if failed throws exception. - - Represents order value. - - - - Updates data labels - - Represents flag for updates. - - - - Updates trend type on parsing. - - - - - Sets current data label. - - Represents data label. - - - - Clones current object. - - Represents parent object for new cloned instance. - Represents new font indexes. - Dictionary with new worksheet names. - Returns cloned object. - - - - Represents border object. Read-only. - - - - - Represents the Shadow.Read-only - - - - - This property indicates whether the shadow object has been created - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - Represents number of periods that the trend line extends backward. - - - - - Represents number of periods that the trend line extends forward. - - - - - True if the equation for the trend line is displayed on the chart. - - - - - True if the R-squared value of the trend line is displayed on the chart. - - - - - Represents point where the trend line crosses the value axis. - - - - - True if the point where the trend line crosses the value - axis is automatically determined by the regression. - - - - - Represents trend line type. - - - - - Represents for Moving Average and Polynomial trend line type order value. - - - - - Indicates if name is default. - - - - - Represents trend line name. - - - - - Returns data label. Read-only. - - - - - Represents some unique id. - - - - - Represents chart walls or floor. - - - - - Represents the walls or floors of a 3-D chart. - - - - - Gets or Sets the thickness of the walls or floor. - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get a bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D; - //Get the side wall of chart - IOfficeChartWallOrFloor sideWall = chart.SideWall; - //Set the picture unit of side wall - sideWall.PictureUnit = OfficeChartPictureType.stretch; - //Set the thickness - sideWall.Thickness = 40; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or Sets the pictureType in walls or floor - - - - //Open a presentation - IPresentation presentation = Presentation.Open("Template.pptx"); - //Get a bubble chart from the slide - IPresentationChart chart = presentation.Slides[0].Charts[0]; - //Change the chart type to 3D - chart.ChartType = OfficeChartType.Bar_Clustered_3D; - //Get the side wall of chart - IOfficeChartWallOrFloor sideWall = chart.SideWall; - //Set the picture unit of side wall - sideWall.PictureUnit = OfficeChartPictureType.stretch; - //Set the thickness - sideWall.Thickness = 40; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Represents default line color for walls or plot. - - - - - Represents default color index for walls or plot. - - - - - Represents default line color for floor. - - - - - Represents default foreground color for walls or plot. - - - - - Represents default background color index for walls or plot. - - - - - Represents default value background color index. - - - - - Represents default value foreground color index. - - - - - Indicates if wall or floor object. - - - - - Represents chart interior. - - - - - Represents parent chart - - - - - Represents the Shadow - - - - - Represents the 3D features - - - - - Represents fill properties. - - - - - Indicates if shape properties for the wall or flooe. - - - - - It specifies the thickness of the walls or floor as a percentage of the largest dimension of the plotarea. - - - - - It specifies the pictureformat struct or stretch - - - - - Creates ChartWallsOrFloor object. - - Application object. - Parent object. - If true - represents walls; otherwise - floor. - - - - Creates ChartWallsOrFloor object. - - Application object. - Parent object. - Indicates if it is walls. - Represents record storage. - Represents position in storage. - - - - Parses walls or floor records. - - Offset array list. - Current position in offset array list. - - - - Serializes wall or floor object. - - OffsetArrayList that will receive all records. - - - - Clears current walls or floor. - - - - - Sets to default floor or walls. - - - - - Sets as default line record in category axis. - - - - - Sets as default line record in value axis. - - - - - Sets as default area record in category axis. - - - - - Sets as default area record in value axis. - - - - - Clones current object. - - Parent object. - Returns cloned object. - - - - Represents chart interior. - - - - - Represents the Shadow.Read-only - - - - - - This property indicates whether the shadow object has been created - - - - - - Indicates whether Shape properties has been created. - - - true if this instance has shape properties; otherwise, false. - - - - - Returns or sets the thickness of the walls or floor as a percentage of the largest dimension of the plot area. - - The thickness. - - - - Gets or Sets the picture format of the walls or floor - - - - - Gets the chart3 D options. - - The chart3 D options. - - - - This property Indicates whether the Shadow object has been created(which includes the 3D properties) - - - - - Represents fill properties. Read-only. - - - - - This property indicates whether interior object was created. Read-only. - - - - - Indicates if this object is walls or floor. - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents pattern. - - - - - Represents if use automatic format. - - - - - Represents visible. - - - - - Represents frame format each record is wrapped by ChartWrapperRecord. - - - - - Initializes new instance of ChartWrappedFrameFormat. - - Application object. - Parent object. - - - - Checks whether specified record is begin. - - Record to check. - True if this is begin; false otherwise. - - - - Parses single record. - - Record to parse. - Number of not closed begin record. - - - - Unwraps record if necessary. - - Record to unwrap. - Unwrapped record. - - - - Serializes single record. - - OffsetArrayList that will get biff records. - Record to serialize. - - - - Represents chart text area, each record is wrapped into ChartWrappedRecord. - - - - - Unknown bytes. Needed for data labels serialization. - - - - - Unknown end. - - - - - Initializes new instance. - - Application object. - Parent object. - - - - Creates objects sets its Application and Parent properties to specified - values and parses object data. - - Application object. - Parent object. - Array with object's records. - Position of the first object's record in the data array. - - - - Creates objects sets its Application and Parent properties to specified values. - - Application object. - Parent object. - Text link. - - - - Creates frame format. - - Newly created frame format. - - - - Saves single record into list of biff records. - - OffsetArrayList that will receive necessary records. - Record to serialize. - - - - Serializes unknown section. - - - OffsetArrayList that will receive all chart's records. - - Unknown bytes to serialize. - - - - Indicates whether object should be serialized. Read-only. - - - - - Creates Clipboard provider for the Biff8 format. - - - - - ClipboardProvider is an abstract class that facilitates reading from - or writing to the clipboard workbook object. - - - - - Next element in the clipboard providers list. - - - - - Workbook that should be copied to the clipboard. - - - - - Worksheet that should be copied to the clipboard. - - - - - Name of the format that this ClipboardProvider can - read from or write to. - - - - - Default constructor. - - - - - Creates provider for the specified worksheet. - - Worksheet that should be copied to the clipboard. - - - - Creates provider for the specified workbook. - - Workbook that should be copied to the clipboard. - - - - Creates provider for the specified workbook and sets the Next property - to the specified value. - - Workbook that should be copied to the clipboard. - Next clipboard provider. - - - - Creates provider for the specified worksheet and sets the Next property - to the specified value. - - Worksheet that should be copied to the clipboard. - Next ClipboardProvider. - - - - Initializes clipboard provider for the specified workbook. - - Workbook that can be copied to the clipboard. - - - - Initializes clipboard provider for the specified worksheet. - - Worksheet that can be copied to the clipboard. - - - - Sets clipboard's data object to the value returned - by GetForClipboard method. - - - - - Sets clipboard's data object to the value returned - by GetForClipboard method. - - Range to copy to the clipboard. - - - - Reads workbook from the clipboard. - - Workbooks collection to add workbook to. - Workbook that was read if success in reading; otherwise NULL. - - When application is NULL. - - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - IDataObject for copying to the clipboard. - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - Range to copy to the clipboard. - IDataObject for copying to the clipboard. - - - - Extracts workbook from the data object. - - Data object that contains workbook data. - Workbooks collection to add workbook to. - Extracted workbook. - - - - Extracts the workbook. - - Data object to extract. - - - - Extracts the workbook. - - Data object to extract. - Range to copy into data object. - - - - Returns next clipboard provider. - - - - - Gets / sets name of the clipboard format. - - - - - Workbook that can be copied to the clipboard. - - - - - Worksheet that can be copied to the clipboard. - - - - - Default name of the format. - - - - - Default constructor. - - - - - Creates provider and sets its Next property to the specified value. - - Next clipboard provider in the provider's list. - - - - Creates provider and sets its Next property to the specified value. - - Worksheet to copy to the clipboard. - Next clipboard provider in the provider's list. - - - - Extracts workbook from the data object. - - Data object that contains workbook data. - Workbooks collection to add workbook to. - Extracted workbook. - - - - Fills the data object. - - DataObject to filling. - - - - Extracts the workbook. - - Data object to extract. - Range to copy into data object. - - - - Returns data for copying into clipboard. - - MemoryStream with data to copy into clipboard. - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - IDataObject for copying to the clipboard. - - This method is not implemented yet. - - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - Range to copy to the clipboard. - IDataObject for copying to the clipboard. - - This method is not implemented yet. - - - - - DelimiterClipboardProvider - derived from the ClipboardProvider. - Facilitates reading from and writing to the clipboard in unicode text - format when there is a specified string delimiter between worksheet - columns and another delimiter between rows. - - - - - Default format name. - - - - - Default delimiter between worksheet columns. - - - - - Default delimiter between worksheet rows. - - - - - String that will be copied to the clipboard, contains worksheet's data. - - - - - Delimiter between worksheet columns. - - - - - Delimiter between worksheet rows. - - - - - Default constructor - just for getting the workbook from the clipboard. - If data needs to be copied from the clipboard, then the Initialize - method or set Workbook or Worksheet properties should be called. - - - - - Creates provider for the specified worksheet. - - Worksheet that should be copied to the clipboard. - - - - Creates provider for the specified worksheet and - sets the next clipboard provider. - - Worksheet that should be copied to the clipboard. - Next clipboard provider in the list. - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - IDataObject for copying to the clipboard. - - - - Returns IDataObject (for copying to the clipboard) - that contains data from workbook or worksheet. - - Range to copy. - IDataObject for copying to the clipboard. - - - - Fills internal string that will be copied to the clipboard. - - - - - Fills internal string that will be copied to the clipboard. - - Range to copy to the clipboard. - - - - Extracts workbook from the data object. - - Data object that contains workbook data. - Workbooks collection to add workbook to. - Extracted workbook. - - - - Fills the dataobject. - - Dataobject to extract. - - - - Extracts the workbook. - - Data object to extract. - Range to copy into data object. - - - - Converts string to the worksheet. - - String that should be converted. - Application object for the new worksheet. - Parent object for the new worksheet. - Newly created worksheet with values from the string. - - - - Converts string to the workbook. - - String that should be converted. - Workbooks collection to add workbook to. - Newly created workbook with values from the string. - - - - Converts memory stream data to the workbook. - - MemoryStream that contains data for the workbook. - Workbooks collection to add workbook to. - Newly created workbook with values from the MemoryStream. - - - - Fills a specified sheet with values from the specified string. - - Sheet that should receive data from the string. - String with worksheet data. - - When the sheet is NULL. - - - - - Returns index of the character after string - (sequence of characters inside "" or ''). - - Contains string. - Position of the opening " or '. - Index of the character after closing " or '. - - - - Delimiter between worksheet columns. - - - - - Delimiter between worksheet rows. - - - - - Summary description for ArrayListEx. - - - - - Represents item storage. - - - - - Represents count of elements. - - - - - Creates new instance current collection. - - - - - Creates new instance of current collection. - - Represents count. - - - - Updates count of storage array. - - Represents count of array to update. - - - - Reduces size of the internal array if necessary. - - Maximum size of the internal array. - - - - Inserts specified number of null RowStorages into specified position. - - Index to insert into. - Number of items to insert. - Number of items after index position to preserve. - - - - Get Maximum Row Count - - - - - - Get Row Index in Row Storage Based on the row number - - RowNumber - RowIndex in RowStorage - - - - - Gets value by index. - - - - - Borders collection. - - - - - A collection of four Border objects that represent the four - borders of a Range or Style object. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write ExcelKnownColors. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write Color. - - - - - Returns the number of objects in the collection. Read-only, Long. - - - - - Returns a Border object that represents one of the borders of either a - range of cells or a style. - - - - - Returns or sets the line style for the border. Read / write OfficeLineStyle. - - - - - Synonym for Borders.LineStyle. Read / write. - - - - - Parent workbook. - - - - - Specifies a boolean value that indicate whether the border collection has a empty border - - - - - Creates collection and sets its application and parent properties. - - Application object for this collection. - The parent object for this collection. - Indicates whether null elements must be added to internal array. - - - - Creates collection taking borders from ExtendedFormatImplWrapper. - - The application object for the collection. - The parent object for the collection. - - ExtendedFormatImplWrapper from where all borders will be taken. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns or sets the primary color of the object. - Read / write ExcelKnownColors. - - - - - Returns or sets the primary color of the object. Use the RGB function to create a color value. - Read / write ExcelKnownColors. - - - - - Returns a Border object that represents one of the borders of either a - range of cells or a style. Read-only. - - - - - Returns or sets the line style for the border. - Read / write OfficeLineStyle. - - - - - Synonym for Borders.LineStyle. Read / write OfficeLineStyle. - - - - - Specifies a boolean value that indicate whether the border collection has a empty border - - - - - Contains borders for range that contains more than one cell. - - - - - All cells of the range. - - - - - Parent workbook. - - - - - Application. - - - - - Creates instances for specified range. - - Range for which instance must be created. - - - - Creates instances for specified range. - - Range for which instance must be created. - - - - - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write ExcelKnownColors. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write color. - - - - - Returns a Border object that represents one of the borders of either a - range of cells or a style. - - - - - Returns or sets the line style for the border. Read / write OfficeLineStyle. - - - - - Synonym for Borders.LineStyle. Read / write Variant. - - - - - Summary description for CellRecordCollection. - - - - - Table with cell records. - - - - - Table with created ranges. - - - - - Parent worksheet. - - - - - Parent workbook. - - - - - Indicates whether we should use ranges cache or not. - - - - - Record extractor to get Biff records from. - - - - - Initializes new instance of the collection. - - Application object for the collection. - Parent object for the collection. - - - - Searches for all necessary parent objects. - - - - - Removes all elements from the IDictionary. - - - - - Adds an element with the provided key and value to the IDictionary. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - - - Returns an IDictionaryEnumerator for the IDictionary. - - An IDictionaryEnumerator for the IDictionary. - - - - Removes the element with the specified key from the IDictionary. - - The key of the element to remove. - - - - Determines whether the IDictionary contains an element with the specified key. - - The key to locate in the IDictionary. - True if the IDictionary contains an element with the key; otherwise, False. - - - - Returns an IDictionaryEnumerator for the IDictionary. - - An IDictionaryEnumerator for the IDictionary. - - - - Adds an element with the provided key and value to the IDictionary. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - - - Adds an specified cell to the IDictionary. - - The Object to use as the value of the element to add. - - - - Removes the element with the specified key from the IDictionary. - - The key of the element to remove. - - - - Removes the element with the specified key from the IDictionary. - - One-based row index of the cell to remove. - One-based column index of the cell to remove. - - - - Determines whether collection contains row. - - Zero-based row index. - True if the collection contains at least one element with specified row index; otherwise, False. - - - - Determines whether the IDictionary contains an element with the specified key. - - The key to locate in the IDictionary. - True if the IDictionary contains an element with the key; otherwise, False. - - - - Determines whether the IDictionary contains an element with the specified key. - - One-based row index of the cell to locate. - One-based column index of the cell to locate. - True if the IDictionary contains an element with the key; otherwise, False. - - - - Copies the elements of the ICollection to an Array, starting at a particular Array index. - - - The one-dimensional Array that is the destination of the elements copied - from ICollection. The Array must have zero-based indexing. - - The zero-based index in array at which copying begins. - - - - Saves all rows into specified OffsetArrayList. - - OffsetArrayList that will receive all rows. - List into which all DBCell record must be placed. - Number of DBCells. - - When records is null. - - - - - Prepares next block of rows. - - OffsetArrayList that will receive all rows. - List to add serialization data into. - Start row index. - Size of the records. - Offset to the first row. - One-based last row index to serialize. - One-based first column index in the worksheet. - One-based last column index in the worksheet. - Destination excel version. - Row index after block saving. - - - - Returns array of all cells in the specified row. - - One-based index of row. - One-based first column in the parent worksheet. - One-based last column in the parent worksheet. - Variable that receives first used column of the row. - Variable that receives last used column of the row. - Destination excel version. - Array of all cells in the specified row. - - When values is null. - - - - - Extracts ranges from the reader. - - IndexRecord that contains all required information. - Reader to extract ranges from. - Indicates whether to ignore styles. - Dictionary with new XF indexes when bIgnoreStyles is set to true. - True if parsing succeeded. - - - - Adds record to the collection. - - Record to add. - Indicates whether to ignore styles. - - - - Adds record to the collection. - - Record to add. - Indicates whether to ignore styles. - - - - Adds MulRKRecord to the records collection. - - Record to add. - Indicates whether to ignore styles. - - - - Adds MulBlankRecord to the records collection. - - Record to add. - Indicates whether to ignore styles. - - - - Adds formula record and its string value. - - Formula record to add. - String value to add. - Indicates whether styles should be ignored. - - - - Indicates whether specified formula is complex - and requires range object to be created for it. - - FormulaRecord to check. - - True if specified formula is complex and requires - range object to be created for it. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Sets cell range. - - Cell key. - Range to set. - - - - Sets cell range. - - One-based row index. - One-based column index. - Range to set. - - - - Returns cell range. - - Cell key. - Corresponding cell range. - - - - Returns cell range. - - One-based row index. - One-based column index. - Corresponding cell range. - - - - Sets cell record. - - Cell key. - Cell to set. - - - - Sets cell record. - - One-based row index. - One-based column index. - Cell to set. - - - - Returns cell record. - - Cell key. - Corresponding cell record. - - - - Returns cell record. - - One-based row index. - One-based column index. - Corresponding cell record. - - - - Clears range in the dictionary that corresponds to the specified range. - - Rectangle to clear. - - - - Copies cells from another worksheet. - - Source cells collection to copy cells from. - - Dictionary with changes in style indexes, - key - old style index, - value - new style index. - - Dictionary with changes in worksheet names. - Dictionary with new extended format indexes. - Dictionary with new name indexes. - Dictionary with new font indexes. - - - - Returns string value associated with specified cell index. - - Index to cell. - Indicates whether we are interested in correct height or width. - String value associated with specified cell index. - - - - Returns string value associated with specified cell index. - - Index to cell. - Indicates whether we are interested in correct height or width. - String object to fill. - String value associated with specified cell index. - - - - - - Cell index. - Indicates whether we are interested in correct height or width. - - - - - Fills rich text string object with string data. - - Record to get data from. - Indicates whether we are interested in correct height or width. - String to fill. - - - - Returns text value. - - Cell index. - Text value if appropriate record was found; otherwise - empty string. - - - - Gets error value by cell index. - - Cell index. - Returns string that represents error value. - - - - Gets bool value by cellindex. - - Cell index. - Returns value by cell index. - If true than value is correct; otherwise incorrect. - - - - Indicates if collection by index contain number. - - Index of record. - Returns true if contain number; otherwise - false. - - - - Indicates if collection by index contain bool or error. - - Index of record. - Returns true if contain bool or error; otherwise - false. - - - - Indicates if collection by index contain number as formula value. - - Index of record. - Returns true if contain number; otherwise - false. - - - - Indicates if collection by index contain bool or error as formula value. - - Index of record. - Returns true if contain number; otherwise - false. - - - - Returns cell value by cell index. - - Cell index. - Cell value if appropriate record was found; otherwise returns double.MinValue. - - - - Returns cell value by cell index without formula value. - - Cell index. - Cell value if appropriate record was found; otherwise returns double.MinValue. - - - - Returns formula value. - - Cell index. - Formula value if appropriate record was found; otherwise double.MinValue. - - - - Sets string formula value. - - Cell index. - String value to set. - - - - Returns string formula value. - - Cell index. - String formula value. - - - - Gets date time by cell index. - - Cell index. - Returns date time or null. - - - - Caches intersection of the two ranges. - - The first range to intersect. - The second range to intersect. - Output intersection rectangle. - RecordTable with intersection. - - - - Returns minimum used row. - - Start column. - End column. - Minimum used row. - - - - Returns maximum used row. - - Start column. - End column. - maximum used row. - - - - Returns minimum used column. - - One-based index of the start row. - One-based index of the end row. - One-based index of the minimum used column. - - - - Returns maximum used column. - - Start row. - End row. - Maximum used column. - - - - Gets formula value by cell index. - - Cell index. - Returns formula value or null. - - - - Gets formula value by cell index. - - Cell index. - If true - returns in R1C1 notations. - Returns formula value or null. - - - - Gets formula value by cell index. - - Cell index. - If true - returns in R1C1 notations. - Represents number info. Can be null. - Returns formula value or null. - - - - Gets string value by cell index. - - Cell Index. - Returns string value or empty string. - - - - Gets extended format index by cell index. - - Cell index. - Returns extended format index or int.MINVALUE. - - - - Gets extended format index by cell index. - - One-based row index. - One-based column index - Returns extended format index or int.MinValue if not found. - - - - Gets extended format index of the row. - - One-based row index. - Returns extended format index or int.MinValue if not found. - - - - Gets extended format index of the column. - - One-based column index. - Returns extended format index or int.MinValue if not found. - - - - Gets font by cell index. - - Cell index. - Returns font or null. - - - - Copies style from one cell into another. - - One-based row index of the source cell. - One-based column index of the source cell. - One-based row index of the destination cell. - One-based column index of the destination cell. - - - - Creates new cell without adding it to the collection.. - - One-based row index of the cell to create. - One-based column index of the cell to create. - Record type. - Created cell. - - - - Creates new cell. - - One-based row index of the cell to create. - One-based column index of the cell to create. - Record type. - Created cell. - - - - Gets cell style by cell index. - - Cell index. - Returns cell index. - - - - Returns object containing cell formatting. - - Cell index to get formatting for. - An ojbect containing cell formatting. - - - - Sets number value. - - Represents column index. One-based. - Represents row index. One-based. - Represents number value. - - - - Sets number value. - - Cell index. - Represents number value. - - - - Sets number value. - - Represents column index. One-based. - Represents row index. One-based. - Represents number value. - Represents xf index. - - - - Sets boolean value. - - Represents column index. One based - Represents row index. One based. - Represents boolean value. - - - - Sets boolean value. - - Cell index. - Represents boolean value. - - - - Sets boolean value. - - Represents column index. One-based. - Represents row index. One-based. - Represents boolean value. - Represents xf index. - - - - Sets error value. - - Represents column index. One based. - Represents row index. One based. - Represents error value. - - - - Sets error value. - - Cell index. - Represents error value. - - - - Sets error value. - - Represents column index. One based. - Represents row index. One based. - Represents error value. - Represents xf index. - - - - Sets error value. - - Represents column index. One based. - Represents row index. One based. - Represents error code. - Represents xf index. - - - - Sets formula value. - - Represents column index. One based. - Represents row index. One based. - Represents formula to set. - Represents extended format index. - - - - Sets formula value. - - Represents column index. One based. - Represents row index. One based. - Represents formula to set. - Represents extended format index. - If true - value in R1C1 notation. - Represent number format info, can be null. - - - - Sets formula value. - - Represents column index. One based. - Represents row index. One based. - Represents formula to set. - Represents extended format index. - If true - value in R1C1 notation. - - - - Sets formula value. - - Represents column index. One based. - Represents row index. One based. - Represents formula to set. - Represents extended format index. - If true - value in R1C1 notation. - If true - parse formula. - Represent number format info, can be null. - - - - Sets blank value. - - Represents column index. One based. - Represents row index. One based. - Represents extended format index. - - - - Sets RTF value. - - Represents column index. One based. - Represents row index. One based. - Represents extended format index. - Represents rtf to set. - - - - Sets string value from existing SST collection. - - Represents column index. One based. - Represents row index. One based. - Represents extended format index. - Represents SST index - - - - Sets cell to the non-SST string record (LabelRecord). - - One-based row index. - One-based column index. - Extended format index. - String value to set. - - - - Free's range object. - - One-based row index of the range object to remove from internal cache. - One-based column index of the range object to remove from internal cache. - - - - Removes all data saving cells formatting. - - - - - Sets array formula. - - Record to set. - - - - Returns array record corresponding to the cell - - One-based row index of the cell to get ArrayRecord for. - One-based column index of the cell to get ArrayRecord for. - Corresponding array record. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Removes last column from the worksheet. - - One-based column index. - - - - Removes last column from the worksheet. - - One-based column index. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - - - - Replaces all shared formula with ordinary formula. - - - - - Updates string indexes. - - List with new indexes. - - - - Returns found values or null. - - Storage range. - Value to find. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - List with cell indexes that contains specified value. - - - - Returns found values or null. - - Storage range. - Value to find. - If true - finds first value; otherwise - all values. - Way to find - If findfirst - true then returns range; otherwise - array with all found values. - - List with cell indexes that contains specified value. - - - - - Returns found values or null. - - Storage range. - Value to find. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - List with cell indexes that contains specified value. - - - - Returns found values or null. - - Storage range. - Value to find. - Indicates whether we should look for error code or boolean value. - If findfirst - true then returns range; otherwise - array with all found values. - List with cell indexes that contains specified value. - - - - - - - - - - Caches and removes specified rectangle from the table. - - Source range. - Row delta to add to the resulting table. - Column delta to add to the resulting table. - Output maximum zero-based row index. - Output maximum zero-based column index. - Cached table. - - - - This method should be called immediately after extended format removal. - - Dictionary with updated extended formats. - - - - This method should be called immediately after extended format removal. - - Array with updated extended formats. - - - - This method updates indexes to the extended formats after version change. - - New restriction for maximum possible XF index. - - - - Sets cell style. - - One-based row index. - One-based column index. - Index of the extended format to set. - - - - Sets row style. - - One-based row index. - Index of the extended format to set. - - - - Looks through all records and calls AddIncrease for each LabelSST record. - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - - - - - - - - Parses bool or error value from formula value. - - Represents formula record. - Returns value string. - - - - Creates internal cache for range objects. - - - - - Updates sheet references in the formula. - - Formula to update. - Dictionary with new worksheet names. - Source workbook. - - - - Copies string records. - - Source collection with strings to copy. - - - - Returns format applied to the cell. - - Cell index. - Format applied to the cell. - - - - Returns font applied to the cell. - - Cell index. - Font applied to the cell. - - - - Gets new index of an extended format. - - Old index of the extended format. - Dictionary with new extended format indexes. - Copy range options. - New index of the extended format. - - - - Updates LabelSST indexes after SST record parsing. - - Dictionary with indexes to update, key - old index, value - new index. - - - - Fills string object with data. - - String object to fill. - Index in the shared strings table. - - - - Returns cell type. - - One-based row index. - One-based column index. - - - - This method is called when object is about to be disposed. - - - - - Searches for the record of specified type. - - Record type to look for. - One-based index to the row to look at. - One-based index of the column to start looking at. - One-based index of the column to end looking at. - Column index that contains record of the specified type or value beyond iLastCol if not found. - - - - Returns first used row. Read-only. - - - - - Returns last used row. Read-only. - - - - - Returns first used column. Read-only. - - - - - Returns last used column. Read-only. - - - - - Represents parent worksheet. - - - - - Table with cell records. Read-only. - - - - - Indicates whether we should use ranges cache or not. Default value if false. - - - - - - - - - - - - - - - Returns number of elements in the collection. Read-only. - - - - - Gets a value indicating whether the IDictionary has a fixed size. Read-only. - - - - - Gets a value indicating whether the IDictionary is read-only. Read-only. - - - - - Gets an ICollection containing the keys of the IDictionary. Read-only. - - - - - Gets an ICollection containing the values in the IDictionary. Read-only. - - - - - Gets or sets the element with the specified key. - - - - - Gets or sets the element with the specified key. - - - - - Gets or sets the element with the specified one-based row and column indexes. - - - - - Gets a value indicating whether access to the ICollection is synchronized. Read-only. - - - - - Gets an object that can be used to synchronize access to the ICollection. Read-only. - - - - - Represents collection of all extended formats in the workbook. - - - - - Number of default extended formats. - - - - - Dictionary with all formats in the collection. - Key - ExtendedFormatImpl, value - same format. - - - - - Creates collection and sets its Application and Parent values. - - - Application object that represents the Excel application. - - Parent object of this collection. - - - - Adds format into collection. - - Format to add. - - If there is same format in the collection, this method will return it; - otherwise format that was passed as argument will be added. - - - - - Adds format into collection. - - Format to add. - Format that was added. - - - - Imports single extended format to the collection. - - Format to import. - - Dictionary with new xf indexes, key - old xf index, value - new xf index. - - Index of the new format. - - - - Merges extended formats collection with formats from another collection. - - Collection to get formats from. - Container for new font indexes. - Dictionary with new indexes. - - - - Adds extended formats to the collection. - - Formats to add. - Dictionary with new indexes. - - - - Adds index to the collection. - - Dictionary to add index to. - List with extended formats. - Index to add. - - - - Gather two formats borders. - - First xf indexes to gathered. - End xf indexes to gathered. - Returns gathered two extended formats.. - - - - Removes item at the specified position. - - Item to remove. - - Dictionary with new xf indexes. - key - old index - value - new index. - Only those formats that had parent index set - to xfIndex will be placed in this dictionary. - - - - - Creates copy of the current instance. - - Parent object for the new collection. - Copy of the current instance. - - - - Sets maximum possible count of extended formats in the collections. - Updates ParentIndex and overall number of extended formats if necessary. - - New value of maximum possible extended formats. - - - - - - - - - - - Adds copy of the format to the collection. - - Formats to add. - Updated font indexes. - Dictionary with new format indexes. - Dictionary with new indexes. - - - - Adds copy of the format to the collection. - - Format to add. - Dictionary with new format indexes. - Updated font indexes, key - old index, value - new index. - Dictionary with new format indexes. - - - - Returns array with new font indexes used by specified extended formats. - - List with used extended formats. - Updated font indexes, key - old font index, value - new font index. - - - - Returns hashtable with new format indexes used by specified extended formats. - - List with used extended formats. - Dictionary with new format indexes, key - old format index, value - new format index. - - - - Returns single entry from the collection. Read-only. - - - - - Returns parent workbook object. Read-only. - - - - - Collection of external workbooks in the worksheet. - - - - - Default options of StdDocumnt extern name. - - - - - Sheet index for non-existing sheet. - - - - - This URL is written by MS Excel 2003 when referenced file is closed before saving workbook. - - - - - Parent workbook. - - - - - Dictionary key - extern workbook url, value - corresponding extern workbook. - - - - - Dictionary key - short name of the workbook, value - workbook. - - - - - Creates collection with specified Application and Parent. - - Application object for the collection. - Parent object for the collection. - - - - Serializes collection of external workbooks as biff records. - - OffsetArrayList to serialize into. - - - - Adds workbook into collection. - - Book to add. - Index of the new workbook. - - - - Adds new workbook into collection - - Workbook to add. - Index of the new workbook. - - - - Adds new workbook into collection - - Workbook to add. - Index of the new workbook. - - - - - - - - - - - - - - Adds new workbook into collection - - Workbook to add. - Index of the new workbook. - - - - Inserts SupbookRecord describing this workbook. - - - Index to the SupBookRecord that describes current workbook. - - - - - Checks whether any of books in this collection contains extern name. - - Name to search. - True if name was found; false otherwise. - - - - Checks whether any of books in this collection contains extern name. - - Name to search. - Output extern workbook index. - Output name index. - True if name was found; false otherwise. - - - - Returns index of the extern name. - - Name to search. - Reference index. - Returns index to extern workbook containing required name. - - - - Returns extern workbook with specified short name. - - Short name to find. - - Extern workbook that corresponds to the specified short name; - or Null if there isn't such workbook. - - - - - Sets all necessary parent objects. - - - - - Returns first index of current book in collection. - - Returns first index of current book in collection. - - - - - - - - - - - Copies subbook collection. - - Represents parent subbook collection. - Returns sub book indexes hash. Key - old indexes; Value - new indexes. - - - - Tries to find corresponding workbook or creates new if not found. - - Name of the workbook file. - Path to the workbook. - Found or created extern workbook. - - - - Frees all allocated unmanaged resources. - - - - - Returns single extern workbook from the collection. - - - - - Returns single extern workbook from the collection. - - - - - Returns parent workbook. Read-only. - - - - - Summary description for ExternNamesCollection. - - - - - Parent extern workbook. - - - - - Hash table with all names. - - - - - Sometimes different applications (not MS Excel) can create duplicated - extern names, we have to remember all of them and after parsing remove it. - - - - - Creates collection with specified Application and Parent. - - Application object for the collection. - Parent object for the collection. - - - - Searches for all necessary parents. - - - - - Adds new name to the collection. - - Name to add. - Index of added extern name. - - - - Adds new name to the collection. - - Name to add. - Index of added extern name. - - - - Adds new name to the collection. - - Name to add. - Index of added extern name. - - - - Checks if collection contains extern name with specified name. - - Name to find. - Boolean value indicating whether collection contains extern name. - - - - - - - - - - Return index to the extern name. - - Name to locate. - Index to the extern name, or -1 if name was not found. - - - - Get new index for extern name (to remove duplicated extern names). - - Name index. - Updated name index. - - - - Creates copy of the collection. - - Parent object for the new collection. - - - - - Adds new item to the collection. - - Name to add. - Index of the added item. - - - - - - - - - - - - - - - - - - Returns extern name. Read-only. - - - - - Returns extern name. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Summary description for FontsCollection. - - - - - Parent workbook. - - - - - - - - - - Creates collection with specified Application and Parent. - - Application object for the collection. - Parent object for the collection. - - - - Parses font record and adds new font to the collection. - - Font record to parse. - Added font. - - - - Adds font to collection. - - Font to add. - Added font. - - - - Inserts default fonts into collection. - - - - - Searches for all necessary parents. - - - - - Forces add to the collection even if same font is already in the collection. - - Font to add. - - - - Saves fonts collection as a set of biff records. - - OffssetArrayList that will receive biff records. - - - - Indicates whether such font is in collection. - - Font to search. - True if such font is present in the collection, false otherwise. - - - - Merges fonts with fonts from another fonts collection. - - Fonts collection to merge fonts from.. - Dictionary with updated indexes. - - - - Adds fonts range from other fonts collection. - - Collection with font indexes to add. - Collection with fonts to add. - Dictionary with updated fonts indexes: key - old font index, value - new font index. - - - - Adds copy of the font. - - Font to copy. - Index of the new font. - - - - Creates copy of the fonts collection. - - Parent workbook for the new collection. - Copy of this collection. - - - - Returns single font from collection. - - - - - Represents collection of formats in the workbook. - - - - - Represents the Decimal Seprator. - - - - - Represents the Thousand seprator. - - - - - Represents the percentage in decimal numbers. - - - - - Represents the fraction symbol. - - - - - Represents the index of the date format. - - - - - Represents the time separator. - - - - - Represents the Exponenet Symbol. - - - - - Represents the Minus symbol. - - - - - Represents the Currency Symbol. - TODO: support currency based on the Culture. - - - - - Index to the first user-defined number format. - - - - - Japan code. - - - - - Represents the collection of DateFormats. - - - - - Default format strings. - - - - - Default currency format strings. - - - - - Default currency format . - - - - - Index-to-FormatImpl. - - - - - Dictionary. Key - format string, value - FormatImpl. - - - - - Format parser. - - - - - Represent the indexes of the Raw Formats. - - - - - Number Formats Taken. - - - - - Dictionary. Key - currency symbol , value - currency format string. - - - - - Initializes new instance and sets its application and parent objects. - - Application object to set. - Parent object to set. - - - - Parses list of biff records. - - Records to parse. - Offset to the format records. - Position after format records. - - - - Saves formats into list of biff records. - - List to save into. - - - - Adds new format to the collection. - - Format to add. - - - - - - - - - - - - - - - - - Creates copy of the current instance. - - Parent object for the new collection. - Copy of the current instance. - - - - Method that creates format object based on the format string - and registers it in the workbook. - - Format string for the new format record. - Index of created format. - - - - Gets customized datetime format string of user input format string, inaccordance with MS Excel behaviour - - - - - - - Determines whether the IDictionary contains an element with the specified format. - - Format to locate in the collection. - True if the collection contains an element with the key; otherwise, False. - - - - Searches for format with specified format string - and creates one if a match is not found. - - String describing needed format. - Found or created format. - - - - Inserts all default formats into list. - - - - - Gets all used formats. - - Array that contains all used format records. - - - - Copies all formats from the source collection. - - Collection to copy formats from. - Dictionary old format index - to - new format index. - - - - Adds format range to the collection. - - Dictionary with format indexes to add. - Source collection. - Dictionary with updated indexes: key - old index, value - new index. - - - - Tries to add format to the collection. - - Format to add. - New format index. - - - - Tries to add format to the collection. - - Format to add. - New format index. - - - - - - Fills the format indexes based on the format types. - - - - - Detects the DateFormat from the string. - - string value to detect. - NumberFormat of the given string. - - - - Detects the Time Format from the string. - - string to detect the format. - Number Format of the given string. - - - - Returns True, if strValue contains the time format with seconds. - - Time format in string. - boolean value - - - - Returns True, if the string format of time contains 12 Hours format. - - Time format in string. - returns boolean. - - - - Detects the Number format. - - number as string to detect the number format. - Number Format of given value. - - - - Try parse the number format of the given value. - - number as string to parse. - NumberFormat of the given value. - - - - Returns an IDictionaryEnumerator for the IDictionary. - - An IDictionaryEnumerator for the IDictionary. - - - - Removes the element with the specified key from the IDictionary. - - The key of the element to remove. - - - - Determines whether the IDictionary contains an element with the specified key. - - The key to locate in the IDictionary. - True if the IDictionary contains an element with the key; otherwise, False. - - - - Removes all elements from the IDictionary. - - - - - Copies the elements of the collection to an Array, starting at a particular Array index. - - - The one-dimensional Array that is the destination of the elements - copied from ICollection. The Array must have zero-based indexing. - - The zero-based index in array at which copying begins. - - - - Returns single entry from the collection. Read-only. - - - - - Gets or Sets a value indicating whether worksheet contains number formats. - - - - - Returns single entry from the collection by format string. Read-only. - - - - - Returns format parser. Read-only. - - - - - Gets currency format string. Read-only. - - - - - Gets a value indicating whether the IDictionary is read-only. Read-only. - - - - - - - - - - Gets an ICollection containing the keys of the collection. Read-only. - - - - - Gets a value indicating whether the collection has a fixed size. Read-only. - - - - - Gets a value indicating whether access to the collection is synchronized (thread-safe). - - - - - Gets the number of elements contained in the collection. Read-only - - - - - Gets an object that can be used to synchronize access to the collection. - - - - - Summary description for BorderGroup. - - - - - Border index. - - - - - Parent style group. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - Border index. - - - - Searches for all necessary parent objects. - - - - - Returns single entry from the group. Read-only. - - - - - Returns number of elements in the group. Read-only. - - - - - Returns or sets the primary color of the object. - Read/write Long. - - - - - Returns or sets the primary color of the object. - Read/write Long. - - - - - Returns color of the border. - - - - - Returns or sets the line style for the border. Read/write OfficeLineStyle. - - - - - This property is used only by Diagonal borders. For any other border - index property will have no influence. - - - - - Summary description for BordersGroup. - - - - - Parent style group. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - - - - Searches for all necessary parent objects. - - - - - Returns single entry from the group. Read-only. - - - - - Returns number of elements in the group. Read-only. - - - - - Returns or sets the primary color of the object. - Read / write ExcelKnownColors. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write Color. - - - - - Returns the number of objects in the collection. Read-only, Long. - - - - - Returns a Border object that represents one of the borders of either a - range of cells or a style. - - - - - Returns or sets the line style for the border. Read / write OfficeLineStyle. - - - - - Synonym for Borders.LineStyle. Read / write. - - - - - Summary description for FontGroup. - - - - - Parent range group. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - - - - Searches for all necessary parent objects. - - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Returns single entry from the group. Read-only. - - - - - Returns number of elements in the group. Read-only. - - - - - True if the font is bold. Read / write Boolean. - - - - - Returns or sets the primary color of the object. Read / write ExcelKnownColors. - - - - - Gets / sets font color. Searches for the closest color in - the workbook palette. - - - - - True if the font style is italic. Read / write Boolean. - - - - - True if the font is an outline font. Read / write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read / write Boolean. - - - - - Returns or sets the size of the font. Read / write Variant. - - - - - True if the font is struck through with a horizontal line. - Read / write Boolean - - - - - True if the font is formatted as subscript. - False by default. Read / write Boolean. - - - - - True if the font is formatted as superscript. False by default. - Read/write Boolean - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read / write OfficeUnderline. - - - - - Returns or sets the font name. Read / write string. - - - - - Gets / sets font vertical alignment. - - - - - Indicates whether color is automatically selected. Read-only. - - - - - Summary description for MigrantRangeGroup. - - - - - Summary description for RangeGroup. - - - - - Represents a cell, row, column, selection of cells - containing one or more contiguous blocks of cells, - or a 3-D range. - - - - - Activates a single cell, which must be inside the current selection. - To select a range of cells, use the Select method. - - - - - - Activates a single cell, scroll to it and activates the corresponding sheet. - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - This method groups current range. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Current range after grouping. - - - - This method groups current range. - - - This parameter specifies whether grouping should - be performed by rows or by columns. - - Indicates whether group should be collapsed. - Current range after grouping. - - - - This method creates subtotal on Corresponding ranges - - Indicates the Group By Column - ConsolidationFunction to be applied - Columns to be added - - - - This method creates subtotal on Corresponding ranges - - Indicates the Group By Column - ConsolidationFunction to be applied - Columns to be added - Replaces Exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Creates a merged cell from the specified Range object. - - - - - Creates a merged cell from the specified Range object. - - Indicates whether to clear unnecessary cells. - - - - Ungroups current range. - - Indicates type of ungrouping. Ungroup by columns or by rows. - Current range after ungrouping. - - - - Separates a merged area into individual cells. - - - - - Freezes pane at the current range. - - - - - Clear the contents of the Range. - - - - - Clear the contents of the Range with formatting. - - True if formatting should also be cleared. - - - - Clears the cell content, formats, comments based on clear option. - - - - - - Clear the contents of the Range and shifts the cells Up or Left - without formula or merged ranges update. - - Cells shift direction Up/Left. - - - - Clear the contents of the Range and shifts the cells Up or Left. - - Cells shift direction Up/Left. - Cells shifting options. - - - - Moves the cells to the specified Range (without updating formulas). - - Destination Range. - - - - Copies the range to the specified destination Range (without updating formulas). - - Destination range. - Range were this range was copied. - - - - Copies this range into another location. - - Destination range. - Copy range options. - Destination range. - - - - Returns intersection of this range with the specified one. - - The Range with which to intersect. - Range intersection; if there is no intersection, NULL is returned. - - - - Returns merge of this range with the specified one. - - The Range to merge with. - Merged ranges or NULL if wasn't able to merge ranges. - - - - Autofits all rows in the range. - - - - - Autofits all columns in the range. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Flag that represent type of search. - - - - - This method searches for the first cell with specified double value. - - Value to search. - Flag that represent type of search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified double value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Sets around border for current range. - - - - - Sets around border for current range. - - Represents border line. - - - - Sets around border for current range. - - Represents border line. - Represents border color. - - - - Sets around border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets inside border for current range. - - - - - Sets inside border for current range. - - Represents border line. - - - - Sets inside border for current range. - - Represents border line. - Represents border color. - - - - Sets inside border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets none border for current range. - - - - - Collapses current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Additional option flags. - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user. Read-only String. - - - - - Returns range Address in format "'Sheet1'!$A$1". - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Gets / sets boolean value that is contained by this range. - - - - - Returns a Borders collection that represents the borders of a style - or a range of cells (including a range defined as part of a - conditional format). - - - - - Returns a Range object that represents the cells in the specified range. - Read-only. - - - - - Returns the number of the first column in the first area in the specified - range. Read-only. - - - - - Column group level. Read-only. - -1 - Not all columns in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns or sets the width of all columns in the specified range. - Read/write Double. - - - - - Returns the number of objects in the collection. Read-only. - - - - - Gets / sets DateTime contained by this cell. Read-write DateTime. - - - - - Returns cell value after number format application. Read-only. - - - - - Returns a Range object that represents the cell at the end of the - region that contains the source range. - - - - - Returns a Range object that represents the entire column (or - columns) that contains the specified range. Read-only. - - - - - Returns a Range object that represents the entire row (or - rows) that contains the specified range. Read-only. - - - - - Gets / sets error value that is contained by this range. - - - - - Returns or sets the object's formula in A1-style notation and in - the language of the macro. Read/write Variant. - - - - - Represents array formula which can perform multiple calculations on one or more of the items in an array. - - - - - Returns or sets the formula array for the range, using R1C1-style notation. - - - - - True if the formula will be hidden when the worksheet is protected. - False if at least part of formula in the range is not hidden. - - - - - Get / set formula DateTime value contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Returns or sets the formula for the range, using R1C1-style notation. - - - - - Returns the calculated value of the formula as a boolean. - - - - - Returns the calculated value of the formula as a string. - - - - - Indicates whether range contains bool value. Read-only. - - - - - Indicates whether range contains DateTime value. Read-only. - - - - - True if all cells in the range contain formulas; False if - at least one of the cells in the range doesn't contain a formula. - Read-only Boolean. - - - - - Indicates whether range contains array-entered formula. Read-only. - - - - - Indicates whether the range contains number. Read-only. - - - - - Indicates whether cell contains formatted rich text string. - - - - - Indicates whether the range contains String. Read-only. - - - - - Indicates whether range has default style. False means default style. - Read-only. - - - - - Returns or sets the horizontal alignment for the specified object. - Read/write OfficeHAlign. - - - - - Returns or sets the indent level for the cell or range. Can be an integer - from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. - - - - - Indicates whether the range is blank. Read-only. - - - - - Indicates whether range contains boolean value. Read-only. - - - - - Indicates whether range contains error value. - - - - - Indicates whether this range is grouped by column. Read-only. - - - - - Indicates whether this range is grouped by row. Read-only. - - - - - Indicates whether cell is initialized. Read-only. - - - - - Returns last column of the range. Read-only. - - - - - Returns last row of the range. Read-only. - - - - - Gets / sets double value of the range. - - - - - Format of current cell. Analog of Style.NumberFormat property. - - - - - Returns the number of the first row of the first area in - the range. Read-only Long. - - - - - Row group level. Read-only. - -1 - Not all rows in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns the height of all the rows in the range specified, - in points. Returns Double.MinValue if the rows in the specified range - aren't all the same height. Read / write Double. - - - - - For a Range object, returns an array of Range objects that represent the - rows in the specified range. - - - - - For a Range object, returns an array of Range objects that represent the - columns in the specified range. - - - - - Returns a Style object that represents the style of the specified - range. Read/write IStyle. - - - - - Returns name of the Style object that represents the style of the specified - range. Read/write String. - - - - - Gets / sets string value of the range. - - - - - Gets / sets time value of the range. - - - - - Returns or sets the value of the specified range. - Read/write Variant. Does not support FormulaArray value. - - - - - Returns or sets the cell value. Read/write Variant. - The only difference between this property and the Value property is - that the Value2 property doesn't use the Currency and Date data types. - Does not support FormulaArray value. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - Returns a Worksheet object that represents the worksheet - containing the specified range. Read-only. - - - - - Gets / sets cell by row and column index. Row and column indexes are one-based. - - - - - Get cell range. Row and column indexes are one-based. Read-only. - - - - - Get cell range. Read-only. - - - - - Gets cell range. Read-only. - - - - - Gets / sets string value evaluated by formula. - - - - - Gets / sets number value evaluated by formula. - - - - - Indicates if current range has formula bool value. Read-only. - - - - - Indicates if current range has formula error value. Read-only. - - - - - Indicates if current range has formula value formatted as DateTime. Read-only. - - - - - Indicates if the current range has formula number value. Read-only. - - - - - Indicates if the current range has formula string value. Read-only. - - - - - String with rich text formatting. Read-only. - - - - - Indicates whether this range is part of merged range. Read-only. - - - - - Returns a Range object that represents the merged range containing - the specified cell. If the specified cell isn�t in a merged range, - this property returns NULL. Read-only. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Indicates is current range has external formula. Read-only. - - - - - Gets/sets built in style. - - - - - First row. - - - - - First column. - - - - - Last row. - - - - - Last column. - - - - - Parent group of worksheets. - - - - - Rich text string group. - - - - - Value of End property. - - - - - Style group. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - The first row of the range. - The first column of the range. - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - The first row of the range. - The first column of the range. - The last row of the range. - The last column of the range. - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - String representation of the range. - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - String representation of the range. - Indicates is name in R1C1 notation. - - - - Searches for all necessary parent objects. - - - - - Returns range for specific sheet. - - Sheet index in the group. - - - - - Activates a single cell, which must be inside the current selection. - To select a range of cells, use the Select method. - - - - - - Activates a single cell, scroll to it and activates the corresponding sheet. - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - This method groups current range. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Current range after grouping. - - - - This method groups current range. - - - This parameter specifies whether grouping should - be performed by rows or by columns. - - Indicates whether group should be collapsed. - Current range after grouping. - - - - Creates Subtotal for the corresponding ranges - - GroupBy - ConsolidationFunction - TotalList - - - - Creates SubTotal for the corresponding Ranges - - GroupByGroupBy - ConsolidationFunction - TotalList - Replace exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Creates a merged cell from the specified Range object. - - - - - Creates a merged cell from the specified Range object. - - Indicates whether to clear unnecessary cells. - - - - Ungroups current range. - - Indicates type of ungrouping. Ungroup by columns or by rows. - Current range after ungrouping. - - - - Separates a merged area into individual cells. - - - - - Freezes pane at the current range. - - - - - Clear the contents of the Range. - - - - - Clear the contents of the Range with formatting. - - True if formatting should also be cleared. - - - - Clear the contents of the Range and shifts the cells Up or Left - without formula or merged ranges update. - - Cells shift direction Up/Left. - - - - Clears the contents, formats and comments of the cell, based on clear options. - - - - - - Clear the contents of the Range and shifts the cells Up or Left. - - Cells shift direction Up/Left. - Cells shifting options. - - - - Moves the cells to the specified Range (without updating formulas). - - Destination Range. - - - - Moves the cells to the specified Range. - - Destination Range - Indicates whether to update formula after move operation. - - - - Copies the range to the specified destination Range (without updating formulas). - - Destination range. - Range were this range was copied. - - - - Copies this range into another location. - - Destination range. - Indicates whether update formula during copy. - - - - Copies this range into another location. - - Destination range. - Copy range options. - Destination range. - - - - Returns intersection of this range with the specified one. - - The Range with which to intersect. - Range intersection; if there is no intersection, NULL is returned. - - - - Returns merge of this range with the specified one. - - The Range to merge with. - Merged ranges or NULL if wasn't able to merge ranges. - - - - Autofits all rows in the range. - - - - - Autofits all columns in the range. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Flag that represent type of search. - - - - - This method searches for the first cell with specified double value. - - Value to search. - Flag that represent type of search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified double value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Copies range to the clipboard. - - - - - Sets around border for current range. - - - - - Sets around border for current range. - - Represents border line. - - - - Sets around border for current range. - - Represents border line. - Represents border color. - - - - Sets around border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets inside border for current range. - - - - - Sets inside border for current range. - - Represents border line. - - - - Sets inside border for current range. - - Represents border line. - Represents border color. - - - - Sets inside border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets none border for current range. - - - - - Collapses current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Additional option flags. - - - - Returns number of ranges in the group. Read-only. - - - - - Returns range from the specified worksheet in the range. Read-only. - - - - - Returns parent workbook object. Read-only. - - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user. Read-only String. - - - - - Returns range Address in format "'Sheet1'!$A$1". - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Gets / sets boolean value that is contained by this range. - - - - - Returns a Borders collection that represents the borders of a style - or a range of cells (including a range defined as part of a - conditional format). - - - - - Returns a Range object that represents the cells in the specified range. - Read-only. - - - - - Returns the number of the first column in the first area in the specified - range. Read-only. - - - - - Column group level. Read-only. - -1 - Not all columns in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns or sets the width of all columns in the specified range. - Read/write Double. - - - - - Returns the number of objects in the collection. Read-only. - - - - - Gets / sets DateTime contained by this cell. Read-write DateTime. - - - - - Returns cell value after number format application. Read-only. - - - - - Returns a Range object that represents the cell at the end of the - region that contains the source range. - - - - - Returns a Range object that represents the entire column (or - columns) that contains the specified range. Read-only. - - - - - Returns a Range object that represents the entire row (or - rows) that contains the specified range. Read-only. - - - - - Gets / sets error value that is contained by this range. - - - - - Returns or sets the object's formula in A1-style notation and in - the language of the macro. Read/write Variant. - - - - - Returns or sets the object's formula in R1C1-style notation and in - the language of the macro. Read/write Variant. - - - - - Represents array-entered formula. - - - - - Returns or sets the object's formula in R1C1-style notation and in - the language of the macro. Read/write Variant. - - - - - True if the formula will be hidden when the worksheet is protected. - False if at least part of formula in the range is not hidden. - - - - - Get / set formula DateTime value contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Indicates whether specified range object has data validation. - If Range is not single cell, then returns true only if all cells have data validation. Read-only. - - - - - Indicates whether range contains bool value. Read-only. - - - - - Indicates whether range contains DateTime value. Read-only. - - - - - Indicates if current range has formula bool value. Read-only. - - - - - Indicates if current range has formula error value. Read-only. - - - - - Indicates if current range has formula value formatted as DateTime. Read-only. - - - - - Indicates if the current range has formula number value. Read-only. - - - - - Indicates if the current range has formula string value. Read-only. - - - - - True if all cells in the range contain formulas; False if - at least one of the cells in the range doesn't contain a formula. - Read-only Boolean. - - - - - Indicates whether range contains array-entered formula. Read-only. - - - - - Indicates whether the range contains number. Read-only. - - - - - Indicates whether cell contains formatted rich text string. - - - - - Indicates whether the range contains String. Read-only. - - - - - Indicates whether range has default style. False means default style. - Read-only. - - - - - Returns or sets the horizontal alignment for the specified object. - Read/write OfficeHAlign. - - - - - Returns or sets the indent level for the cell or range. Can be an integer - from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. - - - - - Indicates whether the range is blank. Read-only. - - - - - Indicates whether range contains boolean value. Read-only. - - - - - Indicates whether range contains error value. - - - - - Indicates whether this range is grouped by column. Read-only. - - - - - Indicates whether this range is grouped by row. Read-only. - - - - - Indicates whether cell is initialized. Read-only. - - - - - Returns last column of the range. Read-only. - - - - - Returns last row of the range. Read-only. - - - - - Gets / sets double value of the range. - - - - - Format of current cell. Analog of Style.NumberFormat property. - - - - - Returns the number of the first row of the first area in - the range. Read-only Long. - - - - - Row group level. Read-only. - -1 - Not all rows in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns the height of all the rows in the range specified, - in points. Returns Double.MinValue if the rows in the specified range - aren't all the same height. Read / write Double. - - - - - For a Range object, returns an array of Range objects that represent the - rows in the specified range. - - - - - For a Range object, returns an array of Range objects that represent the - columns in the specified range. - - - - - Returns a Style object that represents the style of the specified - range. Read/write IStyle. - - - - - Returns name of the Style object that represents the style of the specified - range. Read/write String. - - - - - Gets / sets string value of the range. - - - - - Gets / sets time value of the range. - - - - - Returns or sets the value of the specified range. - Read/write Variant. - - - - - Returns the calculated value of a formula using the most current inputs. - - - - - Returns or sets the cell value. Read/write Variant. - The only difference between this property and the Value property is - that the Value2 property doesn't use the Currency and Date data types. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - Returns a Worksheet object that represents the worksheet - containing the specified range. Read-only. - - - - - Gets / sets cell by row and column index. Row and column indexes are one-based. - - - - - Get cell range. Row and column indexes are one-based. Read-only. - - - - - Get cell range. Read-only. - - - - - Get cell range. Read-only. - - - - - Gets / sets string value evaluated by formula. - - - - - Gets / sets number value evaluated by formula. - - - - - Gets / sets number value evaluated by formula. - - - - - Returns the calculated value of the formula as a string. - - - - - String with rich text formatting. Read-only. - - - - - Indicates whether this range is part of merged range. Read-only. - - - - - Returns a Range object that represents the merged range containing - the specified cell. If the specified cell isn�t in a merged range, - this property returns NULL. Read-only. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Indicates is current range has external formula. Read-only. - - - - - Represents ignore error options. If not single cell returs concatenateed flags. - - - - - Gets/sets built in style. - - - - - Represents range object for the single cell. Coordinates of such object can be changed. - There should be only one such object for single worksheet. - - - - - Resets row and column values. - - One-based row index of the new cell address. - One-based column index of the new cell address. - - - - Initializes new instance of the object. - - Application object for the new object. - Parent object for the new object. - - - - Resets row and column values. - - One-based row index of the new cell address. - One-based column index of the new cell address. - - - - Summary description for PageSetupGroup. - - - - - Represents the page setup description. The PageSetup object - contains all page setup attributes (left margin, bottom margin, - paper size, and so on) as properties. - - - - - Returns or sets the number of pages tall the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write int. - - - - - Returns or sets the number of pages wide the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write int. - - - - - True if cell gridlines are printed on the page. Applies only to - worksheets. Read / write Boolean. - - - - - True if row and column headings are printed with this page. Applies - only to worksheets. Read / write Boolean. - - - - - Returns or sets the range to be printed, as a string using A1-style - references in the language of the macro. Read / write String. - - - - - Returns or sets the columns that contain the cells to be repeated - on the left side of each page, as a string in A1-style notation - in the language of the macro. Read / write String. - - - - - Returns or sets the rows that contain the cells to be repeated at - the top of each page, as a string in A1-style notation in the - language of the macro. Read / write String. - - - - - Indicates whether summary rows will appear below detail in outlines. - - - - - Indicates whether summary columns will appear right of the detail in outlines. - - - - - Indicates whether fit to page mode is selected. - - - - - Parent group of worksheets. - - - - - Initializes new instance and sets its application and parent properties. - - Application object for the new instance. - Parent object for the new instance. - - - - Looks for all necessary parent objects. - - - - - Indicates whether summary rows will appear below detail in outlines. - - - - - Returns or sets the number of pages tall the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write int. - - - - - Returns or sets the number of pages wide the worksheet will be scaled - to when it is printed. Applies only to worksheets. Read / write int. - - - - - True if cell gridlines are printed on the page. Applies only to - worksheets. Read / write Boolean. - - - - - True if row and column headings are printed with this page. Applies - only to worksheets. Read / write Boolean. - - - - - Returns or sets the range to be printed, as a string using A1-style - references in the language of the macro. Read / write String. - - - - - Returns or sets the columns that contain the cells to be repeated - on the left side of each page, as a string in A1-style notation - in the language of the macro. Read / write String. - - - - - Returns or sets the rows that contain the cells to be repeated at - the top of each page, as a string in A1-style notation in the - language of the macro. Read / write String. - - - - - Indicates whether summary rows will appear below detail in outlines. - - - - - Indicates whether summary columns will appear right of the detail in outlines. - - - - - Indicates whether fit to page mode is selected. - - - - - True if elements of the document will be printed in black and white. - Read / write Boolean. - - - - - Returns or sets the size of the bottom margin, in inches. - Read / write Double. - - - - - Returns or sets the center part of the footer. Read / write String. - - - - - Gets / set image for center part of the footer. - - - - - Returns or sets the center part of the header. Read / write String. - - - - - Gets / set image for center part of the header. - - - - - True if the sheet is centered horizontally on the page when it is - printed. Read / write Boolean. - - - - - True if the sheet is centered vertically on the page when it is - printed. Read / write Boolean. - - - - - Number of copies to print. - - - - - True if the sheet will be printed without graphics. - Read / write Boolean. - - - - - Returns or sets the first page number that will be used when - this sheet is printed. If xlAutomatic, Microsoft Excel chooses the - first page number. The default is xlAutomatic. Read / write Long. - - - - - Returns or sets the distance from the bottom of the page to the footer, - in inches. Read / write Double. - - - - - Returns or sets the distance from the top of the page to the header, - in inches. Read / write Double. - - - - - Returns or sets the left part of the footer. Read / write String. - &L Left aligns the characters that follow. - &C Centers the characters that follow. - &R Right aligns the characters that follow. - &E Turns double-underline printing on or off. - &X Turns superscript printing on or off. - &Y Turns subscript printing on or off. - &B Turns bold printing on or off. - &I Turns italic printing on or off. - &U Turns underline printing on or off. - &S Turns strikethrough printing on or off. - &D Prints the current date. - &T Prints the current time. - &F Prints the name of the document. - &A Prints the name of the workbook tab. - &P Prints the page number. - &P+number Prints the page number plus the specified number. - &P-number Prints the page number minus the specified number. - && Prints a single ampersand. - & "fontname" Prints the characters that follow in the specified font. Be sure to include the double quotation marks. - &nn Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points. - &N Prints the total number of pages in the document. - - - - - Gets / set image for left part of the footer. - - - - - Returns or sets the left part of the header. Read / write String. - - - - - Gets / set image for left part of the header. - - - - - Returns or sets the size of the left margin, in inches. - Read / write Double. - - - - - Returns or sets the order that Microsoft Excel uses to number - pages when printing a large worksheet. Read / write OfficeOrder. - - - - - Portrait or landscape printing mode. Read / write OfficePageOrientation. - - - - - Returns or sets the size of the paper. Read / write OfficePaperSize. - - - - - Returns or sets the way comments are printed with the sheet. - Read / write OfficePrintLocation. - - - - - Sets or returns an OfficePrintErrors constant specifying the type of - print error displayed. This feature allows users to suppress the - display of error values when printing a worksheet. Read / write. - - - - - True if cell notes are printed as end notes with the sheet. Applies - only to worksheets. Read / write Boolean. - - - - - Returns or sets the print quality. Read / write ushort. - - - - - Returns or sets the right part of the footer. Read / write String. - - - - - Returns or sets the right part of the header. Read / write String. - - - - - Gets / set image for right part of the footer. - - - - - Gets / set image for right part of the header. - - - - - Returns or sets the size of the right margin, in inches. - Read / write Double. - - - - - Returns or sets the size of the top margin, in inches. - Read / write Double. - - - - - Returns or sets a percentage (between 10 and 400 percent) by which - Microsoft Excel will scale the worksheet for printing. Applies only - to worksheets. Read / write ushort. - - - - - Indicates whether the header and footer margins are aligned with page margins. Read/Write Boolean. - - - - - True - The header / footer of the first page is different with other pages.Otherwise False. - - - - - True - The header/footer odd pages are differed with even page. Otherwise False. - - - - - Indicates whether the header and footer are scaled with document scaling.Read/Write Boolean. - - - - - Gets / sets background image. - - - - - Summary description for RichTextStringGroup. - - - - - Represents a Rich Text String that can be used to apply several styles inside a single cell. - - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Clears string formatting. - - - - - Clears text and formatting. - - - - - Appends rich text string with specified text and font. - - Text to append. - Font to use. - - - - Gets / sets text of the string. - - - - - Returns text in rtf format. Read-only. - - - - - Indicates whether rich text string has formatting runs. Read-only. - - - - - Parent group of ranges. - - - - - Represents an RTF string. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - - - - Searches for all necessary parent objects. - - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Clears string formatting. - - - - - Appends rich text string with specified text and font. - - Text to append. - Font to use. - - - - Clears text and formatting. - - - - - - - - - - - - - - - Returns single RichTextString from the group. Read-only. - - - - - Returns number of elements in the group. Read-only. - - - - - Gets / sets text of the string. - - - - - Returns text in rtf format. Read-only. - - - - - Indicates whether rich text string has formatting runs. Read-only. - - - - - Summary description for StyleGroup. - - - - - Parent range group. - - - - - Font group. - - - - - Borders group. - - - - - Creates new instance of the group. - - Application object for the new group. - Parent object for the new group. - - - - Searches for all necessary parent objects. - - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object. - - - - - Returns single entry from the group. Read-only. - - - - - Returns number of elements in the group. Read-only. - - - - - Returns parent workbook object. Read-only. - - - - - Returns a Borders collection that represents the borders of a - style or a range of cells (including a range defined as part of - a conditional format). - - - - - True if the style is a built-in style. Read-only Boolean. - - - - - Gets / sets fill pattern. - - - - - Gets / sets index of fill background color. - - - - - Gets / Sets fill background color. - - - - - Gets / sets index of fill foreground color. - - - - - Gets / sets fill foreground color. - - - - - Returns a Font object that represents the font of the specified - object. - - - - - Returns Interior object that represents interior of the specified object. - - - - - True if the formula will be hidden when the worksheet is protected. - Read/write Boolean. - - - - - Returns or sets the horizontal alignment for the specified object. - For all objects, this can be one of the following OfficeHAlign constants. - Read/write OfficeHAlign. - - - - - True if the style includes the AddIndent, HorizontalAlignment, - VerticalAlignment, WrapText, and Orientation properties. - Read/write Boolean. - - - - - True if the style includes the Color, ColorIndex, LineStyle, - and Weight border properties. Read/write Boolean. - - - - - True if the style includes the Background, Bold, Color, - ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, - Size, Strikethrough, Subscript, Superscript, and Underline - font properties. Read/write Boolean. - - - - - True if the style includes the NumberFormat property. - Read/write Boolean. - - - - - True if the style includes the Color, ColorIndex, - InvertIfNegative, Pattern, PatternColor, and PatternColorIndex - interior properties. Read / write Boolean. - - - - - True if the style includes the FormulaHidden and Locked protection - properties. Read/write Boolean. - - - - - Returns or sets the indent level for the style. Read/write. - - - - - True if the object is locked, False if the object can be - modified when the sheet is protected. Read/write Boolean. - - - - - Returns or sets the name of the object. Read-only String. - - - - - Returns or sets the format code for the object. Read/write String. - - - - - Returns or sets the format code for the object. Read/write String. - - - - - Gets / sets index of the number format. - - - - - Returns object that describes number format. Read-only. - - - - - Text rotation angle: - 0 Not rotated - 1-90 1 to 90 degrees counterclockwise - 91-180 1 to 90 degrees clockwise - 255 Letters are stacked top-to-bottom, but not rotated. - - Thrown when value is more than 0xFF. - - - - True if text automatically shrinks to fit in the available - column width. Read/write Boolean. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - True if Excel wraps the text in the object. - Read/write Boolean. - - - - - Indicates whether style is initialized (differs from Normal style). - Read-only. - - - - - Text direction, the reading order for far east versions. - - - - - If true then first symbol in cell is apostrophe. - - - - - For far east languages. Supported only for format. Always False for US. - - - - - Gets / sets index of fill background color. - - - - - Gets / Sets fill background color. - - - - - Gets / sets index of fill foreground color. - - - - - Returns or sets the cell shading color. - - - - - Gets value indicating whether format was modified, compared to parent format. - - - - - Gets format index in m_book.InnerFormats. - - - - - Represents group of worksheets. - - - - - Represents a worksheet group. - - - - - Represents a worksheet. The Worksheet object is a member of the - Worksheets collection. The Worksheets collection contains all the - Worksheet objects in a workbook. - - - - - Clears worksheet data. Removes all formatting and merges. - - - - - Clears worksheet. Only the data is removed from each cell. - - - - - Indicates whether a cell was initialized or accessed by the user. - - One-based row index of the cell. - One-based column index of the cell. - Value indicating whether the cell was initialized or accessed by the user. - - - - Creates new instance of IRanges. - - New instance of ranges collection. - - - - Create Named Ranges - - Names to create - Refers to range - True if the named range values are vertically placed in the sheet. - - - - Method check is Column with specified index visible to end user or not. - - Index of column. - True - column is visible; otherwise False. - - - - Shows / Hides the specified column. - - Index at which the column should be hidden. - True - Column is visible; false - hidden. - - - - Hides the specified column. - - One-based column index to hide. - - - - Hides the specified row. - - One-based row index to hide. - - - - Method check is Row with specified index visible to user or not. - - Index of row visibility of each must be checked. - True - row is visible to user, otherwise False. - - - - Shows / Hides the specified row. - - Index at which the row should be hidden. - True - Row is visible; false - hidden. - - - - Shows / Hides the specified range. - - Range specifies the particular range to show / hide - True - Row is visible; false - hidden. - - - - Shows/ Hides the collection of range. - - Ranges specifies the range collection. - True - Row is visible; false - hidden. - - - - Shows/ Hides an array of range. - - Ranges specifies the range array. - True - Row is visible; false - hidden. - - - - Inserts an empty row with default formatting (with formulas update). - - Index at which new row should be inserted. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - Insert options. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted. - - - - Inserts an empty column with default formatting (with formulas update). - - Index at which new column should be inserted. - Number of columns to insert. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted. - Number of columns to insert. - Insert options. - - - - Removes specified row (with formulas update). - - One-based row index to remove. - - - - Removes specified row (with formulas update). - - One-based row index to remove. - Number of rows to remove. - - - - Removes specified column (with formulas update). - - One-based column index to remove. - - - - Removes specified column (without updating formulas). - - One-based column index to remove. - Number of columns to remove. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of strings into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of integers into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of doubles into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of DateTimes into worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - Number of imported rows. - - - - Imports data from class objects into worksheet - - IEnumerable object with desired data - Row of the First cell to be imported - Column of the first cell to be imported - TRUE if class properties names must also be imported - - - - - Imports data from a DataColumn into worksheet. - - DataColumn with desired data. - True if column name must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - True if data table must be serialized directly on save. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Indicates whether to preserve column types. - Number of imported rows - - - - Removes panes from a worksheet. - - - - - Intersects two ranges. - - First range to intersect. - Second range to intersect. - Intersection of two ranges or NULL if there is no range intersection. - - When range1 or range2 is NULL. - - - - - Merges two ranges. - - First range to merge. - Second range to merge. - Merged ranges or NULL if wasn't able to merge ranges. - - When range1 or range2 is NULL. - - - - - Autofits specified row. - - One-based row index. - - - - Autofits specified column. - - One-based column index. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Replaces specified string by data column values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Removes worksheet from parent worksheets collection. - - - - - Moves worksheet. - - New index of the worksheet. - - - - Converts column width into pixels. - - Width in characters. - Width in pixels - - - - Converts pixels into column width (in characters). - - Width in pixels - Width in characters. - - - - Sets column width. - - One-based column index. - Width to set. - - - - Sets column width. - - One-based column index. - Width in pixels to set. - - - - Set Column width from start Column index to End Column index - - start Column index - No of Column to be set width - Value in pixel to set - - - - Sets row height. - - One-based row index. - Height to set. - - - - Sets row height in pixels. - - One-based row index to set height. - Value in pixels to set. - - - - Set row height - - Start index of Row - No of Row to be set width - - - - - Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width of the specified column. - - - - Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width in pixels of the specified column. - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row - - Height from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row. - - Height in pixels from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value based on the OfficeFindOptions - - Value to search. - Type of value to search. - Way to search the value. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - First found cell, or Null if value was not found. - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that ends with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value based on the Excel find options. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Save tabsheet using separator. - - File to save. - Current separator. - - - - Save tabsheet using separator. - - File to save. - Current separator. - Encoding to use. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - Encoding to use. - - - - Sets by column index default style for column. - - Column index. - Default style. - - - - Sets by column index default style for column. - - Start column index. - End column index. - Default style. - - - - Sets by column index default style for row. - - Row index. - Default style. - - - - Sets by column index default style for row. - - Start row index. - End row index. - Default style. - - - - Returns default column style. - - Column index. - Default column style or null if style wasn't set. - - - - Returns default row style. - - Row index. - Default row style or null if style wasn't set. - - - - Free's range object. - - Range to remove from internal cache. - - - - Free's range object. - - One-based row index of the range object to remove from internal cache. - One-based column index of the range object to remove from internal cache. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets text in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Text to set. - - - - Sets formula in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Formula to set. - - - - Sets error in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Error to set. - - - - Sets blank in specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - - - - Sets formula number value. - - One based row index. - One based column index. - Represents formula number value for set. - - - - Sets formula error value. - - One based row index. - One based column index. - Represents formula error value for set. - - - - Sets formula bool value. - - One based row index. - One based column index. - Represents formula bool value for set. - - - - Sets formula string value. - - One based row index. - One based column index. - Represents formula string value for set. - - - - Returns string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula contained by the cell. - - - - Gets error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Gets formula bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Gets formula error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Returns formula number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns all used cells in the worksheet. Read-only. - - - - - True if page breaks (both automatic and manual) on the specified - worksheet are displayed. Read / write Boolean. - - - - - Returns the index number of the object within the collection of - similar objects. Read-only. - - - - - Returns all merged ranges. Read-only. - - - - - For a Worksheet object, returns a Names collection that represents - all the worksheet-specific names (names defined with the "WorksheetName!" - prefix). Read-only Names object. - - - - - Returns a PageSetup object that contains all the page setup settings - for the specified object. Read-only. - - - - - Returns a Range object that represents a cell or a range of cells. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the rows on the specified worksheet. Read-only Range object. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the columns on the specified worksheet. Read-only Range object. - - - - - Returns or sets the standard (default) height of all the rows in the worksheet, - in points. Read/write Double. - - - - - Returns or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. - Read/write Bool. - - - - - Returns or sets the standard (default) width of all the columns in the - worksheet. Read/write Double. - - - - - Returns or sets the worksheet type. Read-only OfficeSheetType. - - - - - Returns a Range object that represents the used range on the - specified worksheet. Read-only. - - - - - Zoom factor of document. Value must be in range from 10 till 400. - - - - - Position of the vertical split (px, 0 = No vertical split): - Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible columns in left pane(s) - - - - - Position of the horizontal split (by, 0 = No horizontal split): - Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible rows in top pane(s) - - - - - Index to first visible row in bottom pane(s). - - - - - Index to first visible column in right pane(s). - - - - - Identifier of pane with active cell cursor. - - - - - True if zero values to be displayed - False otherwise. - - - - - True if gridlines are visible; - False otherwise. - - - - - Gets / sets Grid line color. - - - - - True if row and column headers are visible; - False otherwise. - - - - - Indicates if all values in the workbook are preserved as strings. - - - - - Gets / sets cell by row and index. - - - - - Get cells range. - - - - - Get cell range. - - - - - Get cell range. - - - - - Returns all not empty or accessed cells. Read-only. - WARNING: This property creates Range object for each cell in the worksheet - and creates new array each time user calls to it. It can cause huge memory - usage especially if called frequently. - - - - - Indicates whether all created range objects should be cached. Default value is false. - - - - - Defines whether freezed panes are applied. - - - - - Return split cell range. - - - - - Gets/sets top visible row of the worksheet. - - - - - Gets/sets left visible column of the worksheet. - - - - - There are two different algorithms to create UsedRange object: - 1) Default. This property = true. The cell is included into UsedRange when - it has some record created for it even if data is empty (maybe some formatting - changed, maybe not - cell was accessed and record was created). - 2) This property = false. In this case XlsIO tries to remove empty rows and - columns from all sides to make UsedRange smaller. - - - - - Gets or sets the view setting of the sheet. - - - - - Returns instance of migrant range - row and column of this range - object can be changed by user. Read-only. - - - - - Adds new worksheet to the collection. - - Worksheet to add. - Index of the added worksheet. - When sheet is Null. - - - - Returns single entry from the collection. Read-only. - - - - - Indicates whether collection is empty. Read-only. - - - - - Number of selected worksheets. - - - - - Parent workbook. - - - - - Page setup. - - - - - Used range. - - - - - Migrant range - row and column of this range object can be changed by user. - - - - - Creates new instance of the worksheet group. - - Application object for the new group. - Parent object for the new group. - - - - Searches for all necessary parent objects. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Adds new worksheet to the collection. - - Worksheet to add. - Index of the added worksheet. - When sheet is Null. - - - - Removes worksheet from the collection. - - Worksheet to remove. - When sheet is Null. - - - - Selects single tab sheet. - - Sheet to select. - - - - Creates migrant range. - - - - - Returns the formula string if the cell contains a formula, or the value if - the cell cantains anything other than a formula. - - The row of the cell. - The column of the cell. - The formula string or value. - - - - Sets the value of a cell. - - The value to be set. - The row of the cell. - The column of the cell. - - - - Not implemented. - - - - - Makes the current sheet the active sheet. Equivalent to clicking the - sheet's tab. - - - - - Copies worksheet into the clipboard. - - - - - Clears worksheet data. Removes all formatting and merges. - - - - - Clears worksheet. Only the data is removed from each cell. - - - - - Indicates whether a cell was initialized or accessed by the user. - - One-based row index of the cell. - One-based column index of the cell. - Value indicating whether the cell was initialized or accessed by the user. - - - - Creates new instance of IRanges. - - New instance of ranges collection. - - - - Create Named Ranges - - Names to create - Refers to range - True if the named range values are vertically placed in the sheet. - - - - Method check is Column with specified index visible to end user or not. - - Index of column. - True - column is visible; otherwise False. - - - - Shows / Hides the specified column. - - Index at which the column should be hidden. - True - Column is hidden. - - - - Hides the specified column. - - One-based column index to hide. - - - - Hides the specified row. - - One-based row index to hide. - - - - Method check is Row with specified index visible to user or not. - - Index of row visibility of each must be checked. - True - row is visible to user, otherwise False. - - - - Shows / Hides the specified row. - - Index at which the row should be hidden. - True - Row is hidden. - - - - Shows / Hides the specified range. - - Range specifies the particular range to show / hide - True - Range is visible; false - hidden. - - - - Shows/ Hides the collection of range. - - Ranges specifies the range collection. - True - Row is visible; false - hidden. - - - - Shows/ Hides an array of range. - - Ranges specifies the range array. - True - Row is visible; false - hidden. - - - - Inserts an empty row with default formatting (with formulas update). - - Index at which new row should be inserted. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - Insert options. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted. - - - - Inserts an empty column with default formatting (without formulas update). - - Index at which new column should be inserted. - Number of columns to insert. - - - - Inserts an empty column with default formatting (without formulas update). - - Index at which new column should be inserted. - Number of columns to insert. - Insert options. - - - - Removes specified row (without updating formulas). - - One-based row index to remove. - - - - Removes specified row (without updating formulas). - - One-based row index to remove. - Number of rows to remove. - - - - Removes specified column (without updating formulas). - - One-based column index to remove. - - - - Removes specified column (without updating formulas). - - One-based column index to remove. - Number of columns to delete. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of strings into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of integers into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of doubles into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of DateTimes into worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - Number of imported rows. - - - - Imports data from class objects into worksheet - - IEnumerable object with desired data - Row of the First cell to be imported - Column of the first cell to be imported - TRUE if class properties names must also be imported - - - - - Imports data from a DataColumn into worksheet. - - DataColumn with desired data. - True if column name must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - True if data table must be serialized directly on save. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Indicates whether to preserve column types. - Number of imported rows - - - - Removes panes from a worksheet. - - - - - Exports worksheet data into a DataTable. - - Row of the first cell from where DataTable should be exported. - Column of the first cell from where DataTable should be exported. - Maximum number of rows to export. - Maximum number of columns to export. - Export options. - DataTable with worksheet data. - - - - Exports worksheet data into a DataTable. - - Range to export. - Export options. - DataTable with worksheet data. - - - - Protects worksheet's content with password. - - Password to protect with. - - - - Protects current worksheet. - - Represents password to protect. - Represents params to protect. - - - - Unprotects worksheet's content with password. - - Password to unprotect. - - - - Intersects two ranges. - - First range to intersect. - Second range to intersect. - Intersection of two ranges or NULL if there is no range intersection. - - When range1 or range2 is NULL. - - - - - Merges two ranges. - - First range to merge. - Second range to merge. - Merged ranges or NULL if wasn't able to merge ranges. - - When range1 or range2 is NULL. - - - - - Autofits specified row. - - One-based row index. - - - - Autofits specified column. - - One-based column index. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Replaces specified string by data column values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Removes worksheet from parent worksheets collection. - - - - - Moves worksheet. - - New index of the worksheet. - - - - Converts column width into pixels. - - Width in characters. - Width in pixels - - - - Converts pixels into column width (in characters). - - Width in pixels - Width in characters. - - - - Sets column width. - - One-based column index. - Width to set. - - - - Sets column width. - - One-based column index. - Width in pixels to set. - - - - Set Column width from start Column index to End Column index - - start Column index - No of Column to be set width - Value to set in pixels - - - - Sets row height. - - One-based row index. - Height to set. - - - - Sets row height in pixels. - - One-based row index to set height. - Value in pixels to set. - - - - Set Row height from Start Row index to End Row index - - Start Row index - No of Row to be set width - value in pixels to set - - - - Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width of the specified column. - - - - Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width in pixels of the specified column. - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row - - Height from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row. - - Height in pixels from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - The find options. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Save tabsheet using separator. - - File to save. - Current separator. - - - - Save tabsheet using separator. - - File to save. - Current separator. - Encoding to use. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - Encoding to use. - - - - Sets by column index default style for column. - - Column index. - Default style. - - - - Sets by column index default style for column. - - Start column index. - End column index. - Default style. - - - - Sets by column index default style for row. - - Row index. - Default style. - - - - Sets by column index default style for row. - - Start row index. - End row index. - Default style. - - - - Returns default row style. - - Row index. - Default row style or null if style wasn't set. - - - - Returns default Column style. - - Column index. - Default column style or null if style wasn't set. - - - - Free's range object. - - Range to remove from internal cache. - - - - Free's range object. - - One-based row index of the range object to remove from internal cache. - One-based column index of the range object to remove from internal cache. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets text in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Text to set. - - - - Sets formula in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Formula to set. - - - - Sets error in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Error to set. - - - - Sets blank in specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - - - - Sets formula number value. - - One based row index. - One based column index. - Represents formula number value for set. - - - - Sets formula error value. - - One based row index. - One based column index. - Represents formula error value for set. - - - - Sets formula bool value. - - One based row index. - One based column index. - Represents formula bool value for set. - - - - Sets formula string value. - - One based row index. - One based column index. - Represents formula string value for set. - - - - Returns string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula contained by the cell. - - - - Gets error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Returns formula string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns formula number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Gets formula error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets formula bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Converts range into image (Bitmap). - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - - - - - Converts range into image. - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - Type of the image to create. - Output stream. It is ignored if null. - Created image. - - - - Converts range into metafile image. - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - Metafile EmfType. - Output stream. It is ignored if null. - Created image. - - - - Converts range into image. - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - Type of the image to create. - Output stream. It is ignored if null. - Metafile EmfType. - Created image. - - - - Selects current tab sheet. - - - - - Unselects current tab sheet. - - - - - Event handler for Inserted event. - - Event sender. - Event arguments. - - - - Event handler for Removing event. - - Event sender. - Event arguments. - - - - This method is called before clearing all elements. - - - - - Event raised when an unknown function is encountered. - - - - - Indicates whether collection is empty. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Gets workbook to which current worksheet belong. Read-only. - - - - - Returns all used cells in the worksheet. Read-only. - - - - - Gets or sets the view setting of the sheet. - - - - - - True if page breaks (both automatic and manual) on the specified - worksheet are displayed. Read / write Boolean. - - - - - Gets or sets a value indicating whether this instance is OLE object. - - - true if this instance is OLE object; otherwise, false. - - - - - Returns the index number of the object within the collection of - similar objects. Read-only. - - - - - Returns index in the parent ITabSheets collection. Read-only. - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Returns all merged ranges. Read-only. - - - - - Returns or sets the name of the object. Read / write String. - - - - - For a Worksheet object, returns a Names collection that represents - all the worksheet-specific names (names defined with the "WorksheetName!" - prefix). Read-only Names object. - - - - - Name that is used by macros to access the workbook items. - - - - - Returns a PageSetup object that contains all the page setup settings - for the specified object. Read-only. - - - - - Returns a Range object that represents a cell or a range of cells. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the rows on the specified worksheet. Read-only Range object. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the columns on the specified worksheet. Read-only Range object. - - - - - Returns the standard (default) height of all the rows in the worksheet, - in points. Read-only Double. - - - - - Returns or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. - Read/write Bool. - - - - - Returns or sets the standard (default) width of all the columns in the - worksheet. Read/write Double. - - - - - Returns or sets the worksheet type. Read-only OfficeSheetType. - - - - - Returns a Range object that represents the used range on the - specified worksheet. Read-only. - - - - - Zoom factor of document. Value must be in range from 10 till 400. - - - - - Control visibility of worksheet to end user. - - - - - Position of the vertical split (px, 0 = No vertical split): - Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible columns in left pane(s) - - - - - Position of the horizontal split (py, 0 = No horizontal split): - Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible rows in top pane(s) - - - - - Index to first visible row in bottom pane(s). - - - - - Index to first visible column in right pane(s). - - - - - Identifier of pane with active cell cursor. - - - - - True if zero values to be displayed - False otherwise. - - - - - True if gridlines are visible; - False otherwise. - - - - - Gets/Sets Grid line color. - - - - - True if row and column headers are visible; - False otherwise. - - - - - Indicates if all values in the workbook are preserved as strings. - - - - - Indicates if the worksheet is password protected. - - - - - Gets / sets cell by row and index. - - - - - Get cells range. - - - - - Get cell range. - - - - - Get cell range. - - - - - Returns all not empty or accessed cells. Read-only. - WARNING: This property creates Range object for each cell in the worksheet - and creates new array each time user calls to it. It can cause huge memory - usage especially if called frequently. - - - - - Returns collection of custom properties. Read-only. - - - - - Returns instance of migrant range - row and column of this range - object can be changed by user. Read-only. - - - - - Indicates whether all created range objects should be cached. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Indicates is current sheet is protected. - - - - - - - - - - - - - - - There are two different algorithms to create UsedRange object: - 1) Default. This property = true. The cell is included into UsedRange when - it has some record created for it even if data is empty (maybe some formatting - changed, maybe not - cell was accessed and record was created). - 2) This property = false. In this case XlsIO tries to remove empty rows and - columns from all sides to make UsedRange smaller. - - - - - Defines whether freeze panes are applied. - - - - - Return split cell range. - - - - - Gets / sets tab color. - - - - - Gets / sets tab color. - - - - - Returns charts collection. Read-only. - - - - - Returns shapes collection. Read-only. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Indicates whether tab of this sheet is selected. Read-only. - - - - - Returns collection with all textboxes inside this worksheet. Read-only. - - - - - Summary description for HeaderFooterShapesCollection. - - - - - Summary description for ShapeCollectionBase. - - - - - Default id increment when group changes. - - - - - Shapes count would be rounded to this value. - - - - - Container of all worksheet's shapes. - - - - - Parent worksheet. - - - - - Index of the collection. - - - - - Id of the last shape. - - - - - Id of the first shape. - - - - - - - - - - - - - - - - - Parse options. - - - - Initializes collection. - - - - - Searches for all necessary parent objects. - - - - - Parses shapes group container. - - Container to parse. - Parse options. - - - - Parses shapes group description record. - - Record to parse. - - - - Parses MsoDrawing records. - - Array of MsoDrawing records. - Parse options. - - - - Parses MsofbtDgContainer. - - Container to parse. - Parse options. - - - - Parses MsofbtDg record. - - Record to parse. - - - - Adds shape copy to the collection. - - Shape to copy. - Added shape. - - - - Adds shape copy to shapes collection. - - Shape to copy. - Dictionary with new names of worksheets. - Dictionary with new font indexes. - Added shape. - - - - Adds shape copy to the collection. - - Shape to copy. - Added shape. - - - - Adds shape copy to shapes collection. - - Shape to copy. - Dictionary with new names of worksheets. - List with new font indexes. - Added shape. - - - - Adds new shape to the collection. - - Shape to add. - Newly added shape. - - - - Adds new shape to the collection. - - Shape record to add. - Parse options. - Newly added shape. - - - - Adds the group container shapes. - - GroupShape record to add. - Parse options. - Newly added shape. - - - - Create the group container shapes. - - GroupShape record to create. - Parse options. - Newly created shape. - - - - Adds new child shape to the collection. - - Shape container to add. - Parse options. - Newly added shape. - - - - Adds new shape to the collection. - - Shape container to add. - Parse options. - Newly added shape. - - - - Creates new shape object. - - Object type to create. - Shape container. - Parse options. - Subrecords of the shape's OBJRecord. - Index to the cmo record inside subrecords. - - - - Removes shape from the collection. - - Shape to remove. - - - - Creates copy of the collection. - - Parent object for the new collection. - Copy of the collection. - - - - Registers in the parent worksheet. - - - - - Serializes shapes collection. - - Array of records that will receive all shapes. - - - - Converts array of records with break indexes into bytes sequence. - - Stream to put resulting data into. - Container. - List with break indexes. - List with records to serialize. - Corresponding byte array. - - - - - - - - - - - - - - Returns parent WorksheetBase. Read-only. - - - - - Returns parent worksheet. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Returns single shape from the collection by its index. Read-only. - - - - - Returns single shape from the collection by its name or null when cannot find. Read-only. - - - - - Gets or sets the shape layout stream. - - The shape layout stream. - - - - Code of the Biff record in which all data is stored. Read-only. - - - - - Returns shared shape data for all shapes in this collection. Read-only. - - - - - Index of the collection. - - - - - Id of the last shape. - - - - - Id of the first shape. - - - - - - - - - - - - - - - - - Parse options. - - - - Creates new shape object. - - Object type to create. - Shape container. - Parse options. - Subrecords of the shape's OBJRecord. - Index to the cmo record inside subrecords. - - - - Converts array of records with break indexes into bytes sequence. - - Stream to put record data into. - Container. - List with break indexes. - List with records to serialize. - Corresponding byte array. - - - - Adds new shape to the collection. - - Shape container to add. - Parse options. - Newly added shape. - - - - Registers in the parent worksheet. - - - - - Parses record with image data. - - Record to parse. - Parse options. - - - - Sets picture. - - Shape name. - Image to set. - - - - Sets picture. - - Shape name. - Image to set. - Represents new shape blip id index. If set -1 - auto indicate. - - - - Sets picture. - - Shape name. - Image to set. - Represents new shape blip id index. If set -1 - auto indicate. - Indicates is current picture include options. - - - - Code of the Biff record in which all data is stored. Read-only. - - - - - Returns shared shape data for all shapes in this collection. Read-only. - - - - - Suitable Node colors used for 2-3-4 nodes detection. - - - - - Red color of node. - - - - - Black color of node. - - - - - Node class used for proper storing of data in the Map Collection. - - - - - Reference on left branch. - - - - - Reference on right branch. - - - - - Reference on parent branch. - - - - - Color of node branch. - - - - - Is current node Nil element or not? - - - - - Key part of stored in node data. - - - - - Value part of stored in node data. - - - - - Create red colored Tree node. - - Reference on left branch. - Reference on parent branch. - Reference on right branch. - Key value of node. - Value part of node. - - - - Main constructor of class. - - Reference on left branch. - Reference on parent branch. - Reference on right branch. - Key value of node. - Value part of node. - Color of node. - - - - Reference on left branch. - - - - - Reference on right branch. - - - - - Reference on parent branch. - - - - - Color of node branch. - - - - - Is current node Nil element or not? - - - - - Key part of stored in node data. - - - - - Value part of stored in node data. - - - - - Is current node set to red color? - - - - - Is current node set to black color? - - - - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - Create collection with specified comparer for Key values. - - Comparer for key values. - - - - Create Empty node for collection. - - - - - Clear collection. - - - - - Add item into collection. - - Key part. - Value. - - - - Check whether collection contains specified key. - - True if node with specified key is found; otherwise False. - Key for check. - - - - Remove from collection item with specified key. - - Key to identify item. - - - - TODO: place correct comment here - - - TODO: place correct comment here - - - - - Get minimum value for specified branch. - - Branch start node. - Reference on minimum value node. - - - - Get maximum value for specified branch. - - Branch start node. - Reference on maximum value node. - - - - Go to to next item in collection. - - Start node. - Reference on next item in collection or this.Empty if nothing found. - - - - Get previous item from collection. - - Start node. - Reference on previous item in collection. - - - - Find node in collection by key value (search in lower side). - - Key of node to find. - Reference on found node, otherwise this.Empty value. - - - - Find node in collection by key value (search in upper side). - - Key of node to find. - Reference on found node, otherwise this.Empty value. - - - - Rotate branch into left side. - - Branch start node. - - - - Rotate branch into right side. - - Branch start node. - - - - Erase node from collection. - - Item to erase. - - - - Insert item into collection. - - Add into left side of tree or right. - Node for placement. - Key part of node. - Value part of node. - - - - Returns enumerator. - - Returns enumerator of current interface. - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - - - - - - - - - TODO: place correct comment here - - - - - TODO: place correct comment here - - - - - Summary description for RangesCollection. - - - - - Represents a collection of ranges. - - - - - Adds new range to the collection. - - Range to add. - - - - Removes range from the collection. - - Range to remove. - - - - Returns item by index from the collection. - - - - - Represents a combined Range. - - - - - Gets new address of range. - - Dictionary with Worksheet names. - String that sets as a worksheet name. - Returns string with new name. - - - - Clones current IRange. - - Parent object. - Dictionary with new names. - Parent workbook. - Returns clone of current instance. - - - - Clears conditional formats. - - - - - Returns array that contains information about range. - - Rectangles that describes range - - - - Returns number of rectangles returned by GetRectangles method. - - Number of rectangles returned by GetRectangles method. - - - - Number of cells in the range. Read-only. - - - - - Gets address global in the format required by Excel 2007. - - - - - Gets name of the parent worksheet. - - - - - Interface that contains method for to take native ptg. - - - - - Gets ptg of current range. - - Returns native ptg. - - - - Error message for wrong worksheet exception. - - - - - Parent worksheet. - - - - - One-based first row index. - - - - - One-based first column index. - - - - - One-based last row index. - - - - - One-based last column index. - - - - - Rich text string. - - - - - Creates new instance of RangesCollection. - - Application object. - Parent object. - - - - Searches for all necessary parents of this collection. - - - If can't find parent of some class. - - - - - Activates a single cell, which must be inside the current selection. - To select a range of cells, use the Select method. - - - - - - Activages a single cell, scroll to it and activates the respective sheet - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - This method groups current range. - - - This parameter specifies whether the grouping should - be performed by rows or by columns. - - Current range after grouping. - - - - This method groups current range. - - - This parameter specifies whether grouping should - be performed by rows or by columns. - - Indicates whether group should be collapsed. - Current range after grouping. - - - - Creates Subtotal for the corresponding ranges - - GroupBy - ConsolidationFunction - TotalList - - - - Creates SubTotal for the corresponding Ranges - - GroupByGroupBy - ConsolidationFunction - TotalList - Replace exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Creates a merged cell from the specified Range object. - - - - - Creates a merged cell from the specified Range object. - - Indicates whether to clear unnecessary cells. - - - - Ungroups current range. - - - Indicates type of ungrouping. Ungroup by columns or by rows. - - Current range after ungrouping. - - - - Separates a merged area into individual cells. - - - - - Freezes pane at the current range. - - - - - Clear the contents of the Range. - - - - - Clear the contents of the Range with formatting. - - True if formatting should also be cleared. - - - - Clears the cell based on clear options. - - - - - - Clear the contents of the Range and shifts the cells Up or Left - without formula or merged ranges update. - - Cells shift direction Up/Left. - - - - Clear the contents of the Range and shifts the cells Up or Left. - - Cells shift direction Up/Left. - Cells shifting options. - - - - Moves the cells to the specified Range (without updating formulas). - - Destination Range. - - - - Copies the range to the specified destination Range (without updating formulas). - - Destination range. - Range were this range was copied. - - - - Copies this range into another location. - - Destination range. - Copy range options. - Destination range. - - - - Returns intersection of this range with the specified one. - - The Range with which to intersect. - Range intersection; if there is no intersection, NULL is returned. - - - - Returns merge of this range with the specified one. - - The Range to merge with. - Merged ranges or NULL if wasn't able to merge ranges. - - - - - - - - - - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - Copies range to the clipboard. - - - - - Sets around border for current range. - - - - - Sets around border for current range. - - Represents border line. - - - - Sets around border for current range. - - Represents border line. - Represents border color. - - - - Sets around border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets inside border for current range. - - - - - Sets inside border for current range. - - Represents border line. - - - - Sets inside border for current range. - - Represents border line. - Represents border color. - - - - Sets inside border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets none border for current range. - - - - - Collapses current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Additional option flags. - - - - Gets new address of range. - - Dictionary with Worksheet names. - String that sets as a worksheet name. - Returns string with new name. - - - - Clones current IRange. - - Parent object. - Dictionary with new names. - Parent workbook. - Returns clone of current instance. - - - - Clears conditional formats. - - - - - Returns array that contains information about range. - - Rectangles that describes range - - - - Returns number of rectangles returned by GetRectangles method. - - Number of rectangles returned by GetRectangles method. - - - - Adds new range to the collection. - - Range to add. - - - - Adds range to the collection. - - Range to add. - - - - Removes range from the collection. - - Range to remove. - - - - Evaluates dimensions of the ranges collection. - - - - - Returns SortedListEx that describes used rows / columns. - - Indicates whether information about columns should be returned. - SortedListEx that describes used rows / columns. - - - - Adds new element to the list of used rows / columns. - - List to add entry to. - Row / column index. - Entry to add. - - - - Adds new element to the list of used rows / columns. - - List to add entry to. - Row / column index. - Start index of the new entry. - End index of the new entry. - - - - - - - - - - - Returns array of used rows / columns. - - Indicates whether columns array should be returned. - Array of used rows / columns. - - - - Checks whether collection is disposed. - - - - - - - - - - - Gets ptg of current range. - - Returns native ptg. - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user. Read-only String. - - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference in the language of the macro using R1C1-style reference. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user using R1C1 style reference . Read-only String. - - - - - Gets / sets boolean value that is contained by this range. - - - - - Returns a Borders collection that represents the borders of a style - or a range of cells (including a range defined as part of a - conditional format). - - - - - Returns a Range object that represents the cells in the specified range. - For big number of ranges can be very slow operation. Read-only. - - - - - Returns the number of the first column in the first area in the specified - range. Read-only. - - - - - Column group level. Read-only. - -1 - Not all columns in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns or sets the width of all columns in the specified range. - Read/write Double. - - - - - Returns the number of objects in the collection. Read-only. - - - - - Gets / sets DateTime contained by this cell. Read-write DateTime. - - - - - Returns cell value after number format application. Read-only. - - - - - Returns a Range object that represents the cell at the end of the - region that contains the source range. - - - - - Returns a Range object that represents the entire column (or - columns) that contains the specified range. Read-only. - - - - - Returns a Range object that represents the entire row (or - rows) that contains the specified range. Read-only. - - - - - Gets / sets error value that is contained by this range. - - - - - Returns or sets the object's formula in A1-style notation and in - the language of the macro. Read/write Variant. - - - - - Returns or sets the object's formula in R1C1-style notation and in - the language of the macro. Read/write Variant. - - - - - Represents array-entered formula. - Visit http://www.cpearson.com/excel/array.htm for more information. - - - - - Returns or sets the array-entered formula in R1C1-style notation and in - the language of the macro. Read/write Variant. - - - - - True if the formula will be hidden when the worksheet is protected. - False if at least part of formula in the range is not hidden. - - - - - Get / set formula DateTime value contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Indicates whether specified range object has data validation. - If Range is not single cell, then returns true only if all cells have data validation. Read-only. - - - - - Indicates whether range contains bool value. Read-only. - - - - - Indicates whether range contains DateTime value. Read-only. - - - - - Indicates if current range has formula bool value. Read-only. - - - - - Indicates if current range has formula error value. Read-only. - - - - - Indicates if current range has formula value formatted as DateTime. Read-only. - - - - - True if all cells in the range contain formulas; False if - at least one of the cells in the range doesn't contain a formula. - Read-only Boolean. - - - - - Indicates whether range contains array-entered formula. Read-only. - - - - - Indicates whether the range contains number. Read-only. - - - - - Indicates whether cell contains formatted rich text string. - - - - - Indicates whether the range contains String. Read-only. - - - - - Indicates whether range has default style. False means default style. - Read-only. - - - - - Returns or sets the horizontal alignment for the specified object. - Read/write OfficeHAlign. - - - - - Returns or sets the indent level for the cell or range. Can be an integer - from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. - - - - - Indicates whether the range is blank. Read-only. - - - - - Indicates whether range contains boolean value. Read-only. - - - - - Indicates whether range contains error value. - - - - - Indicates whether this range is grouped by column. Read-only. - - - - - Indicates whether this range is grouped by row. Read-only. - - - - - Indicates whether cell is initialized. Read-only. - - - - - Returns last column of the range. Read-only. - - - - - Returns last row of the range. Read-only. - - - - - Gets / sets double value of the range. - - - - - Format of current cell. Analog of Style.NumberFormat property. - - - - - Returns the number of the first row of the first area in - the range. Read-only Long. - - - - - Row group level. Read-only. - -1 - Not all rows in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns the height of all the rows in the range specified, - in points. Returns Double.MinValue if the rows in the specified range - aren't all the same height. Read / write Double. - - - - - For a Range object, returns an array of Range objects that represent the - rows in the specified range. - - - - - For a Range object, returns an array of Range objects that represent the - columns in the specified range. - - - - - Returns a Style object that represents the style of the specified - range. Read/write IStyle. - - - - - Returns name of the Style object that represents the style of the specified - range. Read/write String. - - - - - Gets / sets string value of the range. - - - - - Gets / sets time value of the range. - - - - - Returns or sets the value of the specified range. - Read/write Variant. - - - - - Returns or sets the cell value. Read/write Variant. - The only difference between this property and the Value property is - that the Value2 property doesn't use the Currency and Date data types. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - Returns a Worksheet object that represents the worksheet - containing the specified range. Read-only. - - - - - Gets / sets cell by row and index. - - - - - Get cell range. - - - - - Get cell range. - - - - - Gets cell range. Read-only. - - - - - - - - - - - - - - - Returns the calculated value of the formula as a boolean. - - - - - Returns the calculated value of the formula as a string. - - - - - String with rich text formatting. Read-only. - - - - - Indicates whether this range is part of merged range. Read-only. - - - - - Returns a Range object that represents the merged range containing - the specified cell. If the specified cell isn�t in a merged range, - this property returns NULL. Read-only. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Indicates is current range has external formula. Read-only. - - - - - Represents ignore error options. If not single cell returs concatenateed flags. - - - - - Indicates whether all values in the range are preserved as strings. - - - - - Gets/sets built in style. - - - - - Gets address global in the format required by Excel 2007. - - - - - Number of cells in the range. Read-only. - - - - - Gets name of the parent worksheet. - - - - - Returns item by index from the collection. - - - - - Implements a two-dimensional table that holds an SFArrayList of rows. Each row - is an SFArrayList of objects. - - -

This is a memory efficient way to represent a table where values can remain empty. Only rows - that actually contain data will allocate an SFArrayList and the array only holds - as many objects as the specific row contains columns.

-

When you access data that are out of range, an empty () object will be returned. - If you set data that are out of range, an exception will be thrown. If you set data for - a row that is empty, the row will be allocated before the value is stored.

-

SFTable provides methods that let you insert, remove or rearrange columns or m_arrRows - in the table.

-
-
- - - Number of m_arrRows in the collection. - - - - - Collection of rows. - - - - - First created row. - - - - - Last created row. - - - - - Indicates whether object was disposed. - - - - - This array contains all shared formulas found during parsing. - - - - - Parent workbook. - - - - - Parent worksheet. - - - - - Initializes a new instance of the - class. - - - Initializes a new instance of the - class that is empty. - - Number of rows in the collection. - Parent worksheet object. - - - - Initializes a new instance of the - class and optional copies of data from an existing table. - - Represents record table data. - Indicates is clone. - Parent worksheet object. - - - - - - - - - Object finalizer. - - - - - Creates a deep copy of the . - - - A deep copy of the . - - - - - Creates a deep copy of the . - - Parent worksheet object. - - A deep copy of the . - - - - - Removes all elements from the . - - - - - Creates a collection of cells for a row. - - Zero-based row index. - Row height. - Excel version. - An SFArrayList or derived object for the cell collection. - - - - Indicates whether an element is at the specified coordinates in the . - - The zero-based row index. - The zero-based column index. - - - if an element exists at the specified coordinates in the ; - otherwise. - - - - - Extracts Array record from the collection. - - Cell that contains array-entered formula. - ArrayRecord if there is one; null if cell doesn't contain array-entered formula. - - - - Updates first and last row indexes. - - Zero-based index of the created row. - - - - Sets row. - - Zero-based row index to set. - Row object to set. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Removes last column from the worksheet. - - Zero-based column index. - - - - Removes row from the worksheet. - - Zero-based row index to remove. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - - - - Replaces all shared formula with ordinary formula. - - - - - - Replaces all shared formula with ordinary formula. - - - - - Updates string indexes. - - List with new indexes. - - - - Copies cells from another worksheet. - - Source cells collection to copy cells from. - Source SST dictionary. - Destination SST dictionary. - Dictionary with new extended format indexes. - Dictionary with new worksheet names. - Dictionary with new name indexes. - Dictionary with new font indexes. - - - - Returns found values or null. - - Storage range. - Value for finding. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - Parent workbook. - - - - - Returns found values or null. - - Storage range. - Value to find. - If true - finds first value; otherwise - all values. - Way to find the value. - If findfirst - true then returns range; otherwise - array with all found values. - The book. - - List with cell indexes that contains specified value. - - - - - Returns found values or null. - - Storage range. - Value for finding. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - Parent workbook. - - - - - Returns found values or null. - - Storage range. - Value for finding. - Indicates whether we should look for error code or boolean value. - If findfirst - true then returns range; otherwise - array with all found values. - Parent workbook. - - - - - Returns minimum used column. - - Start row. - End row. - Minimum used column. - - - - Returns maximum used column. - - Start row. - End row. - Maximum used column. - - - - Determines whether collection contains row. - - Zero-based row index. - True if the collection contains at least one element with specified row index; otherwise, False. - - - - - - - - - - Caches and removes specified rectangle from the table. - - Source rectangle. - Row delta to add to the resulting table. - Column delta to add to the resulting table. - Output maximum zero-based row index. - Output maximum zero-based column index. - Cached table. - - - - This method should be called immediately after extended format removal. - - Dictionary with updated extended formats. - - - - This method should be called immediately after extended format removal. - - Array with updated extended formats. - - - - This method updates indexes to the extended formats after version change. - - New restriction for maximum possible XF index. - - - - Updates LabelSST indexes after SST record parsing. - - Dictionary with indexes to update, key - old index, value - new index. - - - - Adds shared formula to record table. - - Row index of the cell containing shared formula description. - Column index of the cell containing shared formula description. - Shared formula record to add. - - - - Extracts ranges from the reader. - - Index record - Reader to extract ranges from. - Indicates whether to ignore styles. - SSTDictionary of the parent workbook. - Parent worksheet. - True if parsing was succeeded (this doesn't guarantees records correctness). - - - - Returns row from the collection or creates one if necessary. - - Zero-based row index. - Row height. - Indicates whether to create row if it doesn't exist. - Excel version. - Desired row object. - - - - Ensures that array will be able to handle desired number of rows. - - - - - - - - - - - - - - - - - - - - True if parsing succeeded (this doesn't guarantee data correctness). - - - - Fills RowRecord with data from the stream. - - RowRecord to fill. - Stream to read data from. - Temporary buffer. - Data provider that gives additional access to the temporary buffer. - Record length. - - - - Reads RowStorage data from the stream. - - Corresponding RowRecord. - Stream to read data from. - Size of the data to read. - Temporary buffer. - Strings shared table which can be updated during parsing. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Gets bool value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - 0. - - - - Gets formula bool value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - 0. - - - - Gets error value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - null. - - - - Gets the error value. - - The value. - The i row. - - - - - Gets formula error value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - null. - - - - Gets number value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - double.NaN. - - - - Gets formula number value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - If found - returns value; otherwise - double.NaN. - - - - Gets string value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - Represents sst dictionary. - If found - returns value; otherwise - null. - - - - Gets string value by row or column indexes. Without check input parameters. - - One based row index. - One based column index. - Represents sst dictionary. - If found - returns value; otherwise - null. - - - - Gets array of formula ptg. - - One based row index. - One based column index. - If found - returns ptg array; otherwise - null. - - - - Indicates if there is formula record. - - One based row index. - One based column index. - Indicates whether formula record is contained. - - - - Indicates is contain formula array. - - Zero based row index. - Zero based column index. - If found return true; otherwise - false. - - - - Gets cell type from current column. - - Indicates row. - Indicates column. - Indicates is need to indentify formula sub type. - Returns cell type. - - - - Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. - - One based row index. - One based column index. - Represents value for set. - Represents string record as formula string value. Can be null. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Return parent Application object. Read-only. - - - - - Return parent Application object. Read-only. - - - - - Returns the SFArrayList from all rows. - - - - - Gets the number of rows contained in the . Read-only. - - - - - Returns zero-based index of the first created row. - - - - - Returns zero-based index of the last created row. - - - - - Gets / sets an element at the specified coordinates in the . - - The zero-based row index. - The zero-based column index. - - If you query for an element and the coordinates are out of range, an empty () object will be returned. - If you set an element and the the coordinates are out of range, an exception is thrown. - - - - - Returns List with shared formulas. Read-only. - - - - - Number of shared formulas. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Represents enumerator for SFTable - - - - - Table to enumerate. - - - - - One-based current row index. - - - - - SFTable to enumerate. - - - - - Offset inside current row. - - - - - To prevent creation instances of this class without arguments. - - - - - Initializes new instance of the enumerator. - - Table to enumerate. - - - - Sets the enumerator to its initial position, which is before - the first element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - - - - Moves pointer to the next non-empty row if it is possible. - - True if operation succeeded. - - - - Gets the current element in the collection. - - - - - Gets the key of the current dictionary entry. Read-only. - - - - - Gets the value of the current dictionary entry. Read-only. - - - - - Gets both the key and the value of the current dictionary entry. Read-only. - - - - - Stores single row data and gives functionality to access and modify it. - - - - - Contains outline information about. - - - - - Outline level. - - - - - Indicates whether object is collapsed. - - - - - Indicates whether object is hidden. - - - - - Index of extended format. - - - - - Row or column index. - - - - - Memory block will be divisible of this value. - - - - - Represents MULRK xf indexes period. - - - - - Represents MULBLANK xf indexes period. - - - - - Indicates the dot symbol - - - - - Records that are not simply ICellPositionFormat records but that contains multiple subrecords. - - - - - First record type - record that can contain several sub records, second - record type - type of the single record corresponding to the multi record type. - - - - - Zero-based index of the first column. - - - - - Zero-based index of the last column. - - - - - Size of used data. - - - - - Data provider. - - - - - Storage options. - - - - - Column that is referenced by m_iCurrentOffset. -1 - means that we have no correct offset. - - - - - Offset in the data storage to the record with m_iCurrentColumn. - - - - - Workbook object. - - - - - Represents the row index. - - - - - Represents the cells contains WrapText - - - - - Height of the row, in twips = 1/20 of a point. - - - - - Options flag. - - - - - - - - - - Preserves Table record for datatable support - - - - - Default constructor. - - - - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Disposes this object. - - - - - Returns row storage enumerator. - - Record extractor to get Biff records from. - - - - - Sets cell style. - - Zero-based row index. - Zero-based column index. - Index of the extended format to set. - Memory allocation elementary block size. - - - - Creates new record based on the data at the specified position. - - Offset to the record. - - - - - Returns record corresponding to the specified cell. - - Zero-based column index. - Memory allocation elementary block size. - Record corresponding to the specified cell. - - - - Returns record corresponding to the specified cell. - - Zero-based column index. - Memory allocation elementary block size. - Object used to extract records from internal data array. - Record corresponding to the specified cell. - - - - Sets cell data. - - Zero-based column index of the cell. - Cell to set. - Memory allocation elementary block size. - - - - Removes all data saving cells formatting. - - - - - Returns formula string value. - - Zero-based column index. - Value to set. - Memory allocation elementary block size. - - - - Sets array record. - - Zero-based column index. - Record to set. - Memory allocation elementary block size. - - - - Returns array record. - - Offset to the record. - Formula array record. - - - - Returns array record. - - Zero-based column index. - Corresponding array record. - - - - Creates copy of the storage. - - RowStorage with copied data. - - - - Creates copy of the storage. - - RowStorage with copied data. - - - - Creates copy of the storage. - - Zero-based index of the first column to copy. - Zero-based index of the last column to copy. - Memory allocation elementary block size. - RowStorage with copied data. - - - - Creates copy of the storage. - - Source strings table. - Destination strings table - Dictionary with new extended format indexes. - Dictionary with new worksheet names. - New name indexes. - Dictionary with new font indexes. - RowStorage with copied data. - - - - Creates copy of the storage. - - Zero-based index of the first column to copy. - Zero-based index of the last column to copy. - Represents allocation block size. - - - - Updates indexes in the array-entered formula. - - Zero-based column index of the cell with array-entered formula. - Zero-based row index of the array record. - Zero-based column index of the array record. - Memory allocation elementary block size. - - - - Indicates whether row contains record with specified index. - - Zero-based column index to find. - True if required record was found. - - - - Inserts data from another row object. - - Source row data. - Memory allocation elementary block size. - Heap handle that must be used to allocate memory. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - Memory allocation elementary block size. - Parent workbook. - - - - Adds specified values to row and columns indexes. - - Value to add to row index. - Value to add to column index. - Memory allocation elementary block size. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - Memory allocation elementary block size. - - - - Updates indexes to named ranges. - - Parent workbook. - New indexes. - Memory allocation elementary block size. - - - - Replaces all shared formula with ordinary formula. - - Parent workbook. - Shared formula that should be replaced. - - - - Updates string indexes. - - List with new indexes. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Checks the string value. - - The first. - The second. - The options. - The book. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Moves pointer to the next record. - - Offset of the current record. - Offset to the next record. - - - - This method should be called immediately after extended format removal. - - Dictionary with updated extended formats. - Memory allocation elementary block size. - - - - This method should be called immediately after extended format removal. - - Array with updated extended formats. - Memory allocation elementary block size. - - - - This method updates indexes to the extended formats after version change. - - New restriction for maximum possible XF index. - Index to the default extended format. - - - - Updates LabelSST indexes after SST record parsing. - - Dictionary with indexes to update, key - old index, value - new index. - - - - Appends storage with record's data. - - Record type. - Data length. - Array with required data. - Memory allocation elementary block size. - - - - Appends storage with record's data. - - Record type. - Data length. - Array with required data. - Memory allocation elementary block size. - - - - Appends storage with record's data. - - Data length. - Array with required data. - Memory allocation elementary block size. - - - - Appends storage with record's data. - - Zero-based column index to insert data. - Data length. - Array with required data. - Memory allocation elementary block size. - - - - Appends storage with record's data. - - Records to append. - Temporary buffer for record data. - Indicates whether we have to ignore styles. - Memory allocation elementary block size. - - - - Converts all MultiRK and MultiBlank records into set of RK / Blank records. - - Indicates whether styles must be ignored. - Memory allocation elementary block size. - - - - Compresses data storage - combines several rk/blank records into one MulRK/MulBlank records. - - - - - This method prepares row data, it updates indexes inside SSTDictionary, - sets flags for RK and MultiRK records. - - SSTDictionary to update. - List that will receive all found shared formula records. - - - - - - - - Indicates whether fast parsing is turned on. If it is not then we don't - need to update FirstColumn and LastColumn indexes. - - - - - Creates RowRecord and copies all required data into it. - - Parent workbook. - Created record. - - - - Copies row settings (default style, height and some other settings) from another row storage. - - Storage to copy settings from. - - - - Sets default row options. - - - - - Updates column indexes of the specified row. - - Column index. - Last column index. - - - - - - - Memory allocation block size. - - - - Returns extended format index for the specified column or int.MinValue if not found. - - Zero-based column index. - Extended format index for the specified column or int.MinValue if not found. - - - - Looks through all records and calls AddIncrease for each LabelSST record. - - Dictionary to update. - - - - - - - - - - - Updates columns indexes. - - - - - Iterates through all cells in the row. - - Method to call for each cell. - Data to pass to the calling method. - - - - Sets items with used reference indexes to true. - - Record type to check. - Offset to the record to check. - Array to mark used references in. - - - - Updates reference indexes. - - Represents Biff record type. - Represents offset value. - Data to be updated. - - - - - - - - - - Sets items with used reference indexes to true. - - Represents used items. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Searches for the record of specified type. - - Record type to look for. - Zero-based index of the column to start looking at. - Zero-based index of the column to end looking at. - Column index that contains record of the specified type or value beyond endColumn if not found. - - - - Searches for the first cell in the specified range. - - Zero-based column index to start search at. - Zero-based column index to end search at. - - - - - Gets indexes of the used named range objects. - - Collection to put named range indexes into. - - - - Adds all named range indexes referenced by formula tokens into resulting dictionary. - - Dictionary that will get named range tokens. - Tokens to check. - - - - Inserts records data into data storage. - - Position to insert at. - Array of records to insert. - - - - Sets cell position size to 4 and converts internal data storage. - - - - - Sets cell position size to 4 and converts internal data storage. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Evaluates number of records in this storage. - - Number of records. - - - - Updates all required indexes after copying row into another worksheet. - - Source SST dictionary. - Destination SST dictionary. - Dictionary with new extended format indexes. - Dictionary with new worksheet names. - Dictionary with new name indexes. - Dictionary with new font indexes. - - - - Updates MulRK or MulBlank XF Indexes. - - HashTable with new XF Indexes. - Represents offset on start mull record. - Record length without header. - Indicates whether offset is offset to MulRK record (TRUE) or to MulBlank record (false). - - - - Updates sst records. - - Represents source sst. - Represents destination sst. - Represents offset to add. - - Dictionary with new font indexes. - - - - Updates formula indexes. - - Represents source SST. - Represents destination sst. - Represents offset. - Represents hash table with worksheet names. - Represents dic name indexes. - Represents length - - - - Updates sheet references in the formula. - - Formula to update. - Dictionary with new worksheet names. - Source workbook. - Destination workbook. - True if any changes were made. - - - - Updates named range references in the formula. - - Formula to update. - Dictionary with new name indexes. - True if any changes were made. - - - - Updates sheet references in the formula. - - Formula to update. - Dictionary with new worksheet names. - Source workbook. - Destination workbook. - Represents dictionary with name indexes. - True if any changes were made. - - - - Indicates whether multi- record contains records of the same type as specified one. - - Cell type to check. - Offset to the multi- record. - True if record types are compatible. - - - - Splits record into two parts by removing subrecord with specified column index. - - Offset to the record to split. - Column index to split by. - Memory allocation elementary block size. - Offset to the second part. - - - - Inserts record inside record that contains multiple values. - - Offset to the record to insert into. - Record to insert. - - - - Inserts record data into storage. - - Offset to the record. - Size that could be overwritten by new record. - Size required by new record. - Record to write. - Memory allocation elementary block size. - - - - Inserts record data into storage. - - Offset to the record. - Size that could be overwritten by new record. - Records to write. - Memory allocation elementary block size. - - - - Locates record in the row. - - One-based column index of the record to find. - Indicates whether record was found. - Offset where record should be placed. - - - - Locates record in the row. - - One-based column index of the record to find. - Indicates whether record was found. - Indicates is found multi record or not. - If true returns offset on valid mull rk structure, by current column index. - Otherwise on MulRk record. - Offset where record should be placed. - - - - - - - - - - - - - - - - - Ensures that internal data storage will be able to store specified number of bytes. - - Required data storage size. - Memory allocation elementary block size. - - - - Updates row dimension information. - - Accessed zero-based column index. - - - - Updates row dimension information. - - Accessed zero-based column index. - Cell that was set. - - - - Removes formula string record. - - Zero-based column index. - Old offset to the string record. - - - - Removes formula string record. - - Zero-based column index. - Returns offset to the corresponding FormulaRecord. - Old offset to the string record. - - - - Removes record from the storage. - - Offset to the record to remove. - - - - Moves pointer to the next record. - - Offset of the current record. - Offset to the next record. - - - - Returns offsets, first one (X) is position before start column and the second one (Y) after end column. - - Zero-based index of the start column. - Zero-based index of the end column. - Output start column index. - Output end column index. - Point with evaluated offsets. - - - - Evaluates offset after specified record and satellite records. - - Offset to the record. - Offset after specified record and satellite records. - - - - Creates multi record. - - Type of sub record. - Created record. - - - - Tries to get record for the next column. - - Column index. - Records that corresponds to the column index. - Current record offset. - Indicates whether record is multi- record. - Record corresponding to the - - - - Returns last column index from the multi- record. - - Offset to the record's start. - Last column index from the multi- record. - - - - Sets cell data without trying to create multi record. - - Zero-based column index of the cell. - Cell to set. - Memory allocation elementary block size. - - - - Evaluates size of the data in the compressed state. - - Compressed data size. - - - - Simply skips record. - - User data. - Offset after skipping record data. - - - - Skips RK records. - - User data. - Offset after skipping record data. - - - - Skips RK records. - - User data. - Offset after skipping record data. - - - - Simply skips record. - - User data. - Offset after skipping record data. - - - - Writes RK records into data array. - - User data. - Offset after skipping record data. - - - - Writes Blank records into data array. - - User data. - Offset after skipping record data. - - - - Creates MulRK record based on set of RK records. - - - Class that contains additional information needed to create - MulRK record correctly. - - Number of RK records. - Created record. - - - - Creates MulRK record based on set of RK records. - - Offset to the first RK record. - Number of RK records. - Created record. - - - - Creates MulBlank record based on set of Blank records. - - Offset to the first Blank record. - Number of Blank records. - Created record. - - - - - - - - - - - - - - - - - - - - - - - Creates multi-cell record (MulRK or MulBlank) at the specified offset. - - Offset to the record to create. - Instance of MulBlank record. - Instance of MulRK record. - Record length including header. - Created record or null if there is incorrect record type. - - - - - - - - - - - - Gets row from the record. - - Offset to the record's start. - Zero-based row index. - - - - Sets row for the record. - - Offset to the record's start. - Zero-based row index to set. - - - - Gets column from the record. - - Offset to the record's start. - Zero-based column index. - - - - Sets column for the record. - - Offset to the record's start. - Zero-based column index to set. - - - - Gets last column index from the MulRk or MulBlank record. - - Offset to the record's start. - Record length. - Zero-based column index. - - - - Gets XF index from the record. - - Offset to the record's start. - Indicates whether record is multi record or not. - Zero-based index to the extended format record with style settings. - - - - Sets XF index for the record. - - Offset to the record's start. - Zero-based index to the extended format record with style settings to set. - - - - Sets XF index inside of "multi" record (MulRK or MulBlank). - - Offset to the record's start. - Zero-based index to the extended format record with style settings to set. - Zero-based column index of the cell to set style. - Size of subrecord inside of multi record. - - - - Size of the required storage space. Read-only. - - - - - Gets bool value by column index. Without check input parameters. - - One based column index. - If found - returns boolean value; otherwise - 0. - - - - Gets formula bool value by column index. Without check input parameters. - - One based column index. - If found - returns boolean value; otherwise - 0. - - - - Gets error value by column index. Without check input parameters. - - One based column index. - If found - returns error value; otherwise - null. - - - - Gets formula error value by column index. Without check input parameters. - - One based column index. - If found - returns error value; otherwise - null. - - - - Gets number value. - - Column index. - Returns number value or NaN. - - - - Checks the format. - - The format. - - - - - Gets formula number value. - - Column index. - Returns number value or NaN. - - - - Gets string value. - - Column index. - Represents sst dictionary. - Returns string value or null. - - - - Returns formula string value. - - Zero-based column index. - String result of the formula. - - - - Returns formula string value. - - Offset to record. - Formula string value. - - - - Gets string value. - - Column index. - Returns ptg array or null. - - - - Gets cell type from current column. - - Indicates column. - Indicates is need to indentify formula sub type. - Returns cell type. - - - - Gets sub formula type. - - Represents offset on start formula record. - - - - - Indicates if there is formula record. - - Zero based column index. - Indicates whether formula record is contained. - - - - Indicates is contain formula array. - - Zero based column index. - If found return true; otherwise - false. - - - - Gets error string by number. - - Represents number. - Returns error string or null. - - - - Sets the workbook. - - The book. - The i row. - - - - Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. - - Zero based column index. - Represents value for set. - Represents string record as formula string value. Can be null. - Memory allocation elementary block size. - - - - Zero-based index of the first column. Read/write. - - - - - Zero-based index of the last column. Read/write. - - - - - Size of used data. Read-only. - - - - - Size of allocated data. Read-only. - - - - - Gets or sets the value indicating whether storage possibly contains Rk or Blank records. - - - - - Gets or sets the value indicating whether storage possibly contains MultiRk or MultiBlank records. - - - - - Indicates that storage was disposed. Read-only. - - - - - Zero-based index of the first column. Read/write. - - - - - Returns internal data provider. Read-only. - - - - - Returns size of the cell position block. Read-only. - - - - - - - - - - Returns type code of the biff storage. Read-only. - - - - - Returns code of the biff storage. Read-only. - - - - - Indicates whether data array is required by this record. Read-only. - - - - - Indicates record position in stream. This is a utility member of class and - is used only in the serialization process. Does not influence the data. - - - - - Height of the row, in twips = 1/20 of a point. - - - - - If the row is formatted, then this is the index to - the extended format record. - - - - - The outline level of this row. - Changes some bits of m_usOptionFlags private member. - - - When value is more than 7. - - - - - Whether or not to collapse this row. - - - - - Whether or not to display this row with 0 height. - - - - - Whether the font and row height are not compatible. - True if they aren't compatible. - - - - - Whether the row has been formatted (even if it has all blank cells). - - - - - True if there is additional space above the row. - - - - - True if there is additional space below the row. - - - - - Undocumented bit flag. If it is set to False, then Excel will - not show row groups. Default value is True. - - - - - Row or column index. - - - - - Storage options. - - - - - None. - - - - - Indicates that storage contains (or can contain) some RK or Blank records. - - - - - Indicates that storage contains (or can contain) some MultiRK or MultiBlank records. - - - - - Indicates that storage was disposed. - - - - - Calls each cell. - - Record type to check. - Offset to the record to check. - Data to be passed. - - - - Data for size evaluation. - - - - - Start offset. - - - - - Used size. - - - - - Data for writing defragmented data. - - - - - Offset to the record data in the old storage. - - - - - Size of the data. - - - - - Delegate used for defragmentation. - - - - - Represents enumerator for RowStorage - - - - - RowStorage to enumerate. - - - - - Offset to current cell. - - - - - Record extractor. - - - - - To prevent creation instances of this class without arguments. - - - - - Initializes new instance of the enumerator. - - RowStorage to enumerate. - Record extractor to get Biff records from. - - - - Sets the enumerator to its initial position, which is before - the first element in the collection. - - - - - Advances the enumerator to the next element of the collection. - - - - - - Returns formula array record from current cell if it exists. - - Formula array record; null - if doesn't exist. - - - - Returns formula string value if formula contains it. - - - - - - Gets the current element in the collection. - - - - - Gets current cell row. - - - - - Gets current cell column. - - - - - Gets current cell extended format. - - - - - Extends List with MoveRange, InsertRange and RemoveRange methods. The Item property - will grow the array on demand or return NULL if an index is out of range. - - - - - Overloaded. Initializes a new instance of the SFArrayList - class that is empty and has the default initial capacity. - - - - - Initializes a new instance of the SFArrayList class that contains - elements copied from the specified collection and has the same initial - capacity as the number of elements copied. - - The whose elements are copied to the new list. - - - - Overridden. Creates a deep copy of the SFArrayList. - - - A deep copy of the SFArrayList. - - - - - Overridden. Creates a deep copy of the SFArrayList. - - Parent object for the new items. - - A deep copy of the SFArrayList. - - - - - Enlarges the array if needed. - - The size to be checked. If the array has less elements, empty () objects will be appended - at the end of the array. - - - - Gets / sets the element at the specified index. - In C#, this property is the indexer for the SFArrayList class. - - The zero-based index of the element to get / set. - - The element at the specified index. - When querying the value and the index is out of range, an empty () object will be returned. - When setting the value and the index is out of range the array will be enlarged. See SFArrayList.EnsureCount - - - - - Implements a two-dimensional table that holds an SFArrayList of rows. Each row - is an SFArrayList of objects. - - -

This is a memory efficient way to represent a table where values can remain empty. Only rows - that actually contain data will allocate an SFArrayList and the array only holds - as many objects as the specific row contains columns.

-

When you access data that are out of range, an empty () object will be returned. - If you set data that are out of range, an exception will be thrown. If you set data for - a row that is empty, the row will be allocated before the value is stored.

-

SFTable provides methods that let you insert, remove or rearrange columns or m_arrRows - in the table.

-
-
- - - Number of m_arrRows in the collection. - - - - - Number of columns in the collection. - - - - - Collection of rows. - - - - - Number of cells in the collection. - - - - - Initializes a new instance of the - class. - - - Initializes a new instance of the - class that is empty. - - Number of rows in the collection. - Number of columns in the collection. - - - - Initializes a new instance of the - class and optional copies of data from an existing table. - - Table to copy. - Indicates whether to copy data. - - - - Initializes a new instance of the - class and optional copies of data from an existing table. - - Table to copy. - Indicates whether to copy data. - Parent object for the new items. - - - - Creates a deep copy of the . - - - A deep copy of the . - - - - - Creates a deep copy of the . - - Parent object for the items. - - A deep copy of the . - - - - - Removes all elements from the . - - - - - Creates a collection of cells for a row. - - An SFArrayList or derived object for the cell collection. - - - - Indicates whether an element is at the specified coordinates in the . - - The zero-based row index. - The zero-based column index. - - - if an element exists at the specified coordinates in the ; - otherwise. - - - - - Returns the SFArrayList from all rows. - - - - - Gets the number of rows contained in the . Read-only. - - - - - Gets the number of columns contained in the . Read-only. - - - - - Returns number of cells in the collection. Read-only. - - - - - Gets / sets an element at the specified coordinates in the . - - The zero-based row index. - The zero-based column index. - - If you query for an element and the coordinates are out of range, an empty () object will be returned. - If you set an element and the the coordinates are out of range, an exception is thrown. - - - - - Collection of worksheet's shapes. - - - - - Represents shapes collection in the workbook. - - - - - Adds new chart shape to the collection. - - Newly added shape. - - - - Adds shape copy to the collection. - - Shape to copy. - Added shape. - - - - Adds shape copy to shapes collection. - - Shape to copy. - Dictionary with new names of worksheets. - List with new font indexes. - Added shape. - - - - Adds new text box to the collection. - - Newly created textbox. - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns single shape from the collection by its index. - - - - - Returns single shape from the collection by its name or null when cannot find. Read-only. - - - - - Default start of the chart shape name. - - - - - Default start of the textbox shape name. - - - - - Default start of the checkbox shape name. - - - - - - Default start of the combobox shape name. - - - - - Default start of the picture shape name. - - - - - - - - - - - - - - - - - Parse options. - - - - Initializes collection - - - - - Adds new chart shape to the collection. - - Newly added shape. - - - - Adds new textbox shape to the collection. - - Newly added shape. - - - - Creates new shape to object to this collection. - - Object type to create. - Shape container. - Parse options. - Subrecords of the shape's OBJRecord. - Index to the cmo record inside subrecords. - Created shape. - - - - Checks whether it is possible insert row or column into iIndex. - - Index of row to insert. - Number of rows to insert. - Indicates whether rows are inserted. - Maximum possible index. - True if it is possible to insert row or column. - - - - Updates shapes position on insert or remove row in worksheet. - - Represents row \ column index. - Represents count. - Indicates is row. - Indicates is remove or insert. - - - - Adds picture to the collection by blipId. - - Picture id. - Picture name. - Newly created picture object. - - - - Adds picture to collections. - - Represents picture to add. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Creates copy of the collection. - - Parent object for the new collection. - Copy of the collection. - - - - Copies or moves shape on range copy / move. - - Represents destination sheet for shape. - Represents range dimension. - Represents destination rectangle - Indicates is copy or move. - - - - Removes all shapes that are out of new dimensions. - - Version to set. - - - - Updates indexes to named ranges. - - New indexes. - - - - Updates indexes to named ranges. - - New indexes. - - - - Gets shape by its id. - - Shape's id to locate. - - - - Add AutoShapes into collection - - AutoShapeType - TopRow - LeftColumn - Height - Width - - - - - Add AutoShapes into collection - - AutoShapeType - TopRow - TopRowOffset - LeftColumn - LeftColumnOffset - Height - Width - - - - - Code of the Biff record in which all data is stored. Read-only. - - - - - Returns shared shape data for all shapes in this collection. Read-only. - - - - - A collection of all the Style objects in the specified or active - workbook. Each Style object represents a style description for a - range. The Style object also contains all style attributes (font, - number format, alignment, and so on) as properties. There are - several built-in styles � including Normal, Currency, and Percent - � which are listed in the Style name box in the Style dialog box - (Format menu). - - - - - A collection of all the Style objects in the specified or active - workbook. Each Style object represents a style description for a - range. The Style object contains all style attributes (font, - number format, alignment, and so on) as properties. There are - several built-in styles including Normal, Currency, and Percent - which are listed in the Style name box in the Style dialog box. - (Format menu). - - - - - Creates a new style and adds it to the list of styles that are - available for the current workbook. Returns a Style object. - - Name of the newly created style. - Prototype for the style. - Newly created style. - - - - Creates a new style and adds it to the list of styles that are - available for the current workbook. Returns a Style object. - - Name of the created style. - Newly created style. - - - - Merges the styles from another workbook into the Styles collection. - - Workbook from which all styles will be added. - True - overwrite styles with the same names, otherwise. - Merged collection. - - - - Merges the styles from another workbook into the Styles collection. - Keep only unique style in collection. - - Workbook from which all styles will be added. - Merged collection. - - - - Method return true if collection contains style - with specified by user name. - - Name to check. - True - if style exists, otherwise False. - - - - Removes style from the collection. - - Style name to remove. - - - - Used without an object qualifier, this property returns an Application - object that represents the Microsoft Excel application. - - - - - Returns the number of objects in the collection. Read-only, Long. - - - - - Returns a single object from a collection. - - - - - Returns a single object from a collection. - - - - - Returns the parent object for the specified object. - - - - - RB-tree for quick style search operation. - - - - - Collection of all the styles in the workbook. - - - - - Dictionary StyleXFIndex to StyleImpl. - - - - - Parent workbook. - - - - - - - - - - - - - - - Creates the collection and sets its Application and Parent properties. - - The application object for this collection. - The parent object for this collection. - - - - Creates a new style and adds it to the list of styles that are - available for the current workbook. Returns a Style object. - - Name of the newly created style. - Prototype for the style. - Newly created style. - - If name is NULL. - - - When collection already contains style with specified name. - - - - - Creates a new style and adds it to the list of styles that are - available for the current workbook. Returns a Style object. - - Name of the newly created style. - Newly created style. - - - - Merges the styles from another workbook into the Styles collection. - Keep only unique style in collection. - - Workbook from which all styles will be added. - Merged collection. - - - - Merges the styles from another workbook into the Styles collection. - - Workbook from which all styles will be added. - True to overwrite styles with the same names. - Merged collection. - - If specified Workbook is not WorkbookImpl. - - - - - Removes style from the collection. - - Style to remove. - - - - Adds specified style into this collection. - - Style that must be added. - - - - Adds specified style to collection. - - Style to add. - If true and ContainName then replace old name; otherwise add. - - - - Method returns True if collection contains style - with specified by user name. - - Name to check. - True if style exists; otherwise False. - - - - Searches in the collection for style which is same as specified. - - Style to search. - Found style or NULL if no same style exists in list. - - If specified style is NULL. - - - - - Compares two styles. - - The first style to compare. - The second style to compare. - True if styles are the same; otherwise False. - - - - Compare all Border Collections items. - - First border to compare. - Second border to compare. - True if borders are the same; otherwise False. - - - - Compare Border interfaces. - - First border to compare. - Second border to compare. - True if borders are the same; otherwise False. - - - - Merges styles from specified workbook. - - Source workbook. - Merge options. - Dictionary with changed style names, key - old name, value - new name. - - - - Merges styles from specified workbook. - - Source workbook. - Merge options. - Returns dictionary with new font indexes. - Dictionary with new indexes of extended formats. - Dictionary with changed style names, key - old name, value - new name. - - - - Generates default name. - - Name prefix. - Automatically generated unique name. - - - - Generates default name. - - Name prefix. - Dictionary with used names. - Automatically generated unique name. - - - - Creates built in style. - - Name of the style. - Created style. - - - - Returns style corresponding to the index of extended format. - - Index of the extended format to find. - Found style. - - - - Updates style record of each style in the collection according to the xf indexes. - - - - - Searches in collection for style named styleName. - - Style name to search. - Searched style if found; otherwise returns NULL. - - - - Method checks whether the collection contains a style with the specified name. - - Name to check. - True if style exits; otherwise False. - - - - Adds new style to the collection. - - Style to add. - - - - Creates copy of the current instance. - - Parent object for the new collection. - Copy of the current instance. - - - - Performs additional processes after clearing the collection. - - - - - Performs additional processes after inserting a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at the index. - - - - Performs additional processes after removing an element from the collection. - - The zero-based index at which value can be found. - The value of the element to remove from the index. - - - - Performs additional processes after setting a value in the collection. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at the index. - - - - - - - - - - - - - - - - - - Clears hashIndexToStyle member. - - - - - Returns a single object from a collection. Read-only. - - - - - - - - - - Represents worksheet's textbox collection. - - - - - This interface represents TextBoxes collection inside single worksheet. - - - - - Adds new item to the collection. Coordinate means - a) in the case of worksheet - row, column - are corresponding row, - column indexes of the top-left corner, width and height are measured in pixels - b) in the case of chart in Excel 97 all coordinates are measured in 1/4000 of the chart width/height - c) in the case of chart in Excel 2007 all coordinates are measured in 1/1000 of the chart width/height - - One-based row index of the top-left corner of the new item. - One-based column index of the top-left corner of the new item. - Height of the new item. - Width of the new item. - Newly added item. - - - - Returns number of items in the collection. - - - - - Returns single item from the collection. - - Item's index to get. - Single item from the collection. - - - - Gets single item from the collection. - - Name of the item to get. - Single item from the collection. - - - - Parent worksheet. - - - - - Initializes new instance of the collection. - - Application object for the new instance. - Parent object for the new instance. - - - - Adds new item to the collection. - - Textbox to add. - - - - Adds new textbox to the collection. - - Top row for the new shape. - Left column for the new shape. - Height in pixels of the new shape. - Width in pixels of the new shape. - Newly created TextBox object. - - - - Returns single item from the collection. - - Index of the item to get. - Single item from the collection. - - - - Gets single item from the collection. - - Name of the item to get. - Single item from the collection. - - - - Collection of the Workbook names (NamedRanges). - - - - - A collection of all the Name objects in the application or - workbook. Each Name object represents a defined name for a - range of cells. - - - - - Defines a new name. - - Name for the new Name object. - Returns a Name object. - - - - Defines a new name. - - Name for the new Name object. - Range that will be associated with the name. - - - - Defines a new name. - - Name object to add. - - - - Removes Name object from the collection. - - Name of the object to remove from the collection. - - - - Removes the element at the specified index of the collection. - - The zero-based index of the element to remove. - - - - Checks whether the Name object is present in the collection or not - - Name object to check whether it is present or not. - - - - - Used without an object qualifier, this property returns an Application - object that represents the Excel application. - - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns the parent object for the specified object. - - - - - Returns a single Name object from a Names collection. - - - - - Returns a single Name object from a Names collection. - - - - - Returns parent worksheet of the collection. - - - - - Dictionary Name-to-IName. - - - - - Parent workbook for the collection. - - - - - Flags indicating whether WorkbookNamesCollection changed. - - - - - Creates an empty collection. - - Application object for the collection. - Parent object for the collection. - - - - - - - - - - - Checks whether name of named range contains invalid characters. - - - - - - Defines a new name. Returns a Name object. - - Name of the new collection entry. - Range that will be associated with the name. - Created IName object. - - If the collection already contains object with the same name - or if specified name string is empty. - - - When one of the arguments is NULL. - - - - - Checks the namedRange's name is a valid name based on the - Excel version. - - name to check. - Active workbook. - True, if the name is valid. - - - - Defines a new name. Returns a Name object. - - IName object that must be added to the collection. - Created IName object. - - If the collection already contains object with the same name. - - - - - Removes specified name from the collection. - - Name of the object to remove. - - - - Removes specified name from the collection. - - Name of the object to remove. - - - - - - - - - - - - - - - - - Updates named range when inserting row. - - Represents row index. - Represents row count. - Represents sheet for update. - - - - Updates named range when deleting row. - - Represents row index. - Represents sheet for update. - - - - Updates named range when deleting row. - - Represents row index. - Represents sheet for update. - Number of rows to remove. - - - - Updates named ranges after column insertion. - - One-based column index. - Number of columns to insert. - Represents reference sheet name. - - - - Updates named ranges after column removal. - - One-based column index. - Represents reference sheet name. - - - - Updates named ranges after column removal. - - One-based column index. - Represents reference sheet name. - Number of columns to remove. - - - - Defines a new name. Returns a Name object. - - NameRecord describing new Name object. - Newly created Name object. - - If the collection already contains object with the same name. - - - When specified NameRecord is NULL. - - - - - Defines multiple names. - - - Array of Name Records that describes new Name objects. - - - If the collection already contains object with the same name. - - - When array of NameRecords is NULL. - - - - - Saves all NameRecords to the specified OffsetArrayList. - - - OffsetArrayList that will receive all NameRecords. - - - If specified OffsetArrayList is NULL. - - - - - Adds into list and hashtable, for local named ranges. - - Name to add. - - - - Adds into list and hashtable, for local named ranges. - - Name to add. - Indicates is adds in global names hash. - - - - Sorts named range in the order which they must be serialized. - - - - - Returns sorted list with worksheets names. - - Sorted list with worksheets names. - - - - Sorts names by worksheet name. - - List with worksheets names. - Array of new indexes for names. - - - - Searches for named ranges with same name in other worksheets. - - Name to find. - Key for global named ranges. - SortedListEx with found names. - - - - Adds name to the list. - - List to insert name into. - Names collection to search for name. - Name to find. - Parent worksheet name (used as key in the list). - - - - Updates names indexes in formulas. - - New indexes of the named ranges. - - - - Sets index of all named ranges without event raising. - - - - - Forces all named ranges to parse its data. - - - - - Adds local user-defined function. - - Function to add. - Name index of the added function. - - - - Gets name record by index. - - Index of name object in collection. - Returns named record. - - - - Adds copy of global name during worksheet copy. - - Name to copy. - Destination worksheet. - Dictionary with new extern worksheet names. - Dictionary with new worksheet names. - Added name. - - - - Sets reference index in the all tokens. - - Name record to update. - New reference index. - - - - Creates a copy of the current collection. - - Parent object for the new collection. - A copy of the current collection. - - - - Performs additional processes after inserting a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at the index. - - - - Converts full row or column tokens between versions. - - Version to convert into. - - - - Returns a single Name object from a Names collection. - - - - - Sets parent workbook value. - - - When parent workbook cannot be found. - - - - - Inserts/removes rows/columns from all named ranges in the collection. - - Represents sheet name. - Index of row/column to insert/remove. - Indicates whether we should remove rows or columns. - Indicates whether we are operating with rows. - Number of rows/columns to insert/remove. - - - - Inserts/removes row from all named ranges in the collection. - - - - - - - - - - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Returns a single Name object from a Names collection. - - - - - Returns a single Name object from a Names collection. - - - - - Returns parent worksheet of the collection. - - - - - Represent the known named ranges count - The name in the formula which has no reference is - unknown named ranges - - - - - Represents the known and unknown named - ranges Count - - - - - set Flags m_bWorkNamesChanged - - - - - - Summary description for WorkbookObjectsCollection. - - - - - Summary description for ITabSheets. - - - - - Moves tab sheet into new location. - - Index of the tab sheet to move. - Desired new index. - - - - Moves specified tab sheet before another tab sheet. - - The tab sheet to move. - The tab sheet to locate new position. - - - - Moves specified tab sheet after another tab sheet. - - The tab sheet to move. - The tab sheet to locate new position. - - - - Returns number of elements in the collection. Read-only. - - - - - Returns single entry from the collection by its index. Read-only. - - - - - Dictionary name of the object - to - value. - - - - - Parent workbook. - - - - - Creates a collection and sets its Application and Parent properties. - - Application object for the collection. - Parent object for the collection. - - - - Add new object to the collection. - - Named object to adding. - - - - Moves sheet from one position into another. - - Old sheet index. - New sheet index. - - - - Moves specified tab sheet before another tab sheet. - - The tab sheet to move. - The tab sheet to locate new position. - - - - Moves specified tab sheet after another tab sheet. - - The tab sheet to move. - The tab sheet to locate new position. - - - - Disposes internal data. - - - - - Creates copy of the collection. - - Parent object for the new collection. - A copy of the collection. - - - - Searches for all necessary parents. - - - - - Performs additional processes after inserting a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at index. - - - - Performs additional processes after setting a value in the collection. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at the index. - - - - Performs additional processes after removing an element from the collection. - - The zero-based index at which value can be found. - The value of the element to remove from the index. - - - - OnClear is invoked after Clear behavior. - - - - - This method is called when sheet name was changed. - - Sender of the event. - Event arguments. - - When workbook already contains worksheet with specified name. - - - - - - - - - - - - - - - Parent workbook. - - - - - Returns single entry from the collection. - - - - - - - - - - - - - - - - Old index in the tab sheets collection. - - - - - New index in the tab sheets collection. - - - - - Default constructor. - - - - - Initializes new instance of the event arguments. - - Old index in the tab sheets collection. - New index in the tab sheets collection. - - - - Returns old index in the tab sheets collection. Read-only. - - - - - Returns new index in the tab sheets collection. Read-only. - - - - - - - - - - - A collection of all the Workbook objects that are currently open in - the XlsIO application. - - - - - A collection of all the Workbook objects that are currently open in - the Excel application. - - - - - Create empty workbook. The new workbook becomes the active workbook. - - Interface on instance of created workbook. - - - - Create workbook with specified quantity of empty worksheets. - - Quantity of worksheets to create. - Interface on instance of created workbook. - - - - Create workbook with specified names. - Each worksheet name will be set to corresponding names array element. - - Array of names for each worksheet. - Interface on instance of created workbook. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Parse options. - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Parse options. - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Opens a workbook. - - File name that contains workbook. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Excel version - defines file format (excel 97-2003 or excel 2007). - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Opened workbook. - - - - Opens a Workbook using separator. - - File name to open. - Current separator. - Number of first row to write. - Number of first column to write. - Opened WorkBook. - - - - Opens a Workbook using separator. - - File name to open. - Current separator. - Number of first row to write. - Number of first column to write. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Encoding to use to parse text data. - Opened WorkBook. - - - - Open new workbook in read-only mode. - - File to open. - Newly created workbook. - - - - Open new CSV file in read-only mode. - - File to open. - String separator. - Newly created workbook. - - - - Open new workbook in read-only mode. - - File to open. - Parse options. - Newly created workbook. - - - - Open new workbook in read-only mode. - - File to open. - Represents open type for open. - Parse options. - Newly created workbook. - - - - Open new workbook in read-only mode. - - File to open. - - - Password that should be used for decryption. - Newly created workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Workbook version. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents open type for open. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents open type for open. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents open type for open. - Desired version of the workbook. - Opened workbook. - - - - Read workbook from xml file. - - Full path to xml file. - Xml open type. - Returns opened workbook. - - - - Reads workbook from the stream. - - Stream with workbook's data. - Newly created workbook. - - - - Reads workbook from the stream. - - Stream with workbook's data. - Excel version - defines file format (excel 97-2003 or excel 2007). - Newly created workbook. - - - - Reads workbook from the stream. - - Stream with workbook's data. - Parse options. - Newly created workbook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens the specified stream. - - The stream. - - - Password that should be used for decryption. - Newly created workbook. - - - - Opens the specified stream. - - The stream. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Workbook version. - Opened workbook. - - - - Opens the specified stream. - - The stream. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents open type for open. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents open type for open. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents open type for open. - Desired version of the workbook. - Opened workbook. - - - - Read workbook from file stream. - - File stream. - Xml open type. - Returns opened workbook. - - - - Read workbook from xml stream. - - Xml reader. - Xml open type. - Returns opened workbook. - - - - Closes the object. - - - - - Pastes workbook from clipboard. - - - - - - Used without an object qualifier, this property returns an - Application object that represents the Excel application. - - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns a single object from a collection. - - - - - Returns the parent object for the specified object. - - - - - Create workbook with names.Length quantity of worksheets. - Each worksheet name will be set to corresponding names array element. - - Array of names for each worksheet. - Interface on instance of created workbook. - - When names array is NULL. - - - When names does not contain any value. - - - - - Create workbook with specified number of empty worksheets. - - Number of worksheets to create. - Interface on instance of created workbook. - - When sheetsQuantity is less than zero. - - - - - Create new empty workbook and make it active. - - Interface on instance of newly created workbook. - - - - Sets the Application name as Essential XlsIO. - - - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Added Workbook object. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Adds workbook to the collection. - - File to parse. - Parse options. - Created workbook. - - - - Creates a new workbook. The new workbook becomes the active workbook. - Returns a Workbook object. - - File that contains required workbook. - Parse options. - Excel version - defines file format (excel 97-2003 or excel 2007). - Added Workbook object. - - - - Opens a workbook. - - File name that contains workbook. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Version of the excel file format. - Opened workbook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Name of the file that is being opened. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Name of the file that is being opened. - Opened WorkBook. - - - - Opens a Workbook using separator. - - File name to open. - Current separator. - Number of first row to write. - Number of first column to write. - Opened WorkBook. - - - - Opens a Workbook using separator. - - File name to open. - Current separator. - Number of first row to write. - Number of first column to write. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a Workbook using separator. - - Stream to open. - Current separator. - Encoding to use to parse text data. - Opened WorkBook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Opened workbook. - - - - Opens the specified stream. - - The stream. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Opened workbook. - - - - Opens the specified stream. - - The stream. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Workbook version. - Opened workbook. - - - - Opens the specified stream. - - The stream. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Workbook version. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Parse options. - Indicates is open book in read - only mode. - Represents valid password for opening workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Read workbook from the stream. - - Stream with workbook's data. - Newly created workbook. - - - - Read workbook from the stream. - - Stream with workbook's data. - Version of the excel file format. - Newly created workbook. - - - - Read workbook from the stream. - - Stream with workbook's data. - Version of the excel file format. - Newly created workbook. - - - - Read workbook from the stream. - - Stream with workbook's data. - Parse options. - Newly created workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - File name that contains workbook. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents type of the file for open operation. - Opened workbook. - - - - Opens a workbook. - - Stream with workbook's data. - Represents type of the file for open operation. - Opened workbook. - - - - Read workbook from xml file. - - Path to xml file. - Xml open type. - Returns opened workbook. - - - - Read workbook from xml file. - - Path to xml file. - Xml open type. - Returns opened workbook. - - - - Read workbook from xml stream. - - Xml reader. - Xml open type. - Returns opened workbook. - - - - Open new workbook in read-only mode. - - File to open. - Newly created workbook. - - - - Open new CSV workbook in read-only mode. - - File to open. - Separator to use. - Newly created workbook. - - - - Open new workbook in read-only mode. - - File to open. - Parse options. - Newly created workbook. - - - - Open new workbook in read-only mode. - - File to open. - Parse options. - Newly created workbook. - - - - Closes the object. - - - - - Creates workbook and sets its Application and Parent properties. - - Application object for the collection. - Parent object for the collection. - - - - Copies workbook from the clipboard. - - Pasted workbook. - - - - Version has been detect while adding the workbook - - Represent the file name - return the version - - - - Returns a single object from a collection. - - - - - - - - - - Represents a collection of embedded charts. - - - - - Creates a new chart. - - Newly created chart object. - - - - Removes Chart object from the collection. - - Index of the chart to remove. - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns a single Chart object from a Charts collection. - - - - - Parent worksheet. - - - - - - - - - - - - Adds chart. - - Added chart. - - - - Adds new chart to the collection (doesn't add it to the shapes collection). - - Chart to add. - Added chart. - - - - Adds new chart to the collection. - - Chart to add. - Added chart. - - - - Searched for all necessary parents. - - - If can't find parent worksheet. - - - - - Creates a new chart. - - Newly created chart object. - - - - Remove chart with specified index. - - Index of chart to remove. - - - - Returns a single Chart object from a Charts collection. - - - - - Represents collection of all custom properties in the worksheet. - - - - - - - - - - - - Default capacity of internal buffers. - - - - - Array which store keys in sorted order. - - - - - Collection stores values. - - - - - Size of collection. - - - - - Version of collection data. - - - - - Default comparer for keys. - - - - - List of keys. - - - - - List of values. - - - - - Default constructor. - - - - - Creates an empty list with the specified initial capacity. - - Initial capacity. - - When initialCapacity is less than zero. - - - - - Creates an empty SortedList with the default initial capacity - and specified comparer. - - - The IComparer is used to determine whether two keys are equal. - - - - - Creates an empty SortedList with the specified initial capacity - and specified comparer. - - Initial capacity. - - The IComparer is used to determine whether two keys are equal. - - - - - Copies the elements from the specified dictionary to a new list - with the same initial capacity as the number of elements copied. - - The IDictionary to copy. - - - - Copies the elements from the specified dictionary to a new list with the same - initial capacity as the number of elements copied and with the specified comparer. - - The IDictionary to copy. - - The IComparer to use to determine whether two keys are equal. - - - When argument d is null. - - - - - Returns a synchronized (thread-safe) wrapper for the SortedList. - - The SortedList to synchronize. - A synchronized (thread-safe) wrapper for the SortedList. - - When list is null. - - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - When key is null. - - - When list already contains specified key. - - - - - Removes all elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Clone current instance. - - Returns clone of current object. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the SortedListEx to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If specified array is null. - - - If rank of the array is not 1 or there are not enough elements. - - - If specified arrayIndex is less than zero. - - - - - Gets the value at the specified index of the SortedListEx. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the value at the specified name of the SortedListEx. - - The value to get. - The value at the specified index of the SortedListEx. - - When string is null. - - - - - Gets the key at the specified index of the SortedListEx. - - The zero-based index of the key to get. - The key at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the keys in the SortedListEx. - - An IList containing the keys in the SortedListEx. - - - - Gets the values in the SortedListEx. - - An IList containing the values in the SortedListEx. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - If specified key is null. - - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - When index is less than zero or greater than size of the list. - - - - - Removes the element with the specified key from SortedListEx. - - The key of the element to remove. - - - - Replaces the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - When index is less than zero or greater than size of the list. - - - - - Sets the capacity to the actual number of elements. - - - - - Returns an IEnumerator that can iterate through the SortedListEx. - - An IEnumerator for the SortedListEx. - - - - - - - - - - Inserts element with specified key and value at specified index. - - The zero-based index to insert element at. - The key of the element to insert. - The value of the element to insert. - - - - Ensures that the capacity of this instance is at least the specified value. - - The minimum capacity to ensure. - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - List of keys. Read-only. - - - - - List of values. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value associated with the specified key. - - - - - - - - - - List for which is this enumerator. - - - - - Key of the current element. - - - - - Values of the current element. - - - - - Index of current element. - - - - - Starting index for the enumerator. - - - - - Ending index for this enumerator. - - - - - Version of collection data. - - - - - True if current element is correct, False otherwise - (before beginning or after end). - - - - - Creates enumerator for specified list, starting from specified index - and with specified count. - - List for which enumerator is being created. - Starting index. - Number of elements to enumerate. - - - - Performs application-defined tasks associated with freeing, releasing, or - resetting unmanaged resources. - - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; - False if the enumerator has passed the end of the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Sets the enumerator to its initial position, which is before - the first element in the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Returns key of the current element. Read-only. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - Return DictionaryEntry for the current element. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - The current element in the collection. Read-only. - - - If current is false. - - - - - The current element in the collection. Read-only. - - - If current is false. - - - - - Returns value for the current element. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - - - - - - - - - - - Index of current element. - - - - - Version of collection data. - - - - - - - - - - - - - - - - - - - - - List for which this collection was created. - - - - - Creates KeyList for specified SortedListEx. - - TypedSortedListEx for which KeyList must be created. - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If array is null or rank of the array is not 1. - - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If array is null or rank of the array is not 1. - - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of the key, if the key is found; otherwise, -1. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the key at the specified index. - - - - - - - - - - List for which this collection was created. - - - - - Array that contain values. - - - - - Creates ValueList for specified SortedListEx. - - List for which ValueList must be created. - - - - Re-read values from the list. - - - - - Adds an element with the provided key to the list. - - Value to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified value. - - Value to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified value. - - The value to locate. - The zero-based index of the value, if the value is found, otherwise -1. - - - - Removes the specified value from list. - - The value to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value at the specified index. - - - - - Summary description for IWorksheetCustomProperties. - - - - - Adds new property to the collection. - - Name of the new property. - Newly created property. - - - - Determines whether collection contains property with a specific name. - - The name of the property to locate. - True if collection contains required element. - - - - Returns single entry from the collection by index. Read-only. - - - - - Returns single entry from the collection by index. Read-only. - - - - - Returns number of elements in the collection. Read-only. - - - - - Default constructor. - - - - - Extracts custom properties from the array of Biff records. - - Array to parse. - Position of the first custom property. - - - - Serializes collection into as set of Biff records. - - OffsetArrayList to serialize into. - - - - Adds new property to the collection. - - Name of the new property. - Newly created property. - - - - Adds new property to the collection. - - Property to add. - Added property. - - - - Adds new property to the collection. - - Property to add. - Added property. - - - - Returns single entry from the collection by index. Read-only. - - - - - Returns single entry from the collection by index. Read-only. - - - - - Summary description for NamesCollection. - - - - - Dictionary Name-to-IName - - - - - Parent workbook for the collection. - - - - - Parent worksheet for the collection. - - - - - Creates new empty collection. - - Application object for the collection. - Parent object for the new collection. - - - - Renames name in Name-to-IName hashtable. - - New name implementation. - Old name. - - - - Adds new named range to the collection. - - Name of the new named range. - Newly added named range. - - - - Defines a new name. - - Name for the new Name object. - Range that will be associated with the Name. - Newly created Name object. - - - - Defines a new name. - - Name object to add. - Added Name object. - - If name argument is NULL. - - - - - Defines a new name. - - Name object to add. - Indicates is adds in global names hash. - Added Name object. - - If name argument is NULL. - - - - - Removes Name object from the collection. - - Name of the object to remove. - - - - Clear collection. - - - - - Checks whether collection contains named range. - - Name of the named range to search. - True if collection contains such named range; otherwise returns False. - - - - Represent the known named ranges count - - - - - Adds a new name only to this collection (without registering it in the workbook names collection). - - Name object to add. - Added Name object. - - If name argument is NULL. - - - - - Defines a new name. - - NameRecord containing info for new Name object. - Name object that was added to the collection. - - If specified NameRecord is NULL. - - - - - Defines a new name. - - NameRecord containing info for new Name object. - Indicates is adds in global names hash. - Name object that was added to the collection. - - If specified NameRecord is NULL. - - - - - Defines range of new names. - - - Array of NameRecords containing info for new Name objects. - - - If array of NameRecords is NULL. - - - - - Fills Names. - - Source names collection. - Dictionary with modified worksheet names. - Flags for filling. - Dictionary, key - old name index, value - new name index. - Represents hash table with new extern sheet indexes. - - - - Updates reference indexes in the name record. - - Name record to update. - Old workbook object. - Dictionary with new worksheet names. - Dictionary with changed extern sheet indexes. - New workbook object. - - - - Sets sheet index. - - Sheet index to set. - - - - Returns existing or creates new name. - - Name to create. - Required name. - - - - Converts full row or column tokens between versions. - - Version to convert into. - - - - Returns a single Name object from a Names collection. - - - - - Sets parent workbook and worksheet for the collection. - - - If the parent workbook or worksheet cannot be found. - - - - - Performs additional processes after inserting a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at the index. - - - - Returns a single Name object from a Names collection. - - - - - Returns parent worksheet of the collection. - - - - - Represent the known named ranges count - The name in the formula which has no reference is - unknown named ranges - - - - - Returns a single Name object from a Names collection. - - - - - A collection of all the Worksheet objects in the specified or - active workbook. Each Worksheet object represents a worksheet. - - - - - A collection of all the Worksheet objects in the specified or - active workbook. Each Worksheet object represents a worksheet. - - - - - Add a copy of the specified worksheet to the worksheet collection. - - Index of the workbook that should be copied - - - - - Add a copy of the specified worksheet to the worksheet collection. - - Index of the workbook that should be copied - Represents copy options flags. - Returns copied sheet. - - - - Add a copy of the specified worksheet to the worksheet collection. - - - Worksheet to add. It is not necessary; should be worksheet - from this collection. - - Added worksheet. - - - - Adds copy of worksheet. - - Worksheet to copy. - Represents copy flags. - Copy of worksheet that was added. - - - - Add a copy of the specified worksheets to the worksheet collection. - - Worksheets to add. - - - - Adding worksheets collection to current workbook. - - Source worksheets collection. - Represents copy option flags. - - - - Create worksheet with specified name. - - New name of worksheet. Must be unique for collection. - Reference on created worksheet. - - - - Create a new worksheet. - - Reference on created worksheet. - - - - Remove worksheet from collection. - - Reference on worksheet to remove. - - - - Removes specified worksheet from the collection. - - Name of the sheet to remove. - - - - Removes specified worksheet from the collection. - - Index of the sheet to remove. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - Way to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Returns copied sheet. - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Represents sheet that, in collection must be after copied sheet. - Returns copied sheet. - - - - Adds copy of sheet to collection after chosen sheet. - - Represents worksheet to copy. - Returns copied sheet. - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Represents sheet that, in collection must be before copied sheet. - Returns copied sheet. - - - - Used without an object qualifier, this property returns an - Application object that represents the Microsoft Excel application. - - - - - Returns the number of objects in the collection. Read-only Long. - - - - - Returns a single object from a collection. - - - - - Returns a single object from a collection. - - - - - Returns the parent object for the specified object. - - - - - Indicates whether all created range objects should be cached. - - - - - Hash table that contains all worksheets and gives access - to them by worksheet name. - - - - - Parent workbook. - - - - - Indicates whether to use hash for worksheet look up. - - - - - Sheet Name Validator - - - - - Creates a collection and sets its Application and Parent properties. - - Application object for the collection. - Parent object for the collection. - - - - Adds new worksheet into collection. - - Added worksheet. - - - - Removes all references to worksheet from the current collection. - - Worksheet's name to remove. - - - - Moves worksheet inside this collection only. - - Old index in the collection. - New index in the collection. - - - - Updates sheet index after move/insert operation. - - Sheet that was changed. - Old sheet index in the TabSheets collection. - - - - - - - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Adds an empty worksheet. - - Name of the newly created worksheet. - Newly created worksheet. - - - - Add a copy of the specified worksheet to the worksheet collection. - - Index of the workbook that should be copied - Returns copied sheet. - - - - Add a copy of the specified worksheet to the worksheet collection. - - Index of the workbook that should be copied - Represents copy options flags. - Returns copied sheet. - - - - Adds copy of worksheet. - - Worksheet to copy. - Copy of worksheet that was added. - - - - Adds copy of worksheet. - - Worksheet to copy. - Represents copy flags. - Copy of worksheet that was added. - - - - Adds copy of worksheet. - - Worksheet to copy. - Flags that allows to choose what kind of data should be copied. - Indicates is current sheet is local. - Copy of worksheet that was added. - - - - Returns true, if the sheet contains the ActiveX Control. - - sheet to check ActiveX control. - true, if sheet contains ActiveX control. - - - - Adding worksheets collection to current workbook. - - Source worksheets collection. - - - - Adding worksheets collection to current workbook. - - Source worksheets collection. - Represents copy option flags. - - - - - - - - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Returns copied sheet. - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Represents sheet that, in collection must be after copied sheet. - Returns copied sheet. - - - - Adds copy of sheet to collection after chosen sheet. - - Represents worksheet to copy. - Returns copied sheet. - - - - Adds copy of sheet to collection before chosen sheet. - - Represents worksheet to copy. - Represents sheet that, in collection must be before copied sheet. - Returns copied sheet. - - - - Performs additional processes after inserting a new element into the collection. - - The zero-based index at which to insert value. - The new value of the element at the index. - - - - Performs additional processes after setting a value in the collection. - - The zero-based index at which oldValue can be found. - The value to replace with newValue. - The new value of the element at the index. - - - - Performs additional processes after removing an element from the collection. - - The zero-based index at which value can be found. - The value of the element to remove from the index. - - - - OnClear is invoked after Clear behavior. - - - - - This method is called when sheet name was changed. - - Sender of the event. - Event arguments. - - When workbook already contains worksheet with specified name. - - - - - Creates empty worksheet with specified name. - - New name of worksheet. Must be unique for collection. - Reference on created worksheet. - - When specified name is NULL. - - - - - Creates empty worksheet with automatically generated name. - - Reference on created worksheet. - - - - Remove specified worksheet from workbook collection. - - Reference on worksheet to remove. - - When specified sheet is last sheet in the workbook. - - - - - Removes specified worksheet from the collection. - - Name of the sheet to remove. - - - - Removes specified worksheet from the collection. - - Index of the sheet to remove. - - - - Updates string indexes. - - List with new indexes. - - - - Removes specified worksheet from the collection. - - Index of the sheet to remove. - - - - Adds worksheet into internal collection. - - Worksheet to add. - - - validates the sheet name to avoid the invalid names - - - - Returns a single object from a collection. Read-only. - - - - - Returns a single object from a collection. Read-only. - - - - - Indicates whether all created range objects should be cached. - - - - - Toggles worksheet search algorithm when searching worksheet by name. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Class that represent event args. - - - - - Element index. - - - - - Element value. - - - - - Default constructor. - - - - - Creates new instance of event arguments. - - Changed element index. - Changed element value. - - - - Element index. Read-only. - - - - - Element value. Read-only. - - - - - Represents an ARGB (alpha, red, green, blue) color. - - - - - Type of the stored color. - - - - - Color value. - - - - - Color Saturation Modulation value - - - - - Color Luminence value - - - - - Color Saturation - - - - - Color Luminence Modulation - - - - - Indicate Scheme color - - - - - Indicate Schema Name - - - - - Indicate Hex color - - - - - Initializes a new instance of the class with the specified instance. - - Color value to initialize. - - - - Initializes a new instance of the class with the specified instance. - - Color value to initialize. - - - - Initializes a new instance of the class with the specified instance and color value. - - Represents type of Color. - Represents color value. - - - - Initializes a new instance of the class with the specified instance, color value and tint value. - - Represents color type. - Represents color value. - Represents tint value. - - - - Returns the index for indexed color or the closest color for any other color type. - - Parent workbook - Index for indexed color or the closest color for any other color type. - - - - Sets the indexed color with the specified instance. - - Color index to set. - - - - Sets the indexed color with the specified value and event action. - - Color index to set. - Determines whether to call AfterChange event - - - - Sets the indexed. - - Color index to set. - if set to true [raise event]. - The book. - - - - Returns the RGB Color object that corresponds to this color. - - Parent workbook. - RGB Color object that corresponds to this color. - - - - Sets the RGB color value. - - Value to set. - Parent workbook. - - - - Sets RGB color value. - - Value to set. - - - - Converts the specified to instance. - - Color value to convert. - Returns Converted instance. - - - - Checks whether two instances have the same data. - - First color object to check. - Second color object to check. - True if they have the same data.Otherwise False - - - - Checks whether two instances have different data. - - First color object to check. - Second color object to check. - True if they have different data. Otherwise False - - - - Copies data from another color object. - - Color object to copy data from. - Indicates whether we should call AfterChange method. - - - - Converts current color to closest indexed. - - Parent workbook. - - - - Returns the HashCode for the instance. - - A 32-bit signed integer hash code. - - - - Sets indexed color without calling AfterChange event. - - Color index to set. - - - - Creates independent copy of the current object. - - A copy of the current object. - - - - Normalizes indexed color if necessary. - - - - - Normalizes indexed color if necessary. - - - - - Normalizes indexed color if necessary. - - - - - Determines whether the specified color objects are equal or not. - - The object to compare with the current instance. - true if the specified Object is equal to the current Object; otherwise, false. - - - - Sets theme color. - - Theme color index. - Parent workbook. - - - - Sets theme color - - Theme color index. - Parent workbook. - Tint value. - - - - Sets rgb color. - - Rgb color to set. - Parent workbook. - Tint value. - - - - Represents an event called after color change. - - - - - Gets color value (it can be index, rgb color, etc.) - - - - - Gets or sets Tint value. - - - - - Indicate Hex color - - - - - Gets or sets the type of the stored color. - - - - - Delegate used for after change event. - - - - - Specifies the color type. - - - - - Indicates ColorType is Automatic. - - - - - Indicates ColorType which is determined by Indexed color. - - - - - Indicates ColorType which is determined by values of red, green, and blue. - - - - - Indicates ColorType which is determined by theme colors. - - - - - Indicates color is not set. - - - - - Is thrown when range is invalid, i.e. when can't copy / move range into new location. - - - - - Default exception message. - - - - - Initializes a new instance of the class with default error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Is thrown when the data array is larger than it should be. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - This exception should be thrown when there are problems with formula parsing. - - - - - Default message format. - - - - - Default constructor. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - - - - - - - - - - Is thrown when user tries to modify read-only data. - - - - - Default message. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Is thrown when data array is smaller than it should be. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - This exception should be thrown when unexpected record is met in the stream. - - - - - Default message. - - - - - Message for exception message with record code. - - - - - Initializes a new instance of the class with default error message. - - - - - Initializes a new instance of the class with default error message. - - Record code that was met. - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Is thrown when some internal data error is found. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Is thrown when biff stream has wrong format. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Thrown when trying to parse an incorrect part of the Biff8 stream. - - - - - Initializes a new instance of the class with an empty error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Initializes a new instance of the Exception class with - a specified error message and a reference to the inner - exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception. - If the innerException parameter is not a NULL reference - (Nothing in Visual Basic), the current exception is raised - in a catch block that handles the inner exception. - - - - - Represents exception, that occurred during parse excel structure from xml stream. - - - - - Represents default error message. - - - - - Initializes a new instance of the class with default error message. - - - - - Initializes a new instance of the class with a specified error message. - - Error message. - - - - Creates new instance of xml reading exception. - - Represents block of xml nodes where occurred exception. - Represents some description. - - - - Contains the font attributes (font name, font size, - color, and so on) for an object. - - - - - Parent index that indicates that extended format doesn't have any parent format. - - - - - Indicates that text is drawn from top to bottom. - - - - - Maximum tint value. - - - - - Weight of the bold font. - - - - - Weight of the normal font. - - - - - ExtendedFormatRecord that contains information about font and format indexes, - borders, colors, etc. - - - - - - Parent workbook. - - - - - Position of this format in m_book.InnerExtFormats. - - - - - ShapeFill implementation that contains gradient fill effects. - - - - - - - - - - - - - - - Represent the cell-border - - - - - Indicating whether cell has pivot button - - - - - This method should be called after any changes. - Sets Saved property of the parent workbook to False. - - - - - Copies all data from this XF into another. - - Format to copy into. - - - - Creates child format if this format is for named style and registers it in workbook. - - Child format. - - - - Creates child format if this format is for named style. - - Defines whether to register format in workbook. - Child format. - - - - - - - - - - - Synchronizes properties with parent record. - - - - - Copies borders from source format. - - Format to copy border settings from. - - - - Copies patterns from source format. - - Format to copy pattern settings from. - - - - Starts updating process. - - - - - Ends updating process. - - - - - Sets application and parent fields. - - Application object for the format. - Parent object for the format. - - - - Recovers ExtendedFormatImpl from the stream. - - Application object for the format. - Parent object for the format. - - Reader that contains ExtendedFormatRecord for - the new extended format. - - - - - Recovers ExtendedFormatImpl records from Biff Records array and position - of ExtendedFormatRecord in it. - - Application object for the XF. - Parent object for the XF. - Array of Biff Records. - Position of ExtendedFormatRecord. - - - - Recovers ExtendedFormatImpl records from Biff Records - List and position of ExtendedFormatRecord in it. - - Application object for the XF. - Parent object for the XF. - List of Biff Records. - Position of ExtendedFormatRecord in List. - - - - Gets information about extended format from specified format. - - Application object for the XF. - Parent object for the XF. - Format that contains all needed information. - - - - Gets information about extended format from specified format. - - Application object for the XF. - Parent object for the XF. - Format that contains all needed information. - - - - Searches for all necessary parent objects. - - - - - Recover from the stream. - - Reader with XF data. - - - - Recovers ExtendedFormat from array of Biff Records and position of - ExtendedFormatRecord in it. - - Array of Biff Records. - Position of ExtendedFormatRecord in the array. - - - - Parses ExtendedFormatRecord - - Record to parse. - - When font index in format record is larger than size - of the inner font collection of the parent workbook. - - - - - Parses ExtendedFormatRecord - - Record to parse. - - When font index in format record is larger than size - of the inner font collection of the parent workbook. - - - - - Updates values from parent format and initializes colors if necessary. - - - - - Updates values from current format. - - - - - Initializes color objects. - - - - - Updates color field in the record. - - - - - Updates pattern color in the record. - - - - - Updates top border color in the record. - - - - - Updates bottom border color in the record. - - - - - Updates left border color in the record. - - - - - Updates right border color in the record. - - - - - Updates diagonal border color in the record. - - - - - Adds format records into records array. - - Array that will receive format information. - - - - Checks the record to see if everything is proper and corrects - it if necessary. - - - - - Adds Extended XF format records into records array. - - Array that will receive format information. - - - - Copy Colors. - - - - - Compares the current instance with another object of the same type. - - Object to compare with this instance. - - Less than zero - This instance is less than obj. - Zero - This instance is equal to obj. - Greater than zero - This instance is greater than obj. - - - - - - - - - - - - Compares formats without comparing indexes. - - Format to compare. - 0 if formats are equal. - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Determines whether two Object instances are equal. - - The Object to compare with the current Object. - - True if the specified Object is equal to the current Object; otherwise, False. - - - - - Copies one extended format into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies alignment of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies borders of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies font of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies number format of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies patterns of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies protection of one XFormat into another. - - Destination format. - Source format. - Indicates whether we should change corresponding - Include... flag(s) after copying data. - - - - Copies color settings from specified format object. - - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Checks the record for borders and updates hasBorder - - The record to be checked - - - - Get / set font index. - - - - - Gets format index in m_book.InnerFormats. - - - - - Get / set Format index. - - - - - Get / set fill pattern. - - - - - Get / set fill background color. - - - - - Get / set fill background color. - - - - - Get / set fill foreground color. - - - - - Get / set fill foreground color. - - - - - Horizontal alignment. - - - - - Indent level. - - - - - Indicates whether formula is hidden. - - - - - Indicates whether cell with this XF is locked. - - - - - For far east languages. Supported only for format. Always 0 for US. - - - - - Returns or sets the format code for the object. Read/write String. - - - - - Returns or sets the format code for the object as a string in the - language of the user. Read/write String. - - - - - Returns object that describes number format. Read-only. - - - - - True- Indicates that the contents are shrunk to fit into cell. - - - - - True - Indicates that text is wrapped at right border. - - - - - Vertical alignment. - - - - - Flag for horizontal and vertical alignment, text wrap, indentation, - orientation, rotation, and text direction. If False, the attribute - of parent style is used. - - - - - Flag for border lines. - If False, the attribute of parent style is used. - - - - - Flag for font. - If False, the attribute of parent style is used. - - - - - Flag for number format. - If False, the attribute of parent style is used. - - - - - Flag for background area style. - If False, the attribute of parent style is used. - - - - - Flag for cell protection (cell locked and formula hidden). - If False, the attribute of parent style is used. - - - - - - - - - - - - - - - If true then first symbol in cell is apostrophe. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior. The color is specified as - an index value into the current color palette. - - - - - Returns or sets the cell shading color. - - - - - Returns or sets the cell shading color. - - - - - Gets value indicating whether format was modified, compared to parent format. - - - - - List of extended property. - - - - - Text direction, the reading order for far east versions. - - - - - Text rotation angle: - 0 Not rotated - 1-90 1 to 90 degrees counterclockwise - 91-180 1 to 90 degrees clockwise - 255 Letters are stacked top-to-bottom, but not rotated. - - - Thrown when value is more than 0xFF. - - - - - Type of the extended format. - - - - - Gets / sets gradient object. - - - - - Get / set index for this record in Workbook.InnerExtFormats collection. - - - - - Read-only. Returns ExtendedFormatRecord with - information about this format. - - - - - Read-only. Returns ExtendedXFormat with information about this format. - - - - - Index of the parent extended format. - - - - - Returns parent workbook. - - - - - Returns parent collection. Read-only. - - - - - Get/set BottomBorder color. - - - - - Get/set TopBorder color. - - - - - Get/set LeftBorder color. - - - - - Get/set RightBorder color. - - - - - Get/set DiagonalUpBorder color. - - - - - Gets / sets line style of the left border. - - - - - Gets / sets line style of the right border. - - - - - Gets / sets line style of the top border. - - - - - Gets / sets line style of the bottom border. - - - - - Gets / sets line style of the diagonal border. - - - - - Gets / sets line style of the diagonal border. - - - - - Indicates whether DiagonalUp line is visible. - - - - - Indicates whether DiagonalDown line is visible. - - - - - Indicates whether this format is child format. - - - - - Indicates whether color is default. Read-only. - - - - - Indicates whether pattern color is default. Read-only. - - - - - Returns record from parent format if possible, otherwise just returns format record. Read-only. - - - - - Returns parent format if possible, otherwise just returns this format. Read-only. - - - - - Gets number format object. - - - - - Indicating whether cell has pivot button - - - - - - - - - - - - - - - Returns color of the top border. Read-only. - - - - - Returns color of the bottom border. Read-only. - - - - - Returns color of the left border. Read-only. - - - - - Returns color of the right border. Read-only. - - - - - Returns color of the diagonal border. Read-only. - - - - - Font settings. - - - - - Initializes new instance of the format. - - Object to copy settings from. - - - - Returns object that stores font settings. Read-only. - - - - - This class contains some extension to the Color class in (PORTABLE). - - - - - Contains black color. - - - - - Contains white color. - - - - - Contains empty color. - - - - - Contains red color. - - - - - Contains blue color. - - - - - Contains dark gray color. - - - - - Contains yellow color. - - - - - Contains cyan color. - - - - - Contains magenta color. - - - - - Contains gray color. - - - - - Chart foreground color. - - - - - Chart background color. - - - - - Chart neutral color. - - - - - Converts Int32 value into Color. - - Value to convert. - Converted value. - - - - Parent worksheet. - - - - - - - - - - - - - - - - - - - - Creates Subtotal for the corresponding ranges - - GroupBy - ConsolidationFunction - TotalList - - - - Creates SubTotal for the corresponding Ranges - - GroupByGroupBy - ConsolidationFunction - TotalList - Replace exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Initializes new instance of the class. - - Parent external worksheet. - First row. - First column. - - - - Initializes new instance of the class. - - Parent external worksheet. - First row. - First column. - Last row. - Last column. - - - - Gets address global in the format required by Excel 2007. - - - - - Gets name of the parent worksheet. - - - - - Gets or sets a value indicating whether this instance is num reference for chart axis. - - - true if this instance is num reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is a string reference for chart axis. - - - true if this instance is string reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is multi reference for chart axis. - - - true if this instance is multi reference; otherwise, false. - - - - - Summary description for ExternNameImpl. - - - - - Summary description for INameIndexChangedEventProvider. - - - - - Event for Name index changed - - - - - Extern name record with information about this name. - - - - - Index of the extern name in extern names collection. - - - - - Parent extern workbook. - - - - - Represents the refersTo attribute of the definedName tag - - - - - - - - - - - - - - Searches for all necessary parents. - - - - - - - - - - - Saves class into OffsetArrayList. - - OffsetArrayList that would receive class data. - - - - Creates copy of the current object. - - Parent object for the new object. - Copy of the current object. - - - - Index of the extern name in extern names collection. - - - - - Returns name of this extern name. Read-only. - - - - - Returns index of the parent extern workbook. Read-only. - - - - - Returns internal record that stores all data. Read-only. - - - - - Represents the refersTo attribute of the definedName tag - - - - - - - - - - Describes external workbook. - - - - - Array of all worksheets in this workbook. Key - index, Value - ExternWorksheet. - - - - - Dictionary key - worksheet name, value - corresponding worksheet. - - - - - Array of all extern names in this workbook. - - - - - Corresponding SupBookRecord. - - - - - Book index. - - - - - Parent workbook. - - - - - Workbook's short name. - - - - - Program id for ole object links. - - - - - - - - - - - - Initializes internal variables. - - - - - Inserts default worksheet. - - - - - Searches for all necessary parent objects. - - - - - Parses extern workbook. - - Records array that contains workbook data. - Offset to the workbook data. - Offset after reading all necessary data. - - - - Saves extern workbook as biff records. - - OffsetArrayList to serialize into. - - - - Adds extern worksheet. - - Sheet to add. - - - - Returns index of worksheet in this workbook. - - Sheet name to search for. - Index of the worksheet in the workbook; -1 if worksheet was not found. - - - - Get new index for extern name (to remove duplicated extern names). - - Name index. - Updated name index. - - - - Creates copy of the current extern workbook. - - Parent for the copy of this extern workbook. - Copy of the current extern workbook. - - - - Gets name of the sheet at specified index. - - Index of the desired worksheet. - Name of the sheet. - - - - Initializes ShortName property. - - - - - Gets file name with extension from the path. - - Url to get name from. - File name without extension from the path. - - - - Gets file name without extension from the path. - - Url to get name from. - File name without extension from the path. - - - - Adds new worksheets to the extern workbook. - - Array that contains worksheet names to add. - - - - Adds new worksheets to the extern workbook. - - Array that contains worksheet names to add. - - - - Adds new worksheet to the collection of worksheets. - - Name of the worksheet to add. - Create worksheet. - - - - - - - - - - Adds external name object to the workbook. - - Name of the named range to add. - - - - - - - - - - - This method is called during dispose operation. - - - - - Returns collection of extern names. Read-only. - - - - - Indicates whether this is workbook is used for internal reference. - - - - - Number of sheet names (if external references) or - number of sheets in this document (if internal references). - - - - - Encoded URL without sheet name (for external references). - - - - - Gets / sets index of the workbook. - - - - - Returns parent workbook. Read-only. - - - - - Returns short name of the workbook. Read-only. - - - - - Indicates whether add-in function names are stored - in EXTERNNAME records following this SUPBOOK record. - - - - - Returns worksheets collection sorted by index. Read-only. - - - - - Gets or sets program id for the ole object. - - - - - Summary description for ExternWorksheetImpl. - - - - - Represents internal worksheet object. It can be internal or external. - - - - - Gets object that is clone of current worksheet in the specified workbook. - - Dictionary with update worksheet names. - New workbook object. - Object that is clone of the current worksheet. - - - - Return default row height in pixel. - - - - - Gets or sets one-based index of the first row of the worksheet. - - - - - Gets or sets one-based index of the first column of the worksheet. - - - - - Gets or sets one-based index of the last row of the worksheet. - - - - - Gets or sets one-based index of the last column of the worksheet. - - - - - Returns collection of cell records. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - - - - - - List with sheet records. - - - - - Parent workbook. - - - - - Worksheet name. - - - - - Collection with worksheet's cached cell records. - - - - - First used row. - - - - - First used column. - - - - - Last used row. - - - - - Last used column. - - - - - Additional attributes for sheetData tag. - - - - - - - - - - - - Parses extern worksheet. - - Array with worksheet records. - Offset to the worksheet records. - Offset after worksheet reading all worksheet records. - - - - Extracts data from CRN record. - - CRN record to parse. - - - - - - - - - - Serializes row CRN records. - - Record list to put records into. - - - - Serializes single row into set of CRN records. - - - - - - - Creates copy of the object. - - Parent object for the new object. - Created object that is copy of the current object. - - - - This method is called during dispose operation. - - - - - Caches values from specified range. - - Range to cache data from. - - - - Returns the formula string if the cell contains a formula, or the value if - the cell cantains anything other than a formula. - - The row of the cell. - The column of the cell. - The formula string or value. - - - - Sets the value of a cell. - - The value to be set. - The row of the cell. - The column of the cell. - - - - Not implemented. - - - - - Copies worksheet into the clipboard. - - - - - Clears worksheet data. Removes all formatting and merges. - - - - - Clears worksheet. Only the data is removed from each cell. - - - - - Indicates whether a cell was initialized or accessed by the user. - - One-based row index of the cell. - One-based column index of the cell. - Value indicating whether the cell was initialized or accessed by the user. - - - - Creates new instance of IRanges. - - New instance of ranges collection. - - - - Method check is Column with specified index visible to end user or not. - - Index of column. - True - column is visible; otherwise False. - - - - Shows / Hides the specified column. - - Index at which the column should be hidden. - True - Column is visible; false - hidden. - - - - Hides the specified column. - - One-based column index to hide. - - - - Hides the specified row. - - One-based row index to hide. - - - - Method check is Row with specified index visible to user or not. - - Index of row visibility of each must be checked. - True - row is visible to user, otherwise False. - - - - Shows / Hides the specified row. - - Index at which the row should be hidden. - True - Row is visible; false - hidden. - - - - Shows / Hides the specified range. - - Range specifies the particular range to show / hide - True - Range is visible; False - hidden. - - - - Shows/ Hides the collection of range. - - Ranges specifies the range collection. - True - Row is visible; false - hidden. - - - - Shows/ Hides an array of range. - - Ranges specifies the range array. - True - Row is visible; false - hidden. - - - - Inserts an empty row with default formatting (with formulas update). - - Index at which new row should be inserted. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - Insert options. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted. - - - - Inserts an empty column with default formatting (with formulas update). - - Index at which new column should be inserted. - Number of columns to insert. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted. - Number of columns to insert. - Insert options. - - - - Removes specified row (with formulas update). - - One-based row index to remove. - - - - Removes specified row (with formulas update). - - One-based row index to remove. - Number of rows to remove. - - - - Removes specified column (with formulas update). - - One-based column index to remove. - - - - Removes specified column (without updating formulas). - - One-based column index to remove. - Number of columns to remove. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of strings into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of integers into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of doubles into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of DateTimes into worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - True if array should be imported vertically; False - horizontally. - Number of imported elements. - - - - Imports an array of objects into a worksheet. - - Array to import. - Row of the first cell where array should be imported. - Column of the first cell where array should be imported. - Number of imported rows. - - - - Imports data from class objects into worksheet - - IEnumerable object with desired data - Row of the First cell to be imported - Column of the first cell to be imported - TRUE if class properties names must also be imported - - - - - Imports data from a DataColumn into worksheet. - - DataColumn with desired data. - True if column name must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - True if data table must be serialized directly on save. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataTable into worksheet. - - DataTable with desired data. - True if column names must also be imported. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - Maximum number of rows to import. - Maximum number of columns to import. - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Indicates whether to preserve column types. - Number of imported rows - - - - Removes panes from a worksheet. - - - - - Exports worksheet data into a DataTable. - - Row of the first cell from where DataTable should be exported. - Column of the first cell from where DataTable should be exported. - Maximum number of rows to export. - Maximum number of columns to export. - Export options. - DataTable with worksheet data. - - - - Exports worksheet data into a DataTable. - - Range to export. - Export options. - DataTable with worksheet data. - - - - Protects worksheet's content with password. - - Password to protect with. - - - - Protects current worksheet. - - Represents password to protect. - Represents params to protect. - - - - Unprotects worksheet's content with password. - - Password to unprotect. - - - - Intersects two ranges. - - First range to intersect. - Second range to intersect. - Intersection of two ranges or NULL if there is no range intersection. - - When range1 or range2 is NULL. - - - - - Merges two ranges. - - First range to merge. - Second range to merge. - Merged ranges or NULL if wasn't able to merge ranges. - - When range1 or range2 is NULL. - - - - - Autofits specified row. - - One-based row index. - - - - Autofits specified column. - - One-based column index. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Replaces specified string by data column values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Removes worksheet from parent worksheets collection. - - - - - Moves worksheet. - - New index of the worksheet. - - - - Converts column width into pixels. - - Width in characters. - Width in pixels - - - - Converts pixels into column width (in characters). - - Width in pixels - Width in characters. - - - - Sets column width. - - One-based column index. - Width to set. - - - - Sets column width. - - One-based column index. - Width in pixels to set. - - - - - Sets row height. - - One-based row index. - Height to set. - - - - Sets row height in pixels. - - One-based row index to set height. - Value in pixels to set. - - - - Set Row height from Start Row index to End Row index - - Start Row index - No of Row to be set width - Value in pixels - - - - Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width of the specified column. - - - - Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width in pixels of the specified column. - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row - - Height from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row. - - Height in pixels from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - The find options. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Save tabsheet using separator. - - File to save. - Current separator. - - - - Save tabsheet using separator. - - File to save. - Current separator. - Encoding to use. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - Encoding to use. - - - - Sets by column index default style for column. - - Column index. - Default style. - - - - Sets by column index default style for column. - - Start column index. - End column index. - Default style. - - - - Sets by column index default style for row. - - Row index. - Default style. - - - - Sets by column index default style for row. - - Start row index. - End row index. - Default style. - - - - Returns default column style. - - Column index. - Default column style or null if style wasn't set. - - - - Returns default row style. - - Row index. - Default row style or null if style wasn't set. - - - - Free's range object. - - Range to remove from internal cache. - - - - Free's range object. - - One-based row index of the range object to remove from internal cache. - One-based column index of the range object to remove from internal cache. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets text in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Text to set. - - - - Sets formula in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Formula to set. - - - - Sets error in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Error to set. - - - - Sets blank in specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - - - - Sets formula number value. - - One based row index. - One based column index. - Represents formula number value for set. - - - - Sets formula error value. - - One based row index. - One based column index. - Represents formula error value for set. - - - - Sets formula bool value. - - One based row index. - One based column index. - Represents formula bool value for set. - - - - Sets formula string value. - - One based row index. - One based column index. - Represents formula string value for set. - - - - Returns string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula contained by the cell. - - - - Gets error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Gets formula bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Gets formula error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Returns formula number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Converts range into image (Bitmap). - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - Created image. - - - - Converts range into image. - - One-based index of the first row to convert. - One-based index of the first column to convert. - One-based index of the last row to convert. - One-based index of the last column to convert. - Type of the image to create. - Output stream. It is ignored if null. - Created image. - - - - Makes the current sheet the active sheet. Equivalent to clicking the - sheet's tab. - - - - - Selects current tab sheet. - - - - - Unselects current tab sheet. - - - - - Gets object that is clone of current worksheet in the specified workbook. - - Dictionary with update worksheet names. - New workbook object. - Object that is clone of the current worksheet. - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Event raised when an unknown function is encountered. - - - - - Sheet index. - - - - - Gets parent extrnal workbook. - - - - - Gets index of the reference to this worksheet. - - - - - - - - - - Returns all used cells in the worksheet. Read-only. - - - - - True if page breaks (both automatic and manual) on the specified - worksheet are displayed. Read / write Boolean. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Indicates is current sheet is protected. - - - - - Gets or sets the view setting of the sheet. - - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Gets or sets a value indicating whether this instance is OLE object. - - - true if this instance is OLE object; otherwise, false. - - - - - Returns all merged ranges. Read-only. - - - - - For a Worksheet object, returns a Names collection that represents - all the worksheet-specific names (names defined with the "WorksheetName!" - prefix). Read-only Names object. - - - - - Name that is used by macros to access the workbook items. Read-only. - - - - - Returns a PageSetup object that contains all the page setup settings - for the specified object. Read-only. - - - - - Returns a Range object that represents a cell or a range of cells. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the rows on the specified worksheet. Read-only Range object. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the columns on the specified worksheet. Read-only Range object. - - - - - Returns or sets the standard (default) height of all the rows in the worksheet, - in points. Read/write Double. - - - - - Returns or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. - Read/write Bool. - - - - - Returns or sets the standard (default) width of all the columns in the - worksheet. Read/write Double. - - - - - Returns or sets the worksheet type. Read-only OfficeSheetType. - - - - - Returns a Range object that represents the used range on the - specified worksheet. Read-only. - - - - - Zoom factor of document. Value must be in range from 10 till 400. - - - - - Position of the vertical split (px, 0 = No vertical split): - Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible columns in left pane(s) - - - - - Position of the horizontal split (by, 0 = No horizontal split): - Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point) - Frozen pane: Number of visible rows in top pane(s) - - - - - Index to first visible row in bottom pane(s). - - - - - Index to first visible column in right pane(s). - - - - - Identifier of pane with active cell cursor. - - - - - True if zero values to be displayed - False otherwise. - - - - - True if gridlines are visible; - False otherwise. - - - - - Gets / sets Grid line color. - - - - - True if row and column headers are visible; - False otherwise. - - - - - Indicates if all values in the workbook are preserved as strings. - - - - - Indicates if the worksheet is password protected. - - - - - Gets / sets cell by row and index. - - - - - Get cells range. - - - - - Get cell range. - - - - - Get cell range. - - - - - Returns all not empty or accessed cells. Read-only. - WARNING: This property creates Range object for each cell in the worksheet - and creates new array each time user calls to it. It can cause huge memory - usage especially if called frequently. - - - - - Returns collection of custom properties. Read-only. - - - - - Indicates whether all created range objects should be cached. Default value is false. - - - - - Defines whether freezed panes are applied. - - - - - Return split cell range. - - - - - Gets/sets top visible row of the worksheet. - - - - - Gets/sets left visible column of the worksheet. - - - - - There are two different algorithms to create UsedRange object: - 1) Default. This property = true. The cell is included into UsedRange when - it has some record created for it even if data is empty (maybe some formatting - changed, maybe not - cell was accessed and record was created). - 2) This property = false. In this case XlsIO tries to remove empty rows and - columns from all sides to make UsedRange smaller. - - - - - Returns instance of migrant range - row and column of this range - object can be changed by user. Read-only. - - - - - Gets / sets tab color. - - - - - Gets / sets tab color. - - - - - Returns charts collection. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Returns shapes collection. Read-only. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Indicates whether tab of this sheet is selected. Read-only. - - - - - Returns index in the parent ITabSheets collection. Read-only. - - - - - Gets / sets name of the tab sheet. - - - - - Control visibility of worksheet to end user. - - - - - Returns collection with all textboxes inside this worksheet. Read-only. - - - - - Return default row height in pixel. - - - - - Gets or sets one-based index of the first row of the worksheet. - - - - - Gets or sets one-based index of the first column of the worksheet. - - - - - Gets or sets one-based index of the last row of the worksheet. - - - - - Gets or sets one-based index of the last column of the worksheet. - - - - - Returns collection of cell records. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Summary description for FillImpl. - - - - - - - - - - - - - - - - - - - - Gradient fill style. - - - - - Gradient fill variant. - - - - - Gradient fill type. - - - - - Prevents user from creating such items without arguments. - - - - - Initializes new instance of the fill. - - Parent extended format. - - - - Initializes new instance of the fill. - - - - - - - - Initializes new instance of the fill. - - Represents pattern. - Represents color. - Represents pattern color. - - - - Determines whether the specified Object is equal to the current Object. - - The Object to compare with the current Object. - true if the specified Object is equal to the current Object; otherwise, false. - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current object. - - - - Creates copy of the current object. - - A copy of the current object. - - - - Returns the color of the interior. The color is specified as - an index value into the current color palette. Read-only. - - - - - Returns the color of the interior pattern as an index into the current - color palette. Read-only. - - - - - Returns fill pattern. Read-only. - - - - - Gets / sets gradient style. - - - - - Gets / sets gradient variant. - - - - - Gets / sets fill type. - - - - - Contains the font attributes (font name, font size, - color, and so on) for an object. - - - - - Weight of the bold font. - - - - - Weight of the normal font. - - - - - - - - - - Font index which is not present in file. - - - - - Multiplier for small bold font. - - - - - Multiplier for bold font. - - - - - Represents last not default color index. - - - - - - - - - - Wrapped FontRecord. - - - - - Parent workbook. - - - - - Current position of FontImpl class in the InnerFont Collection. - - - - - Font charset. - - - - - Native font object. - - - - - Color object. - - - - - Font's language. - - - - - Paragraph alignment - - - - - Represents whether RTF has paragraph alignment or not - - - - - Creates font and sets its Application and Parent - properties to specified values. - - Application object for the font. - Parent object for the font. - - - - Reads font from the stream. - - Application object for the font. - Parent object for the font. - Reader with font data. - - - - Creates FontImpl from FontRecord. - - Application object for the font. - Parent object for the font. - Record with font data. - - - - Creates FontImpl from FontRecord. - - Application object for the font. - Parent object for the font. - Record with font data. - - - - Creates font using data from baseFont. - - IFont that will be copied. - - When baseFont is not FontImpl and not FontImplWrapper. - - - - - Creates font based on native font and sets its Application and Parent - properties to specified values. - - Application object for the font. - Parent object for the font. - Native font to create from. - - - - Initializes color object. - - - - - Updates font record after color change. - - - - - Updates color with record's data. - - - - - Initializes parent objects. - - - - - Reads font from the BiffReader. - - BiffReader that contains font data. - - When reader can't extract records anymore or - if current record in the reader is not FontRecord. - - - - - Saves all range cells into OffsetArrayList. - - Array that will receive font record. - - - - Copies data from this instance to another. - - Font impl that will receive data from this font. - - - - This method should be called after any changes. - Sets Saved property of the parent workbook to false. - - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - Generates .Net font object corresponding to the current font. - - Desired font size. - Generated .Net font. - - - - Parses native font. - - Font to parse. - - - - Measures the specified string when drawn with this font. - - String to measure. - String size. - - - - Measures the specified string in special way (as close as possible to MS Excel). - - String to measure. - String size. - - - - - - - - - - - - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Clones FontImpl. - - Parent object. - Returns cloned object. - - - - Converts size of the font to the twips. - - Size of the font. - Size of the font in twips. - - - - - - - - - - - Updates font indexes in different workbooks. - - Index to update. - Dictionary with new indexes. - Parse options. - Returns new index. - - - - Find and returns the supported font font style by the respective font. - - - - - - - Determines whether the specified Object is equal to the current Object. - - The Object to compare with the current Object. - - True if the specified Object is equal to the current Object; - otherwise, False. - - - - - Serves as a hash function for a particular type, suitable for - use in hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Compares the current instance with another object of the same type. - - Object to compare with this instance. - - Less than zero - This instance is less than obj. - Zero - This instance is equal to obj. - Greater than zero - This instance is greater than obj. - - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - True if the font is bold. Read/write Boolean. - - - - - Returns or sets the primary color of the object. Read / write ExcelKnownColors. - - - - - Gets / sets font color. Searches for the closest color in - the workbook palette. - - - - - True if the font style is italic. Read/write Boolean. - - - - - True if the font is an outline font. Read/write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read/write Boolean. - - - - - Returns or sets the size of the font in points. Read / write Variant. - - - When size is less than 1 or greater than 409. - - - - - True if the font is struck through with a horizontal line. - Read/write Boolean. - - - - - True if the font is formatted as subscript. - False by default. Read/write Boolean. - - - - - True if the font is formatted as superscript; False by default. - Read/write Boolean. - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read/write OfficeUnderline. - - - - - Returns or sets the font name. Read/write string. - - - - - Gets / sets font vertical alignment. - - - - - Indicates whether color is automatically selected. Read-only. - - - - - Gets or sets the baseline value which indicates whether superscript or subscript - - - - - Returns wrapped FontRecord. Read-only. - - - - - Parent workbook. Read-only. - - - - - Font index in the workbook fonts collection. - - - - - Gets/sets font charset. - - - - - Gets or sets the family. - - The family. - - - - Returns color object. - - - - - Gets or sets font's language. - - - - - Gets or sets RTF paragraph alignment - - - - - Returns whether RTF text has paragraph alignment or not - - - - - - - - - - Returns font index. Read-only. - - - - - Returns current font. Read-only. - - - - - Class that is created when user accesses the - font in a multicell range. Redirects all calls - to the fonts of the individual cells. - - - - - Array that contains all cells of the range. - - - - - Create new instance of object. - - Base range. - - - - Create new instance of object. - - Base range. - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - True if the font is bold. Read/write Boolean. - - - - - Returns or sets the primary color of the object. Read / write ExcelKnownColors. - - - - - Gets / sets font color. If there is at least one free color, - define a new color. If not, search for the closest one in - workbook palette. - - - - - True if the font style is italic. Read/write Boolean. - - - - - True if the font is an outline font. Read/write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read/write Boolean. - - - - - Returns or sets the size of the font. Read/write Variant. - - - - - True if the font is struck through with a horizontal line. - Read/write Boolean - - - - - True if the font is formatted as subscript. - False by default. Read/write Boolean. - - - - - True if the font is formatted as superscript; False by default. - Read/write Boolean. - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read/write OfficeUnderline. - - - - - Returns or sets the font name. Read/write string. - - - - - Gets / sets font vertical alignment. - - - - - Indicates whether color is automatically selected. Read-only. - - - - - Summary description for FontWrapper. - - - - - Wrapped font. - - - - - Font character set. - - - - - Indicates whether font is read-only. - - - - - Indicates whether raise events. - - - - - Indicates whether wrapped font is accessed directly (without creating - new font in OnBeforeChange, OnAfterChange methods). - - - - - Font color object - - - - - Represents the color format - - - - - Represents the Range - - - - - Creates new font wrapper. - - - - - Creates new font wrapper. - - Font to wrap. - - - - Creates new font wrapper. - - Font to wrap. - Indicates whether wrapper should be read-only. - - Indicates whether to call OnBeforeChange and OnAfterChange when any property changes. - - - - - Generates .Net font object corresponding to the current font. - - Generated .Net font. - - - - Returns copy of current object. - - Parent Workbook. - Parent object. - Dictionary with new indexes. - Clone of FontWraper. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Invokes after change event. - - - - - True if the font is bold. Read / write Boolean. - - - - - Returns or sets the primary color of the object, as shown in the - following table. Use the RGB function to create a color value. - Read / write Integer. - - - - - Gets / sets font color. Searches for the closest color in - the workbook palette. - - - - - True if the font style is italic. Read / write Boolean. - - - - - True if the font is an outline font. Read / write Boolean. - - - - - True if the font is a shadow font or if the object has - a shadow. Read / write Boolean. - - - - - Returns or sets the size of the font. Read / write Variant. - - - - - True if the font is struck through with a horizontal line. - Read / write Boolean - - - - - Gets or sets the offset value of superscript and subscript - - - - - True if the font is formatted as subscript. - False by default. Read / write Boolean. - - - - - True if the font is formatted as superscript. False by default. - Read/write Boolean - - - - - Returns or sets the type of underline applied to the font. Can - be one of the following ExcelUnderlineStyle constants. - Read / write OfficeUnderline. - - - - - Returns or sets the font name. Read / write string. - - - - - Returns the font character set - - - - - Gets / sets font vertical alignment. - - - - - Indicates whether color is automatically selected. Read-only. - - - - - Application object. - - - - - Parent object. - - - - - Event raised after wrapped font changed. - - - - - Returns font index. Read-only. - - - - - Returns wrapped font. Read-only. - - - - - Indicates whether font is read-only. - - - - - Returns parent workbook. - - - - - Indicates whether wrapped font is accessed directly (without creating - new font in OnBeforeChange, OnAfterChange methods). - - - - - - - - - - Indicates the range. - - - - - Returns index of the wrapped font. Read-only. - - - - - Returns wrapped font. Read-only. - - - - - Represents number format. Responsible for reading, writing, - parsing, applying, checking and other operations with number formats. - - - - - Represents settings of number format. - - - - - Returns format index. Read-only. - - - - - Returns format string. Read-only. - - - - - Returns format type of the first section of this number format. Read-only. - - - - - Indicates whether the first section of this number format contains fraction sign. Read-only. - - - - - Indicates whether first section of this number format contains E/E+ - or E- signs in format string. Read-only. - - - - - Indicates whether thousand separator is present in the first section - of this number format. Read-only. - - - - - Number of digits after "." sign in the first section of this number format. Read-only. - - - - - Format record that contains low-level information about format. - - - - - Parsed format. - - - - - Reference to the format parser. - - - - - Initializes new instance of the format. - - Application object for the new format. - Parent object for the new format. - - - - Initializes new instance of the format. - - Application object for the new format. - Parent object for the new format. - Format record that contains low-level information about format. - - - - Initializes new instance of the format. - - Application object for the new format. - Parent object for the new format. - Format index. - Format string. - - - - Searches for all necessary parent objects. - - - - - Serializes format into OffsetArrayList. - - OffsetArrayList to serialize into. - - - - Checks whether format is already parsed, if it isn't than parses it. - - - - - Returns format type for a specified value. - - Value to get format type for. - Format type for the specified value. - - - - Returns format type for a specified value. - - Value to get format type for. - Format type for the specified value. - - - - Applies format to the value. - - Value to apply format to. - String representation of the value according to the number format. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show hidden symbols. - String representation of the value according to the number format. - - - - Applies format to the value. - - Value to apply format to. - String representation of the value according to the number format. - - - - Applies format to the value. - - Value to apply format to. - Indicates whether to show hidden symbols. - String representation of the value according to the number format. - - - - Indicate whether the format string in time format - - - - - Indicate whether the format string in date format - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Returns format index. Read-only. - - - - - Returns format string. Read-only. - - - - - Returns format record that contains low-level information about format. Read-only. - - - - - Returns format type of the first section of this number format. Read-only. - - - - - Indicates whether the first section of this number format contains fraction sign. Read-only. - - - - - Indicates whether first section of this number format contains E/E+ - or E- signs in format string. Read-only. - - - - - Indicates whether thousand separator is present in the first section - of this number format. Read-only. - - - - - Number of digits after "." sign in the first section of this number format. Read-only. - - - - - Parses formula tokens extracted by FormulaTokenizer and converts them into tokens in RPN form. - - - - - Name of if function in uppercase. - - - - - Options value for tAttr token in the case of space token. - - - - - Data value for tAttr token in the case of space token. - - - - - Default options for ExternName that is used as part of DDE link. - - - - - Represents the Abosulte cell references. - - - - - Converts string into set of tokens. - - - - - Array with tokens in RPN order. - - - - - - - - - - Parent workbook. - - - - - Initializes new instance of the formula parser. - - Parent workbook object. - - - - Sets formula separators. - - Operand separator to set. - Array rows separator to set. - - - - Parses formula string. - - String to parse. - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - - - - Parses expression. - - Subexpression priority. - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - - - - - Creates binary operation. - - Type of the token to create. - Space token that can be added before operation if not null, - becomes null after adding to the tokens array. - Created operation. - - - - Parses spaces and creates required tokens. - - - - - - Space token if any was created. - - - - Creates spaces token. - - Number of spaces. - Created space token. - - - - - - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - - - - - Updates parsing options if necessary. - - Options to update. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Identifier to parse. - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - Created token for the specified identifier. - - - - Tries to get named range object based on the formula string. - - - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Location reference index; -1 means local sheet reference. - - - - - Converts location string into reference. - - Location to convert. - Constant arguments required by some parse methods. - Reference index. - - - - - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - - - - - Creates Excel 2007 function. - - Resulting formula token. - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - True if current string was recognized as formula token. - - - - This function tries to create range (cell or area) based on the formula string and other arguments. - - Identifier string without location part (worksheet, book). - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - Resulting token. - Location reference index; -1 means local sheet reference. - True if formula string was parsed as range. - - - - Tries to create named range object based on the formula string. - - - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Location reference index; -1 means local sheet reference. - - - - - Creates named range token for external name. - - Location reference index. - Name of the named range to create token for. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Created token. - - - - Creates named range token for local name. - - Location reference index; -1 means local sheet reference. - Name of the named range to create token for. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Created token. - - - - Creates named range token. - - Reference index to the token location. - Name index. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Created name token. - - - - Creates token for local name. - - Name location. - Token - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - - - - - Checks whether specified location is extern. - - Parent workbook. - Location to check. - True if it is extern location. - - - - Creates function token and adds all argument tokens to the internal token array. - - Id of the function to create. - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - Created function token. - - - - Creates IF function and adds all argument tokens to the internal token array. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - Space token that must be inserted before IF. - Created function token. - - - - Creates custom functions and adds all argument tokens to the internal token array. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Constant arguments required by some parse methods. - Created function token. - - - - Evaluates size of the tokens range. - - The first token to measure (included). - The last token to measure (not included). - Arguments required by some parse methods. - Size in bytes of the specified tokens. - - - - Extracts operands from the string. - - Parsing options. - Arguments required by some parse methods. - Parent function id. - - - - - - - - - - - - - Parses error reference. - - - Dictionary with attributes that describes token index that should be used at - special function position ( it can be reference token, value token, or array token ). - - Index of the current argument. - Parsing options. - Parent worksheet. - Reference error Ptg. - - - - - - - - - Gets / sets number format info. - - - - - Contains objects that can be used by some parse methods. - - - - - Instance of the FormulaUtil class - helper class for formula parsing. - - - - - Worksheet that contains cell that is currently parsed. - - - - - - - - - - Indicates whether R1C1 notation should be used. - - - - - Cell row index (it is used when parsing R1C1 and Shared and Array formulas). - - - - - Cell column index (it is used when parsing R1C1 and Shared and Array formulas). - - - - - Workbook that contains cell that is currently parsed. - - - - - Destination excel version. - - - - - Initializes new instance of the parameters. - - Worksheet that contains cell that is currently parsed. - - Indicates whether R1C1 notation should be used. - Cell row index (it is used when parsing R1C1 and Shared and Array formulas). - Cell column index (it is used when parsing R1C1 and Shared and Array formulas). - Instance of the FormulaUtil class - helper class for formula parsing. - Parent workbook. - - - - Converts string into set of tokens. - - - - - Indicates end of formula string. - - - - - Indicates whitespace character. - - - - - Indicates colon character. - - - - - Current character. - - - - - Formula length. - - - - - - - - - - Current formula. - - - - - Start position of the current token. - - - - - Current token TokenType. - - - - - Token type of the previous token. - - - - - Previous character position. - - - - - String builder that contains string representation of the current token. - - - - - Parent workbook. - - - - - Argument separator. - - - - - Number format info. - - - - - Default constructor. - - - - - Prepares tokinezer for formula parsing. - - Formula to parse. - - - - Moves pointer to the next character. - - - - - Moves back to the specified character. - - - - - - Extracts next token from the string. - - - - - - - - - - - - - - - Extracts number token. - - - - - Process '>' character and creates required token. - - - - - Process '<' character and creates required token. - - - - - Appends internal string builder while current character is number. - - - - - Parses identifier, it can be range address, named range of function name. - - - - - Extracts spaces from the string. - - - - - Parses string token. - - Indicates whether first character is quotation character or not. - - - - Parses error token. - - - - - Extracts string representation of an array token. - - - - - Skips string and adds its value into internal string builder. - - - - - Raises parse exception. - - Exception message. - Inner exception. - - - - Raises parser exception with message that token was unexpected. - - Additional message. - - - - Returns value of the current token. Read-only. - - - - - Gets / sets argument separator. - - - - - Gets / sets number format info. - - - - - This class provides functionality needed for formula parsing. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default regular expression options. - - - - - Default index inside named range formula. - - - - - Default reference index. - - - - - Default reference index for array token. - - - - - - - - - - - - - - - - - - - - - - - - - Column of the first cell. - - - - - Column of the second cell. - - - - - Row of the first cell. - - - - - Row of the second cell. - - - - - Worksheet name can be enclosed in this characters. - - - - - Name of the sheet name group. - - - - - Name of the book name group. - - - - - Name of the range name group. - - - - - Name of the first row name group. - - - - - Name of the first column name group. - - - - - Name of the path group. - - - - - Name of sheet. - - - - - Default sheet name regular expression. - - - - - - - - - - Array of all open brackets. - - - - - T corresponding close brackets. - - - - - String 'brackets'. - - - - - All known unary operations. - - - - - Plus and minus signs. - - - - - Plus minus signs in sorted storage. - - - - - Gives access to the function name by its id. - - - - - Gives access to the number of parameter needed by the function. - - - - - Provides access to function id by its name. - - - - - Provides access to Dictionary that contains all Reference index - by type of the argument token. - - - - - Provides access to constructor that takes one string argument - by name of the error. - - - - - Dictionary error code to name. - - - - - Dictionary error name to error code. - - - - - Provides access to TokenConstructorAttribute by token code. - This table allows user to rewrite default token classes. - - - - - Represents hash table that get access by token code to PTG. - Key - token code. Value - instance of created PTG. - - - - - Regular expression for checking if specified string is cell reference. - - - - - Regular expression for checking if specified string is cell reference. - - - - - Regular expression for checking if specified string is cell range. - - - - - Regular expression for checking if specified string is full row range. - - - - - Regular expression for checking if specified string is full column range. - - - - - Regular expression for checking if specified string is full row range in R1C1 notation - - - - - Regular expression for checking if specified string is full column range in R1C1 notation. - - - - - Regular expression for checking if specified string is 3D full row range. - - - - - Regular expression for checking if specified string is 3D full column range. - - - - - Regular expression for checking if specified string is cell range in R1C1 notation. - - - - - Regular expression for checking if specified string is cell range in R1C1 notation. - - - - - Regular expression for checking if specified string is cell range in R1C1 notation. - - - - - Regular expression for 3d reference detection. - - - - - Regular expression for 3d reference detection in R1C1 notation. - - - - - Regular expression for 3d cell range detection. - - - - - Regular expression for 3d cell range detection second possible case. - - - - - Regular expression for 3d cell range detection. - - - - - Regular expression for 3d cell range detection second possible case. - - - - - Regular expression for add-in function detection. - - - - - Array of functions that need tAttr with HasSemiVolatile = true before them. - - - - - - - - - - - - - - - Represents number format for parsing double value. - - - - - Parent workbook. - - - - - All known operations for invariant culture. - - - - - Operations with priorities. - - - - - All operations sorted by operation string. - Key - operation string, Value - operation priority. - - - - - - - - - - Array row separator. - - - - - Operands separator. - - - - - Formula parser. - - - - - Static constructor. It does all necessary preparations, - such as preparing all hashtables for functions, errors - and token constructor. - - - - - Initializes new instance of the formula parsing utility. - - Application object. - Parent object. - - - - Initializes new instance of the formula parsing utility. - - Application object. - Parent object. - Number format information. - Argument separator. - Row separator. - - - - Searches for all necessary parent objects. - - - - - Fills operations with default values. - - - - - Fills internal hashtable that permits to construct - token classes by token code. - - - - - Fills all information about known Excel functions. - - - - - Fills all information about known Excel functions. - - - - - Fills information about all known error names. - - - - - Add information about all supported errors from specified type. - - Type that supports some errors. - - - - - - - - - Converts string array into sorted list. - - Array to convert. - Created sorted list. - - - - Converts string to shared formula token array. - - Represents formula string. - Represents first row from cells range. One-based. - Represents first column from cells range. One-based. - Parent worksheet object. - Shared formula tokens. - - - - Converts string to token array. - - - String that should be parsed into Ptg array. - - Token array representing specified string. - - When any error occurs in the specified formula string. - - - - - Converts string to token array. Used when copying worksheets into another workbook. - - - String that should be parsed into Ptg array. - - Parent sheet. - - Dictionary that contains old name of the worksheet as - a key and new name of the worksheet as value. - - Token array representing specified string. - - When any error occurs in the specified formula string. - - - - - Converts string to token array. Used when copying worksheets into another workbook. - - - String that should be parsed into Ptg array. - - Parent sheet. - - Dictionary that contains old name of the worksheet as - a key and new name of the worksheet as value. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Indicates whether R1C1 notation is used. - Token array representing specified string. - - When any error occurs in the specified formula string. - - - - - Converts string to token array. - - String that should be parsed into Ptg array. - Worksheet that contains formula. - Token indexes, indicates whether to use reference token, value token, or array token. - Index in string. - Hash table with worksheet names. - Parse options. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Parsed formula. - - When formula string is empty or if there is another error in formula string - or when string consists only of %. - - - - - Returns operand that is placed before unary operation. - - - Formula string that contains operand and unary operation. - - - Index of unary operation in the string. - - Left operand of the specified unary operation. - - - - Returns operand that is placed after unary operation. - - - Formula string that contains operation and operand. - - Index of the operation. - Right operand of the specified unary operation. - - - - Returns right operand for binary operation. - - Formula string. - Index of first operand character. - String with operation. - Right operand for the specified operation. - - - - Extracts function operand from formula string. - - Formula string to extract operand from. - First character of the operand. - Extracted operand. - - - - This method converts FormulaRecord to its string representation. - - FormulaRecord that will be parsed. - String representation of the specified formula. - - - - This method converts FormulaRecord to its string representation. - - FormulaRecord that will be parsed. - Indicates whether formula must be parsed using R1C1 notation. - String representation of the specified formula. - - - - Parses shared formula. - - Formula to parse. - String representation of the specified formula. - - - - Parses shared formula. - - Formula to parse. - Zero-based row index of the cell with shared formula. - Zero-based column index of the cell with shared formula. - String representation of the specified formula. - - - - Parses shared formula. - - Formula to parse. - Zero-based row index of the cell with shared formula. - Zero-based column index of the cell with shared formula. - Indicates whether formula must be parsed using R1C1 notation. - String representation of the specified formula. - - - - Converts array of tokens into string. - - Tokens to convert. - String representation of the specified tokens array. - - - - This method converts array of Ptg to its string representation. - - Ptg array that will be parsed. - First row to convert. - First column to convert. - Indicates whether R1C1 notation must be used. - String representation of the specified Ptg array. - - - - This method converts array of Ptg to its string representation. - - Ptg array that will be parsed. - First row to convert. - First column to convert. - Indicates whether R1C1 notation must be used. - Represents current number info, can be null. - String representation of the specified Ptg array. - - - - This method converts array of Ptg to its string representation. - - Ptg array that will be parsed. - First row to convert. - First column to convert. - Indicates whether R1C1 notation must be used. - Represents current number info, can be null. - Indicates whether to remove worksheet name from 3d tokens. - String representation of the specified Ptg array. - - - - Checks the formula version. - - The PTGS. - The result. - - - - - Splits array. Each string in result represents single row of the array. - - Array string to split. - Separator - Splitted array. - - - - Updates index of the name. - - Token to update. - Array with new named ranges indexes. - - - - Updates index of the name. - - Token to update. - Dictionary with new named ranges indexes. - - - - Updates name indexes. - - Parsed expression to update. - Dictionary with new indexes. - True if at least one of references to named ranges was updated. - - - - Updates name indexes. - - Parsed expression to update. - Array with new indexes. - True if at least one of references to named ranges was updated. - - - - Sets separators. - - Operand separator to set. - Array rows separator to set. - - - - Replaces keys in the list. - - List to replace in. - Old keys to replace. - New keys to replace. - - - - Marks used references. - - Tokens to get used references from. - Array to mark used references in. - - - - Updates reference indexes. - - Tokens to get used references from. - Array with updated indexes. - - - - Converts string that represents constant value to Ptg. - - String that represents constant. - Parent worksheet. - Dictionary with worksheet names - Parse options. - Token corresponding to the specified string. - - - - Converts string that represents constant value to Ptg. - - String that contains constant. - Parent worksheet. - - Dictionary with attributes that describes token index - that should be used at special function position. - - Parameter position. - - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Newly created token. - - When specified string is not constant formula token. - - - - - Normalizes sheet name. - - - - - - - Converts byte array to Ptg array. - - Object that provides access to the data. - - Number of bytes to parse (there can be array data - after of all tokens). - - Excel version that was used to infill data provider. - - String representation of the specified byte array that contains tokens. - - - - - Converts byte array to Ptg array. - - Object that provides access to the data. - Start position in data array to parse from. - - Number of bytes to parse (there can be array data - after of all tokens). - - - Receives offset of first byte after all tokens' data. - - Excel version that was used to infill data provider. - Converted Ptg array. - - - - Converts token array to corresponding byte array. - - Ptg array that will be converted to byte array. - Excel version that should be used to infill data. - Converted byte array - - - - Converts token array to corresponding byte array. - - Ptg array that will be converted to byte array. - - Length of formula without tArray data if there is tArray in Tokens. - - Excel version that should be used to infill data. - Converted byte array. - - - - Returns left operand for binary operation. - - Formula string. - Index of operation. - Left operand for specified operation. - - - - Searches for position of corresponding bracket. - - String to search. - Position of bracket( "(){}" ). - - Position of corresponding bracket if there is one, otherwise -1. - - - When specified position does not contain bracket. - - - - - Returns operand of the operation. - - - Formula string that contains operation and operands. - - Index of the operation. - Delimiters between operands. - - Search direction (TRUE -right to left, - FALSE - left to right). - - Operand defined by function parameters. - - When a open bracket is found without a corresponding closing bracket. - - - - - Registers function in internal collections. - - - Name of the function that must be registered. - - - Index of the function that must be registered. - - - Array of ReferenceIndexAttribute that contains information - about proper token index. - - - - - Registers function in internal collections. - - - Name of the function that must be registered. - - - Index of the function that must be registered. - - - Array of ReferenceIndexAttribute that contains information - about proper token index. - - - Number of parameters in the function, - -1, for variable parameters. - - - - - Registers function in internal collections. - - - Name of the function that must be registered. - - - Index of the function that must be registered. - - - Number of parameter in the function, - -1, for variable parameters number. - - - - - Registers function in internal collections. - - - Name of the function that must be registered. - - - Index of the function that must be registered. - - - - - This method raises the FormulaEvaluation event. - - Range that caused FormulaEvaluation event. - Object that contains event arguments. - - - - Registers token class (can be user defined). - - Token class that will be registered. - - When class is not derived from Ptg. - - - When parameter type is NULL. - - - - - Registers new function alias. - - New alias name. - Function index. - - - - Updates index of the name. - - Ptg to Update - Old index. - New index. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - String to search in. - Start index. - Break strings. - Position of one of the break strings. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - String to search in. - Start index. - Key is break string. - Position of one of the break strings. - - - - Returns lower bound of strings that have specified first character. - - Sorted array of string to search. - Desired first character. - - Lower bound of the strings that have chFirst as the first character - if there are such strings; otherwise -1. - - - - Returns lower bound of strings that have specified first character. - - Sorted array of string to search. - Desired first character. - - Lower bound of the strings that have chFirst as the first character - if there are such strings; otherwise -1. - - - - Returns lower bound of strings that have specified first character. - - Sorted array of string to search. - Desired first character. - - Lower bound of the strings that have chFirst as the first character - if there are such strings; otherwise -1. - - - - Converts SharedFormula tokens into regular formula tokens. - - Shared formula to convert. - Parent workbook. - Row of the destination formula. - Column of the destination formula. - Converted token array. - - - - Updates formula after move / copy operation. - - Tokens to update. - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - One-based row index. - One-based column index. - Updated tokens array. - - - - Updates formula after move / copy operation. - - Tokens to update. - Value to add to the row index. - Value to add to the column index. - Updated tokens array. - - - - Pushes operand into stack correctly. - - - - - - - Creates function ptg. - - Formula string that contains function. - Index of bracket after function name. - Parent object. - Parent worksheet. - Dictionary with indexes. - Current index. - Dictionary with new worksheet names. - Parse options. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Created function token. - - - - Indicates whether specified string is name of custom function. - - String to check. - Workbook that contains function. - Index to the extern workbook. - Name index. - True if specified string is name of custom function. - - - - Indicates whether specified name is name of local custom function. - - Parent workbook. - Function name. - Resulting name index. - - - - - Checks is custom function. - - Parent Workbook. - Current Match. - Book index. - Name index. - True if it is custom function, otherwise false. - - - - - - - - - - - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - - - - - - Creates tokens for custom function and its arguments. - - Token reference index. - Formula string. - Bracket index in the formula. - Parent workbook. - Parent worksheet. - Dictionary with worksheet names (key - old name, value - new name). - Parse options. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Array of tokens that describes custom function. - - - - Creates tokens for custom function and its arguments. - - Token reference index. - Formula string. - Bracket index in the formula. - - - Parent workbook. - Parent worksheet. - Dictionary with worksheet names (key - old name, value - new name). - Parse options. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Array of tokens that describes custom function. - - - - Creates token that describes specified error. - - Formula string that contains error string. - Index of the error name. - Created token that contains error. - - - - Converts operand string into Ptg array. - - Operand string that should be parsed. - Parent workbook. - Parent worksheet. - - - - Parse options. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Parsed operand as array of ptg. - - - - Creates unary operation. - - Operation symbol that should be created. - Newly created unary operation. - - - - Return string array of arguments of the operation. - - Formula string. - OperationPtg that is built by OpIndex. - - - - Indicates if specified string is cell name. - - Formula string that will be checked. - Indicates whether R1C1 notation must be used. - String representation of the row. - String representation of the column. - True if parameter is cell name, i.e. "A1", False otherwise. - - - - Returns true, if specified string is R1C1 reference. - - Formula string that will be checked. - True, if paramater is R1C1 cell reference. - - - - Indicates if specified string is cell range. - - Formula string that will be checked. - Indicates whether R1C1 notation must be used. - The first cell's row. - The first cell's column. - The second cell's row. - The second cell's column - True if parameter is cell range, i.e. "A1:D1", False otherwise. - - - - - - - - - - - - Indicates if specified strings is 3d cell reference. - - Formula string that will be checked. - Indicates whether R1C1 notation must be used. - Name of the worksheet if succeeded; otherwise - NULL. - String representation of the row part of the cell reference. - String representation of the column part of the cell reference. - - True if parameter is 3d cell reference, i.e. "Sheet1!A1", False otherwise. - - - - - Indicates whether specified string is 3d cell range. - - String that should be checked. - Indicates whether R1C1 notation must be used. - String that initialize by current sheet name. - String representation of the row part of the first cell reference. - String representation of the column part of the first cell reference. - String representation of the row part of the second cell reference. - String representation of the column part of the second cell reference. - True if string is 3d cell range. - - - - Tells whether specified string contains error - at the specified position. - - String that can contain error string. - Index were error. - - True if specified string contains error - at the specified position. - - - - - Indicates whether specified string is name defined in the workbook. - - String to check. - Parent workbook. - IWorksheet implement. - True if specified string is name defined in the workbook; False otherwise. - - - - Searches for corresponding bracket. - - Formula string where bracket was found. - Position of the found bracket. - Array of all possible opening brackets. - Search direction. - Position of the corresponding record. - - If the corresponding bracket is not found. - - - If there is no bracket at the specified bracket position. - - - - - Indicates if specified string contains unary operation - at the specified position. - - Formula string. - Index of unary operation. - Returns true if operation is unary, false otherwise. - - - - Checks whether the specified string contains operation at the specified position. - - Formula string. - Index of operation symbol in the string. - Operation index. - True if operation is in specified location. - - - - Checks whether specified operand is a function call. - - Operand that will be checked. - Position of the opening bracket. - True if operand denotes function call, False otherwise. - - - - Gets string representing error name that started from errorIndex. - - Formula string that contains error name. - Index of the first char of the error. - - String representing error name that started from errorIndex. - - - When starting symbol of the possible error is not '#' - or if can't find such error name. - - - - - - - - - - - - - - Returns index of the token that should be used at - position i by type targetType in function call. - - Target type for which index will be searched. - - Dictionary with indexes. - Position of the function parameter. - Parse options. - Index of the token code. - - - - Creates new Ptg and sets offset to point just after its data. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - Parsed Ptg token. - - When data array is smaller than token that should be stored in it. - - - - - Creates formula token using token code. - - Token code. - Newly created token. - - - - Creates formula token using token code. - - Token code that is used to get constructor and as constructor argument as well. - Newly created token. - - - - Creates token using token id and string representing this token. - - Token id of the token that should be created. - String that will be passed to the token constructor. - Newly created token. - - - - Creates token using token code, token string, and parent workbook. - - Code of the new token. - String representation of the token. - Parent workbook. - Newly created token. - - - - Creates specified token, passes specified parameters to its constructor. - - Code of the token that will be created. - Constructor parameters. - Newly created token. - - - - Creates specified token, passes two integers to its constructor. - - Token to create. - First integer argument. - Second integer argument. - Newly created token. - - - - Creates specified token, passes function index to its constructor. - - Token to create. - Function index. - Newly created token. - - - - Creates token using two string values. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Token to create. - First value. - Second value. - Indicates whether R1C1 notation is used. - Created formula token. - - - - Creates token using two string values. - - Token to create. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - First value. - Second value. - Third value. - Fourth value. - Indicates whether R1C1 notation is used. - Parent workbook. - Created formula token. - - - - Creates token using two string values. - - Token to create. - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Worksheet reference index. - First value. - Second value. - Third value. - Fourth value. - Indicates whether R1C1 notation is used. - Parent workbook. - Created formula token. - - - - Removes tokens that are unnecessary. - - - - - - - Puts all right sided unary operations before operand. - - Formula to transform. - Formula after transformation. - - - - Registers function in internal collections. - - - Name of the function that must be registered. - - - Index of the function that must be registered. - - - Array of ReferenceIndexAttribute that contains information - about proper token index. - - - Number of parameters in the function, - -1, for variable parameters. - - - - - Indicates whether specified function is supported just in Excel 2013. - - Function id. - Value indicating whether specified function appeared in Excel 2013. - - - - Indicates whether specified function is supported just in Excel 2010. - - Function id. - Value indicating whether specified function appeared in Excel 2010. - - - - Indicates whether specified function is supported just in Excel 2007. - - Function id. - Value indicating whether specified function appeared in Excel 2007. - - - - Checks whether any of these tokens has external reference. - - - - - - - Event handler that will receive array of Ptg after parsing. - - - - - Returns IDictionary error code - to - name. Read-only. - - - - - Returns IDictionary error name - to - error code. Read-only. - - - - - Returns array row separator. Read-only. - - - - - Returns operands separator. Read-only. - - - - - Gets or sets number format for parsing double value. - - - - - - - - - - Constructor id. - - - - - This class is used in the construction of formula tokens. - - - - - Dictionary key (int) - constructor id, value - ConstructorInfo. - - - - - Token class for which this instance was created. - - - - - Token class for which this instance was created. - - - - - Creates class instance for specified type. - - - Type for which an object will be created. Must be inherited from Ptg class. - - - When specified type is not inherited from Ptg class. - - - When specified type is null. - - - - - Creates token using default constructor. - - Newly created token. - - - - Creates token using string parameter. - - Token type to pass to constructor. - Newly created token. - - - - Creates token using string parameter. - - - String parameter that will be passed to constructor. - - Newly created token. - - - - Creates token using array of bytes and offset - where token data begins. - - Object that provides access to the data. - Offset to the token data. - Arguments required by some parse methods. - Newly created token - - - - This method looks for constructor that takes specified - parameters and invokes it. - - - Parameters that will be passed to the constructor. - - Newly created token. - - - - Creates token using string and parent workbook. - - String representation of the token. - Parent workbook. - Created formula token. - - - - Creates token using two integer values. - - First value. - Second value. - Created formula token. - - - - Creates token using function index. - - Function index. - Created formula token. - - - - Creates token using two string values. - - Row index of the cell that contains new token. - Column index of the cell that contains new token. - First value. - Second value. - Indicates whether R1C1 notation is used. - Created formula token. - - - - Creates token using two string values. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - First value. - Second value. - Third value. - Fourth value. - Indicates whether R1C1 notation is used. - Parent workbook. - Created formula token. - - - - Creates token using two string values. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - Worksheet reference index. - First value. - Second value. - Third value. - Fourth value. - Indicates whether R1C1 notation is used. - Parent workbook. - Created formula token. - - - - Gets constructor. - - Constructor id. - Constructor with specified id. - - - - Sets constructor. - - Constructor id. - Corresponding ConstructorInfo. - - - - Gets / sets default constructor. - - - - - Gets / sets string constructor. - - - - - Gets / sets ByteArrayOffset constructor. - - - - - Gets / sets StringParent constructor. - - - - - Gets / sets TwoInts constructor. - - - - - Gets / sets FunctionIndex constructor. - - - - - Gets / sets constructor that accepts two strings as arguments. - - - - - Gets / sets constructor that accepts four strings as arguments. - - - - - Gets / sets constructor that accepts three ints, four strings - and a bool as arguments. - - - - - Gets / sets constructor that accepts three ints, four strings - and a bool as arguments. - - - - - This class is used when formula value needs to be - evaluated. Provides range that contains formula that should - be evaluated and Ptg array - parsed formula string. - - - - - Range that raised this event. Read-only. - - - - - Ptg array with formula tokens of the range. - - - - - Default constructor. - - - - - Main constructor. - - Range containing formula. - Formula tokens array. - - - - Range that raised this event. Read-only. - - - - - Ptg array with formula tokens of the range. - - - - - Empty arguments (all properties with default values). Read-only. - - - - - - Delegate that can be used for formula evaluation purposes. - - - - - Summary description for GradientWrapper. - - - - - Wrapped shape fill. - - - - - Creates new gradient wrapper. - - - - - Creates new gradient wrapper. - - Gradient to wrap. - - - - Compares with shape fill impl. - - Shape fill to compare with. - Zero if shape fills are equal. - - - - Sets the specified fill to a two-color gradient. - - - - - Sets the specified fill to a two-color gradient. - - Represents shading shading style. - Represents shading variant. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Validates whether gradient variant is correct for current gradient style. - - Gradient variant to validate. - - - - Represents background color. - - - - - Represents background color. - - - - - Represents background color index. - - - - - Represents foreground color. - - - - - Represents foreground color. - - - - - Represents foreground color index. - - - - - - - - - - Represents gradient shading style. - - - - - Returns wrapped gradient. Read-only. - - - - - Event raised after wrapped font changed. - - - - - Summary description for GradientArrayWrapper. - - - - - Array that contains all cells of the range. - - - - - Create new instance of object. - - Base range. - - - - Compares with shape fill impl. - - Gradient to compare with. - Zero if shape fills are equal. - - - - Sets the specified fill to a two-color gradient. - - - - - Sets the specified fill to a two-color gradient. - - Represents shading shading style. - Represents shading variant. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Represents background color. - - - - - Represents background color. - - - - - Represents background color index. - - - - - Represents foreground color. - - - - - Represents foreground color. - - - - - Represents foreground color index. - - - - - Represents gradient shading style. - - - - - Represents gradient shading variant. - - - - - This class is used to get header / footer shapes from a worksheet. - - - - - This interface is used to get shapes from worksheet. - - - - - Returns a shape collection from the worksheet. - - Worksheet to return sheet data for. - A shape collection from the worksheet. - - - - Default constructor. - - - - - Returns a shape collection from the worksheet. - - Worksheet to return sheet data for. - A shape collection from the worksheet. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - This class is responsible for shape id's reservation. - - - - - Size of the single id's segment. - - - - - Dictionary that contains information about reserved id's. - key - segment start - value - id of the collection that reserved current segment. - - - - - Dictionary that contains information about number of reserved id's. - key - segment start - value - number of reserved sectors. - - - - - Number of sectors (key) and first id (value) reserved by some collection. - - - - - Maximum reserved id. - - - - - Additional shapes. - - - - - Evaluates start of the segment containing specified id. - - Id to get segment start for. - - - - - Checks whether segment with specified it is already reserved. - - Id to check. - - - - - Checks whether segment with specified id is free. - - Id to check. - Number of segments to check. - True if all segments are free. - - - - Gets index of the collection which reserved specified id. - - Id to check. - Index of the collection which reserved id, or 0 if it is not reserved. - - - - Tries to reserve segment or segments containing specified ids for the specified collection. - - Start id to reserve. - Last id to reserve. - Collection owning those ids - True if reservation succeeded. - - - - Increases number of reserved shapes in the segment. - - Id that belongs to the segment to increase number for. - - - - Checks whether specified id range is reserved by specified shape collection. - - Start id to check. - End id to check. - Collection id to check. - True if all ids are reserved by the specified collection. - - - - Frees segment that contains specified id. - - Id used to detect segment start. - - - - Frees segments sequence if they belong to specified collection. - - Id to detect first segment. - Collection to free segments for. - - - - Frees all segments allocated by the collection. - - Collection id. - - - - Allocates specified number of segments. - - Ids count to allocate. - Collection id. - Index to the first allocate id. - - - - Returns number of reserved ids by specified collection. - - Collection index. - Number of reserved ids. - - - - Gets number of reserved shapes inside specified sector. - - Id that belongs to the segment that is being investigated. - Number of reserved ids inside sector. - - - - Registers any number of additional shapes required by collection. - - Collection index. - Number of additional shapes to add. - - - - Gets number of additional shapes reserved by collection. - - Collection index. - Number of additional shapes. - - - - Gets maximum accessed shape id. - - - - - - - - - Construct data table. - - DataTable with desired data. - Row of the first cell where DataTable should be imported. - Column of the first cell where DataTable should be imported. - style index of date. - - - - - - - - Summary description for GradientWrapper. - - - - - Represents Interior of an object. - - - - - Gets or sets the color of the interior pattern as an index into the current color palette. - - - - - Gets or sets the color of the interior pattern as an Color value. - - - - - Gets or sets the interior color of the object. The color is specified as - an index value into the current color palette. - - - - - Gets or sets the interior color of the object. - - - - - Gets the gradient object for this extended format. - - - - - Gets or sets type that represents the interior pattern. - - - - - Extended format. - - - - - Gradient wrapper. - - - - - Creates new interior wrapper. - - - - - Creates new interior wrapper. - - Extended format. - - - - Event handler for gradient AfterChange event. - - Event sender. - Event arguments. - - - - Creates gradient wrapper. - - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Gets or sets the interior color of the object. The color is specified as - an index value into the current color palette. - - - - - Gets or sets the interior color of the object. - - - - - Returns gradient object for this extended format. - - - - - Gets or sets type that represents the interior pattern. - - - - - Event raised after wrapped font changed. - - - - - Returns wrapped interior. Read-only. - - - - - Class that is created when user accesses the interior in a multicell range. - Redirects all calls to the interiors of the individual cells. - - - - - Array that contains all cells of the range. - - - - - Create new instance of object. - - Base range. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object took place. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior. The color is specified as - an index value into the current color palette. - - - - - Returns or sets the cell shading color. - - - - - Returns gradient object. - - - - - Gets / Sets fill pattern. - - - - - Represents range that references invalid worksheet. - - - - - Parent object. - - - - - Application object. - - - - - First row index. - - - - - Last row index. - - - - - First column index. - - - - - Last column index. - - - - - Activates a single cell, scroll to it and activates the corresponding sheet. - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - Creates Subtotal for the corresponding ranges - - GroupBy - ConsolidationFunction - TotalList - - - - Creates SubTotal for the corresponding Ranges - - GroupByGroupBy - ConsolidationFunction - TotalList - Replace exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Clears the Content, formats, comments based on clear option. - - - - - - This class contains information about all merged - cells in the parent workbook. - - - - - Parent worksheet. - - - - - Contains all not parsed merge records. - - - - - Indicates whether object was parsed. - - - - - Cell range address list of all merged cells. - - - - - Sets application and parent fields. - - Application object for the new instance. - Parent object for the new instance. - - - - Saves merges into OffsetArrayList. - - OffsetArrayList to save all records into. - - - - Searches for all necessary parents. - - - - - Gets array of custom extended formats that represents custom merged range. - - Returns array of Merged extended formats. - - - - Gets extended format describing region. - - Region to get format for. - Extended format describing region. - - - - Adds new merge to the existing merges. - - Range that should be merged. - - Operation type - Information on what needs to be done if some of - the cells are already merged. - - - - - Adds a new region if it intersects with other regions. - If operation is Leave, the function leaves the old region. Otherwise - it deletes old region. - - Region that will be merged. - - Operation type - tells what should be done if some of - the cells are already merged. - - - - - Adds new region if it intersects with other regions. - - First row to merge. Zero-based. - Last row to merge. Zero-based. - First column to merge. Zero-based. - Last column to merge. Zero-based. - - Operation type - tells what should be done if some of - the cells are already merged. - - - - - Removes merge that contains a specific cell. - - - Range of the cells to be removed. - - - - - Clear all merges. - - - - - Adds merge regions from the MergeCellsRecord. - - Record with regions. - - - - Adds merge regions from the MergeCellsRecord. - - - - - Removes row from the collection. - - Row index to remove. - - - - Removes row(s) from the collection. - - Row index to remove. - Number of rows to remove. - - - - Inserts row to the collection. - - Row index to insert. - Number of row to insert. - - - - Removes column from the collection - - Column index to remove. - - - - Removes columns from the collection. - - Column index to remove. - Number of columns to remove - - - - Inserts column into collection. - - - - - - Inserts column into collection - - Column index to insert. - Number of columns to insert. - - - - Removes or inserts one row from merges collection. - - One-based row index to remove or insert. - Indicates whether to remove or insert rows. - Count of row to remove. - - - - Removes or inserts one column from merges collection. - - One-based column index to remove. - Indicates whether to remove or insert rows. - Number of columns to insert or remove. - - - - Moves merges from source range into destination. - - Destination range. - Source range. - Indicates whether we are moving merges (true) or copying (false). - - - - Finds all merged ranges for specific range. - - Range to find merges in. - Indicates whether delete merges from the collection is needed or not. - Merges list. - - - - Caches range's merges. - - Range for which we have to cache merged regions. - List to save merges in. - - - - Checks whether specified region is fully inside range. - - Region to check. - Range to check. - - - - Removes all cached items from this collection. - - Cached items to remove. - - - - Adds cache into collection. - - List with merge regions to add. - Row delta. - Column delta. - - - - Adds dictionary with that describes merge region to the collection. - - - Regions to add, key - top-left cell index, value - bottom-right cell index. - - Row delta. - Column delta. - - - - Finds left top cell of merged region. - - Merged region rectangle. - Left top cell range. - - - - Creates a copy of the current object. - - Parent object for the new object. - A copy of the current object. - - - - Creates copy of the specified list. - - List to clone. - A copy of the specified list. - - - - Sets new dimensions - removes unnecessary items (that are out of bounds) or truncates them. - - New maximum possible row count. - New maximum possible column count. - - - - Finds merged region for specific cell. - - Cell range address. - Merged region that includes specified cell. - - - - Converts rectangle to merged region. - - Rectangle to convert. - Merged region. - - - - Inserts or removes row into the merge region before first row. - - Region to modify after insert/remove row operation. - Indicates whether it is remove operation. - Row index. - Number of rows to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes row into region the merge at the first row. - - Region to modify after insert/remove row operation. - Indicates whether it is remove operation. - Number of rows to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes row into the merge region in the middle or at the end of the range. - - Region to modify after insert/remove row operation. - Indicates whether it is remove operation. - Row index. - Number of rows to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes row after end of the region. - - Region to modify after insert/remove row operation. - Indicates whether it is remove operation. - Number of rows to insert. - Modified region. - - - - Inserts or removes row. - - Region to modify after insert/remove row operation. - Row index. - Indicates whether it is remove operation. - Number of rows to insert. - Workbook where operation is performed. - - - - - Inserts or removes column into the merge region before first column. - - Region to modify after insert/remove column operation. - Indicates whether it is remove operation. - Column index. - Number of columns to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes column into the merge region at the first column. - - Region to modify after insert/remove column operation. - Indicates whether it is remove operation. - Number of columns to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes column into the merge region in the middle or at the end of the range. - - Region to modify after insert/remove column operation. - Indicates whether it is remove operation. - Column index. - Number of columns to insert. - Workbook where operation is performed. - Modified region. - - - - Inserts or removes column after end of the region. - - Region to modify after insert/remove column operation. - Indicates whether it is remove operation. - Number of columns to insert. - Modified region. - - - - - - Region to modify after insert/remove column operation. - Column index. - Indicates whether it is remove operation. - Number of columns to insert. - Workbook where operation is performed. - Modified region. - - - - Ensures that row index is in correct range. - - Row index to check. - Workbook where operation is performed. - Row index from the correct range. - - - - Ensures that column index is in correct range. - - Column index to check. - Workbook where operation is performed. - Column index from the correct range. - - - - Number of merges in the collection. - - - - - Collection of all merged regions. - - - - - Returns single merge region from the collection. - - - - - Returns single merge region from the collection. - - - - - Summary description for MigrantRangeImpl. - - - - - Range represents one cell or a rectangle of cells. - - - - - - - - - - Row zero-based index. - - - - - Column zero-based index. - - - - - Index of extended format. - - - - - Returns type code. Read-only. - - - - - Default format for date values. - - - - - Default format for time values. - - - - - Default format for date time values. - - - - - Default date time index. - - - - - Default OleDateValue - - - - - Maximum OleDateValue - - - - - Default format for number values. - - - - - Default format for text values. - - - - - General format. - - - - - Format for array-entered formula representation. - - - - - Error message when method that should be called only for single-cell ranges - was called for range with multiple cells. - - - - - Default style. - - - - - Index of extended format for normal style. - - - - - Default format for WrapText values. - - - - - Whitspace for the numberformat. - - - - - Represents default cell name separator. - - - - - Column section start in the R1C1 reference string. - - - - - Row section start in the R1C1 reference string. - - - - - Opening bracket for relative row / column index in the R1C1 reference mode. - - - - - Closing bracket for relative row / column index in the R1C1 reference mode. - - - - - Local address format in R1C1 notation. - - - - - Maximum OADate value. - - - - - Represents default number format index. - - - - - Represents first number format index. - - - - - Represents second number format index. - - - - - Number of bits in cell index that holds column value. - - - - - Defines whether to set XF index in SetFormulaArrayRecord method. - - - - - Defines the singleQuote. - - - - - Defines a new line character - - - - - Default percentage number format . - - - - - Default decimal percentage number format . - - - - - Default exponential number format . - - - - - Default culture info time token - - - - - Default time token number format . - - - - - Represents the UK culture Name. - - - - - Cell types that can contain date time values. - - - - - Represents auto format types, that contain right horizontal alignment. - - - - - Represents auto format types, that contain number format. - - - - - Minimum supported date time value. - - - - - Minimum supported date time value. - - - - - Represents the list of date time formula. - - - - - Reference on worksheet to which current range belongs to. - - - - - Reference on workbook to which worksheet and current range belong to. - - - - - Index of the left column. - - - - - Index of the right column. - - - - - Index of the top row. - - - - - Index of the bottom row. - - - - - - - - - - - - - - - - - - - - This array stores references of all cells that this - range represents. - - - - - Style wrapper for this range. - - - - - True - indicates that cells collection was filled before, otherwise False. - - - - - Defines a date separator of current culture - - - - - Defines a time separator of current culture - - - - - Represents RTF string. - - - - - True if it is Entire row. - - - - - True if it is Entire column. - - - - - False if Number format is set in run time - - - - - Creates a new outline levels dictionary. - - - - - Number of subtotal in a specific range - - - - - Get DateTime based on culture - - Display text. - The cell value. - The format impl. - - - - - - Checks the OS specific formats. - - The inner number format. - - - - - Create style for Entire row or Entire column. - - - - - Called after changing of value. - - Old value. - New value. - - - - Checks if all formula arrays partially contained by this range - or fully contained by this range. Read-only. - - Collection of array formula records. - Value indicating whether all formula arrays partially contained by this range. - - - - Returns number from the style name, i.e. Normal_1 result is 1. - - Style name. - Parsed number. - - - - This method is called after changing last column index. - - - - - This method is called after changing first column index. - - - - - This method is called after changing last row index. - - - - - This method is called after changing first row index. - - - - - This method is called after changing style of the range. - - Cell type. - - - - Checks whether first symbol is apostrophe and sets appropriate cell style. - - Value to check. - Updated string value. - - - - Converts object to double if possible. - - Object to convert. - Converted value. - - - - Group or ungroup current range. - - Should we perform operation on rows or columns? - If True then group, otherwise ungroup. - Indicates whether created group should be collapsed. - This range after grouping / ungrouping. - - - - Gets Row from collection. - - One-based row index. - Row information. - - - - This method creates subtotal on Corresponding ranges - - Indicates the Group By Column - ConsolidationFunction to be applied - Columns to be added - - - - This method creates subtotal on Corresponding ranges - - Indicates the Group By Column - ConsolidationFunction to be applied - Columns to be added - Replaces Exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Gets Column from collection. - - One-based column index. - Column information. - - - - Sets dimensions of parent worksheet to fit this range. - - - - - Sets the workbook. - - The book. - - - - Return outline from the dictionary that corresponds to the specified index, - creates new one if necessary. - - - Indicates whether row outline or column outline - should be returned from the collection. - - Collection of outlines. - Index of the needed outline. - - Indicates whether exeption should be thrown when incorrect index passed - or just return Null value. - - Outline from the collection or newly created one. - - - - Gets display text. - - Value representing displayed string. - - - - Parses the number format. - - - - - - Checks the unnecessary char. - - The split format. - - - - - Returns DataTime value of the record. - - DataTime value of the record. - - - - Fills internal BiffRecord with data from specified DateTime. - - DateTime with range value. - - - - Fills internal BiffRecord with data from specified DateTime. - - DateTime with range value. - - - - Returns number value from the cell if possible. - - Stored number. - - - - Fills internal BiffRecord with data from specified number. - - Number with range value. - - - - Fills internal BiffRecord with data from specified number. - - Number with range value. - - - - Creates correct record that can store specified number. - - Value to store. - Created record with number. - - - - Fills internal BiffRecord with data with specified boolean value. - - Boolean with range value. - - - - Fills internal BiffRecord with data with specified error value. - - String with error value. - - - - Gets error code by error string. - - Represents error string. - Returns error code. - - - - Copies formula record. - - Record to copy. - - - - This method should be called after any changes in the range. - Sets Saved property of the parent workbook to false. - - - - - Checks if specified cell has correct row and column index. - - Index of the row of the cell. - Index of the column of the cell. - - When row or column is less than 1 or column is greater than maximum possible column index - (it is 256 for Excel 2003, and 16384 for Excel 2007). - - - - - Searches for specified worksheet in the parent workbook. - - Name of the worksheet to search. - Found worksheet. - - If there is no such worksheet in the parent workbook. - - - - - Moves cell one row up. - - Options for cell copying. - - - - Moves cell one column left. - - Options for cell copying. - - - - Parses LabelSST record. - - Record to parse. - Parsed string without formatting. - - - - Parses formula record. - - Record to parse. - Parsed string value. - - - - Parses formula record. - - Record to parse. - - Indicates whether to return formula string in R1C1 notation. - - Parsed string value. - - - - Sets row height. - - Value to set. - Indicates whether font and row height are not compatible. - - - - Creates rich text string. - - - - - Tries to create Value2. - - Value2 value. - - - - Detects whether specified value is error or boolean and tries to parse it. - - String to parse. - True if value type was detected and value was parsed correctly. - - - - Sets index in the LabelSST record. - - New index value. - - - - Tries to remove all formula arrays from this range. - - - Thrown when it's impossible to remove array formula. - - - - - Blanks cell. - - - - - Sets new parent. - - Parent to set. - - - - Updates named ranges indexes. - - New indexes. - - - - Creates record and sets range data in it. - - Record type to create. - Newly created record. - - - - Creates record and sets range data in it. - - Record type to create. - Newly created record. - - - - Updates range. - - First row index. - First column index. - Last row index. - Last column index. - - - - Tries to convert string into datetime value. - - String to parse. - Converted value. - True if conversion succeeded, false otherwise. - - - - Identifies the Date separator - - returns a date seperator - - - - Identifies the time separator - - Returns a time seperator - - - - Parses R1C1 reference. - - Reference to parse. - Range that corresponds to the string. - - - - Parses R1C1 expression - - String to parse. - Represents rectangle of coordinates. - Indicates is it first expression. - Returns rectangle with updated coordinates. - - - - Parses index string in R1C1 style and evaluates absolute row or column index. - - Value to parse. - Indicates whether this is row or column index. - Parsed row or column index. - - - - Converts array-entered formula to string.. - - Indicates whether R1C1 notation must be used. - String representation of the array-entered formula. - - - - Sets array-entered formula. - - String representation of the formula. - Indicates whether R1C1 notation is used. - - - - Sets array formula record. - - Formula array record. - - - - Sets array formula record. - - Formula array record. - Extended format index. - - - - Updates record with new position and extended format record if necessary. - - Record to update. - Cell to get data from. - XF index to set. - - - - Normalizes row index. - - One-based row index to normalize. - First column. - Last column. - Normalized row index. - - - - Normalizes row index. - - One-based column index to normalize. - First row. - Last row. - Normalized column index. - - - - Partially clear range. - - - - - Sets border to single cell. - - Represents border index. - Represents border line type. - Represents border line color. - - - - Collapses or expands this group. - - Should we perform operation on rows or columns? - Indicates desired group state. If it is True then group should be collapsed, otherwise expanded. - Flag indicating collapse or expand settings. - - - - Collapses or expands group. - - Indicates whether group is collapsed. - Represents start index. - Represents end index. - Represents maximum index. - Indicates whether last index. - Provides outline information. - Flag for expand or collapse setting. - - - - Sets hidden state. - - Represents starting index. - Represents ending index. - Provides Outline information. - Value indicating whether outline is hidden - - - - Expands outlines. - - Represents starting index. - Represents end index. - Provides outline information. - Value indicating whether to include sub groups - Value indicating whether last index - - - - Determines whether parent outline group is visible or not. - - Start index of the child group. - End index of the child group. - Maximum possible outline index. - Method that is used to get outline by index. - True if parent group is visible. - - - - Searches for the first outline with lower level (parent). - - Start index to search from. - Delta to add to outline index after each iteration (direction). - Maximum possible outline index. - Method that is used to get outline by index. - Found outline index with lower level or -1. - - - - Searches for the edge of the group. - - Start index to search from. - Delta to add to the index at each iteration. - Maximum possible outline index. - Method that is used to get outline by index. - Outline level of the group to find edge for. - Index of the parent group start. - - - - Searches for the first visible outline of the required level. - - Start index to search. - End index to search. - Method that is used to get outline by index. - Outline level to check. - Index of the first found visible outline. - - - - Gets the formula value. - - Type of the field. - Represents the row to fetch the value. - Represents the column to fetch the value. - if set to true [is string]. - Returns the formula value. - - - - The specified value is detected for fraction value and set to Value property. - - The value assigned to property. - True if the specified value is a fraction. Otherwise False. - - - - sets the time number format based on value. - - Value to check the time format. - - - - Sets formula value to the current Range. - - Formula value. - - - - Sets formula value to the current Range. - - Formula value. - - Dictionary with new worksheet names (to copy worksheet's - into workbook's and merging workbooks). - - Indicates whether R1C1-style notation is used. - - - - Sets auto format pattern. - - Represents pattern color. - Represents first row. - Represents last row. - Represents first column. - Represents last column. - - - - Sets auto format pattern. - - Represents pattern color. - Represents first row. - Represents last row. - Represents first column. - Represents last column. - Represents pattern color. - Represents cell pattern. - - - - Sets auto format patterns. - - Represents auto format type. - - - - Sets auto format pattern for list_1 or list_2 types. - - Indicates if it is list_1 auto format type. - Represents default fore color. - Represents default back color. - - - - Sets auot format alignment. - - Represents auto format type. - - - - Sets auto format alignment. - - Represents align. - Represents first row. - Represents last row. - Represents first column. - Represents last column. - - - - Sets auto format width height. - - Represents auto format type. - - - - Sets auto format number. - - Represents auto format type. - - - - Sets auto format font border. - - Represents auto format type. - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format simple font border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Classic_1 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Classic_2 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Classic_3 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Accounting_1 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Accounting_2 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Accounting_3 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format Accounting_4 font and border. - - Indicates if set font object. - Indicates if set borders. - - - - Sets auto format font. - - Represents font object. - Represents first row. - Represents last row. - Represents first column. - Represents last column. - - - - Creates an object and sets its Application and Parent - properties to specified values. - - Application object for the range. - Parent object for the range. - - The parent worksheet or workbook cannot be found. - - - - - Recover Region from stream. - - Application object for the range. - Parent object for the range. - Stream with range data. - - - - Recover Range from Biff records. - - Application object for the range. - Parent object for the range. - Array of BiffRecordRaws which contains record for the range. - Index of record for the range. - - - - Recover Range from Biff records. - - Application object for the range. - Parent object for the range. - - Array of BiffRecordRaws which contains record for the range. - - Index of record for the range. - - - - Recover Range from Biff records. - - Application object for the range. - Parent object for the range. - - Array of BiffRecordRaws which contains record for the range. - - Index of record for the range. - Indicates whether to ignore styles. - - - - Recover Range from Biff records. - - Application object for the range. - Parent object for the range. - Array of BiffRecordRaws which contains record for the range. - Index of record for the range. - Indicates whether to ignore styles. - - - - Creates range with specified top-left and bottom-right corners. - - Application object for the range. - Parent object for the range. - First row of the range. - Last row of the range. - First column of the range. - Last column of the range. - - - - Creates range for specified single cell. - - Application object for the range. - Parent object for the range. - Row index for the range. - Column index for the range. - - - - Creates new range based on the record. - - Application object. - Parent object. - Range record. - Indicates whether to ignore styles. - - - - Fill internal collection by references on cells. - - - - - Clears internal cells array. - - - - - This method is called when disposing the object. - - - - - Searches for all necessary parents. - - - - - Recover Region from the stream. - - BiffReader with range record. - - - - Recover region from array of Biff Records and position in it. - - Array of BiffRecordRaws that contains range record. - Position of range record. - - - - Recover region from array of Biff Records and position in it. - - Array of BiffRecordRaws that contains range record. - Position of range record. - Indicates whether to ignore style. - - - - Parses double value accordingly to format string. - - Value to parse. - Parsed value. - - - - Parses BlankRecord. - - BlankRecord to parse. - Blank string. - - - - Reparses formula record. - - Record to reparse. - - - - Parses FormulaRecord. - - FormulaRecord to parse. - List with Biff records. - Position of formula in the list. - - - - Parses BoolErrRecord. - - BoolErrRecord to parse. - Extracted BoolError record. - - - - Parses RStringRecord. - - RStringRecord to parse. - Blank string. - - - - Adds listener for the NameXIndexChanged event - if there is NameXPtg in the formula. - - Parsed formula. - Workbook index. - Name index. - Indicates whether event handler should be added. - - - - Attaches handler to NameIndexChanged event. - - Workbook with name. - Event handler. - Parsed formula. - Workbook index. - New index. - Indicates whether event handler should be added. - - - - Attaches index changed event handler to extern name collection. - - Parent workbook. - NamexPtg that identifies named range. - Workbook index. - NamedRange index to attach to. - Event handler. - Dictionary with indexes of named range that already have attached event. - Indicates whether event handler should be added. - - - - Attaches index changed event handler to local name collection. - - Parent workbook. - NamePtg that identifies named range. - Workbook index. - New name index. - Event handler - Dictionary with indexes of named range that already have attached event. - Indicates whether event handler should be added. - - - - Combines book index and name index into one index. - - Book index. - Name index. - Combined index. - - - - This is handler of the NameIndexChanged event - of the formula contained by the range - - Sender of the event. - Event arguments. - - - - Handler for named range index changed event for local named ranges. - - Event sender. - Event arguments. - - - - Handler for named range index changed event for external named ranges. - - Event sender. - Event arguments. - - - - Activates a single cell, which must be inside the current selection. - To select a range of cells, use the Select method. - - Range representing single active cell. - - - - Activates a single cell, scroll to it and activates the corresponding sheet. - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - This method groups current range. - - - This parameter specifies whether grouping should - be performed by rows or by columns. - - Indicates whether group should be collapsed. - Current range after grouping. - - - - This method groups current range. - - - This parameter specifies whether grouping should be performed by rows or by columns. - - Current range after grouping. - - - - Creates a merged cell from the specified Range object. - - - - - Creates a merged cell from the specified Range object. - - Indicates whether to clear unnecessary cells. - - - - Ungroup the range - - GroupBy rows or columns. - Current range after ungrouping. - - - - Separates a merged area into individual cells. - - - - - Freezes pane at the current range if it is single cell range. - - - - - Clear the contents of the Range. - - - - - Clear the contents of the Range with formatting. - - True if formatting should also be cleared. - - - - Clears range. - - - - - Clear the contents of the Range and shifts the cells Up or Left - without formula or merged ranges update. - - Cells shift direction Up/Left. - - - - Clear the contents of the Range and shifts the cells Up or Left. - - Cells shift direction Up/Left. - Cells shifting options. - - - - clears the cell formats,comments,contents based on clear option. - - - - - - Clears the cell based on clear options. - - - - - - clears the comments of the cell. - - - - - Moves the cells to the specified Range (without updating formulas). - - Destination Range. - - - - Moves the cells to the specified Range. - - Destination range. - Specifies the options to update formulas and merged ranges during copy range. - - - - Copies this range into another location and updates formulas. - - Destination range. - Destination range. - - - - Copies this range into another location. - - Destination range. - Copy range options. - Destination range. - - - - Returns intersection of this range with the specified one. - - The Range with which to intersect. - Range intersection. If there is no intersection, NULL is returned. - - - - Returns merge of this range with the specified one. - - The Range to merge with. - Merged ranges or null if wasn't able to merge ranges. - - - - Measures size of the string. - - String to measure. - Size of the string. - - - - Autofits rows. - - - - - Autofit columns. - - - - - Auto fit the column. - - The first column. - The last column. - - - - Determines whether the range is Merged or not. - - The merged cells. - Represents the row. - Represents the column - whether method called by AutoFitColumn or AutoFitRow - Difference of Merged Range. - - true, if the Range is merged, else false. - - - - - Gets the display text. - - The row. - The column. - The format impl. - - - - - Gets the number or date time. - - The format impl. - The cell value. - - - - - Replaces oldValue by newValue. - - Value to compare. - Value to replace by. - - - - Replaces oldValue by newValue. - - Value to compare. - Value to replace by. - - - - Replaces oldValue by newValue. - - Value to compare. - Value to replace by. - - - - Replaces oldValue by newValue. - - Value to compare. - Array to replace by. - Indicates whether to import values vertically or horizontally. - - - - Replaces oldValue by newValue. - - Value to compare. - Array to replace by. - Indicates whether to import values vertically or horizontally. - - - - Replaces oldValue by newValue. - - Value to compare. - Array to replace by. - Indicates whether to import values vertically or horizontally. - - - - Replaces oldValue by newValue. - - Value to compare. - DataTable to replace by. - Indicates whether to import field names. - - - - Replaces oldValue by newValue. - - Value to compare. - DataTable to replace by. - Indicates whether to import field names. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Copies range to the clipboard. - - - - - Sets around border for current range. - - - - - Sets around border for current range. - - Represents border line. - - - - Sets around border for current range. - - Represents border line. - Represents border color. - - - - Sets around border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets inside border for current range. - - - - - Sets inside border for current range. - - Represents border line. - - - - Sets inside border for current range. - - Represents border line. - Represents border color. - - - - Sets inside border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets none border for current range. - - - - - Sets auto format for current range. - - Represents format to set. - - - - Sets auto format for current range. - - Represents auto format to set. - Represents auto format options. - - - - Sets cell value. - - Value to be set. - - - - Collapses current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Additional option flags. - - - - Gets new address of range. - - Dictionary with Worksheet names. - String that sets as a worksheet name. - Returns string with new name. - - - - Clones current IRange. - - Parent object. - Hash table with new names. - Parent workbook. - Returns clone of current instance. - - - - Clears conditional formats. - - - - - Clears data validations. - - - - - Returns array that contains information about range. - - Rectangles that describes range with zero-based coordinates. - - - - Returns number of rectangles returned by GetRectangles method. - - Number of rectangles returned by GetRectangles method. - - - - Gets R1C1 address from cell index. - - Cell index. - Returns R1C1 address. - - - - Converts cell name to cell index. - - Name of the cell. - Cell index of the specified cell. - - When specified cell name is null. - - - When length of the specified cell name is less than 2. - - - When length of the alpha part of the name is less - than 1 or greater than 2. - - - When length of the number part of the name is less - than 1 or greater than 5. - - - - - Converts cell name to row and column index. - - Name of the cell. - Row index. - Column index. - - - - Converts column name into index. - - Name to convert. - Converted value. - - - - Converts column index into string representation. - - Column to process. - String name in excel of the column - - - - Get cell name yy column and row index. - - Column index of the cell. - Row index of the cell. - Cell name. - - When firstColumn or firstRow is less than one. - - - - - Get cell name yy column and row index. - - Column index of the cell. - Row index of the cell. - Indicates whether to use R1C1-style reference mode. - Cell name. - - When firstColumn or firstRow is less than one. - - - - - Get cell name yy column and row index. - - Column index of the cell. - Row index of the cell. - Indicates whether to use R1C1-style reference mode. - If true adds '$' separator. - Cell name. - - When firstColumn or firstRow is less than one. - - - - - Returns the range reference for the specified range in the language - of the user. - - First row of the range. - First column of the range. - Last row of the range. - Last column of the range. - The range reference for the specified range in the language of the user. - - - - Returns the range reference for the specified range in the language - of the user. - - First row of the range. - First column of the range. - Last row of the range. - Last column of the range. - Indicates whether to use R1C1-style reference mode. - The range reference for the specified range in the language of the user. - - - - Get cell name by column and row index. - - Column index of the cell. - Row index of the cell. - Cell name. - - When firstColumn or firstRow is less than one. - - - - - Get cell index by column and row index. - - Column index of the cell. - Row index of the cell. - Cell index. - - When firstRow or firstColumn is less than zero. - - - - - Gets row index from cell index. - - Cell index. - Row index. - - - - Gets column index from cell index. - - Cell index. - Column index. - - - - Extracts worksheet name from range name. - - Range name to extract from. - Worksheet name. - - - - Helper methods for WrapText Property. - - List of IRange. - Gets WrapText property value. - - - - Helper methods for WrapText Property. - - List of IRange. - Value to set. - - - - Helper methods for WrapText Property. - - List of IRange. - Gets WrapText property value. - - - - Helper methods for CellStyleName Property. - - List of IRange. - Gets CellStyleName property value. - - - - Parses string representation of the range. - - Range to parse. - Parent workbook. - First row. - First column. - Last row. - Last column. - Number of parts: 1 - one cell, 2 - range of cells. - - - - Gets rectangle object, that represents rect of range. - - Represents current range. - If true than thrown an exception, if range is null. - Returns rectangle, that represents borders of range. - - - - This method is called when NumberFormat of the range changes. - - Event sender. - Event arguments. - - - - Attaches handler to NumberFormatChanged event of parent style. - - - - - Attaches event to cell styles. - - - - - Attaches handler to NumberFormatChanged of the specified wrapper. - - Wrapper to attach event to. - Handler to attach. - - - - Creates style wrapper. - - - - - Initializes style wrapper. - - Extended format index. - - - - Initializes style wrapper. - - Extended format index. - - - - Sets index of extended format that defines style for this range.. - - Index to set. - - - - Changes style name. - - Name to set. - Style object that corresponds to the name. - - - - Returns name of the style, applied to the cell. - - Name of the style, applied to the cell. - - - - Returns WrapText of the style, applied to the cell. - - WrapText of the style, applied to the cell. - - - - Gets format code. - - Value representing number format code - - - - Gets the date time by culture. - - Date in string format. - Result in Datetime. - Returns true, when the date time is culture based. - - - - Updates range information from record. - - - - - Checks whether formula arrays inside this range are separated or not. - - Dictionary with records to skip. - True if records are not separated. - - - - Returns customized number format - - Number format string to be customized - Cutomized number format string - - - - Reparse cell if parsing wasn't successful when loading the workbook. - - - - - Gets ptg of current range. - - Returns native ptg. - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user. Read-only String. - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Get / set boolean value that is contained by this range. - - - - - Returns a Borders collection that represents the borders of a style - or a range of cells (including a range defined as part of a - conditional format). - - - - - Returns a Range object that represents the cells in the specified range. - Read-only. - - - - - Returns the number of the first column in the first area of the specified - range. Read-only. - - - - - Column group level. Read-only. - -1 - not all column in the range have same group level. - 0 - No grouping, - 1 - 7 - group level. - - - - - Returns or sets the width of all columns in the specified range. - Read/write Double. - - - - - Returns the number of objects in the collection. Read-only. - - - - - Get / set DateTime contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Returns cell value after number format application. Read-only. - - - - - Returns a Range object that represents the cell at the end of the - region that contains the source range. - - - - - True if it is Entire row. - - - - - True if it is Entire Column. - - - - - Returns a Range object that represents the entire column (or - columns) that contains the specified range. Read-only. - - - - - Returns a Range object that represents the entire row (or - rows) that contains the specified range. Read-only. - - - - - Get / set error value that is contained by this range. - - - - - Returns or sets the object's formula in A1-style notation and in - the language of the macro. Read/write Variant. - - - - - Represents array formula which can perform multiple calculations on one or more of the items in an array. - - - - - Returns the Formula in the cell as a string. - - - - - Returns the calculated value of the formula as a number. - - - - - Returns the calculated value of the formula as a boolean. - - - - - Returns the calculated value of the formula as a string. - - - - - Gets formula value. - - - - - True if the formula will be hidden when the worksheet is protected. - False if at least part of formula in the range is not hidden. - - - - - Get / set formula DateTime value contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Returns or sets the formula for the range, using R1C1-style notation. - - - - - Returns or sets the formula array for the range, using R1C1-style notation. - - - - - True if all cells in the range contain formulas; False if - none of the cells in the range contains a formula; NULL - otherwise. Read-only Variant. - - - - - Indicates whether range contains array-entered formula. Read-only. - - - - - Returns or sets the horizontal alignment for the specified object. - Read/write OfficeHAlign. - - - - - Returns or sets the indent level for the cell or range. Can be an integer - from 0 to 15 for Excel 97-2003 and 250 for Excel 2007. Read/write Integer. - - - - - Indicates whether range contains boolean value. - - - - - Indicates whether range contains error value. - - - - - Indicates whether this range is grouped by column. Read-only. - - - - - Indicates whether this range is grouped by row. Read-only. - - - - - Gets / sets last column of the range. - - - - - Gets / sets last row of the range. - - - - - Get / set number value that is contained by this range - - - When range value is not a number. - - - - - Returns or sets the format code for the object. Returns NULL - if all cells in the specified range don't have the same number - format. Read/write String. - - - - - Returns the number of the first row of the first area in - the range. Read-only Long. - - - - - Row group level. Read-only. - -1 - not all row in the range have same group level. - 0 - No grouping. - 1 - 7 - group level. - - - - - Returns the height of all the rows in the range specified, - in points. Returns Double.MinValue if the rows in the specified range - arent all the same height. Read / write. Double. Maximum Row height can be 409 - value, minimum is zero. - - - - - For a Range object, it returns an array of Range objects that represent the - rows in the specified range. - - - - - For a Range object, it returns an array of Range objects that represent the - columns in the specified range. - - - - - Returns a Style object that represents the style of the specified - range. Read/write Variant. - - - - - Gets / sets name of the style for the current range. - - - - - Gets/sets built in style. - - - - - Gets / sets text contained by this cell. - - - - - Gets / sets TimeSpan contained by this cell. - - - - - Returns or sets the value of the specified range. - Read/write Variant. - - - - - Returns or sets the cell value. Read/write Variant. - The only difference between this property and the Value property is - that the Value2 property doesn't use the Currency and Date data types. - - - - - Gets or sets a value indicating whether this instance is num reference for chart axis. - - - true if this instance is num reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is a string reference for chart axis. - - - true if this instance is string reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is multi reference for chart axis. - - - true if this instance is multi reference; otherwise, false. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - Returns a worksheet object that represents the worksheet - containing the specified range. Read-only. - - - - - Gets or sets cell by row and column index. Row and column indexes are one-based. - - - - - Get cell range. Row and column indexes are one-based. Read-only. - - - - - Gets cell range. Read-only. - - - - - Gets cell range. Read-only. - - - - - Indicates if current range has formula bool value. Read-only. - - - - - Indicates if current range has formula error value. Read-only. - - - - - Indicates if current range has formula value formatted as DateTime. Read-only. - - - - - Indicates whether current range has formula number value. Read-only. - - - - - Indicates whether current range has formula value evaluated as string. Read-only. - - - - - Indicates whether the range is blank. Read-only. - - - - - Indicates whether the range has value or style. Read-only. - - - - - Indicates whether range contains bool value. Read-only. - - - - - Indicates whether cell contains DateTime value. Read-only. - - - - - Indicates whether the range contains number. Read-only. - - - - - Indicates whether the range contains string. Read-only. - - - - - Gets rich text. - - - - - Indicates whether cell contains formatted rich text string. - - - - - Checks whether this range is part of merged range. - - - - - Returns a Range object that represents the merged range containing - the specified cell. If the specified cell isn�t in a merged range, - this property returns NULL. Read-only. - - - - - Indicates whether cell is initialized. Read-only. - - - - - Indicates whether range's style differs from default style. - Read-only. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Indicates is current range has external formula. Read-only. - - - - - Indicates whether all values in the range are preserved as strings. - - - - - Application object for this object. - - - - - Parent object for this object. - - - - - Application object for this object. - - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Return global address (with $ signs) without worksheet name. - - - - - Gets list of all cells. - - - - - Checks if the range represents a single cell or range of cells. Read-only. - - - - - Gets / sets first row of the range. - - - - - Gets / sets first column of the range. - - - - - If it is a single cell, then it returns its name; otherwise returns NULL. Read-only. - - - - - If single cell, returns its name; otherwise returns -1. Read-only. - - - - - Returns type of the cell. Read-only. - - - - - Gets index of extended format. Read-only. - - - - - Sets / gets index of extended format. - - - When method is applied for the range that contains - more than one cell. - - - - - Converts range to rk subrecord. Read-only. - - - When cell does not contain rk record. - - - - - Returns parent workbook. Read-only. - - - - - Returns merge region if range is part of any merge region; otherwise - returns null. Read-only. - - - - - Returns parent worksheet. Read-only. - - - - - Internal record. - - - - - Gets Dictionary where key is ArrayRecord that at least partially intersects - with this range. Read-only. - - - - - Checks if all formula arrays partially contained by this range - are fully contained by this range. Read-only. - - - - - Number of cells in the range. Read-only. - - - - - Returns number format object corresponding to this range. Read-only. - - - - - Gets address global in the format required by Excel 2007. - - - - - Read-only. Returns FormatRecord for this range. - - - - - Indicates whether range contains number. Read-only. - - - - - Get / sets type of the format. - - - - - Gets name of the parent worksheet. - - - - - Returns extended format for this range. Read-only. - This property should only be used for reading values. - - - - - Returns type code of the underlying record. Read-only. - - - - - Gets / sets cell column. - - - - - Gets / sets cell row. - - - - - Enumeration that contains all possible cell types for the range. - - - - - Indicates that range contains NumberRecord. - - - - - Indicates that range contains RKRecord. - - - - - Indicates that range contains LabelSSTRecord. - - - - - Indicates that range contains BlankRecord. - - - - - Indicates that range contains FormulaRecord. - - - - - Indicates that range contains BoolErrRecord. - - - - - Indicates that range contains RStringRecord. - - - - - Indicates that range contains LabelRecord. - - - - - - - - - - - - - - - - - Resets row and column values. - - One-based row index of the new cell address. - One-based column index of the new cell address. - - - - Represents named range in the excel. - - - - - Represents a defined name for a range of cells. Names can be - either built-in names such as Database, Print_Area, and - Auto_Open or custom names. - - - - - Deletes the object. - - - - - Returns the index number of the object within the collection of similar - objects. Read-only Long. - - - - - Returns or sets the name of the object. Read / write String. - - - - - Returns or sets the name of the object, in the language of the user. - Read / write String for Name. - - - - - Gets / sets Range associated with the Name object. - - - - - For the Name object, a string containing the formula that the name is - defined to refer to. The string is in A1-style notation in the language - of the macro, without an equal sign. - - - - - Determines whether the object is visible. Read / write Boolean. - - - - - Indicates whether name is local. - - - - - Gets named range Value in R1C1 style. Read-only. - - - - - Gets named range RefersTo. Read-only. - - - - - Gets named range RefersTo in R1C1 style. Read-only. - - - - - Returns parent worksheet. Read-only. - - - - - Returns string representation of the name's scope. Read-only. - - - - - Represents default sheet name separator. - - - - - String format for cell range. - - - - - Represents removed sheet index. - - - - - String representation of the workbook scope value. - - - - - Represents valid symbols. - - - - - Name record with info about this Name object. - - - - - Parent workbook for this object. - - - - - Parent worksheet for this object. - (but NameRecord still must be in Workbook). - - - - - Index of the Name object in the Workbook's Names collection. - - - - - Indicates whether the named range is deleted or not. - - - - - - - - - - - - - - - - - - - - Creates a new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - - - - Creates a new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - - NameRecord that contains information about the new Name object. - - - Index of the Name object in the workbook's Names collection. - - - - - Creates a new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - - NameRecord that contains information about the new Name object. - - - - - Creates a new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - Name of the new Name object. - - Range that will be associated with the specified name. - - - - - - Creates new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - Name of the new Name object. - Current index. - - - - Creates new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - Name of the new Name object. - Current index. - Indicates whether name is local. - - - - Creates a new Name object. - - Application object for the new Name object. - Parent object for the new Name object. - Name of the new Name object. - - Range that will be associated with the specified name. - - - - - - - Sets index or global depending on IsLocal property value. - - Indicates whether name should be local. - - - - Copies range to the clipboard. - - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified double value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Flag that represent type of search. - All found cells, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Flag that represent type of search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value. - - Value to search. - Flag that represent type of search. - - - - - Autofits all columns in the range. - - - - - Autofits all rows in the range. - - - - - Returns merge of this range with the specified one. - - The Range to merge with. - Merged ranges or NULL if wasn't able to merge ranges. - - - - Returns intersection of this range with the specified one. - - The Range with which to intersect. - Range intersection; if there is no intersection, NULL is returned. - - - - Copies this range into another location. - - Destination range. - Copy range options. - Destination range. - - - - Copies the range to the specified destination Range (without updating formulas). - - Destination range. - Range were this range was copied. - - - - Moves the cells to the specified Range (without updating formulas). - - Destination Range. - - - - Clear the contents of the Range and shifts the cells Up or Left. - - Cells shift direction Up/Left. - Cells shifting options. - - - - Clears the Content, formats, comments based on clear option. - - - - - - Clear the contents of the Range and shifts the cells Up or Left - without formula or merged ranges update. - - Cells shift direction Up/Left. - - - - Clear the contents of the Range with formatting. - - True if formatting should also be cleared. - - - - Clear the contents of the Range. - - - - - Freezes pane at the current range. - - - - - Separates a merged area into individual cells. - - - - - Ungroups current range. - - Indicates type of ungrouping. Ungroup by columns or by rows. - Current range after ungrouping. - - - - Creates a merged cell from the specified Range object. - - - - - Creates a merged cell from the specified Range object. - - Indicates whether to clear unnecessary cells. - - - - This method groups current range. - - - This parameter specifies whether grouping should - be performed by rows or by columns. - - Indicates whether group should be collapsed. - Current range after grouping. - - - - This method groups current range. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Current range after grouping. - - - - Creates Subtotal for the corresponding ranges - - GroupBy - ConsolidationFunction - TotalList - - - - Creates SubTotal for the corresponding Ranges - - GroupByGroupBy - ConsolidationFunction - TotalList - Replace exisiting SubTotal - Insert PageBreaks - SummaryBelowData - - - - Activates a single cell, which must be inside the current selection. - To select a range of cells, use the Select method. - - - - - - Activates a single cell, scroll to it and activates the corresponding sheet. - To select a range of cells, use the Select method. - - True to scroll to the cell - - - - - Sets around border for current range. - - - - - Sets around border for current range. - - Represents border line. - - - - Sets around border for current range. - - Represents border line. - Represents border color. - - - - Sets around border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets inside border for current range. - - - - - Sets inside border for current range. - - Represents border line. - - - - Sets inside border for current range. - - Represents border line. - Represents border color. - - - - Sets inside border for current range. - - Represents border line. - Represents border color as ExcelKnownColors. - - - - Sets none border for current range. - - - - - Collapses current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - - - - Expands current group. - - - This parameter specifies whether the grouping should be performed by rows or by columns. - - Additional option flags. - - - - Removes this Name object from the workbook's Names collection. - - - - - Sets parent workbook and worksheet. - - - When parent workbook or worksheet cannot be found. - - - - - Reads information from the NameRecord. - - NameRecord to parse - - When specified NameRecord is NULL. - - - - - This method is called when Value property was changed. - - Old value of the property. - New value of the property. - Is Value in R1C1 style. - - - - Sets name value. - - Parsed expression value to set. - - - - This method raises NameIndexChanged event. - - Event arguments. - - - - Checks for valid name. - - String to check. - If true - valid name; otherwise - not valid. - - - - Sets the value. - - New value of the property. - Is Value in R1C1 style. - - - - Converts full row or column tokens between versions. - - Version to convert into. - - - - A string containing the formula that the name is defined to refer to. - - Formula util to take setting from. - Formula string. - - - - Sets index of the named range and raise event. - - New index. - - - - Sets index of the named range. - - New index. - Indicates whether events should be raised. - - - - Saves named range into list of biff records. - - List of biff records to save into. - - - - This method should be called after worksheet index change. - - New sheet index. - - - - Parses named range. - - - - - Gets ptg of current range. - - Returns native ptg. - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Indicates whether the named range is deleted or not. - - - - - Index of the Name object in the workbook's Names collection. - - - - - Index of the Name object in the workbook's or Worksheet's Names collection. - - - - - Name of the Name object. - - - - - Same as Name. - - - - - Gets / sets Range associated with the Name object. - - - - - For the Name object, a string containing the formula that the name is - defined to refer to. The string is in A1-style notation in the language - of the macro, without an equal sign. - - - - - Gets/sets named range Value in R1C1 style. Read-only. - - - - - Gets/sets named range RefersTo. Read-only. - - - - - Gets/sets named range RefersToR1C1 in R1C1 style. Read-only. - - - - - Determines whether the object is visible. Read/write Boolean. - - - - - Indicates whether current name is locally defined name. Read-only. - - - - - Returns parent worksheet. Read-only. - - - - - Returns string representation of the name's scope. Read-only. - - - - - Returns the range reference in the language of the macro. - Read-only String. - - - - - Returns the range reference for the specified range in the language - of the user. Read-only String. - - - - - Returns range Address in format "'Sheet1'!$A$1". - - - - - Returns range address in format "$A$1". - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Returns the range reference using R1C1 notation. - Read-only String. - - - - - Gets / sets boolean value that is contained by this range. - - - - - Returns a Borders collection that represents the borders of a style - or a range of cells (including a range defined as part of a - conditional format). - - - - - Returns a Range object that represents the cells in the specified range. - Read-only. - - - - - Returns the number of the first column in the first area in the specified - range. Read-only. - - - - - Column group level. Read-only. - -1 - Not all columns in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns or sets the width of all columns in the specified range. - Read/write Double. - - - - - Returns the number of objects in the collection. Read-only. - - - - - Gets / sets DateTime contained by this cell. Read-write DateTime. - - - - - Returns cell value after number format application. Read-only. - - - - - Returns a Range object that represents the cell at the end of the - region that contains the source range. - - - - - Returns a Range object that represents the entire column (or - columns) that contains the specified range. Read-only. - - - - - Returns a Range object that represents the entire row (or - rows) that contains the specified range. Read-only. - - - - - Gets / sets error value that is contained by this range. - - - - - Returns or sets the object's formula in A1-style notation and in - the language of the macro. Read/write Variant. - - - - - Represents array-entered formula. - - - - - Returns or sets the formula array for the range, using R1C1-style notation. - - - - - True if the formula will be hidden when the worksheet is protected. - False if at least part of formula in the range is not hidden. - - - - - Get / set formula DateTime value contained by this cell. - DateTime.MinValue if not all cells of the range have same DateTime value. - - - - - Returns or sets the formula for the range, using R1C1-style notation. - - - - - Indicates whether specified range object has data validation. - If Range is not single cell, then returns true only if all cells have data validation. Read-only. - - - - - Indicates whether range contains bool value. Read-only. - - - - - Indicates whether range contains DateTime value. Read-only. - - - - - Indicates if current range has formula bool value. Read-only. - - - - - Indicates if current range has formula error value. Read-only. - - - - - Indicates if current range has formula value formatted as DateTime. Read-only. - - - - - True if all cells in the range contain formulas; False if - at least one of the cells in the range doesn't contain a formula. - Read-only Boolean. - - - - - Indicates whether range contains array-entered formula. Read-only. - - - - - Indicates whether the range contains number. Read-only. - - - - - Indicates whether cell contains formatted rich text string. - - - - - Indicates whether the range contains String. Read-only. - - - - - Indicates whether range has default style. False means default style. - Read-only. - - - - - Returns or sets the horizontal alignment for the specified object. - Read/write OfficeHAlign. - - - - - Returns or sets the indent level for the cell or range. Can be an - integer from 0 to 15. Read/write Integer. - - - - - Indicates whether the range is blank. Read-only. - - - - - Indicates whether range contains boolean value. Read-only. - - - - - Indicates whether range contains error value. - - - - - Indicates whether this range is grouped by column. Read-only. - - - - - Indicates whether this range is grouped by row. Read-only. - - - - - Indicates whether cell is initialized. Read-only. - - - - - Returns last column of the range. Read-only. - - - - - Returns last row of the range. Read-only. - - - - - Gets / sets double value of the range. - - - - - Format of current cell. Analog of Style.NumberFormat property. - - - - - Returns the number of the first row of the first area in - the range. Read-only Long. - - - - - Row group level. Read-only. - -1 - Not all rows in the range have same group level. - 0 - No grouping, - 1 - 7 - Group level. - - - - - Returns the height of all the rows in the range specified, - in points. Returns Double.MinValue if the rows in the specified range - aren't all the same height. Read / write Double. - - - - - For a Range object, returns an array of Range objects that represent the - rows in the specified range. - - - - - For a Range object, returns an array of Range objects that represent the - columns in the specified range. - - - - - Returns a Style object that represents the style of the specified - range. Read/write IStyle. - - - - - Returns name of the Style object that represents the style of the specified - range. Read/write String. - - - - - Gets / sets string value of the range. - - - - - Gets / sets time value of the range. - - - - - Returns or sets the value of the specified range. - Read/write Variant. - - - - - Returns or sets the cell value. Read/write Variant. - The only difference between this property and the Value property is - that the Value2 property doesn't use the Currency and Date data types. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - Returns a Worksheet object that represents the worksheet - containing the specified range. Read-only. - - - - - Gets / sets string value evaluated by formula. - - - - - Gets / sets number value evaluated by formula. - - - - - Returns the calculated value of the formula as a boolean. - - - - - Returns the calculated value of the formula as a string. - - - - - String with rich text formatting. Read-only. - - - - - Indicates whether this range is part of merged range. Read-only. - - - - - Returns a Range object that represents the merged range containing - the specified cell. If the specified cell isn�t in a merged range, - this property returns NULL. Read-only. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Gets / sets cell by row and column index. Row and column indexes are one-based. - - - - - Get cell range. Row and column indexes are one-based. Read-only. - - - - - Get cell range. Read-only. - - - - - Gets cell range. Read-only. - - - - - Indicates is current range has external formula. Read-only. - - - - - Represents ignore error options. If not single cell returs concatenated flags. - - - - - Indicates whether all values in the range are preserved as strings. - - - - - Gets/sets built in style. - - - - - Get NameRecord to which point current object. - - - - - Get worksheet of Name Object. - - - - - Get workbook of Name Object. - - - - - Indicates whether the name is extern name. - - - - - Name region. - - - - - Indicates whether name is built-in or not. - - - - - Returns count of event handlers for NameIndexChanged event. Read-only. - - - - - Indicates whether this is function. - - - - - Gets or sets a value indicating whether this instance is num reference for chart axis. - - - true if this instance is num reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is a string reference for chart axis. - - - true if this instance is string reference; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is multi reference for chart axis. - - - true if this instance is multi reference; otherwise, false. - - - - - It's used to identify the common workbook Names - - - - - Utility event. Raised on Name object index property change. - - - - - Gets name of the parent worksheet. - - - - - - - - - - Event arguments for NameIndexChanged event. - - - - - Old index. - - - - - New index. - - - - - To prevent creation without parameters. - - - - - Creates new instance of the event arguments. - - Old index. - New index. - - - - Returns old index. Read-only. - - - - - Returns new index. Read-only. - - - - - This Class allows the user to configure Print settings of a document. - - - - - Represents default print area. - - - - - Represents default print title. - - - - - Represents default print area tokens. - - - - - This record contains information as to whether or not the the row/column headers have to be printed. - - - - - This record defines whether or not to print the gridlines. - - - - - This record specifies if the option to print sheet grid lines - (PrintGridlinesRecord)has ever been changed. - - - - - Contains information about the layout of outline symbols. - - - - - Row height for rows with undefined or inexplicitly defined heights. - - - - - This record stores a 16-bit value with Boolean options for the current sheet. - - - - - Parent worksheet for this page setup. - - - - - Id of the printer settings part. - - - - - Size of the required storage space. Read-only. - - Represents Excel version. - - - - Sets application and parent fields. - - Application object for the page setup. - Parent object for the page setup. - - - - Recovers page setup from the stream and sets its Application and Parent fields. - Current record in the stream must be PrintHeadersRecord. - - Application object for the page setup. - Parent object for the page setup. - BiffReader that contains page setup records. - - - - Recovers Page setup from the Biff Records array starting from position - - Application object for the page setup. - Parent object for the page setup. - Array of Biff Records that contains all needed records. - Position of PrintHeadersRecord in the array. - - - - Recovers Page setup from the Biff Records List starting from position. - - Application object for the page setup. - Parent object for the page setup. - List which contains Biff Records. - Position of PrintHeadersRecord in the array. - - - - Find parent worksheet. - - - When can't find parent worksheet. - - - - - Creates necessary records. - - - - - Parses record. - - Record to parse. - True if record was successfully parsed, false otherwise. - - - - Recovers page setup from the stream, first record must be PrintHeadersRecord. - - Stream that contains all needed records. - - - - Skips unknown records. - - Data with records. - Starting position. - - - - Serializes some records before main page setup block. - - OffsetArrayList to serialize into. - - - - Fills internal guts record with information from Rows - and ColumnInfo records. - - - - - Initialize collections. - - - - - Converts cell range to 3d Range name. - - cell range. - 3d range name. - - - - Parses print area expression. - - Value representing print area. - - - - Parses column print title string and makes appropriate changes to default title named range. - - Column print title string to set. - - - - Parses row print title string and makes appropriate changes to default title named range. - - Row print title string to set. - - - - Extracts print area string. - - Print area string. - - - - Extracts row or column print title from default title named range. - - Defines which print title must be extracted. - Row/column print title string. - - - - Returns global address without sheet name. - - Formula token. - Global address without sheet name. - - - - Creates copy of the current instance. - - Parent for the new instance. - A clone of the current instance. - - - - True if cell gridlines are printed on the page. Applies only to - worksheets. Read/write Boolean. - - - - - True if row and column headings are printed with this page. Applies - only to worksheets. Read/write Boolean. - - - - - Returns or sets the range to be printed, as a string using A1-style - references in the language of the macro. Read/write String. - - - - - Returns or sets the columns that contain the cells to be repeated - on the left side of each page, as a string in A1-style notation - in the language of the macro. Read/write String. - - - - - Returns or sets the rows that contain the cells to be repeated at - the top of each page, as a string in A1-style notation in the - language of the macro. Read/write String. - - - - - Indicates whether fit to page mode is selected. - - - - - Indicates whether summary rows will appear below detail in outlines. - - - - - Indicates whether summary columns will appear right of the detail in outlines. - - - - - Gets / sets default row height. - - - - - Gets / sets default row height option flag. - - - - - Gets / sets relation id to the printer settings part. - - - - - Returns parent worksheet. Read-only. - - - - - - - - - - Gets or sets the old value. - - The old value. - - - - Gets or sets the new value. - - The new value. - - - - Gets or sets the range. - - The range. - - - - Summary description for RangeRichTextString. - - - - - Represents rich text string in the workbook. - - - - - Zero character. - - - - - Low level text object. - - - - - Represents the RTF string - - - - - Parent workbook. - - - - - Indicates whether string is read-only. - - - - - Represents the parent RTF object. - - - - - All digits without zero. - - - - - - - - - - Default font index. - - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - Indicates whether to create inner TextWithFormat. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - Indicates whether to create inner TextWithFormat. - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Indicates whether string is read-only. - >Indicates whether to create inner TextWithFormat. - Logger information for AutoShapes - - - - Initializes new instance of the RichTextString. - - Application object for the RichTextString. - Parent object for the RichTextString. - Text to wrap. - - - - Searches for all necessary parent objects. - - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Clears string formatting. - - - - - Appends rich text string with specified text and font. - - Text to append. - Font to use. - - - - Appends the text. - - text to append. - - - - Updates the RTF font. - - - - - Returns font index at the specified position. - - Character index. - Font index. - - - - Returns font by its index. - - Font index. - Font that corresponds to the specified index. - - - - This method is called before any changes made to the rich text string. - - - - - This method is called after any changes made to the rich text string. - - - - - Copies data from another rich text string. - - String to copy data from. - Dictionary with updated font indexes. - - - - Parse rich text string. - - TextWithFormat to parse. - Dictionary with updated font indexes. - Parse options. - - - - Creates a copy of the current object. - - Parent object for the new object. - A copy of the current object. - - - - Clears string and formatting. - - - - - Adds font to all required collections.. - - Font to add. - Font index in the collection. - - - - Sets internal text object that stores rtf string. - - New value for the text object. - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Returns size of the string part. - - Start position. - End position. - Size of the string part. - - - - Generates text in rtf format. - - Generated text. - - - - Generates text in rtf format. - - Generated text. - - - - Writes formatting run with corresponding text into writer. - - Writer to write text and formatting into. - Index of the formatting run. - First character in the text range. - End position of the text range. - - - - Writes formatting run with corresponding text into writer. - - Writer to write text and formatting into. - Index of the formatting run. - First character in the text range. - End position of the text range. - - - - Adds all used fonts to the rtf text writer. - - RtfTextWriter to write into. - - - - Adds all used fonts to the rtf text writer. - - RtfTextWriter to write into. - - - - Adds single font to the fonts table. - - Font to add. - RtfTextWriter to write into. - - - - Writes text into RtfTextWriter. - - RtfTextWriter to write into. - Font index. - Text value. - - - - Writes text into RtfTextWriter. - - RtfTextWriter to write into. - Font index. - Text value. - - - - Gets / sets text of the string. - - - - - Returns text in rtf format. Read-only. - - - - - Indicates whether rich text string has formatting runs. Read-only. - - - - - Returns parent object. Read-only. - - - - - Returns parent application object. Read-only. - - - - - Returns size of the string. Read-only. - - - - - Returns default font. Read-only. - - - - - Returns text object. Read-only. - - - - - Returns parent workbook. Read-only. - - - - - Gets / sets default font index. - - - - - Gets or sets the image RTF. - - The image RTF. - - - - Interface for Rich text string wrapper. - - - - - Parent worksheet. - - - - - Cell index. - - - - - - - - - - - - - - - - - - Cell index. - - - - - - - - Cell index. - Formatted text object. - - - - This method is called before any changes made to the rich text string. - - - - - This method is called after any changes made to the rich text string. - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Returns default font. Read-only. - - - - - Returns index of the string. - - - - - - - - - - Parent range. - - - - - Represents an RTF string. - - - - - Private constructor - to prevent user from creating instances without arguments. - - - - - Creates new instance of the RTFStringArray. - - Parent range. - - - - Returns font which is applied to character at the specified position. - - Character index. - Font which is applied to character at the specified position. - - - - Sets font for range of characters. - - First character of the range. - Last character of the range. - Font to set. - - - - Clears string formatting. - - - - - Appends rich text string with specified text and font. - - Text to append. - Font to use. - - - - - - - - - - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - - - - - - Gets / sets text of the string. - - - - - Returns text in rtf format. Read-only. - - - - - Indicates whether rich text string has formatting runs. Read-only. - - - - - Application object for this object. - - - - - Parent object for this object. - - - - - - - - - - Parent range. - - - - - Represents an RTF string. - - - - - - - - - - - - Returns font for character at specified position. - - Position of the symbol. - - Font for character at specified position if it is equal for all - cells in the parent range, otherwise NULL is returned. - - - - - Sets font for specified range of characters. - - First character to set font. - Last character to set. - Font to set. - - - - Clears formatting. - - - - - Appends rich text string with specified text and font. - - Text to append. - Font to use. - - - - Clears text and formatting. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether rich text string has formatting runs. Read-only. - - - - - - - - - - Maximum number of rectangles after split. - - - - - Cell ranges list. - - - - - Default constructor. - - - - - Creates new instance of current class. - - Cell ranges list. - - - - Indicates whether collection contains all specified ranges. - - Ranges to check. - True if collection contains all specified ranges. - - - - Indicates whether collection contains all specified ranges. - - Ranges to check. - Start index in the internal ranges collection to search from. - True if collection contains all specified ranges. - - - - Indicates whether collection contains all specified ranges. - - Ranges to check. - True if collection contains all specified ranges. - - - - Indicates whether collection contains all specified ranges. - - Ranges to check. - Start index in the internal ranges collection to search from. - True if collection contains all specified ranges. - - - - Indicates whether collection contains specified range. - - Range to check. - True if collection contains specified range. - - - - Indicates whether collection contains specified range. - - Range to check. - Start index in the internal ranges collection to search from. - True if collection contains specified range. - - - - Returns contains count for specified range. - - Range to check. - Contains count - - - - Adds cells from the collection. - - Cells to add to the collection. - - - - Adds cells from the collection. - - Cells to add to the collection. - - - - Adds range to the collection. - - Range to add. - - - - Adds new cell range to the collection. - - Range to add. - - - - Clears internal list. - - - - - Gets part of the cells. - - Rectangle to get new collection for. - Indicates whether to remove cells from the collection. - Number of rows to add to each resulting rectangle. - Number of columns to add to each resulting rectangle. - - - - - Checks whether ranges can be merged. - - Range to add to. - Range to add. - True if operation succeeded. - - - - Removes range from the collection of conditional formats. - - Array of ranges to remove. - - - - Creates copy of the current object. - - Copy of the current object. - - - - Removes rectangle from the collection. - - Rectangle to remove. - Index after last element that should be checked. - - - - Splits rectangle into several parts after remove specified rectangle. - - Rectangle to split. - Rectangle to remove. - List with splitted rectangle. - - - - Gets / sets list of the cells. - - - - - This class contains stores true/false/undefined values for ranges. - - - - - Object that contains ranges with value equal to true. - - - - - Object that contains ranges with value equal to false. - - - - - Returns value for the range object. - - Range to get information about. - Value for the range. - - - - Sets property value for the range. - - Range to set value for. - Value to set. - - - - Clears all ranges. - - - - - Stores created Biff records and allows to get specific record. - - - - - Dictionary with Biff records. Key - Biff record type value. - - - - - Initializes new instance. - - - - - Returns Biff record filled with speciffic values. - - Object that provides access to the data. - Offset to the record's start. - Excel version used for infill. - Extracted record. - - - - Returns empty Biff record. - - Biff record type. - Extracted record. - - - - Class wich reads Rich Text. - - - - - Represents the font characterset. - - - - - Represents the string seperator. - - - - - Represents the control word start. - - - - - Represents the para end without the properties. - - - - - Represents the font index. - - - - - Font size in half-points (the default is 24). - - - - - Represents font bold attribute - - - - - Represents font italic attribute - - - - - Represents the tab character. - - - - - Represents the Foreground color (default is 0). - - - - - Represents the para end with properties. - - - - - Represents the para end with properties. - - - - - Represents the para end with properties. - - - - - Continuous underline. \ul0 turns off all underlining. - - - - - Continuous underline with italics font attribute - - - - - Stops underlining. - - - - - Represents the text strike through. - - - - - Subscripts text and shrinks point size according to font information. - - - - - Turns off superscripting or subscripting. - - - - - Superscripts text and shrinks point size according to font information. - - - - - Marks a destination whose text should be ignored. - - - - - Represents the Red color. - - - - - Represents the Green color. - - - - - Represents the blue color. - - - - - Represents paragraph center - - - - - Represents paragraph justify - - - - - Represents paragraph left - - - - - Represents paragraph right - - - - - Represents language - - - - - Represents open curly braces - - - - - Represents close curly braces - - - - - Represents single quotation - - - - - Represents unicode character - - - - - Represents Default Code Page - - - - - Represents the Application. - - - - - Dictionary of Colors table. - - - - - Entire Rtf Text. - - - - - Represents the font Dictionary. - - - - - Index of the RTF Text. - - - - - Represents the workbook. - - - - - Represents the current Font Index. - - - - - Represents the Rtf Text. - - - - - Represents the WorksheetImpl. - - - - - Represents the Range to store the RTF Text. - - - - - Represents the RichTextString class Object. - - - - - Represents the Index of RTF string. - - - - - Intializes the RichTextReader Members. - - sheet. - - - - Finds the color. - - Color of the find. - - - - - Parses this instance. - - - - - Parses the color table. - - - - - Parses the content. - - - - - Parses the control word. - - - - - Appends RTF string - - RTF string - - - - Appends extended characters to rtf string - - String Array - - - - Parses the font table. - - - - - Parses the number. - - The num text. - - - - - Sets the RTF. - - The row. - The column. - The text. - - - - Sets the RTF. - - The text. - - - - Creates rich text string. - - - - - Parses Accented character - - - - - - - - Seperate Token keyword from the token Value - - - - - - - Determines whether current code page is single byte encoding. - - - true if [is single byte]; otherwise, false. - - - - - Get the code page for the current Font character set - - - - - - Determine Whether the code page is supported for Encoding - - - - - - - Get the code page is supported for Encoding - - - - - - - Get's or set's the Default code page of the document - - - - - Class used for optimized row height evaluation. - - - - - List with height of the rows. - - - - - Method used to get size of the measured items. - - - - - Initializes new instance of the class. - - Delegate used to get size of the items. - - - - Returns height of all rows starting from the first one and finishing specified row. - - One-based row index. - Sum of height of all rows till rowIndex (included). - - - - Gets size starting from rowStart and ending rowEnd (both included). - - Index of the first item to measure. - Index of the last item to measure. - Total size starting from rowStart and ending rowEnd (both included). - - - - Evaluates size of the specified item. - - Item's index. - Size of the specified item. - - - - Delegate used to get size of the single object by its index. - - Item's index to get size for. - Size of the specified item. - - - - This interface is used to perform some action on demand. - - - - - Performs required operation. - - - - - Parent worksheet. - - - - - Index of the remove row operation. - - - - - Number of rows to remove. - - - - - Initializes new instance of the class. - - Parent worksheet. - Index of the remove row operation. - Number of rows being removed. - - - - Clears necessary rows. - - - - - Rtf text writer used for converting rtf string into rtf format. - - - - - 0 - font index, - 1 - charset, - 2 - font name. - - - - - Font attribute. - - - - - 0 - red component (0-255), - 1 - green, - 2 - blue. - - - - - Underline tags. - - - - - Strike through tags. - - - - - Other tags. - - - - - Array list with all used colors. - - - - - Fonts dictionary. Font - to - font index. - - - - - Colors dictionary. Color - to - color index. - - - - - Indicates whether formatting is enabled. - - - - - Inner text writer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the image RTF. - - The RTF. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns string that implement current object. - - Returns string that implement current object. - - - - Writes a bool to the text stream. - - Bool param to write. - - - - Writes a character to the text stream. - - Char value to write. - - - - Writes a array of characters to the text stream. - - Array param to write. - - - - Writes a double to the text stream. - - Double param to write. - - - - Writes a int value to the text stream. - - Int value to write. - - - - Writes a long value to the text stream. - - Long value to write. - - - - Writes a object to the text stream. - - Object value to write. - - - - Writes a float value to the text stream. - - Float value to write. - - - - Writes a string to the text stream. - - String to write. - - - - Writes a uint value to the text stream. - - Uint value to write. - - - - Writes out a formatted string, using the same semantics as String.Format. - - The formatting string. - An object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as String.Format. - - The formatting string. - The object array to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as String.Format. - - The formatting string. - An object to write into the formatted string. - An object to write into the formatted string. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes a line terminator to the text stream. - - - - - Writes the text representation of a Boolean followed by a line - terminator to the text stream. - - The Boolean to write. - - - - Writes a character followed by a line terminator to the text stream. - - The character to write to the text stream. - - - - Writes an array of characters followed by a line terminator to the text stream. - - The character array from which data is read. - - - - Writes the text representation of a 8-byte floating-point value followed - by a line terminator to the text stream. - - The 8-byte floating-point value to write. - - - - Writes the text representation of a 4-byte signed integer - followed by a line terminator to the text stream. - - The 4-byte signed integer to write. - - - - Writes the text representation of an 8-byte signed - integer followed by a line terminator to the text stream. - - The 8-byte signed integer to write. - - - - Writes the text representation of an object by calling - ToString on this object, followed by a line terminator to the text stream. - - The object to write. - - - - Writes the text representation of a 4-byte floating-point - value followed by a line terminator to the text stream. - - The 4-byte floating-point value to write. - - - - Writes a string followed by a line terminator to the text stream. - - The string to write. - - - - Writes the text representation of a 4-byte unsigned integer followed - by a line terminator to the text stream. - - The 4-byte unsigned integer to write. - - - - Writes out a formatted string and a new line, using the same semantics as Format. - - The formatting string. - The object array to write into format string. - - - - Writes out a formatted string and a new line, using the same semantics as Format. - - The formatted string. - The object to write into the formatted string. - - - - Writes out a formatted string and a new line, using the same semantics as Format. - - The formatting string. - The object to write into the format string. - The object to write into the format string. - - - - Writes a subarray of characters followed by a line terminator to the text stream. - - The character array from which data is read. - The index into buffer at which to begin reading. - The maximum number of characters to write. - - - - Adds new font to the collection. - - Font to add. - Index of the font. - - - - Adds color to the colors table. - - - - - - - Writes fonts table into inner text writer. - - - - - Writes colors table into inner text writer. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Writes the image text. - - The font. - The STR text. - The image. - The align. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Writes the alignment. - - The alignment. - - - - - - - - - Returns current Encoding. - - - - - \ul Continuous underline. \ul0 turns off all underlining. - \ulcN Underline color - \uld Dotted underline. - \uldash Dash underline. - \uldashd Dash dot underline. - \uldashdd Dash dot dot underline. - \uldb Double underline. - \ulhwave Heavy wave underline - \ulldash Long dash underline - \ulnone Stops all underlining. - \ulth Thick underline - \ulthd Thick dotted underline - \ulthdash Thick dash underline - \ulthdashd Thick dash dot underline - \ulthdashdd Thick dash dot dot underline - \ulthldash Thick long dash underline - \ululdbwave Double wave underline - \ulw Word underline. - \ulwave Wave underline. - - Elements order is very important. - - - - - Continuous underline. - - - - - Turns off all underlining. - - - - - Dotted underline. - - - - - Dash underline. - - - - - Dash dot underline. - - - - - Dash dot dot underline. - - - - - Double underline. - - - - - Heavy wave underline. - - - - - Long dash underline. - - - - - Stops all underlining. - - - - - Thick underline. - - - - - Thick dotted underline. - - - - - Thick dash underline. - - - - - Thick dash dot underline. - - - - - Thick dash dot dot underline. - - - - - Thick long dash underline. - - - - - Double wave underline. - - - - - Word underline. - - - - - Wave underline. - - - - - Elements order is very important. - - - - - Single is on. - - - - - Single is off. - - - - - Double is on. - - - - - Double is off. - - - - - Elements order is very important. - - - - - Font table begins. - - - - - Font table ends. - - - - - Color table starts. - - - - - Color table ends. - - - - - Bold on. - - - - - Bold off. - - - - - Italic on. - - - - - Italic off. - - - - - Rtf begins. - - - - - Rtf ends. - - - - - Group starts. - - - - - Group ends. - - - - - End of line. - - - - - Foreground color. - - - - - Background color. - - - - - Subscript. - - - - - SuperScribt. - - - - - The Shadow record defines the Shadow properties and - the 3D features(bevel top and bevel bottom),Lignting and - Material properties - - - - - NoShadow=0 - OffsetRight=1 - OffsetDiagonalBottomRight=2 - OffsetBottom=3 - OffsetDiagonalTopLeft=4 - OffsetCenter=5 - OffsetTop=6 - OffsetLeft=7 - OffsetDiagonalTopRight=8 - OffsetDiagonalBottomLeft=9 - - - - - NoShadow=0 - InsideDiagonalBottomLeft=1 - InsideTop=2 - InsideRight=3 - InsideLeft=4 - InsideDiagonalTopRight=5 - InsideDiagonalBottomRight=6 - InsideCenter=7 - InsideBottom=8 - InsideDiagonalTopLeft=9 - - - - - NoShadow=0, - PrespectiveDiagonalUpperRight=1, - PrespectiveDiagonalLowerRight=2, - PrespectiveDiagonalUpperLeft=3, - PrespectiveDiagonalLowerLeft=4, - Below=5 - - - - - NoAngle=0, - Angle=1, - ArtDeco=2, - Circle=3, - Convex=4, - CoolSlant=5, - Cross=6, - Divot=7, - HardEdge=8, - RelaxedInset=9, - Riblet=10, - Slope=11, - SoftRound=12 - - - - - NoEffect=0, - Matte=1, - WarmMatte=2, - Plastic=3, - Metal=4, - DarkEdge=5, - SoftEdge=6, - Flat=7, - WireFrame=8, - Powder=9, - TranslucentPowder=10, - Clear=11 - - - - - ThreePoint=0, - Balance=1, - BrightRoom=2, - Chilly=3, - Contrasting=4, - Flat=5, - Flood=6, - Freezing=7, - Glow=8, - Harsh=9, - Morning=10, - Soft=11, - Sunrise=12, - SunSet=13, - TwoPoint=14 - - - - - Gets or sets the shadow outer presets. - - The shadow outer presets. - - - - Gets or sets the shadow inner presets. - - The shadow inner presets. - - - - Gets or sets the shadow prespective presets. - - The shadow prespective presets. - - - - Gets or sets the material. - - The material. - - - - Gets or sets the lighting. - - The lighting. - - - - Gets or sets the bevel top. - - The bevel top. - - - - Gets or sets the bevel bottom. - - The bevel bottom. - - - - Represents chart shadow object - - - - - Represents the shadow formatting properties of the chart. - - - - - Customize the outer shadow styles. - - The Office2007ChartPresetsOuter enumeration. - Transparency of the Shadow accepts the values between(0-100). - Size of the Shadow accepts the values between(0-200). - Blur level of the Shadow accepts the values between(0-100). - Angle or Direction of the Shadow accepts the values between(0-359). - Distance of the Shadow accepts the values between(0-200). - if set to true [custom shadow style]. - - - - Customize the inner shadow styles. - - The Office2007ChartPresetsInner enumeration. - Transparency of the Shadow accepts the values between(0-100). - Blur level of the Shadow accepts the values between(0-100). - Angle or Direction of the Shadow accepts the values between(0-359). - Distance of the Shadow accepts the values between(0-200). - if set to true [custom shadow style]. - - - - Customize the perspective shadow styles. - - The Excel2007ChartPresetsPerspective enumeration. - Transparency of the Shadow accepts the values between(0-100). - Size of the Shadow accepts the values between(0-200). - Blur level of the Shadow accepts the values between(0-100). - Angle or Direction of the Shadow accepts the values between(0-359). - Distance of the Shadow accepts the values between(0-200). - if set to true [i custom shadow style]. - - - - Gets or sets the shadow outer presets. - - The shadow outer presets. - - - - Gets or sets the shadow inner presets. - - The shadow inner presets. - - - - Gets or sets the shadow perspective presets. - - The shadow perspective presets. - - - - Gets or sets a value indicating whether this instance has custom shadow style. - - - True if this instance has custom shadow style; otherwise, False. - - - - - Gets or sets the transparency of Shadow. - - The transparency. - - - - Gets or sets the size of the Shadow. - - The size. - - - - Gets or sets the blur of the Shadow. - - The blur. - - - - Gets or sets the angle of the Shadow. - - The angle. - - - - Gets or sets the distance of the Shadow. - - The distance. - - - - Gets or sets the color of the shadow. - - The color of the shadow. - - - - Class used for Shadowformat Implementation - - - - - Object of WorkbookImpl - - - - - Indicates whether customshadowstyle is set or not - - - - - Represents the Transparency of the Shadow,the values are between(0-100) - - - - - Represents the Size of the Shadow,the values are between(0-200) - - - - - Represents the Blurradius of the Shadow,the values are between(0-100) - - - - - Object of ChartMarkerFormatRecord to get Shadow color - - - - - Represents the Direction of the Shadow,the values are between(0-359) - - - - - Represents the Distance of the Shadow,the values are between(0-200) - - - - - Represents the Shadow Color - - - - - Creates the shadow and sets its Application and Parent - properties to specified values. - - Application object for the shadow. - Parent object for the shadow. - - - - Initializes the colors. - - - - - Shadows the color changed. - - - - - Searches for all necessary parent objects. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - - A new object that is a copy of this instance. - - - - - Clone current Record. - - Parent object. - Returns clone of current object. - - - - Customize the outer shadow styles. - - - - - - - - - - - Customize the inner shadow styles. - - - - - - - - - - Customize the perspective shadow styles. - - - - - - - - - - - Gets the shadow format. - - The shadow format. - - - - Gets or sets the shadow outer presets. - - The shadow outer presets. - - - - Gets or sets the shadow inner presets. - - The shadow inner presets. - - - - Gets or sets a value indicating whether this instance has custom shadow style. - - - true if this instance has custom shadow style; otherwise, false. - - - - - Gets or sets the shadow prespective presets. - - The shadow prespective presets. - - - - Gets or sets the transparency of Shadow. - - The transparency. - - - - Gets / sets color of this shadow. - - - - - Gets or sets the size of Shadow. - - The size. - - - - Gets or sets the blur of Shadow. - - The blur. - - - - Gets or sets the angle of Shadow. - - The angle. - - - - Gets or sets the distance of Shadow. - - The distance. - - - - This class is used to get shapes collection from a worksheet. - - - - - Default constructor. - - - - - Returns a shape collection from the worksheet. - - Worksheet to return sheet data for. - A shape collection from the worksheet. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Class used for Bitmap shape implementation. - - - - - Class used for Shape Implementation. - - - - - Represents a shape. - - - - - Removes this shape from shapes collection. - - - - - Scales the shape. - - Width scale in percents. - Height scale in percents. - - - - Height of the shape. - - - - - Shape id. - - - - - Left position of the shape. - - - - - Name of the shape. - - - - - Top position of the shape. - - - - - Width of the shape. - - - - - Shape type. - - - - - Indicates whether shape is visible. - - - - - Alternative text. - - - - - Indicates whether shape must be moved with cells. - - - - - Indicates whether shape must be sized with cells. - - - - - Represents fill properties. Read-only. - - - - - Represents line format properties. Read-only. - - - - - Gets or sets macro associated with this shape - - - - - Returns or sets the rotation of the shape, in degrees. - - - - - Represents alpha constant, that represents index in ExcelKnownColors structures. - - - - - Value of SizeTextToFitShape option when it is set to false. - - - - - Value of SizeTextToFitShape option when it is set to true. - - - - - Value of NoFillHitTest option. - - - - - Offset for full column. - - - - - Offset for full row. - - - - - Represents default line weight. - - - - - Represents default transparency mull. - - - - - Represents default transparency mull multiplied by 100. - - - - - Represents default line weight mull. - - - - - Default foreground color. - - - - - Default background color. - - - - - Represents default parent types. - - - - - Fill options. - - - - - Indicates if this shape support shape color-line options. - - - - - Name of the shape. - - - - - Alternative text. - - - - - Shape's record. - - - - - Parent workbook for the shape. - - - - - Type of the shape. - - - - - Shape record. - - - - - Client anchor record. - - - - - Parent shapes collection. - - - - - OBJ record. - - - - - Shape's options. - - - - - Absolute coordinates of the shape in pixels. - - - - - Represents fill properties. - - - - - Represents shape line format. - - - - - Indicates is parse or serialize Line fill properties. - - - - - This object contains not parsed xml data. - - - - - This object contains not parsed type stream data. - - - - - Preserved relation to the image. - - - - - Preserved relation id. - - - - - Indicates whether we have to update absolute positions after setting TopRow, - BottomRow, LeftColumn, RightColumn. - - - - - Indicates whether shape is vml shape or not. - - - - - Id of this shape. - - - - - Tokens containing reference to the associated macro. - - - - - Visibility of the shape. - - - - - Represents Shadow - - - - - Represents the 3D features - - - - - Represens the Child Shapes in the Group. - - - - - Child Client anchor record. - - - - - Preserves the Style properties. - - - - - Preserves the Style properties as string value. - - - - - Indicates the whether the shape has the borders. - - - - - Stream to preserve the Slicers graphic frame - - - - - Anchor type - - - - - Serialize FOPTE structure. - - Parent collection. - Structure id to serialize. - Array of byte - main byte of structure. - - - - Serialize FOPTE structure. - - Parent collection. - Structure id to serialize. - Array of byte - main byte of structure. - Represents additional data. - Represents if valid - - - - Serialize FOPTE structure. - - Parent collection. - Structure id to serialize. - Represents UInt value of structure. - - - - Serialize FOPTE structure. - - Parent collection. - Structure id to serialize. - Represents int value of structure. - Represents additional data. - Represents if valid - - - - Indicates whether text frame should be autosized. - - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Current object to clone. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Array of records that contains the record for new shape. - Index of the records for new shape. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Shape container record that describes the new shape. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Shape container record that describes the new shape. - Parse options. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Record that describes the new shape. - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Record that describes the new shape. - Parse options. - - - - Creates default fill and line formatting options. - - - - - Parses shape container record. - - - - - Parses shape container record. - - Parse options. - - - - Parses client data record. - - Record to parse. - Parse options. - - - - Parses all unknown records (should be overridden in child classes). - - Record to parse. - Parse options. - - - - Parses options. - - Options to parse. - - - - Parses fill options. - - Represents single fill option - Returns true if parsed correctly. - - - - Parses option record. - - Record to parse. - Value indicating fill option. - - - - Parses shape record. - - Record to parse. - - - - Parses client anchor record. - - Record to parse. - - - - Searches for all necessary parent objects. - - - - - Raises events. - - - - - Suppress events. - - - - - Parses shape group record. - - Record to parse. - - - - Parses shape group container. - - Container to parse. - - - - Parses child anchor record. - - Record to parse. - - - - Converts option value to color. - - Option to convert. - Corresponding color value. - - - - Gets single byte by index for forte structure. - - Represents current FORTE structure. - Byte index. - Returns single byte by index. - - - - Extracts shape name from option. - - Option that contains shape name. - Name extracted. - - - - Extracts all necessary option. - - Represents option holder. - - - - Extract necessary option. - - Option to extract. - Value indicating extracted option. - - - - Removes this shape from the collection. - - - - - Scales the shape. - - Width scale in percent. - Height scale in percent. - - - - Detaches events and disposes current object. - - - - - Serializes shape into shape group container. - - Shape group container that will receive shape data. - - - - Serializes shape into shape group container. - - Shape group container that will receive shape data. - - - - Serializes shape record (MsofbtSp) into shape group container. - - Shape group container that will receive shape data. - - - - Serializes shape record (MsofbtSp) into shape group container. - - Shape group container that will receive shape data. - - - - Serializes mso options. - - Represents mso container. - - - - Serialize mso options. - - Represents option record. - Returns option record, initialized by option values. - - - - Serialize transparency option. - - Represents option storage. - Transparency value. - - - - Serializes shape's options. - - Parent record for options record. - Options record. - - - - Serializes SizeTextToFitShape option. - - MsofbtOPT record to which text ID will be added. - - If options argument is NULL. - - - - - Serializes HitTest option. - - MsofbtOPT record to which text ID will be added. - - If options argument is NULL. - - - - - Serialize shape's options. - - Options record. - Option ID. - Option value. - - - - Serialize shape's options. - - Options record. - Option ID. - Option value. - Record with option. - - - - Serialize shape's options sorted by option id. - - Options record. - Option ID. - Option value. - - - - Serializes shape name. - - Option holder. - - - - Serializes shape name. - - Options object to store name in. - Option id to store name in. - Name to serialize. - - - - Create default shape options. - - Record with option. - - - - Sets all fill fopte structure to default value. - - Represents option holder. - - - - Serialize comment shadow. - - Represents option holder. - - - - Generates default shape name and sets it. - - - - - This method is called when removing shapes from the collection. - - - - - Sets object with value. - - Value to be set. - - - - Creates a clone of the current shape and adds it to the parent shapes collection. - - New parent for the shape object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Indicates whether we should add created - shape into all necessary parent collections. - A copy of the current shape. - - - - Creates a clone of the current shape. - - New parent for the shape object. - A copy of the current shape. - - - - Copies settings from another shape object. - - Shape to copy settings from. - Dictionary with new worksheet names. - Dictionary with new font indexes. - - - - Checks whether it is possible insert row or column into iIndex. - - Index of row or column to insert. - Number of rows or columns to insert. - Indicates whether rows or columns are inserted. - Maximum possible index. - True if it is possible to insert row or column. - - - - Returns lower bound of the shape. - - Indicates whether lower row or lower column must be returned. - Lower bound of the shape. - - - - Returns upper bound of the shape. - - Indicates whether upper row or upper column must be returned. - Upper bound of the shape. - - - - Removes row or column. - - Index of row or column to remove. - Number of rows or columns to remove. - Indicates whether rows or columns are removed. - - - - This method should be called after rows or columns were inserted. - - Index of row or column to insert. - Number of rows or columns to insert. - Indicates whether rows or columns are inserted. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Sets shape name without updating parent shapes collection. - - Name to set. - - - - Registers shape in all required sub collections. - - - - - Indicates is can copy current shape. - - Represents source range dimension. - Represents destination range dimension. - Gets new position of shape. - Returns true if can copy; otherwise - false. - - - - Copies / moves shape in range copy / move. - - Represents destination sheet. - Represents position of . - Indicates is copy. - Returns copied moved shape. - - - - Copy comments options. - - Represents source shape. - Represents dictionary with font indexes. - - - - Prepares shape for serialization. We should fill all not prepared fields - like m_shape in this method. - - - - - This method is called inside of PrepareForSerialization to make shape-dependent preparations. - - - - - Updates macro information. - - - - - Sets instance value for the shape. - - Instance to set. - - - - Sets option with value. - - Represents shape option. - Represents value to be set. - - - - Updates indexes to named ranges. - - New indexes. - - - - Updates indexes to named ranges. - - New indexes. - - - - Updates left column and offset values correspondingly - to X-coordinate changes. - - - - - Clears the Shape Offsets. - - Clears the offset if True. - - - - Updates right column and offset values correspondingly - to left column or offset or width changes. - - - - - Updates top row and offset values correspondingly - to Y-coordinate changes. - - - - - Updates bottom row of the shape. - - - - - Updates width of the shape. - - - - - Updates Height of the shape. - - - - - Converts offset value into pixels. - - Width of row or column. - Offset in row or column. - Indicates whether it is column offset. - Offset value in pixels. - - - - Converts pixels into offset value. - - Index to the current row or column. - Size in pixels. - Indicates whether iCurRowColumn is column index should. - Size of the row / column in pixels. - - - - Returns width of the area. - - Column index. - Column offset. - Second column index. - Offset in the second column. - Indicates whether offsets are in pixels. - Width in pixels of the specified area. - - - - Returns height of the specified area. - - The first row. - Offset in the first row. - The second row. - Offset in the second row. - Indicates whether offsets are in pixels. - Height in pixels of the specified area. - - - - Converts width offset into pixels and checks if it is out of range. - - Width of the target column. - Offset in the target column. - - Indicates whether offset is in pixels (True) or in the units - relative to width of the column (False). - - Offset in pixels. - - If resulting offset is more that column width. - - - - - Converts width offset into pixels and checks if it is out of range. - - Height of the target row. - Offset in the target row. - - Indicates whether offset is in pixels (True) or in the units - relative to height of the row (False). - - Offset in pixels. - - If resulting offset is more than row height. - - - - - Converts pixels into column width offset. - - Represents pixel. - Width of the target column. - Value in column width. - - - - Converts pixels into height offset. - - Pixels to convert. - Represents target row height. - Offset in terms of Row height. - - - - Evaluates top left position of the shape. - - - - - Evaluates left position. - - - - - Evaluates Right Position. - - - - - Evaluates top position. - - - - - Sets client anchor record. - - Represents anchor. - - - - This method is called when left column was changed. - - - - - This method is called when top row was changed. - - - - - Indicates whether specified row / column index is before shape. - - Row / column index. - Indicates whether it is row or column index. - True if specified row / column index is before shape. - - - - Indicates whether specified row / column index is in the middle of the shape. - - Row / column index. - Indicates whether it is row or column index. - True if specified row / column index is before shape. - - - - Indicates whether it is last row or column index - - Row / column index. - Indicates whether it is row or column index. - Value indicating whether it is last row or column index. - - - - Increases and updates both begin and end of the shape. - - Number of inserted rows / columns. - Indicates whether rows where inserted. - - - - Increases and updates end of the shape. - - Number of inserted rows / columns. - Indicates whether rows where inserted. - - - - Gets count of rows \ columns that is above shape. - - Represents start index. - Represents count of rows \ columns. - Indicates is in row. - Returns count of rows \ columns above shape. - - - - Gets count of rows inside. - - Represents first index. - Represents count. - Indicates is row or column. - Returns count of inside. - - - - Indicates is when remove or insert use top\left row\column. - - Represents start index of remove \ insert. - Represents count. - Indicates is in row. - If true - use first row\column; otherwise - false. - - - - Updates row \ column indexes. - - Count to update. - Indicates is update row indexes or column. - - - - Updates first row/column indexes. - - Indicates is in row. - Represents count. - - - - Updates shape that include not size and not move flags. - - Indicates is row or column to update. - Row or column index. - Number of inserted/removed rows/column. - - - - Updates inside row/column indexes. - - Represents count. - Indicates is in row. - - - - Updates last row\column indexes. - - Indicates is row or column. - - - - Updates record. - - Represents client anchor. - - - - Parses line and fill objects. - - Options holder. - - - - Updates mso object. - - Represents mso object to update. - Returns true if updated otherwise - false. - - - - Clones line and fill objects. - - Shape to be cloned. - - - - Column width change event. - - Represents sender object - Represents value changed event. - - - - Leaves bottom right corner of the shape. - - - - - This method should be called after any change in font of "Normal" style. - - Event sender. - Event arguments. - - - - This method should be called after row height changes. - - Event sender. - Event arguments. - - - - Checks the Left Offset. - - - - - Gets or sets the height of the shape. - - - - - Gets Shape ID. - - - - - Gets the chart3 D properties. - - The chart3 D properties. - - - - Gets the shadow properties. - - The shadow properties. - - - - Gets or set x coordinate of upper left corner of shape. - - - - - Gets or sets name of the shape. - - - - - Gets or sets the Y coordinate of the shape - - - - - Gets or sets width of the shape. - - - - - Gets or sets shape type - - - - - Gets or set a value indicating whether shape is visible - - - - - Gets or sets alternative text of the shape - - - - - Gets or set a value indicating whether shape can move with cell - - - - - Gets or sets a value indicating whether shape can size with cell. - - - - - Represents fill properties. Read-only. - - - - - Represents line format properties. Read-only. - - - - - True if the size of the specified object is changed automatically - to fit text within its boundaries. Read/write Boolean. - - - - - Gets / sets xml data stream. - - - - - Gets or sets xml type stream. - - - - - Indicates whether this is vml shape or not. - - - - - Gets or sets macro-command that is called when action happens. - - - - - Returns or sets the rotation of the shape, in degrees. - - - - - - Returns a TextFrame object that contains the - alignment and anchoring properties for the specified shape. Read-only. - - - - - Stream to preserve the Slicers graphic frame - - - - - Indicates the whether the shape has the borders. - - - - - Parent workbook. Read-only. - - - - - Parent workbook. Read-only. - - - - - Parent shapes collection. Read-only. - - - - - Parent worksheet. Read-only. - - - - - OBJ record. Read-only. - - - - - Client anchor. Read-only. - - - - - Top row for the shape. - - - - - Left column for the shape. - - - - - Bottom row for the shape. - - - - - Right column for the shape. - - - - - Top row offset for the shape. - - - - - Left column offset for the shape. - - - - - Bottom row offset for the shape. - - - - - Right column offset for the shape. - - - - - Gets or sets object id. - - - - - Returns internal shapes record. Read-only. - - - - - Returns inner sp record. Read-only. - - - - - Indicates whether it is short version of the shape - (without obj and maybe some other properties). - - - - - Returns number of shapes contained by this shape (1 means no sub shapes). Read-only. - - - - - Indicates whether we have to update absolute positions after setting TopRow, - BottomRow, LeftColumn, RightColumn. - - - - - Returns instance value. Read-only. - - - - - Indicates whether fill item was created. Read-only. - - - - - Indicates whether line item was created. Read-only. - - - - - Gets / sets shape id. - - - - - Returns internal shape record, creates new one if necessary. Read-only. - - - - - Indicates whether this control is an ActiveX Control. - - - - - Preserves the Shape style properties. - - - - - Preserves the Shape style properties as string value. - - - - - We find the anchor type. - - - - - Gets shape options. - - - - - Represens the Child Shapes in the Group. - - - - - Child Client Anchor Record. - - - - - Instance field value for this shape. - - - - - Represents Blip id. - - - - - Name of the blip file. - - - - - Shape's picture (maybe should be moved to BitmapShape class). - - - - - Represents a bitmap image. - - - - - Stream that contains subnodes of the blip xml node in Excel 2007 format. - - - - - Stream that contains shape properties xml-tag in Excel 2007 format. - - - - - Stream that contains srcRect tag if shape was extracted from Excel 2007 file. - - - - - Macro name associated with this shape. - - - - - Refer in Open XML specification for more details: - TODO: Need to add support transparancy details. - - - - - Initializes a new instance of the BitmapShapeImpl class. - - Current application. - Parent object - - - - Initializes a new instance of the BitmapShapeImpl class. - - Current application. - Parent object. - Indicates is shape include options. False supports only for header / footer image. - - - - Initializes a new instance of the BitmapShapeImpl class. - - Current application. - Parent object. - Represents array of records. - Represent index. - - - - Initializes a new instance of the BitmapShapeImpl class. - - Current application. - Parent object. - Represents container. - - - - Checks Blip parse option. - - Represents option. - Value indicating parse option. - - - - Parses blip id option. - - Option to parse. - - - - Parses blip name option. - - Option to parse. - - - - Extract necessary option. - - Option to extract. - value indicating extracted option. - - - - Dispose object. - - - - - Serializes shape. - - Represents Spgr container - - - - This method is called inside of PrepareForSerialization to make shape-dependent preparations. - - - - - Serializes options if necessary. - - Low level shapes container. - - - - Serializes client anchor if necessary. - - Low level shapes container. - - - - Serializes client data if necessary. - - Low level shapes container. - - - - Registers shape in all required sub collections. - - - - - This method is called when shapes is deleted. - - - - - This method is called when shapes is deleted. - - Removes image that is referenced by this shape from collection too, - if we didn't detect image usage. XlsIO doesn't detect this situation correctly in all cases - if there are shapes in charts in Excel 2007 or if some image shapes are grouped in any excel version. - If you are not sure whether image is referenced in charts or grouped shapes and you are working with - Excel 2007 version, set this argument to true (this could cause file size increase, but will keep - document in the correct state). - - - - Removes shape from the collection. - - Removes image that is referenced by this shape from collection too, - if we didn't detect image usage. XlsIO doesn't detect this situation correctly in all cases - if there are shapes in charts in Excel 2007 or if some image shapes are grouped in any excel version. - If you are not sure whether image is referenced in charts or grouped shapes and you are working with - Excel 2007 version, set this argument to true (this could cause file size increase, but will keep - document in the correct state). - - - - Creates a clone of the current shape. - - New parent for the shape object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Indicates whether we should add created - shape into all necessary parent collections. This argument is ignored. - A copy of the current shape. - - - - Updates mso object. - - Represents mso object to update. - Returns true if updated otherwise - false. - - - - Generates default shape name and sets it. - - - - - Sets Blip id. - - new Blip id - - - - Used for internal purpose. - - - - - Gets or sets Blip file name - - - - - Gets or sets Blip id. - - - - - In and above MS Excel 2007 format, this value should be divided by - 1000 to get the left crop percentage of actual image size. - - - - - In and above MS Excel 2007 format, this value should be divided by - 1000 to get the right crop percentage of actual image size. - - - - - In and above MS Excel 2007 format, this value should be divided by - 1000 to get the bottom crop percentage of actual image size. - - - - - In and above MS Excel 2007 format, this value should be divided by - 1000 to get the top crop percentage of actual image size. - - - - - Gets or sets picture. - - - - - Gets or sets stream that contains subnodes of the blip xml node in Excel 2007 format. - - - - - Gets or sets Stream that contains shape properties xml-tag in Excel 2007 format. - - - - - Gets or sets stream that contains srcRect tag if shape was extracted from Excel 2007 file. - - - - - Returns instance value. Read-only. - - - - - Gets or sets macro name associated with this shape. - - - - - Class used for Chart Shapes. - - - - - Represents an Embedded Excel chart. [Chart embedded in a worksheet]. - - - - - Top row of the chart in the worksheet. - - - - - Bottom row of the chart in the worksheet. - - - - - Left column of the chart in the worksheet. - - - - - Right column of the chart in the worksheet. - - - - - Instance value of MsofbtSp record. - - - - - Version value of MsofbtSp record. - - - - - Version value of MsofbtOPT record. - - - - - Instance value of MsofbtOPT record. - - - - - Lock against grouping option value. - - - - - Value of LineColor option. - - - - - Value of NoLineDrawDash option. - - - - - Value of ShadowObscured option. - - - - - Fore color. - - - - - Back color. - - - - - Chart object. - - - - - Zero-based index of top row. - - - - - Zero-based index of bottom row. - - - - - Zero-based index of left column. - - - - - Zero-based index of right column. - - - - - Parent worksheet. - - - - - Initializes new instance of the shape. - - Application object for the new shape. - Parent object for the new shape. - Cloned object. - Dictionary with new names. - Dictionary with new font indexes. - - - - Initializes new instance of the chart shape. - - Application object for the new shape. - Parent object for the new shape. - - - - Initializes new instance of the chart shape. - - Application object for the new shape. - Parent object for the new shape. - Shape container record that describes new shape. - Flags to create. - - - - Sets the Worksheet data into the current chart. - - - - - Makes the current sheet the active sheet. Equivalent to clicking the - sheet's tab. - - - - - Selects current tab sheet. - - - - - Unselects current tab sheet. - - - - - Protects worksheet's content with password. - - Password to protect with. - - - - Protects current worksheet. - - Represents password to protect. - Represents params to protect. - - - - Unprotects worksheet's content with password. - - Password to unprotect. - - - - Method saves the chart as image. - - The stream to save the image. - - - - Creates a clone of the current shape. - - New parent for the shape object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Indicates whether we should add created - shape into all necessary parent collections. - A copy of the current shape. - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Registers shape in all required sub collections. - - - - - This method is called inside of PrepareForSerialization to make shape-dependent preparations. - - - - - Parses client data record. - - Record to parse. - Parse options. - - - - Parses shape group container. - - Group container. - - - - Parses client anchor record. - - Record to parse. - - - - Serializes options. - - Parent record for options. - Create options record. - - - - Creates default options. - - Created MsofbtOPT record. - - - - Searches for all parents - - - - - Converts chart shape into WorksheetBaseImpl. - - Shape to convert. - Converted object. - - - - Returns internal chart object. Read-only - - - - - Gets or sets the offset X - - - - - Gets or sets the offset Y - - - - - Gets or sets the extents of X - - - - - Gets or sets the extents of Y - - - - - Returns or sets the rotation of the 3-D chart view - (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees). - - - - - Represents the series name level - - - - - Represents the category name level - - - - - Represents the category collection - - - - - Returns or sets the elevation of the 3-D chart view, in degrees (�90 to +90 degrees). - - - - - Returns or sets the perspective for the 3-D chart view.( 0 - 100 ) - - - - - Returns or sets the height of a 3-D chart as a percentage of the chart width - (between 5 and 500 percent). - - - - - Returns or sets the depth of a 3-D chart as a percentage of the chart width - (between 20 and 2000 percent). - - - - - Returns or sets the distance between the data series in a 3-D chart, as a percentage of the marker width.( 0 - 500 ) - - - - - True if the chart axes are at right angles, independent of chart rotation or elevation. - - - - - True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.. - - - - - True if gridlines are drawn two-dimensionally on a 3-D chart. - - - - - Returns chart shapes. Read-only. - - - - - Gets or sets the type of the pivot chart. - - The type of the pivot chart. - - - - Gets or sets a value indicating whether [show all field buttons]. - - - true if [show all field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show value field buttons]. - - - true if [show value field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show axis field buttons]. - - - true if [show axis field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show legend field buttons]. - - - true if [show legend field buttons]; otherwise, false. - - - - - Gets or sets a value indicating whether [show report filter field buttons]. - - - true if [show report filter field buttons]; otherwise, false. - - - - - Type of the chart. - - - - - DataRange for the chart series. - - - - - True if series are in rows in DataRange; - otherwise False. - - - - - Title of the chart. - - - - - Gets title text area. Read-only. - - - - - Title of the category axis. - - - - - Title of the value axis. - - - - - Title of the secondary category axis. - - - - - Title of the secondary value axis. - - - - - Title of the series axis. - - - - - Page setup for the chart. Read-only. - - - - - X coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Y coordinate of the upper-left corner - of the chart in points (1/72 inch). - - - - - Width of the chart in points (1/72 inch). - - - - - Height of the chart in points (1/72 inch). - - - - - Collection of the all series of this chart. Read-only. - - - - - Returns primary category axis. Read-only. - - - - - Returns primary value axis. Read-only. - - - - - Returns primary series axis. Read-only. - - - - - Returns secondary category axis. Read-only. - - - - - Returns secondary value axis. Read-only. - - - - - Returns an object that represents the complete chart area for the chart. Read-only. - - - - - Returns plot area frame format. Read-only. - - - - - Returns chart format collection in primary axis. - - - - - Returns chart format collection in secondary axis. - - - - - Returns charts collection. Valid only for charts with own tab. - - - - - Gets / sets tab color. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Gets / sets tab color. - - - - - Represents chart walls. Read-only. - - - - - sidewall property.. - - - - - backwall property.. - - - - - Represents chart floor. Read-only. - - - - - Represents charts dataTable object. - - - - - Indicates whether tab of this sheet is selected. Read-only. - - - - - True if the chart has a data table. - - - - - True if the chart has a legend object. - - - - - Represents chart legend. - - - - - Indicates whether chart has plot area. - - - - - Returns index in the parent ITabSheets collection. Read-only. - - - - - Control visibility of worksheet to end user. - - - - - Represents the way that blank cells are plotted on a chart. - - - - - True if only visible cells are plotted. False if both visible and hidden cells are plotted. - - - - - True if Microsoft Excel resizes the chart to match the size of the chart sheet window. - False if the chart size isn't attached to the window size. Applies only to chart sheets. - - - - - Returns collection with all textboxes inside this worksheet. Read-only. - - - - - Gets code name of the chart. - - - - - Indicates is current sheet is protected. - - - - - True if objects are protected. Read-only. - - - - - True if the scenarios of the current sheet are protected. Read-only. - - - - - Gets protected options. Read-only. For sets protection options use "Protect" method. - - - - - Indicates if the worksheet is password protected. - - - - - Represents the Autoshape. - - - - - Extended the ShapeImpl class to support AutoShape. - - - - - Gets or set a value indicating whether shape can move with cell - - - - - Gets or sets a value indicating whether shape can size with cell. - - - - - Instantiates the ShapeExt with the Shape Type. - - Type of the AutoShape. - Represents the Worksheet object. - - - - Updates the shape id. - - - - - - Updates the Placement Value for the shape. - - - - - Gets the Extended ShapeImpl class to support AutoShape. - - - - - Represents the Text Frame. - - - - - - Represents the Shape's Description. - - - - - Represents the Shape's unique id. - - - - - Represents the name of the Shape. - - - - - Represents the BottomRow position of the Shape. - - - - - Represents the BottomRowOffset of the Shape. - - - - - Represents the Height of the shape. - - - - - Represents the Left position of the shape. - - - - - Represents the Left position of the shape. - - - - - Represents the Left column offset of the shape. - - - - - Represents the RightColumn of the Shape. - - - - - Represent the Right Column Offset of the shape. - - - - - Represents the Top position of the shape. - - - - - Represents the Top row of the shape. - - - - - Represents of the top row offset of the shape. - - - - - Represents the Shape width. - - - - - Represents the Shape Rotation. - - - - - Represents the fill. - - - - - Represents the Line Format. - - - - - Indicates whether the shape is hidden. - - - - - Represents the shape title. - - - - - Gets or set a value indicating whether shape can move with cell - - - - - Gets or sets a value indicating whether shape can size with cell. - - - - - Represents the size information of the shape. - - - - - Represents the Current worksheet instance. - - - - - Intializes the members. - - Current Worksheet object. - - - - Specifies the direction for text. - - - - - Indicates the text direction is horizontal - - - - - Indicates the text direction is RotateAllText90 - - - - - Indicates the text direction is RotateAllText270 - - - - - Indicates the text direction is StackedLeftToRight - - - - - Indicates the text direction is StackedRightToLeft - - - - - Specifies the horizontal alignment of text in a text frame. - - - - - Indicates the text is aligned left horizontally. - - - - - Indicates the text is aligned centered horizontally. - - - - - Indicates the text is aligned right horizontally. - - - - - Indicates the text is aligned left middly horizontally. - - - - - Indicates the text is aligned centered middle horizontally. - - - - - Indicates the text is aligned right middle horizontally. - - - - - Specifies the vertical alignment of text in a text frame. - - - - - Aligns text to top of text frame. - - - - - Centers text vertically. - - - - - Aligns text to bottom of text frame. - - - - - Anchors top of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. - - - - - Anchors center of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. - - - - - Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position. - - - - - Specifies the vertical overflow type for text - - - - - Indicates the vertical overflow type is OverFlow - - - - - Indicates the vertical overflow type is ellipsis - - - - - Indicates the vertical overflow type is clip - - - - - Specifies the horizontal overflow type for text - - - - - Indicates the horizontal overflow type is OverFlow - - - - - Indicates the horizontal overflow type is Clip - - - - - Extended the ShapeImp to add support for the Autoshape. - - - - - Returns a TextFrame object that contains the - alignment and anchoring properties for the specified shape. Read-only. - - - - - Returns the TextRange object that represents the text in the object. Read-only. - - - - - Text of the comment. Read-only. - - - - - Initializes variables. - - - - - Comment text. - - - - - This class represents single GradientStop of the gradient fill. - - - - - Size of the binary data. - - - - - GradientStop color. - - - - - Stop position. - - - - - Transparency. - - - - - Tint of the color for this GradientStop. - - - - - Shade of the color for this GradientStop. - - - - - Creates new instance of the GradientStop. - - GradientStop color. - GradientStop position. - GradientStop transparecy. - - - - Creates new instance of the GradientStop. - - GradientStop color. - GradientStop position. - GradientStop transparecy. - Color tint value. - Color shade value. - - - - Initializes new instance of the GradientStop and extracts settings from specified data array.. - - Data to parse. - Offset to start data parsing from. - - - - Serializes GradientStop into specified stream. - - Stream to serialize data into. - - - - Creates copy of the current instance. - - A copy of the current instance. - - - - Checks whether the specified GradientStop is equal to the current - GradientStop without taking transparency into consideration. - - Represents GradientStop. - Value indicating transparency - - - - Gets / sets color of this GradientStop. - - - - - Gets / sets position of this GradientStop. - - - - - Gets / sets transparency of this GradientStop. - - - - - Gets / sets tint of the color for this GradientStop. - - - - - Gets / sets shade of the color for this GradientStop. - - - - - Represents collection of gradient stops. - - - - - Maximum possible gradient position. - - - - - Gradient angle. - - - - - Gradient type. - - - - - This element defines the "focus" rectangle for the center shade, - specified relative to the fill tile rectangle. - - - - - Gradient fill rect element - - - - - Default constructor. - - - - - Initializes new instance of the gradient stops collection and extracts settings from byte array. - - Byte array to parse. - - - - Saves gradient stops into stream in binary format. - - Stream to serialize into. - - - - Parse byte array. - - Array to parse. - - - - Doubles gradient stops in the collection and updates their positions. - - - - - Inverts gradient stops order and updates their positions correctly. - - - - - Shrinks GradientStop. - - Shrinked Gradient stops. - - - - Creates copy of the current instance. - - Copy of the current instance. - - - - Checks whether specified Gradient stops has colors equal to this gradient stops. - - Represents GradientStop - Value indicating whether GradientStop has color. - - - - Gets / sets gradient angle. - - - - - Gets / sets type of the gradient. - - - - - This element defines the "focus" rectangle for the center shade, - specified relative to the fill tile rectangle. - - - - - it's define the tilerect property. - - - - - Returns true if gradient stops are symmetric. Read-only. - - - - - Specifies all possible gradient types. - - - - - This element specifies a linear gradient. - - - - - Gradient follows a circular path. - - - - - Gradient follows a rectangular path. - - - - - Gradient follows the shape. - - - - - Class used for Shapes Line Format. - - - - - Represents the line formatting properties. - - - - - Gets or sets the line weight. - - - - - Gets or sets the fore color of the line. - - - - - Gets or sets the back color of the line. - - - - - Gets or sets the fore color index of the line. - - - - - Gets or sets the back color index of the line. - - - - - Gets or sets the style of the arrowhead at the beginning of the specified line. - - - - - Gets or sets the style of the arrowhead at the end of the specified line. - - - - - Gets or sets the length of the arrowhead at the beginning of the specified line. - - - - - Gets or sets the length of the arrowhead at the end of the specified line. - - - - - Gets or sets the width of the arrowhead at the beginning of the specified line. - - - - - Gets or sets the width of the arrowhead at the end of the specified line. - - - - - Gets or sets the line dash style. - - - - - Gets or sets the line style. - - - - - Gets or sets the line transparency. - - - - - Gets or sets a boolean value indicates whether to visible the line or not. - - - - - Gets or set the line gradient pattern. - - - - - Gets or sets a boolean value indicates whether the line has pattern or not. - - - - - Represents default line weight mull. - - - - - Represents max line weight. - - - - - Represents length of helper parse array. - - - - - Represents helper byte array to parse pattern. - - - - - Represents weight of shape line. - - - - - Represents foreground color. - - - - - Represents foreground color. - - - - - Represents parent book. - - - - - Represents begin arrow style. - - - - - Represents end arrow style. - - - - - Represents begin arrow length. - - - - - Represents end arrow length. - - - - - Represents begin arrow width. - - - - - Represents end arrow width. - - - - - Represents dash style. - - - - - Represents line style. - - - - - Represents line transparency. - - - - - Represents is line format visible. - - - - - Represents line pattern. - - - - - Indicate if line format contain pattern. - - - - - Indicates whether border join is round. - - - - - Initialize new static members. - - - - - Creates new instance of object. - - Current application. - Parent object. - - - - Creates new instance of object. Autoshape Implementation - - Current application. - Parent object. - - - - Finds all parent objects. - - - - - Parses transparency. - - Transparency value to parse. - Returns parsed value. - - - - Serialize transparency. - - Represents option holder. - Represents transparency id. - Represents transparency value. - - - - Serialize color to stream. - - Represents option holder. - Represents color to serialize. - Represents option id to serialize. - - - - Parses fill options. - - Record to parse. - Value indicating extracted option. - - - - Parses arrows options - - Represents option to parse. - Returns true if parsed; otherwise false. - - - - Parses current pattern. - - Represents pattern option. - Returns parsed pattern value. - - - - Parse visible property. - - Represents visible data. - - - - Serialize shape line format as biff format. - - Represents option holder. - - - - Serialize arrow line options. - - Represents options storage. - Returns updated option storage. - - - - Serialize dash style as biff recorded structure. - - Represents option holder. - - - - Serialize line style as biff recorded structure. - - Represents option holder. - - - - Serialize visible property. - - Represents option holder. - - - - Serialize pattern to mso option. - - Represents option holder. - - - - Gets pattern by pattern data. - - Represents patt data. - Returns parsed data. - - - - Clones current object. - - Represents parent object for new instance. - Returns cloned object. - - - - Represents weight of the line in pts.( 0 - 1584 ) - - - - - Represents foreground color. - - - - - Represents background color. - - - - - Represents foreground color index. - - - - - Represents background color index. - - - - - Represents begin arrow head style. - - - - - Represents end arrow head style. - - - - - Represents begin arrow head length. - - - - - Represents end arrow head length. - - - - - Represents begin arrow head width. - - - - - Represents end arrow head width. - - - - - Represents the dash style for the specified line. - - - - - Represents line style. - - - - - Represents line transparency. - - - - - Represents if line format is visible. - - - - - Represents line pattern. - - - - - Indicates if current line format contain pattern. - - - - - Returns parent workbook. Read-only. - - - - - Indicates whether join is round. - - - - - This is base class for text box shapes such as TextBox and Comment. - - - - - Represents default formatting run size. - - - - - Value of text direction property. - - - - - Horizontal alignment of the text. - - - - - Vertical alignment of the text. - - - - - Text rotation. - - - - - Indicates whether comment text is locked. - - - - - Comment text. - - - - - Length of text. - - - - - Length of formatting runs. - - - - - Shape filling color. - - - - - Represents the RTFReader - - - - - Represents worksheet - - - - - Color Object. - - - - - Initializes new instance of the class. - - Application object for the new item. - Parent object for the new item. - - - - Extracts comment from MsofbtSpContainer. - - Application object for the current object. - Parent object for the current object. - Container that represents comment. - Parse options. - - - - Creates a clone of the current shape. - - New parent for the shape object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Indicates whether we should add created - shape into all necessary parent collections. - A copy of the current shape. - - - - Sets text to the specified TextWithFormat value. - - RTF text to set. - - - - Creates ClientTextBox record corresponding to this shape. - - Parent record for ClientTextBox. - Extracted Textbox record. - - - - dds continue records that stores text formatting of the comment shape. - - Record to put formatting into. - Record that stores text settings. - - - - Adds continue records that stores text of the comment shape. - - MsofbtClientTextBox record that stores comment settings. - - - - Parses TextObjectRecord. - - Record to parse. - If textObject is NULL. - - - - Parses two continue records. First contains text, second is formatting runs. - - Comment text. - Comment formatting runs. - Parse options. - - When textRecord or formattingRecord is NULL. - - - - - Serializes formatting runs. - - Array that contains formatting runs in binary format. - - - - Converts short form of formatting runs into long form. - - Formatting runs to convert. - Long for of formatting runs. - - - - Initializes variables. - - - - - Parses ClientTextBox record. - - Record to parse. - Parse options. - - - - Copies data from another comment shape. - - Text shape to copy from. - Dictionary with new font indexes. - - - - Creates default shape options. - - Record containing default options. - - - - Serializes text direction. - - MsofbtOPT record to which text ID will be added. - - If options argument is NULL. - - - - - Serializes comment's options. - - Parent record for options. - All options in MsofbtOPT record. - - - - Parses all unknown for ShapeImpl records. - - Record to parse. - Parse options. - - - - Horizontal alignment of the text. - - - - - Vertical alignment of the text. - - - - - Text rotation. - - - - - Indicates whether comment text is locked. - - - - - Comment text. - - - - - Gets or sets text box text. - - - - - Gets inner rich text string object. Read-only. - - - - - Shape filling color. - - - - - Color Object. - - - - - This class represents TextBox form control. - - - - - This interface represents TextBox form control shape. - - - - - This interface represents TextBox form control shape. - - - - - This interface represents TextBox form control. - - - - - Horizontal alignment of the text. - - - - - Vertical alignment of the text. - - - - - Text rotation. - - - - - Indicates whether comment text is locked. - - - - - Text of the comment. Read-only. - - - - - Text of the comment. - - - - - Text of the comment. - - - - - Correct shape instance. - - - - - Correct shape version. - - - - - Represents embedded string. - - - - - Represents a formula linking to spreadsheet cell data - - - - - Initialize new instance of the text box shape. - - Application object for the new shape. - Parent object for the new shape. - - - - Initializes new instance of the text box shape. - - Application object for the new shape. - Parent object for the new shape. - Shape's container. - Parsing options. - - - - Initializes shape items. - - - - - This method is called inside of PrepareForSerialization to make shape-dependent preparations. - - - - - Serializes current shape. - - Container that will receive this comment. - - - - Creates default shape options. - - Record with default option specified. - - - - Creates a clone of the current shape. - - New parent for the shape object. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Indicates whether we should add created - shape into all necessary parent collections. - A copy of the current shape. - - - - Specifies a formula linking to spreadhseet cell data - - - - - Style wrapper for multicell range. Redirects all - properties and method calls to the range styles. - - - - - Array that contains all cells. - - - - - Parent workbook. - - - - - Application. - - - - - Creates object that will contain all styles that are used by range. - - Range from which styles must be taken. - - - - Creates object that will contain all styles that are used by range. - - Range from which styles must be taken. - - - - This method should be called before several updates to the object will take place. - - - - - This method should be called after several updates to the object. - - - - - For far east languages. Supported only for format. Always 0 for US. - - - - - Returns or sets the format code for the object as a string in the - language of the user. Read / write String. - - - - - Gets format index in m_book.InnerFormats. - - - - - Indicates whether style has border. Read-only Boolean. - - - - - Returns a Borders collection that represents the borders of a - style or a range of cells (including a range defined as part of - a conditional format). - - - - - True if the style is a built-in style. Read-only Boolean. - - - - - Gets / sets fill pattern. - - - - - Gets / sets index of fill background color. - - - - - Gets / sets fill background color. - - - - - Gets / sets index of fill foreground color. - - - - - Gets / sets fill foreground color. - - - - - Returns a Font object that represents the font of the specified - object. Read-only. - - - - - True if the formula will be hidden when the worksheet is protected. - Read/write Boolean. - - - - - Returns or sets the horizontal alignment for the specified object. - For all objects, this can be one of the following OfficeHAlign constants. - Read/write OfficeHAlign. - - - - - True if the style includes the AddIndent, HorizontalAlignment, - VerticalAlignment, WrapText, and Orientation properties. - Read/write Boolean. - - - - - True if the style includes the Color, ColorIndex, LineStyle, - and Weight border properties. Read/write Boolean. - - - - - True if the style includes the Background, Bold, Color, - ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow, - Size, Strikethrough, Subscript, Superscript, and Underline - font properties. Read/write Boolean. - - - - - True if the style includes the NumberFormat property. - Read/write Boolean. - - - - - True if the style includes the Color, ColorIndex, - InvertIfNegative, Pattern, PatternColor, and PatternColorIndex - interior properties. Read / write Boolean. - - - - - True if the style includes the FormulaHidden and Locked protection - properties. Read / write Boolean. - - - - - Returns or sets the indent level for the style. Read/write. - - - - - Indicates whether style is initialized (differs from Normal style). - Read-only. - - - - - True if the object is locked, False if the object can be - modified when the sheet is protected. Read/write Boolean. - - - - - Returns or sets the name of the object. Read-only String. - - - - - Returns or sets the format code for the object. Read / write String. - - - - - Gets / sets index of the number format. - - - - - Returns object that describes number format. Read-only. - - - - - Text rotation angle: - 0 Not rotated - 1-90 1 to 90 degrees counterclockwise - 91-180 1 to 90 degrees clockwise - 255 Letters are stacked top-to-bottom, but not rotated. - int.MinValue - different rotation angle for different ranges. - - Thrown when value is more than 0xFF. - - - - True if text automatically shrinks to fit in the available - column width. Read/write Boolean. - - - - - Returns or sets the vertical alignment of the specified object. - Read/write OfficeVAlign. - - - - - True if Microsoft Excel wraps the text in the object. - Read/write Boolean. - - - - - Text direction, the reading order for far east versions. - - - - - If true then first symbol in cell is apostrophe. - - - - - Returns or sets the color of the interior pattern as an index into the current color palette. - - - - - Returns or sets the color of the interior pattern as an Color value. - - - - - Returns or sets the color of the interior. The color is specified as - an index value into the current color palette. - - - - - Returns or sets the cell shading color. - - - - - Returns Interior object that represents the interior of the specified - object. Read-only. - - - - - Gets value indicating whether format was modified, compared to parent format. - - - - - Represents a style description. The Style object contains - all style attributes (font, number format, alignment, and so on) as - properties. There are several built-in styles, including Normal, - Currency, and Percent. Using the Style object is a fast and efficient - way to change several cell-formatting properties on multiple cells at - the same time. - For the Workbook object, the Style object is a member of the Styles - collection. The Styles collection contains all the defined styles for - the workbook. - - - - - First excel 2007 specific style in the styles array. - - - - - Constant indicating that one object is less than another. Used by CompareTo method. - - - - - Constant indicating that one object is equal to another. Used by CompareTo method. - - - - - Constant indicating that one object is larger than another. Used by CompareTo method. - - - - - Build in style index for RowLevel_n styles. - - - - - Build in style index for ColLevel_n styles. - - - - - Style record that describes style. - - - - - StyleExt record that describes style. - - - - - Indicates whether do not to compare name during CompareTo operation. - - - - - Initializes new instance of the style. - - Parent workbook. - - - - Initializes new instance of the style. - - Parent workbook. - Style record to parse. - - - - Initializes new instance of the style. - - Parent workbook. - Name of the style to create. - - - - Initializes new instance of the style. - - Parent workbook. - Name of the style to create. - Base style. - - - - Initializes new instance of the style. - - Parent workbook. - Name of the style to create. - Base style. - Indicates whether created style is built in. - - - - Copies default style settings into internal extended format from built-in style. - - Built-in style index. - - - - Saves style into OffsetArrayList. - - OffsetArrayList to save style into. - - - - Updates style record according to the xf indexes. - - - - - This method is called after any changes are made in styles. - - - - - This method is called before any changed are made in styles. - - - - - Creates copy of the current instance. - - Parent object for the new collection. - Copy of the current instance. - - - - - - - - - - Compares the current instance with another object of the same type. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the comparands. - The return value has these meanings: - Value Meaning - Less than zero - This instance is less than obj. - Zero - This instance is equal to obj. - Greater than zero - This instance is greater than obj. - - - - - Indicates whether style is build in. Read-only. - - - - - Returns name of the style. Read-only. - - - - - Represents actual style name in case of AsciiConversion - - - - - Indicates whether style is initialized (differs from Normal style). - Read-only. - - - - - Returns index of the style's extended format. - - - - - Indicates whether do not to compare name during CompareTo operation. - - - - - Returns style record. Read-only. - - - - - /Represents if the stylename is encoded, when style name is greater than 256 symbols - - - - - StyleExt record that describes style. - - - - - This event is raised before any changes are made in styles. - - - - - This event is raised after any changes are made in styles. - - - - - This class stores default predefined styles settings. - - - - - Fill settings. - - - - - Font settings. - - - - - Borders information. - - - - - Initializes new instance of the class. - - Fill object. - Font object. - - - - Initializes new instance of the class. - - Fill object. - Font object. - Borders object. - - - - Style options. - - - - - Incidates to replace existing subtotal - - - - - Indicates to insert pageBreaks - - - - - Indicates to insert GrandTotal to below data - - - - - Indicates to group rows - - - - - ConsolidationFunction enumeration - - - - - TotalList of columns to be added - - - - - Current row - - - - - Zero based index of column - - - - - Total colulmn Count - - - - - Record Table - - - - - Column Names - - - - - TotalString - - - - - GrandTotalString - - - - - Height of the row - - - - - ExcelVersion - - - - - Bloack size of the rows - - - - - worksheet - - - - - First row index - - - - - First column index - - - - - Last row index - - - - - Las column index - - - - - No of subTotals - - - - - Create a SubTotal Object - - WorkSheet - - - - Creates SubTotal for the Specified Ranges - - FirstRow - FirstColumn - LastRow - LastColumn - GroupBy - ConsolidationFunction - TotalList - Replace - InsertPageBreaks - SummaryBelowData - - - - Retruns corresponding column index above the subtotal formula - - - - - - - Check whether the current row contains SubTotal Formula - - RowIndex - Returns true if row contains SubTotal Formula - - - - Check whether the current row contains SubTotal Formula - - RowStorage - - - - - Creates the Total row below the data - - - - - Creates the Total row above the data - - - - - Get Corresponding String Value - - ConsolidationFunction - Retruns the consolidationfunction string - - - - Represents the 3-D format of the chart. - - - - - Gets or sets the top bevel. - - The bevel top. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel top - format.BevelTop = Office2007ChartBevelProperties.CoolSlant; - //Set the height of bevel top - format.BevelTopHeight = 300; - //Set the width of bevel top - format.BevelTopWidth = 320; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the bottom bevel. - - The bevel bottom. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel bottom - format.BevelBottom = Office2007ChartBevelProperties.Angle; - //Set the height of bevel bottom - format.BevelBottomHeight = 100; - //Set the width of bevel bottom - format.BevelBottomWidth = 120; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the material property of the chart. - - The material. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the 3D lightning - format.Lighting = Office2007ChartLightingProperties.Chilly; - //Set the 3D material - format.Material = Office2007ChartMaterialProperties.DarkEdge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets lighting property of the chart. - - The lighting. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the 3D lightning - format.Lighting = Office2007ChartLightingProperties.Chilly; - //Set the 3D material - format.Material = Office2007ChartMaterialProperties.DarkEdge; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - - - - Gets or sets the top bevel height. - - The bevel top height. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel top - format.BevelTop = Office2007ChartBevelProperties.CoolSlant; - //Set the height of bevel top - format.BevelTopHeight = 300; - //Set the width of bevel top - format.BevelTopWidth = 320; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - The value ranges from 0 to 1584 - - - - Gets or sets the top bevel width. - - The bevel top width. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel top - format.BevelTop = Office2007ChartBevelProperties.CoolSlant; - //Set the height of bevel top - format.BevelTopHeight = 300; - //Set the width of bevel top - format.BevelTopWidth = 320; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - The value ranges from 0 to 1584 - - - - Gets or sets the bottom bevel height. - - The bevel bottom height. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel bottom - format.BevelBottom = Office2007ChartBevelProperties.Angle; - //Set the height of bevel bottom - format.BevelBottomHeight = 100; - //Set the width of bevel bottom - format.BevelBottomWidth = 120; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - The value ranges from 0 to 1584 - - - - Gets or sets the bottom bevel width. - - The bevel bottom width. - - - IPresentation presentation = Presentation.Create(); - ISlide slide = presentation.Slides.Add(SlideLayoutType.Blank); - //Add chart to the slide with position and size - IPresentationChart chart = slide.Charts.AddChart(100, 10, 500, 300); - //Set chart data - Row1 - chart.ChartData.SetValue(1, 2, "Jan"); - chart.ChartData.SetValue(1, 3, "Feb"); - chart.ChartData.SetValue(1, 4, "March"); - //Set chart data - Row2 - chart.ChartData.SetValue(2, 1, "2011"); - chart.ChartData.SetValue(2, 2, "60"); - chart.ChartData.SetValue(2, 3, "70"); - chart.ChartData.SetValue(2, 4, "80"); - //Set chart data - Row3 - chart.ChartData.SetValue(3, 1, "2009"); - chart.ChartData.SetValue(3, 2, "80"); - chart.ChartData.SetValue(3, 3, "70"); - chart.ChartData.SetValue(3, 4, "60"); - //Set chart data - Row4 - chart.ChartData.SetValue(4, 1, "2010"); - chart.ChartData.SetValue(4, 2, "60"); - chart.ChartData.SetValue(4, 3, "70"); - chart.ChartData.SetValue(4, 4, "80"); - //Create a new chart series with the name - IOfficeChartSerie serieJan = chart.Series.Add("Jan"); - //Set the data range of chart serie – start row, start column, end row, end column - serieJan.Values = chart.ChartData[2, 2, 4, 2]; - //Create a new chart series with the name - IOfficeChartSerie serieFeb = chart.Series.Add("Feb"); - //Set the data range of chart serie – start row, start column, end row, end column - serieFeb.Values = chart.ChartData[2, 3, 4, 3]; - //Create a new chart series with the name - IOfficeChartSerie serieMarch = chart.Series.Add("March"); - //Set the data range of chart series – start row, start column, end row, end column - serieMarch.Values = chart.ChartData[2, 4, 4, 4]; - //Get the 3D format of chart serie - IThreeDFormat format = chart.Series[0].SerieFormat.ThreeD; - //Set the bevel bottom - format.BevelBottom = Office2007ChartBevelProperties.Angle; - //Set the height of bevel bottom - format.BevelBottomHeight = 100; - //Set the width of bevel bottom - format.BevelBottomWidth = 120; - //Save the presentation - presentation.Save("Output.pptx"); - //Close the presentation - presentation.Close(); - - - The value ranges from 0 to 1584 - - - - Class used for Shadowformat Implementation - - - - - Bevel top height value - - - - - Bevel top width value - - - - - Bevel bottom height value - - - - - Bevel bottom width value - - - - - Preset Shape for Bevel - - - - - Creates the shadow and sets its Application and Parent - properties to specified values. - - Application object for the shadow. - Parent object for the shadow. - - - - Searches for all necessary parent objects. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - - A new object that is a copy of this instance. - - - - - Clone current Record. - - Parent object. - Returns clone of current object. - - - - Gets or sets the bevel top. - - The bevel top. - - - - Gets or sets the bevel bottom. - - The bevel bottom. - - - - Gets or sets the material. - - The material. - - - - Gets or sets the lighting. - - The lighting. - - - - Get or Set BevelT height - - Integer Number - The value ranges from 0 to 1584 - - - - Get or Set BevelB height - - Integer Number - The value ranges from 0 to 1584 - - - - Get or Set BevelT Width - - Integer Number - The value ranges from 0 to 1584 - - - - Get or Set BevelB height - - Integer Number - The value ranges from 0 to 1584 - - - - - This class contains utility methods, that cannot be logically placed in any other class. - - - - - Number of days that are incorrectly displayed by MS Excel. - - - - - Excel 2007 maximum row count. - - - - - Excel 2007 maximum column count. - - - - - Excel 97-03 maximum row count. - - - - - Excel 97-03 maximum column count. - - - - - To prevent creation instances of this class. - - - - - Determines if rectangles intersect with each other. - - The first rectangle to test. - The second rectangle to test. - This method returns true if there is any intersection. - - - - - - - - - - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Searches for the specified object and returns the index of - the first occurrence within the entire one-dimensional array. - - Array to search. - Value to locate in the array. - - The index of the first occurrence of value within the entire array, if found; - otherwise, -1. - - - - Converts DateTime into number. - - Value to convert. - Converted value. - - - - Converts number into DateTime. - - Number to convert. - Converted value. - - - - Creates new cell without adding it to the collection.. - - Zero-based row index of the cell to create. - Zero-based column index of the cell to create. - Record type. - Created cell. - - - - Removes first character from the string. - Warning: this method doesn't performs any argument check for performance purposes. - - Value to remove first character from. - Updated string. - - - - - - - - - - - - Gets maximum row and column count for specific version. - - - - - - - - Copies one stream into another. - - Source stream to copy from. - Destination stream to copy into. - - - - Creates copy of the MemoryStream. - - Source stream to copy. - A copy of the original MemoryStream. - - - - Creates xml reader to read data from the stream. - - Data to read. - Created xml reader. - - - - Creates xml reader to read data from the current stream position. - - Data to read. - Created xml reader. - - - - Creates xml reader to read data from the stream. - - Data to read. - Created xml reader. - - - - Creates xml writer to read data from the stream. - - Data to read. - Created xml writer. - - - - Creates xml writer to read data from the stream. - - Data to read. - Created xml writer. - - - - Creates xml writer to read data from the stream. - - Data to read. - Created xml writer. - - - - This class contains information about Vertical Page Break. - - - - - Represents a vertical page break. The VPageBreak object is a member - of the VPageBreaks collection. - - - - - Used without an object qualifier, this property returns an - Application object that represents the Excel application. - - - - - For the HPageBreak and VPageBreak objects, this property returns or - sets the cell (a Range object) that defines the page-break location. - Horizontal page breaks are aligned with the top edge of the location - cell; vertical page breaks are aligned with the left edge of the - location cell. Read / write Range. - - - - - Returns the parent object for the specified object. - - - - - Record with vertical page break. - - - - - Type of the page break. - - - - - Represents worksheet. - - - - - Creates page break by application and parent objects. - - Application object for the page break. - Parent object for the page break. - - - - Creates page break by application, parent objects and reader. - - Application object for the page break. - Parent object for the page break. - Reader that contains page break record. - - - - Constructs page break by application, parent object, and TVPageBreak object. - Always creates manual page break. - - Application object for the page break. - Parent object for the page break. - Vertical page break. - - - - Initializes new instance of the vertical page break. - - Application object. - Parent object. - Page break location. - - - - Finds parent object. - - - - - Clones current instance. - - Parent for new instance. - A clone of the current instance. - - - - Location of the page break. - - - - - Type of the page break. - - - - - Gets / Sets vertical page break record. - - - - - Returns zero-based column index of the page break. Read-only. - - - - - This class represents an Excel Workbook. - - - - - Represents an MS Excel Workbook. - - - - - Activates the first window associated with the workbook. - - - - - Adds font to the inner fonts collection and makes this font read-only. - - Font to add. - Added font. - - - - Closes the object. - - - - - - - Closes the object. - - If True, all changes will be saved. - - - - Closes the object without saving. - - - - - Closes the object and saves changes into specified file. - - - File name in which workbook will be saved if SaveChanges is true. - - - - - Saves changes to the specified workbook. - - - - - Short variant of SaveAs method. - - - - - - Short variant of SaveAs method. - - - - - - - Saves workbook in xml format. - - File name to save into. - Xml save type. - - - - Save active WorkSheet using separator. - - Path to save. - Current separator. - - - - Method creates a font object based on native font and register it in the workbook. - ] - Native font to get settings from. - Newly created font. - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Replaces specified string by data column values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Saves changes to the specified stream. - - Stream that will receive workbook data. - - - - Saves changes to the specified stream. - - Stream that will receive workbook data. - Type of the Excel file. - - - - Saves workbook in xml format. - - XmlWriter to save into. - Xml save type. - - - - Saves workbook in xml format. - - Stream to save into. - Xml save type. - - - - Save active WorkSheet using separator. - - Stream to save. - Current separator. - - - - Set user color for specified element in Color table. - - Index of Color in array. - New color which must be set. - - - - Recover palette to default values. - - - - - Method return Color object from workbook palette by its index. - - Index from palette array. - RGB Color. - - - - Gets the nearest color to the specified Color structure - from Workbook palette. - - - Color index from workbook palette. - - - - Gets the nearest color to the specified by red, green, and blue - values color from Workbook palette. - - Red component of the color. - Green component of the color. - Blue component of the color. - Color index from workbook palette. - - - - If there is at least one free color, define a new color; - if not, search for the closest one. - - - - - - - If there is at least one free color, define a new color; - if not, search for the closest one. - - Red component of the color. - Green component of the color. - Blue component of the color. - - - - - Method to create a font object and register it in the workbook. - ] - Newly created font. - - - - Method that creates font object based on another font object - and registers it in the workbook. - - Base font for the new one. - Newly created font. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified string value based on the OfficeFindOptions - - Value to search. - Type of value to search. - Way to search the value. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - First found cell, or Null if value was not found. - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that ends with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value based on the Excel find options. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Sets separators for formula parsing. - - Arguments separator to set. - Array rows separator to set. - - - - Sets protection for workbook. - - Indicates if protect workbook window. - Indicates if protect workbook content. - - - - Sets protection for workbook. - - Indicates if protect workbook window. - Indicates if protect workbook content. - Password to protect with. - - - - Unprotects workbook. - - - - - Unprotects workbook. Throws ArgumentOutOfRangeException when password is wrong. - - Password to unprotect workbook. - - - - Creates copy of the current instance. - - Copy of the current instance. - - - - This method sets write protection password. - - Password to set. - - - - Returns an object that represents the active sheet (the sheet on top) - in the active workbook or in the specified window or workbook. Returns - Nothing if no sheet is active. Read-only. - - - - - Gets / sets index of the active sheet. - - - - - Returns or sets the author of the comment. Read-only String. - - - - - Gets or sets a value indicating whether to display horizontal scroll bar. - - - - - Gets or sets a value indicating whether to display vertical scroll bar. - - - - - Name which is used by macros to access the workbook items. - - - - - True if the workbook uses the 1904 date system. Read / write Boolean. - - - - - True if the precision to be used as displayed. - - - - - True if cell is protected. - - - - - True if window is protected. - - - - - For an Application object, returns a Names collection that represents - all the names in the active workbook. For a Workbook object, returns - a Names collection that represents all the names in the specified - workbook (including all worksheet-specific names). - - - - - True if the workbook has been opened as Read-only. Read-only Boolean. - - - - - True if no changes have been made to the specified workbook since - it was last saved. If current value is false then setting it to true cause Save() method call. - Read/write Boolean. - - - - - Returns a Styles collection that represents all the styles - in the specified workbook. Read-only. - - - - - Returns a Sheets collection that represents all the worksheets - in the specified workbook. Read-only Sheets object. - - - - - True indicate that opened workbook contains VBA macros. - - - - - Get Palette of colors which an Excel document can have. - Here is a table of color indexes to places in the color tool box - provided by Excel application: - -------------------------------------------- - | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | - ---+---------------------------------------- - |1 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | - |2 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | - |3 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | - |4 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | - |5 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | - ---+---------------------------------------- - |6 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | - |7 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | - -------------------------------------------- - - - - - Get Palette of colors which an Excel document can have. - Here is a table of color indexes to places in the color tool box - provided by Excel application: - -------------------------------------------- - | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | - ---+---------------------------------------- - |1 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | - |2 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | - |3 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | - |4 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | - |5 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | - ---+---------------------------------------- - |6 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | - |7 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | - -------------------------------------------- - - - - - Index of tab which will be displayed on document open. - - - - - Indicates whether exception should be thrown when unknown - name was found in a formula. - - - - - This Property allows users to disable load of macros from - document. Excel on file open will simply skip macros and will - work as if document does not contain them. This options works - only when file contains macros (HasMacros property is True). - - - - - Returns or sets the standard font size, in points. Read/write. - - - - - Returns or sets the name of the standard font. Read/write String. - - - - - Indicates whether to allow usage of 3D ranges in DataValidation - list property (MS Excel doesn't allow). - - - - - Returns calculation options. Read-only. - - - - - Gets / sets row separator for array parsing. - - - - - Formula arguments separator. - - - - - Returns grouped worksheets. Read-only. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Indicates whether tabs are visible. - - - - - Returns collection of tab sheets. Read-only. - - - - - Indicates whether library should try to detect string value passed to Value (and Value2) - property as DateTime. Setting this property to false can increase performance greatly for - such operations especially on Framework 1.0 and 1.1. Default value is true. - - - - - Toggles string searching algorithm. If true then Dictionary will be used - to locate string inside strings dictionary. This mode is faster but uses - more memory. If false then each time string is added to strings dictionary - we will have to iterate through it and compare new strings with existing ones. - Default value is TRUE. - - - - - True to display a message when the file is opened, recommending that the file be opened as read-only. - - - - - Gets / sets password to encrypt document. - - - - - Returns maximum row count for each worksheet in this workbook. Read-only. - - - - - Returns maximum column count for each worksheet in this workbook. Read-only. - - - - - Gets / sets excel version. - - - - - This event is fired after workbook is successfully saved. - - - - - This event is fired when trying to save to a Read-only file. - - - - - Stream name that represent summary name. - - - - - Stream name that represent document summary name. - - - - - Stream name used by new versions of Excel. - - - - - Old styled name of stream in Excel binary file. - - - - - Name of sub-storage in input file which contains macros of opened file. - - - - - Sub-storage of Macros storage. Used for checks is file format correct - or not. - - - - - Self-referential external reference. - - - - - File name has been excoded. - - - - - Reference to an empty workbook name. - - - - - Represents an MS-DOS drive letter. It is followed by the drive letter. - For example, the formula ='D:\SALES.XLS'!A1 generates this character key - when the dependent workbook is not on the D drive. UNC file names, such as - \\server\share\myfile.xls, generate an @ character after this character key; - this replaces the initial double backslash (\\). - - - - - Indicates that the source workbook is on the same drive as the - dependent workbook (the drive letter is omitted). For example - the formula ='\SALES.XLS'!A1 generates this key when - the dependent workbook is not in the root directory. - - - - - Indicates that the source workbook is in a subdirectory of the current directory. - For example, the formula ='XL\SALES.XLS'!A1 generates the DEF_CHAR_DOWNDIR key. - The subdirectory name precedes the DEF_CHAR_DOWNDIR key, and the file - name follows it. - - - - - Indicates that the source workbook is in the parent directory of the current directory. - For example, the formula ='..\SALES.XLS'!A1 generates the DEF_CHAR_UPDIR key. - - - - - Not used. - - - - - Indicates that the source workbook is in the startup directory - (the Xlstart subdirectory of the directory that contains Excel.exe). - - - - - Indicates that the source workbook is in the alternate startup directory. - - - - - Indicates that the source workbook is in the Library directory. - - - - - Indicates that path is UNC file name (is replaced by \\). - - - - - Start of the UNC network path. - - - - - Indicates that current workbook is not protected. - - - - - Index of the removed sheet. - - - - - Start of the http url string. - - - - - First user-defined color. - - - - - - - - - - - - - - - - - - - - - - - - - Index of the removed sheet. - - - - - Content type for Excel 97. - - - - - Content type for Excel 2000. - - - - - Content type for Excel 2007. - - - - - Content type for CSV. - - - - - Standard password. - - - - - TextQualifier. - - - - - Default regular expression options. - - - - - Name of the book's group in regular expressions. - - - - - Name of the sheet's group in regular expressions. - - - - - Index of worksheet used for workbook references. - - - - - Name prefix for styles in ignore style mode. - - - - - Text for evaluation warning. - - - - - Name of the expired evaluation sheet. - - - - - First chart color index. - - - - - Last chart color index. - - - - - Separator between worksheets in the cross-worksheet formula (Sheet1:Sheet3!A1). - - - - - Represents the Difference value of 1904 and 1899 date system format. - - - - - - Default theme version on excel workbook 2007 and 2010 - - - - - Default Palette colors. - - - - - Records that should be stored in m_arrPivotRecords. - - - - - Regular expression for workbook-worksheet pair. - - - - - Array with streams that shouldn't be copied. - - - - - Array with characters that are reserved. - - - - - - - - - - - - - - - Default theme colors. - - - - - - Indicates whether all the formula in the workbook is evaluated. - - - - - Used to store records which belong to the Workbook part. - Temporary array which must be cleaned after read/parse operations. - - - - - Active sheet in the current workbook. - - - - - Returns a Sheets collection that represents all the worksheets - in the specified workbook. Read-only Sheets object. - - - - - Styles collection that represents all the styles - in the specified workbook. - - - - - Storage of all Fonts created in a workbook. - - - - - Storage of all ExtendedFormats created in a workbook. - - - - - Storage of NameRecords. - - - - - New value changes for the format Record - - - - - Collection of workbook's formats. - - - - - Storage of BoundSheet records. Is a temporary storage which - after read / parse operations must be cleaned. - - - - - Dictionary which is used for storage of SST strings. - - - - - Collection contains all SupBookRecords. - - - - - Represents the continuity of ExternSheet record - - - - - List of the ranges that should be reparsed. - - - - - Full name of the file where workbook was saved or loaded. - - - - - True if the workbook uses the 1904 date system. - - - - - True if workbook uses Precision - - - - - True if the workbook has been opened as Read-only. - - - - - True if no changes have been made to the specified workbook since - it was last saved. Read / write Boolean. - - - - - - - - - - Indicates whether workbook is in loading state. - - - - - Indicates whether workbook is in saving state. - - - - - True if cells are protected. - - - - - True if window is protected. - - - - - Default name of workbook used by macros. - - - - - True if pivot table Fields lists are hidden - - - - - Indicates default theme version for wokbook. - - - - - True - indicates that current workbook contains macros sub-storage. - - - - - True - indicates that current workbook contains summary information. - - - - - True - indicates that current workbook contains document summary information. - - - - - True - indicate that macros exists in document and they - are disabled, otherwise False. - - - - - Stores current workbook's palette. - - - - - True- indicates that user used custom palette instead of the default. - - - - - Window one record for the workbook. - - - - - Collection of all Name objects defined in the workbook - - - - - Collection of all Chart objects of the workbook. - - - - - Collection of Charts and Worksheets objects. - - - - - One of protection records. - - - - - One of protection records. - - - - - One of protection records. - - - - - - - - - - Data needed by workbook shapes (unique images and other things). - - - - - First unused color (color that wasn't redefined yet). - - - - - Current object id. - - - - - First free shape id. - - - - - - - - - - List of ExtendedXF Format record - - - - - - - - - - - Indicates whether to allow usage of 3D ranges in DataValidation - list property (MS Excel doesn't allow). - - - - - Collection of extern workbooks. - - - - - Collection of header / footer pictures. - - - - - Calculation options. - - - - - Workbook level Conditional Priority count. - - - - - Formula parser. - - - - - Represents group of selected worksheets. - - - - - Indicates whether original worksheet contains duplicated names. - - - - - Indicates whether workbook is write protected. - - - - - File sharing record. - - - - - Indicates whether library should try to detect string value passed to Value (and Value2) - property as DateTime. Setting this property to false can increase performance greatly for - such operations especially on .Net Framework 1.0 and 1.1. Default value is true. - - - - - Size of the default character measured using first function. - - - - - Size of the default character measured using second function. - - - - - Password used to encrypt document. - - - - - Encryption type. - - - - - Document id. - - - - - Maximum row count for each worksheet in this workbook. - - - - - Maximum column count for each worksheet in this workbook. - - - - - Maximum possible number of extended formats. - - - - - Maximum possible indent value. - - - - - Current excel version. - - - - - Default XF index. - - - - - File data holder, used to store data for Excel 2007 format. - - - - - Maximum digit width (used to evaluate different column width) - - - - - Workbook's heap handle. - - - - - This field is used to preserve BookExt record. - - - - - Contains list of theme colors. - - - - - Unparsed controls stream. - - - - - Maximum used table index. - - - - - Country code. - - - - - Stream contains custom table styles - - - - - Indicates whether workbook was loaded or it is created. - - - - - Indicates whether the theme colors of the workbook is parsed or not - - - - - Represents the Compatibility record - - - - - Represents the Shared string stream - - - - - Represents whether workbook has Inlinestring. - - - - - Preserves the pivot cache. - - - - - Store the font indexes. - - - - - Represents the Excel Parse Options. - - - - - Preserves the unique styles cells count. - - - - - Boolean that represent the extended format CRC value status. - - - - - Extended format CRC value. - - - - - Find the beginning version of excel - - - - - - - - - - Preserves the child element in the document management properties. - - - - - Illegal xml character defined names count. - - - - - Connection Support for Excel2003 - - - - - Represents to parse sheet on demand - - - - - ReCalculation Identifier. - - - - - Calc Identifier. - - - - - Preserves the DDE type link in workbook - - - - - Alogrithm name to protect/unprotect Workbook. - - - - - Hash value to ensure the workbook protected password. - - - - - Random generated Salt for the workbook password. - - - - - Spin count to loop the hash algorithm. - - - - - Custom date patterns in excel - - - - - Date time pattern for the current culture with custom date pattern - - - - - OfficeSheetType-to-Name. - - - - - Returns theme color by its index. - - - - - - - Returns theme color by its index on ExcelVersion 2013. - - index value on list of colors - the Color value - - - - Creates extended format record and registers it in workbook. - - Indicates whether to force add to collection. - Newly created extended format. - - - - Creates extended format based on baseFormat and registers it in workbook. - - Base format for the new format. - Indicates whether to force add. - Newly created format. - - - - Creates extended format based on baseFormat without registering it in the workbook. - - Base format for the new format. - Newly created format. - - - - Registers extended format. - - Format to register. - - Format from the collection if there were such format; - otherwise returns format that was added. - - - - - Registers extended format. - - Format to register. - Indicates whether to force format object registration in the collection. - - Format from the collection if there were such format; - otherwise returns format that was added. - - - - - Copies to clipboard the selected worksheet or all worksheets if sheet is NULL. - - Worksheet that would be copied into the clipboard. - - - - Inserts SupbookRecord describing this workbook. - - - Index to the SupBookRecord that describes current workbook. - - - - - Adds internal sheet reference. - - Name of the sheet that should be referenced. - Index to the sheet in ExternSheetRecord. - - When can't find specified worksheet in this workbook. - - - - - Adds reference to the extern worksheet. - - - Workbook name (can be null or empty than sheet name is treated as book name. - - Worksheet name. - Index in the ExternSheet record. - - - - Adds internal sheet reference. - - Name of the sheet that should be referenced. - Worksheet to be referenced. - - When can't find specified worksheet in this workbook. - - - - - Adds internal sheet reference. - - Name of the sheet that should be referenced. - Worksheet to be referenced. - - When can't find specified worksheet in this workbook. - - - - - Adds internal sheet reference. - - Name of the sheet that should be referenced. - Worksheet to be referenced. - - When can't find specified worksheet in this workbook. - - - - - This method adds one TREF structure to the list. - - SUPBOOK index. - Index to first SUPBOOK sheet. - Index to last SUPBOOK sheet. - - Index of the old REF structure (if there was one) - or new REF structure. - - - - - Adds incorrect sheet reference. - - Worksheet to be referenced. - - When can't find specified worksheet in this workbook. - - - - - Decreases index (in ExternSheet record) of all worksheets with index - that is smaller than specified index. - - - - - - Increases index (in ExternSheet record) of all worksheets with index - that is larger or equal than specified index. - - - - - - This method updates external sheet table when a worksheet was moved. - - Old index of the worksheet. - New index of the worksheet. - - - - Updates active sheet index after move operation. - - Old sheet index. - New sheet index. - - - - Gets sheet index after move operation. - - Current sheet index. - Old index of the sheet that was moved. - New index of the sheet that was moved. - New index for current sheet index. - - - - Returns worksheet name. - - Reference to worksheet. - Returns sheet name. - - - - Returns worksheet name. - - Reference to worksheet. - Returns sheet name. - Indicates whether to throw exception if reference index is out of range. - - - - Get name of the external worksheet by reference. - - - - - Get name of the internal worksheet by reference. - - - - - Returns worksheet by its reference index. - - Reference index of the sheet. - Found worksheet. - - When can't find referenced worksheet. - - - - - Returns worksheet by its reference index. - - Reference index of the sheet. - - Indicates whether to throw exception when can't - find worksheet with specified index. - - Found worksheet. - - When can't find referenced worksheet. - - - - - Check for internal Reference; If external - rise NotSupported exception. - - Ref index. - - - - Indicates whether reference is reference to local worksheet. - - Reference index. - Value that indicates whether reference is reference to local worksheet. - - - - - - - - - - - Inserts reparse into array of object that should be reparsed - when loading will be complete. - - Object that will be reparsed later. - - - - Returns number from the style name, i.e. Normal_1 result is 1. - - Style name. - Parsed number. - - - - Raises argument to the second power. - - Value to be squared. - Squared value. - - - - Calculates distance between two colors. - - First color. - Second color. - Distance between two colors. - - - - Clears collection of references. - - - - - Raises FileSaved event. - - - - - Raises OnReadOnlyFile event. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns reference index by extern workbook index. - - Index of the extern workbook. - Reference index if extern workbook was found; otherwise returns -1. - - - - Returns extern workbook index by reference index. - - Reference index. - Extern workbook index. - - - - Returns external sheet object by reference index. - - Reference index. - External worksheet that corresponds to the specified reference index. - - - - Decodes name encoded in supbook. - - Name to decode. - Decoded name. - - - - Modifies record in skip styles mode. - - Record to modify. - Boolean value indicating that record should be added to the array. - - - - Modifies record in skip styles mode. - - Records to modify. - - - - Compares two colors. - - First color to compare. - Second color to compare. - True if colors are equal. - - - - Removes extended format by its index. - - Index to the extended format to remove. - - - - Adds licensing worksheet if necessary. - - - - - Checks whether workbook contains licensing worksheet and removes it. - - - - - Checks whether protected content is correct. - - Worksheet to check. - True if content is correct. - - - - Optimizes internal references by removing unused ones. - - - - - Updates reference indexes. - - Array with updated indexes. - - - - Static constructor. - - - - - Base constructor which must be used when workbook is created - from scratch (maybe clipboard data)and not from file. - - Application object for the workbook. - Parent object for the workbook. - Excel version. - - - - Creates workbook with specific number of worksheets. - - Application object for the workbook. - Parent object for the workbook. - Quantity of empty worksheets to create. - Excel version. - - - - Create Workbook from file. - - Application object for the workbook. - Parent object for the workbook. - Name of the file with workbook. - Excel version. - - When can't find workbook stream in the file. - - - - - Create Workbook from file. - - Application object for the workbook. - Parent object for the workbook. - Name of the file with workbook. - Parse options. - Excel version. - - When can't find workbook stream in the file. - - - - - Create Workbook from file. - - Application object for the workbook. - Parent object for the workbook. - Name of the file with workbook. - Parse options. - Indicates whether to open workbook in read-only mode. - Password to decrypt workbook stream. - Excel version. - - When can't find workbook stream in the file. - - - - - Initializes a new instance of the class. - - Application object for the workbook. - Parent object for the workbook. - Name of the file with workbook. - Parse options. - Indicates whether to open workbook in read-only mode. - Password to decrypt workbook stream. - Excel version. - - When can't find workbook stream in the file. - - - - - Create WorkBook from file. - - Application object for the workbook. - Parent object for the workbook. - Stream to open. - Current separator. - Number of first row to write. - Number of first column to write. - Excel version. - Filename is used to generate worksheet name - - - - Create Workbook from stream. - - Application object for the workbook. - Parent object for the workbook. - Stream that contains workbook's data. - Excel version. - - When specified stream is NULL. - - - - - Create Workbook from stream. - - Application object for the workbook. - Parent object for the workbook. - Stream that contains workbook's data. - Parse options. - Excel version. - - When specified stream is NULL. - - - - - Parses new workbook from xml stream. - - Current application - Parent object. - Xml reader. - Xml open type. - - - - Initializes all internal collections. - - - - - Fills collection with default formats, extended format, and styles. - - - - - Inserts all default extended formats into special list. Excel has 21 - default formats for each workbook. - - - - - Inserts all default styles into special list. - - - - - Inserts all default styles into special list. - - Styles that were read from file. - - - - Registers default style inside styles collection. - - Style to register. - - - - - - - - - - - - - - - - - - - - - - - Compares two style records. - - First style record to compare. - Second style record to compare. - True if records describe same default style. - - - - Inserts default fonts into special list. - - - - - Disposes internal collections. - - - - - Clears all internal collections. - - - - - Clears the extended formats. - - - - - This method parses stream that holds data in Excel 2007 format (Open XML). - - Stream to parse. - Password to use during for decryption. - - - - Parses specified file. - - File to parse. - Password to use for decryption (null if file is not encrypted). - Excel version. - Parsing options. - - - - Parses specified stream. - - Stream to parse. - Password to use for decryption (null if file is not encrypted). - Excel version. - Parsing options. - - - - Class finalizer. - - - - - - Recheck the Format Record - - - - - Normalizes border settings for specified extended format record in some incorrect files. - - ExtendedFormatRecord to process. - - - - Parses internal sst record. - - SSTRecord to parse. - Parse options. - - - - Prepares fonts, formats and styles collections. - - Indicates whether parsing is made in ignore styles mode. - List with all styles. - Dictionary with new extended format indexes for ignore styles mode. - - - - Prepares extended format records. - - - - - Parses autofilters. - - - - - Prepares named ranges (just create them without parsing). - - - - - Parses set of Name records. - - - - - Parses all worksheets, charts, etc. - - - - - Parses all worksheets, charts, etc. on demand - - - - - Reparses all ranges that were not parsed because of - insufficient data (that weren't loaded when parsing). - - - - - Creates all necessary styles for the workbook. - - Array of all read StyleRecords. - - - - Searches StyleRecord for the specified index of the Extended - Format record in the list. - - List that contains StyleRecord. - Index of the Extended Format. - - Found style index (if it is greater or equal to zero than it is index - from arrStyles array; otherwise it is evaluated as index in arrDefaultStyles - increased by 1 and multiplied by -1. - . - - - - Returns array of default styles. - - Array of StyleRecords with default styles. - - - - Creates style each number format. - - - Dictionary with new extended format indexes. - - - - - Activates the first window associated with the workbook. - - - - - Closes the object and saves changes into specified file. - - - File name in which workbook will be saved if SaveChanges is true. - - - - - Closes the object. - - If True, all changes will be saved. - - File name in which workbook will be saved if SaveChanges is true. - - - - - Closes the object. - - If TRUE all changes will be saved - - - - Closes the object without saving. - - - - - Saves changes to the specified workbook. - - - If file name was not specified before. - - - - - Short variant of SaveAs method. - - - Name of the file into which workbook will be saved. - - - When FileName is NULL. - - - When FileName is empty. - - - - - Short variant of SaveAs method. - - - Name of the file into which workbook will be saved. - - Options for save. - - When FileName is NULL. - - - When FileName is empty. - - - - - Short variant of SaveAs method. - - - Name of the file into which workbook will be saved. - - Options for save. - Excel version that should be used. - - When FileName is NULL. - - - When FileName is empty. - - - - - Prepares shapes for serialization. - - - - - Registers new shapes (that have no shapeId yet) inside shapeIdReserver. - - IdReserver that helps in the id generation process. - Delegate used to get necessary shapes collection from a TabSheet. - - - - Updates shapes that were added after last save operation. - - IdReserver that helps in the id generation process. - Delegate used to get necessary shapes collection from a TabSheet. - - - - Assigns indexes to the new shapes. - - IdReserver that helps in the id generation process. - Shape collection to process. - - - - Gets number of free indexes inside currently allocated/reserved ids. - - IdReserver that helps in the id generation process. - Shape collection to process. - Number of free indexes inside currently allocated/reserved ids. - - - - Evaluates number of shapes without assigned id. - - Shape collection to check. - Number of shapes without assigned id. - - - - Registers absolutely new shape collections using IdReserver. - - IdReserver that helps in the id generation process. - Delegate used to get necessary shapes collection from a TabSheet. - - - - Allocates and assigns indexes for all shapes inside shape collection. - - IdReserver that helps in the id generation process. - Shape collection to process. - - - - Creates IdReserver based on the current shapes. - - Delegate used to get necessary shapes collection from a TabSheet. - IdReserver filled with current shape id's data. - - - - Re-indexes shape collections if necessary. - - Delegate used to get necessary shapes collection from a TabSheet. - True if there are shapes inside the workbook. - - - - Returns sheet's shapes collection. - - TabSheet to get collection from. - Extracted collection. - - - - Returns header/footer shapes collection. - - TabSheet to get collection from. - Extracted collection. - - - - Save active WorkSheet using separator. - - Path to save. - Current separator. - - - - Saves active Worksheet using separator. - - Stream to save int. - Separator to use. - - - - Saves active Worksheet using separator. - - Stream to save int. - Separator to use. - - - - Saves workbook in xml format. - - XmlWriter to save into. - Xml save type. - - - - Saves workbook in xml format. - - XmlWriter to save into. - Xml save type. - - - - Saves workbook in xml format. - - File name to save into. - Xml save type. - - - - Saves workbook in xml format. - - Stream to save into. - Xml save type. - - - - Returns string that corresponds to contentType. - - Content type for browser. - String that corresponds to contentType. - - - - Saves changes to the specified stream. - - Stream that will receive workbook data. - - - - Saves changes to the specified stream. - - Stream that will receive workbook data. - Save type. - - - - Gets names of all worksheets. - - Names of all worksheets. - - - - Returns array odd elements (sheets, charts, etc. ) of which - are workbook's part name and even number of such elements - in the workbook. - - - Array odd elements (sheets, charts, etc. ) of which - are workbook's part name and even number of such elements - in the workbook. - - - - - Returns Dictionary OfficeSheetType - to - number of such - elements in the workbook. - - - Dictionary OfficeSheetType - to - number of such - elements in the workbook. - - - - - Set user color for specified element in Color table. - - Index of Color in array. - New color which must be set. - - - - Copies palette colors to workbook/ - - Workbook to copy palette into. - - - - Recover palette to default values. - - - - - Method return Color object from workbook palette by its index. - - Index from palette array. - RGB Color. - - - - Gets the nearest color to the specified Color structure - from Workbook palette. - - Color to look for. - Color index from workbook palette. - - - - Gets the nearest color to the specified Color structure - from Workbook palette. - - Color to look for. - Start index. - Color index from workbook palette. - - - - Gets the nearest color to the specified by red, green, and blue - values color from Workbook palette. - - Red component of the color. - Green component of the color. - Blue component of the color. - Color index from workbook palette. - - - - - - - - - - - - - - - - - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Replaces specified string by data column values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - - - Method to create a font object and register it in the workbook. - ] - Newly created font. - - - - Method creates a font object based on native font and register it in the workbook. - ] - Native font to get settings from. - Newly created font. - - - - Adds font into collection. - - Font to add. - - Current font with correct font index, or same font from the collection if was added before. - - - - - Method that creates font object based on another font object - and registers it in the workbook. - - Base font for the new one. - Newly created font. - - - - Method that creates font object based on another font object - and registers it in the workbook. - - Base font for the new one. - Indicates whether font should be added to the collection. - Newly created font. - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - Way to search the value. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value based on the Excel find options. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Sets separators for formula parsing. - - Arguments separator to set. - Array rows separator to set. - - - - Sets protection for workbook. - - Indicates if protect workbook window. - Indicates if protect workbook content. - - - - Sets protection for workbook. - - Indicates if protect workbook window. - Indicates if protect workbook content. - Password to protect with. - - - - Unprotect workbook. - - - - - Unprotects workbook. Throws ArgumentOutOfRangeException when password is wrong. - - Password to unprotect workbook. - - - - Creates copy of the current instance. - - Copy of the current instance. - - - - This method sets write protection password. - - Password to set. - - - - Creates copy of the palette. - - Copy of the palette. - - - - Saves workbook data in Excel 2007 format into specified stream. - - Stream to save into. - Represents type of the saving document (on the current - moment supported values are template or ordinary document). - - - - Creates serializator that can be used to serialize workbook into file or stream. - - Version that must be used to serialize workbook. - Created serializator. - - - - This method changes internal styles structure for Excel 97. - - - - - - - - - - - - - - - - - This method checks whether we must change styles model from 2007 into 97 format - (if document (or file) was created by XlsIO we don't need to change styles). - - True if additional styles must be added for Excel 97. - - - - - - - - - - - Converts extended format colors. - - - - - - - Reduces font count based by switching all colors into indexed color mode. - - List with new font indexes. - - - - Reads the complete stream and retruns false if the doument is notvalid. - - Read to get data from. - Separator between cell values. - Encoding scheme for the StreamReader. - boolean value. - - - - Serialize workbook for the clipboard. - - Record's list to serialize into. - Worksheet to serialize. - - - - Sets active worksheet. - - Worksheet that will be activated. - - - - - - - - - - - - - - - - - Updates index of all named ranges. - - Key - old index, value - new index. - - - - Sets Saved flag to the False state. - - - - - Updates string indexes. - - List with new indexes. - - - - Copies externsheets to to another workbook. - - Represents base extern sheets. - Represents dictionary with new sub books indexes. - Dictioanry with new indexes. Key - old index; value - new index. - - - - Looks through all records and calls AddIncrease for each LabelSST record. - - - - - Updates indexes in all records accordingly to the new maximum count property. - - New value of maximum possible XF index. - - - - Indicates whether specified xf index differs from the default one. - - XFIndex to check. - True if there is no difference. - - - - Evaluates maximum digit width of the font for Normal style. - - Maximum digit width of the font for Normal style. - - - - Evaluates maximum digit width of the font for Normal style. - - Maximum digit width of the font for Normal style. - - - - Evaluates maximum digit width of the specified font. - - Font to measure. - Maximum digit width of the specified font. - - - - Gets maximum digit height. - - Font to get digit height for. - Maximum digit height. - - - - Updates width from the rectangle. - - Current rectangle. - Current maximum value. - - - - Updates height from the rectangle. - - Current rectangle. - Current maximum value. - - - - Measures all digits using specified font and calls digitProcessor passing measurement results. - - Font to use. - DigitProcessor to call. - Value returned by digitProcessor after processing all digits. - - - - Converts column width in characters into column width in file. - - Column width in characters. - Column width in file. - - - - Convert column width that is stored in file into pixels. - - Column width in file. - Column width in pixels. - - - - Converts column width in pixels into column width in characters. - - Column width in pixels. - Column width in characters. - - - - - - - - - - - CRC checksum calculation - - - - - Add list of extended properties into XF extended record. - - - - - Add extended property into list. - - - - - Get extended property type. - - - - - Convert ARGB to RGBA. - - - - - Convert ARGB to RGBA. - - - - - Convert Color object to unsigned integer. - - - - - Convert unsigned integer to Color object. - - - - - Whether a given character is allowed by XML 1.0. - - - - - Remove illegal xml character which is not allowed by XML 1.0. - - - - - Returns an object that represents the active sheet (the sheet - on top) in the active workbook or in the specified window or - workbook. Returns Nothing if no sheet is active. Read-only. - - - - - Preserves the DDE type links in workbook - - - - - Gets / sets index of the active sheet. - - - - - Returns or sets the author of the comment. Read / write String. - - - - - Name which used by macros to access to workbook items. - - - - - Indicates whether pivot table fields option is hidden or not. - - - - - Indicates default theme version for wokbook - - - - - True if the workbook uses the 1904 date system. Read / write Boolean. - - - - - True if the workbook uses precision. - - - - - True if cells are protected. - - - - - True if window is protected. - - - - - For an Application object, it returns a Names collection that represents - all the names in the active workbook. For a Workbook object, it returns - a Names collection that represents all the names in the specified - workbook (including all worksheet-specific names). - - - - - True if the workbook has been opened as Read-only. Read-only Boolean. - - - - - True if no changes have been made to the specified workbook since - it was last saved. If current value is false then setting it to true cause Save() method call. - Read/write Boolean. - - - - - Returns a Styles collection that represents all the styles - in the specified workbook. Read-only. - - - - - Returns a Sheets collection that represents all the worksheets - in the specified workbook. Read-only Sheets object. - - - - - True indicates that opened workbook contains VBA macros. - - - - - Gets a Palette of colors the Excel document can have. - Here is a Table of color indexes their places in the color tool box - provided by XlsIO application: - -------------------------------------------- - | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | - ---+---------------------------------------- - |0 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | - |1 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | - |2 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | - |3 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | - |4 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | - ---+---------------------------------------- - |5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | - |6 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | - -------------------------------------------- - - - - - Gets a Palette of colors the Excel document can have. - Here is a Table of color indexes their places in the color tool box - provided by XlsIO application: - -------------------------------------------- - | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | - ---+---------------------------------------- - |0 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 | - |1 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 | - |2 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 | - |3 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 | - |4 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 | - ---+---------------------------------------- - |5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | - |6 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | - -------------------------------------------- - - - - - Index of the tab which will be displayed on document open. - - - - - - - - - - Gets or sets the value to display horizontal scrollbar - - - - - Gets or sets the value to display vertical scrollbar - - - - - This Property allows users to disable load of macros from - document. Excel on file open will simply skip macros and will - work like document does not contains them. This options works - only when file contains macros (HasMacros property is True ). - - - - - Returns or sets the standard font size. Read/write. - - - - - Returns or sets the name of the standard font. Read/write String. - - - - - Indicates whether to allow usage of 3D ranges in DataValidation - list property (MS Excel doesn't allow). - - - - - Returns calculation options. Read-only. - - - - - Gets / sets row separator for array parsing. - - - - - Formula arguments separator. - - - - - Returns grouped worksheets. Read-only. - - - - - Indicates whether worksheet is displayed right to left. - - - - - Indicates whether workbook tabs are visible. - - - - - Returns collection with all tabsheets in the workbook. Read-only. - - - - - Indicates whether library should try to detect string value passed to Value (and Value2) - property as DateTime. Setting this property to false can increase performance greatly for - such operations especially on Framework 1.0 and 1.1. Default value is true. - - - - - Toggles string searching algorithm. If true then Dictionary will be used - to locate string inside strings dictionary. This mode is faster but uses - more memory. If false then each time string is added to strings dictionary - we will have to iterate through it and compare new strings with existing ones. - Default value is TRUE. - - - - - True to display a message when the file is opened, recommending that the file be opened as read-only. - - - - - Gets / sets password to encrypt document. - - - - - Returns maximum row count for each worksheet in this workbook. Read-only. - - - - - Returns maximum column count for each worksheet in this workbook. Read-only. - - - - - Returns maximum possible number of extended formats. Read-only. - - - - - Gets maximum possible indent value. Read-only. - - - - - Workbook level Conditional Priority count. - - - - - Indicates whether all the formula in the workbook is evaluated. - - - - - Represents the Excel Parse Options. - - - - - gets/ Sets the pivot table last index - - - - - Preserves the pivot cache. - - - - - Store the font indexes. - - - - - /Return file data holder, used to store data for Excel 2007 format. - - - - - Return WorkbookNamesColection from parent WorkBook. - - - - - Returns name of the file the workbook was saved - in last time or loaded from. - - - - - Collection of all fonts used in the workbook. Read-only. - - - - - Collection of all ExtendedFormats used in the workbook. - - - - - Collection of all formats used in the workbook. Read-only. - - - - - SSTDictionary that contains all strings used in the workbook. Read-only. - - - - - Indicates whether workbook is loading. Read-only. - - - - - Indicates whether workbook is in saving process. Read-only. - - - - - Stores the attributes of the workbook window. Read-only. - - - - - Returns count of charts and worksheets in the workbook. - - - - - - - - - - Gets or sets the SST stream. - - The SST stream. - - - - Gets or sets a value indicating whether this instance has inline strings. - - - true if this instance has inline strings; otherwise, false. - - - - - Gets / sets PasswordRecord. - - - - - - - - - - - - - - - - - - - - First free shape id. - - - - - - - - - - - - - - - Returns collection of named objects owned by the workbook - (worksheet and charts). Read-only. - - - - - - - - - - Worksheets collection. - - - - - Charts collection. - - - - - Returns collection of external workbooks. - - - - - Returns calculation options. Read-only. - - - - - Returns class for formula parsing. Read-only. - - - - - Returns grouped worksheets. Read-only. - - - - - Indicates whether original file contains duplicated external names. - - - - - Returns data that is shared by all shapes (global options, unique pictures, etc. ). - - - - - Returns data that is shared by all header/footers. - - - - - Gets externSheet record. Read - only. - - - - - Gets / sets internal flag that indicates whether workbook was saved or not. - - - - - - - - - - - - - - - Gets a value indicating whether this Workbook is converted. - - - true if this instance is converted; otherwise, false. - - - - - Gets / sets excel version. - - - - - Returns index to the default extended format. - - - - - Returns internal array with palette colors. Read-only. - - - - - Gets value indicating whether workbook controls stream or not. Read-only. - - - - - Gets value indicating whether workbook controls stream or not. Read-only. - - - - - Gets or sets maximum used table (list object) index. - - - - - Gets value indicating whether workbook was loaded from file or stream. - - - - - Specifies wheather the workbook checks the Compability of earlier version - - - - - Gets or sets a value indicating whether the name ranges has apostrophe. - - - true if this instance has apostrophe; otherwise, false. - - - - - Indicates whether book has oleObjects - - - - - Indicates whether Ole Objects are copied - - - - - Gets or sets boolean value to parse worksheets on demand - - - - - Alogrithm name to protect/unprotect workbook. - - - - - Hash value to ensure the workbook protected password. - - - - - Random generated Salt for the workbook password. - - - - - Spin count to loop the hash algorithm. - - - - - This event is fired after workbook is successfully saved. - - - - - This event is fired when user tries to save into read-only file. - - - - - Gets or sets standard ( default ) row height of all the worksheets. - in points. Double. - - - - - Contains the Date Time patterns od the current culture with date custom format - - - - - Delegate used for digit size evaluation. - - Rectangle containing current digit size. - Current maximum value. - - - - Summary description for WorkbookShapeDataImpl. - - - - - Array of blips that should be parsed by MsoMetafilePicture. - - - - - Contains all workbook's pictures. - - - - - Drawing group not parsed records. - - - - - Parent workbook. - - - - - Dictionary, key - image hash (ArrayWrapper), value - MsofbtBSE structure that describes - - - - - Shape getter. - - - - - Last used worksheet shapes collection id. - - - - - Dictionary blip type - to - Instance, RequiredMac, RequiredWin32, subrecord type values. - - - - - Preserved Clusters. - - - - - Indexed Pixel Types and not supported image format - - - - - Static constructor. - - - - - Initializes new instance. - - Application object for the new instance. - Parent object for the new instance. - Shape getter to use for retrieving shapes from worksheet. - - - - Searches for all necessary parent objects. - - - - - Parses drawing group record. - - Record to parse. - - - - Parses picture container. - - - - - Serializes MsoDrawingGroupRecord if necessary. - - OffsetArrayList that will receive all records. - Record code for serialization. - - - - Serializes drawing group options. - - Options container. - - - - Serialize default options - - Options to serialize. - - - - Fills MsofbtDgg record. - - Record to fill. - Shape getter. - - - - Adds picture to the storage. - - Picture to add. - Desired image format. - Name of the picture. - Number of pictures after adding new picture (blip id). - - - - Adds picture to the storage. - - Picture to add. - Number of pictures after adding new picture.. - - - - Returns picture record. - - Picture index. - Picture record. - - - - Removes picture from this collection. - - Picture id to remove. - Indicates whether to remove image (not picture - shape) from workbook if we didn't detect any reference to it. - - - - Clears all internal data. - - - - - Creates a new object that is a copy of the current instance. - - Parent object for a copy of this instance. - A new object that is a copy of this instance. - - - - Registers new shapes collection. - - - - - - Converts image format into blip type. - - Format to convert. - Returns appropriate image format. - - - - Converts image format into blip type. - - Format to convert. - Desired image format. - - - - - Indicates whether blip is bitmap blip. - - Blip type to check. - True if specified blip is bitmap blip; False otherwise. - - - - Returns BlipParams for picture record. - - MsofbtBSE record to set fields. - BlipParams for picture record. - - - - List with all pictures. Read-only. - - - - - Indicates whether this mso drawing group has to be serialized. - - - - - Contains information about different properties of image. - - - - - Instance property value. - - - - - ReqMac property value. - - - - - ReqWin32 property value. - - - - - SubRecordType property value. - - - - - - - - - - - - - - Represents worksheet custom property. - - - - - Represents single worksheet custom property. - - - - - Returns the name of the property. - - - - - Gets sets the value of the custom property. - - - - - Low level record. - - - - - Default constructor. - - - - - Creates new instance of the class. - - Name of the new property. - - - - Creates new instance of the class. - - Low level property data. - - - - Serializes property into list of Biff records. - - OffsetArrayList to serialize into. - - - - Creates a copy of the current object. - - A copy of the current object. - - - - Returns name of the property. Read-only. - - - - - Gets or sets the value of the property. - - - - - Indicates if there is formula record. - - Worksheet to get data for. - Represents row index. - Represents column index. - Indicates whether cell contains formula record. - - - - Returns row from the collection or creates one if necessary. - - Worksheet to get row from. - Zero-based row index. - Indicates whether to create row if it doesn't exist. - Desired row object. - - - - Gets row information. - - One-based row index. - Row information. - - - - Updates FirstColumn and LastColumn indexes. - - Column that was accessed. - - - - Updates FirstRow and LastRow indexes. - - Row to access. - - - - Represents a worksheet. The Worksheet object is a member of the - Worksheets collection. The Worksheets collection contains all the - Worksheet objects in a workbook. - - - - - Default character (for width measuring). - - - - - One degree in radians. - - - - - Maximum column width. - - - - - Width of the zero character. - - - - - Default size for the dictionary of ranges. - - - - - Default size of autofilter arrow width. - - - - - Represents indent width. - - - - - - Maximum OleDateValue - - - - - Represents the Carriage Return character. - - - - - Represents the Carriage new line character. - - - - - Microsoft Excel. - - - - - Default number format index for date. - - - - - Indicates whether this instance has Alernate Content. - - - - - Returns the formula string if the cell contains a formula, or the value if - the cell cantains anything other than a formula. - - The row of the cell. - The column of the cell. - The formula string or value. - - - - Sets the value of a cell. - - The value to be set. - The row of the cell. - The column of the cell. - - - - Not implemented. - - - - - Array with autofilter record types. - - - - - Represents to parse sheet on demand - - - - - Range that contains all used cells. - - - - - The dictionary holds a records objects, representing each cell. - Holds information about used cells only. - Key - cell index. - Value - corresponding BiffRecordRaw. - - - - - In the dictionary store, where ColumnIndex-to-ColumnInfoRecord. - Column Index is started from 1. - - - - - Indicates whether page breaks should be displayed. - - - - - Object that contains information about page setup, i.e. - paper size, paper orientation, footers, headers, etc. - - - - - Standard column width. - - - - - Object that contains all merged regions of the worksheet. - - - - - Array store containing all selection records. - - - - - - - - - - Collection of all names defined in the worksheet (like named ranges). - - - - - Type of the worksheet. - - - - - Indicates if values are preserved as strings. - - - - - Array of all records for autofilter. - - - - - SortedList with all NoteRecords. - - - - - Notes sorted by cell index, key - cell index, value - note record. - - - - - - - - - - Contains all worksheet's sort records. - - - - - Start index for pivot table records. - - - - - Start index for hyperlinks records. - - - - - Start index for conditional formatting records. - - - - - Start index for data validation formatting records. - - - - - Start index of custom properties block. - - - - - DCon records. - - - - - Migrant range - row and column of this range object can be changed by user. - - - - - Worksheet's index record. This member is used for parsing only. - - - - - There are two different algorithms to create UsedRange object: - 1) Default. This property = true. The cell is included into UsedRange when - it has some record created for it even if data is empty (maybe some formatting - changed, maybe not - cell was accessed and record was created). - 2) This property = false. In this case XlsIO tries to remove empty rows and - columns from all sides to make UsedRange smaller. - - - - - Indicates to include the CFRange in UsedRange. - - - - - Contains settings of string preservation for ranges. - - - - - Object used for shape coordinates evaluation on loading. - - - - - List with preserved table object's records. - - - - - To set Ishidden property - - - - - For Zeroheight attribute to enable or disable - - - - - Specifies the number of characters of the maximum digit width of the normal style's font. - - - - - 'True' if rows have a thick bottom border by default. - - - - - 'True' if rows have a thick top border by default. - - - - - Highest number of outline levels for columns in this sheet. - - - - - Default column width of sheet. - - - - - Highest number of outline level for rows in this sheet. - - - - - List of CondFMT records. - - - - - List of CFEx Records. - - - - - List of Outline Wrappers collection - - - - - Represents the Column group outline dictionary collection - - - - - Represents the row group outline dictionary collection - - - - - Represents the Collection of InlineStrings - - - - - Preserves the External connection setting in the worksheet. - - - - - Preserves the pivot tables. - - - - - Stream to preserve the worksheet slicer - - - - - Represents a formula string for external links - - - - - Represents the Data table export - - - - - - - - - - Static constructor. - - - - - Creates worksheet and set its Application and Parent - properties to specified values. - - Application object for the worksheet. - Parent object for the worksheet. - - - - Initializes all inner data such as Comments collection, - Page setup, etc. - - - - - Clear all internal collections. - - - - - Clear all internal collections. - - Allows to avoid clearing of some properties. - - - - Copies names from another worksheet. - - Worksheet to copy names from. - Dictionary with new worksheet names. - Dictionary, key - old name index, value - new name index. - Represents hash table with new extern sheet indexes. - - - - Searches for all used named range objects. - - Dictionary where key means named range index. - - - - Copies row height. - - Source worksheet. - Dictionary with new extended format indexes. - - - - Copies conditional formats. - - Base worksheet. - - - - Copies autofilters. - - Base worksheet. - - - - Copies column width. - - Source worksheet. - Array with new extended format indexes. - - - - Returns true if specified column index can be found inside list of columns with default width. - - List of columns with default width (sorted). - Start index in the list. - Column index to check. - True if specified column index can be found inside list if columns. - - - - Updates indexes of extended formats. - - Collection with IOutline elements that should be updated. - Source worksheet. - Dictionary with new extended format indexes. - - - - Updates indexes of extended formats. - - Collection with IOutline elements that should be updated. - Source worksheet. - Dictionary with new extended format indexes. - Indicates whether update default format index. - - - - Updates indexes of extended formats. - - Collection with IOutline elements that should be updated. - Array with new extended format indexes. - - - - Creates columns on update. - - Represents column collection. - Represents new XF indexes. - List of columns that had default column width and were create by this method. - Items in this list are placed in ascending order. - - - - Copies merged regions. - - Source worksheet. - - - - - - - - - - - - - - This method is called during dispose operation. - - - - - Copies page setup from another worksheet. - - Worksheet to copy from. - - - - Imports extended format from anther worksheet. - - Extended format to import. - Source workbook. - Dictionary key - old xf index, value - new xf index. - Index of the new format. - - - - Updates style indexes. - - Array with changed style indexes. - - - - Indicates whether to parseCF or not. - - - - - Gets object that is clone of current worksheet in the specified workbook. - - Dictionary with update worksheet names. - New workbook object. - Object that is clone of the current worksheet. - - - - Parses Excel 2007 conditional formatting. - - Workbook file data holder. - - - - Parses worksheet conditional formats in Excel2007 version. - - - - - This method should be called immediately after extended format removal. - - Dictionary with updated extended formats. - - - - This method updates indexes to the extended formats after version change. - - New restriction for maximum possible XF index. - - - - Creates Rtf string for LabelSST record. - - Cell index. - Created rtf string. - - - - Returns found values or null. - - Storage range. - Value for finding. - If true - finds as error; otherwise as bool value. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - - - - Returns found values or null. - - Storage range. - Value for finding. - Finding flags. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - - - - Returns found values or null. - - Storage range. - Value for finding. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - Range array with found values. - - - - Returns found values or null. - - Storage range. - Value for finding. - If true - finds first value; otherwise - all values. - If findfirst - true then returns range; otherwise - array with all found values. - Range array with found values. - - - - Copies worksheet into the clipboard. - - - - - Moves range to new position. - - Destination range. - Source range. - Move options. - - Indicates whether row information such as row height, default style, etc. - must be copied from cache. - - - When source and destination ranges have different sizes. - - - - - Moves range to new position. - - Destination range. - Source range. - Move options. - - Indicates whether row information such as row height, default style, etc. - must be copied from cache. - - Represents before move operation. - - When source and destination ranges have different sizes. - - - - - Copies range from one range into another with formulas update. - - Destination range. - Source range. - Range into which source was copied. - - - - Copies range from one range into another. - - Destination range. - Source range. - Copy options. - Range into which source was copied. - - - - Copies range without checking range sizes. - - Source range to copy. - Destination range. - Copy options. - - - - Copies cell into another worksheet. - - Cell to copy. - Formula string value of the cell. - - Dictionary with updated extended format indexes, - or Null if indexes were not updated. - - New cell index - Source workbook. - - Dictionary with updated font indexes or Null if indexes were not updated. - - Copy options. - - - - Copies cells from one range into another. - - One-based index of the source row. - One-based index of the source column. - Number of rows to copy. - Number of columns to copy. - One-based index of the destination row. - One-based index of the destination column. - Destination worksheet. - DictionaryEntry with records and strings intersection part. - Rectangle with intersection information. - Copy options. - - - - Removes all formulas in colRemove from internal ArrayFormula collection. - - Formulas to remove. - Indicates whether to clear range before remove operation. - - - - Updates formulas after copy operation. - - Formula to update. - Row offset. - Column offset. - - - - - Updates formulas after copy operation. - - Current worksheet index. - Source worksheet index. - Source rectangle. - Destination worksheet index. - Destination rectangle. - - - - Autofits row. - - Row index. - - - - Autofits column. - - Column index. - - - - Autofits column. - - Column index. - One-based index of the first row to be used for autofit operation. - One-based index of the last row to be used for autofit operation. - - - - Copies all data from another worksheet. - - Parent worksheet. - Dictionary with style names. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Copy flags. - - - - Copies all data from another worksheet. - - Parent worksheet. - Dictionary with style names. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Copy flags. - - Dictionary with new extended format indexes. - - Dictionary with new name indexes. - - - - Copies all data from another worksheet. - - Parent worksheet. - Dictionary with style names. - Dictionary with new worksheet names. - Dictionary with new font indexes. - Copy flags. - - Dictionary with new extended format indexes. - - Dictionary with new name indexes. - Represents collection with extern sheets indexes. - - - - Copies all table objects. - - Worksheet to copy table objects from. - - - - Indicates whether source range can be moved into new location. - - Destination range. - Source range. - True if source range can be moved. - - - - Checks whether it is possible insert row into iRowIndex. - - Index of row to insert. - Number of rows to insert. - Insert options. - True if it is possible to insert row. - - - - Checks whether it is possible to insert column into iRowIndex. - - Index of column to insert. - Number of columns to insert. - Insert options. - True if it is possible to insert column. - - - - Gets range from string value. - - Range value represented in string. - Extracted Range. - - - - Updates indexes to named ranges. - - New indexes. - - - - Updates indexes to named ranges. - - New indexes. - - - - Returns string index of the specified cell. - - Cell index to locate. - String index of the specified cell. - - - - Returns TextWithFormat object corresponding to the specified cell. - - Cell index. - TextWithFormat object corresponding to the specified cell. - - - - Returns TextWithFormat object corresponding to the specified cell. - - Cell index. - Object corresponding to the specified cell. - - - - Returns extended format for specified cell. - - Cell index. - Extended format for specified cell. - - - - Sets string index in the specified cell. - - Cell index to set sst index in. - SST index to set. - - - - Updates string indexes. - - List with new indexes. - - - - Removes merged cells. - - Represent range of merged cells. - - - - Sets active cell - - Cell to activate. - - - - Sets active cell - - Cell to activate. - - - - Gets selection with active cell. - - - - - - Returns active cell. - - Currently active cell. - - - - Tells whether specific FormulaRecord is array-entered formula. - - FormulaRecord to check. - True if it is array-entered formula. - - - - Indicates whether cell contains array-entered formula. - - Cell index to check. - True if cell contains array-entered formula. - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row - Indicates whether to raise events on row autofitting. - - Height from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Creates copy of the current object. - - Parent object for the new object. - Indicates whether we should clone shapes or not. - Copy of the current object. - - - - Looks through all records and calls AddIncrease for each LabelSST record. - - - - - Gets string preservation option for the range. - - Range to get value for. - True if strings are preserved for all cells of the range, - false - if it is not preserved, - null - undefined or different cells have different values. - - - - Sets the value indicating whether string should be preserved for range. - - Range to set value for. - Value to set. - - - - Sets items with used reference indexes to true. - - Array to mark used references in. - - - - Updates reference indexes. - - Array with updated indexes. - - - - Creates default pane. - - - - - Copies cell value from sourceCell into destCell. - DOES NOT COPY FORMULAARRAYS (THIS SHOULD BE DONE IN DIFFERENT PLACE). - - Destination cell. - Source cell. - - - - Copies cell value from sourceCell into destCell. - DOES NOT COPY FORMULAARRAYS (THIS SHOULD BE DONE IN DIFFERENT PLACE). - - Destination cell. - Source cell. - Options for coping. - - - - Gets the column count. - - The source. - The dest. - - - - - Gets the row count. - - The source. - The dest. - - - - - Copies comment from one cell into another. - - Source cell. - Destination cell. - - - - Removes last row from the worksheet. - - Indicates whether to update formulas after row remove. - - - - Removes required number of last rows from the worksheet. - - Indicates whether to update formulas after row remove. - Number of rows to remove. - - - - Removes last column from the worksheet. - - Indicates whether update formulas after removing. - - - - Removes last column from the worksheet. - - Indicates whether update formulas after removing. - Number of columns to remove. - - - - Partially clears cells if necessary. - - Range to clear. - - - - Caches cells from the source range and removes them from it. - - Source range. - Destination range. - Maximum row after moving into destination range. - Maximum column after moving into destination range. - Source records collection. - Returns hashtable (index-RangeImpl) with all cached cells. - - - - Copies source dictionary into destination. - - Source table. - Destination table. - - Indicates whether row information such as row height, default style, etc. - must be copied from cache. - - - - - Clears range in the dictionary that corresponds to the specified range. - - Dictionary to clear. - Rectangle to clear. - - - - Updates formula array after copy range operation. - - ArrayRecord to update. - Destination worksheet. - Row difference. - Column difference. - - - - Returns record table that should contain cell information. - - One-based row index of the cell. - One-based column index of the cell. - Intersection rectangle. - RecordTable with intersection data. - Another RecordTable that contains cell that are not included into intersection. - RecordTable that should contain cell information. - - - - Adds all necessary styles into collection. - - Start row of the range to copy styles from. - Start column of the range to copy styles from. - Number of rows in the range. - Number of columns in the range. - Destination worksheet. - Dictionary that will get updated indexes. - Dictionary with updated extended format indexes - - - - Clear specified cell. - - Cell to clear. - - - - Sets range values accordingly to an ArrayRecord. - - ArrayRecord that has cells values. - - - - Removes all formulas in colRemove from internal ArrayFormula collection. - - Formula to remove. - Indicates whether to clear range before remove operation. - - - - Creates new ArrayFormula based on specified ArrayFormula. - Used in copy and move range operations. - - Source ArrayFormula. - Destination range. - Source range. - Row (IN THE SOURCE range) of the array formula. - Column (IN THE SOURCE range) of the array formula. - Indicates whether to update formulas. - New array formula. - - - - - - - - - - - Copies merged regions. - - Destination range. - Source range. - - - - Copies merged regions. - - Destination range. - Source range. - Indicates whether to delete source merges after copy. - - - - Returns note record by object index. - - Object index to find NoteRecord for. - Corresponding NoteRecord, or Null if not found. - - - - - - - - - - Autofits row. - - Row index. - One-based index of the first column to be used for autofit operation. - One-based index of the last column to be used for autofit operation. - If true then raise events. - - - - Sets inner row height. - - Row index. - Value to set. - If true then bad row height. - Current units. - if true then raise events. - - - - Returns True if row is empty;Checking only for styles. - - One-based row index to check. - True if row is empty. - - - - Returns True if row is empty - - One-based row index to check. - If true - checking for styles and value, otherwise - for value only. - True if row is empty. - - - - Returns True if column is empty. - - One-based column index to check. - True if column is empty. - - - - Indicate if column is empty. - - One-based Column index. - If true - ignore styles. - If true - column is empty. - - - - Parses Range. - - Current Range. - String where parsing is. - Current separator. - Current index of parsing string. - Index of parsed range. - - - - Gets size of string that contain cell found by cellindex. - - Cell to measure. - If true then autofit Rows, otherwise - columns. - Indicates whether rotation must be ignored. - Returns new size of string. - - - - Gets size of string that contain cell found by cellindex. - - Cell index to Autofit. - If true then autofit Rows, otherwise - columns. - Indicates whether rotation must be ignored. - Returns new size of string. - - - - Gets size of string that contain cell found by cellindex. - - Cell index to Autofit. - If true then autofit Rows, otherwise - columns. - RichTextString object to use for text measuring - - to reduce time and memory consumption. - Indicates whether rotation must be ignored. - Returns new size of string. - - - - Updates indent size. - - Represents current size. - Represents extended format. - Returns updated size by indent value. - - - - Updates text width by rotation. - - String size without rotation. - Current rotation. - If true then update height otherwise - width. - Updated width or height. - - - - Gets font by extended format index. - - Record that contain extended format index. - Represents the rotation. Out Parameter. - Returns font, rotation by extended format. - - - - Copies different sheet options. - - Source sheet. - - - - This method is called after RealIndex property change. - - Old value. - - - - This method is called after insert row or column operation is complete - and it fires event handlers if necessary. - - Row or column index to insert at. - Number of inserted rows or columns. - Indicates whether rows were inserted. - - - - Updates fit size by autofilter arrow. - - Represents current size. - Represents extended format. - Represents cell records collection. - Represents cell index. - Returns new size, that contain size of arrow. - - - - Updates size for general alignment for autofilter arrow. - - Represents current size. - Represents rotation. - Represents cells collection. - Represents cell index. - Returns updated size. - - - - Creates migrant range. - - - - - Returns default outline style. - - Dictionary with outlines. - Outline index. - Extracted outline style. - - - - Sets row or column default style. - - Row or column index. - End row or column index. - Style to set. - Collection of outlines that contains style info. - Delegate used for outline creation. - Indicates is in row or column. - XF index that was set. - - - - Sets row or column default style. - - Row or column index. - End row or column index. - Style to set. - Collection of outlines that contains style info. - Delegate used for outline creation. - Indicates is in row or column. - XF index that was set. - - - - Converts style object into XF index that can be assigned to cell or ColumnInfo, Row records. - - Style to convert. - Converted style. - - - - Creates new column record. - - Column index to create record for. - Created row. - - - - Copies style from above/below/left/right after insert row/column operation. - - Index where insert operation took place. - Number of inserted rows/columns. - Insert options. - Indicates whether rows where inserted. - - - - Copies row and column settings - - Represents source row. - Represents source column. - Represents row or column - Source index - Current index - Insert option - - - - Calculates row or column index from which style must be copied - into inserted area. - - Row or column index whether insert operation was called. - Number of rows/columns to insert. - Insert options. - Update row or column index. - - - - Returns format type for specified column. - - One-based row index for exported cell. - One-based column index for exported cell. - Indicates whether to use default style. - Format type for specified column. - - - - Returns type of the elements based on format type. - - Export type that must be converted into System.Type. - Type of the elements based on format type. - - - - Gets value from the cell record. - - Cell to get value from. - String representation of the cell's value. - - - - Updates dictionary with outlines after extended format removal. - - Dictionary to update. - Dictionary with updated extended formats. - - - - Converts list of cell indexes into ranges array. - - List of cell indexes. - Array with ranges. - - - - Finds value for number. - - Record that represents current cell. - Value for find. - If true - find as number. - If true find as formula value. - Returns cell or null. - - - - Finds bool or error. - - BoolError record that represents current cell. - Value to find. - If true - finds error; otherwise bool - Returns cell or null. - - - - Returns Range which represents specified cell. - - Column index of the cell. - Row index of the cell. - Range which represents specified cell. - - - - Returns Range which represents specified cell. - - Column index of the cell. - Row index of the cell. - Index to extended format for new range. - Range which represents specified cell. - - - - Returns Range which represents specified cell. - - Column index of the cell. - Row index of the cell. - Index to extended format for new range. - Range which represents specified cell. - - - - Converts biff record into range. - - Record to convert. - Created range. - - - - Updates first cell and last cell if necessary. - - Row index. - Column index. - - - - Sets Range which represents specified cell. - - Column index of the cell. - Row index of the cell. - Range which represents specified cell. - - - - Sets cell value. - - Cell index. - Record to set into cell. - - - - Sets cell value. - - One-based column index. - One-based row index. - Record to set into cell. - - - - Returns dimensions of the worksheet. - - Variable that receives index of the first used column. - Variable that receives index of the first used row. - Variable that receives index of the last used column. - Variable that receives index of the last used row. - - - - Calculates dimensions of the specified column. - - Column dimension of which will be calculated. - - Variable that will receive first used row in the specified column. - - - Variable that will receive last used row in the specified column. - - - - - Updates LabelSST indexes after SST record parsing. - - Dictionary with indexes to update, key - old index, value - new index. - - - - Insert into columns. - - Represents column index. - Represents number of columns to be inserted. - Represents insert options. - - - - Remove from column. - - Represents column index. - Represents number of columns to remove. - Insert Options - - - - Updates coordinates for used range, by removing empty rows and columns if necessary. - - First row to start looking from. - First column to start looking from. - Last row to finish looking at. - Last column to finish looking at. - - - - Checks whether row is empty. - - Row index to check. - True if the whole row is empty. - - - - Checks whether column is empty. - - Column index to check. - True if the whole column is empty. - - - - Creates used range. - - Represents first row of the range. - Represents first column of the range. - Represents last row of the range. - Represents last column of the range. - - - - - - - - - - Prepares protection options before setting protection. - - - - - - - Prepares variables to worksheet parsing. - - - - - Parses single record. - - Record to parse. - Indicates whether to ignore styles information. - Dictionary with new extended format index. - - - - Updates duplicated name indexes. - - Represents formula. - - - - Returns new index of the extended format in ignore styles mode. - - Old extended format index. - Dictionary with new extended format indexes. - New index of the extended format. - - - - Method opens excel file using separator. - - Stream to reading. - Current separator. - First row to write. - First column to write. - boolen value for the valid document - - - - Read single cell value plus ending separator or new line character if present. - - Read to get data from. - Separator between cell values. - Builder to store temporary results. - Boolean value for the Valid Document. - Extracted cell value. - - - - Checks whether data inside specified string builder ends with specified string. - - Builder to check. - Separator to locate. - True if it ends with specified value. - - - - Read data from reader until it find specified character. - - Reader to read data from. - Character to locate. - Builder to put extracted data into. - BoolenValue for the ValidDocument. - - - - Calculates number of specified character in the specified string. /// - Value to check. - Character to count. - Number of found characters. - - - - Parses worksheet's data. - - - - - Replaces all shared formula with ordinary formula. - - - - - Parses ColumnInfo record. - - Record to parse. - Indicates whether we should ignore styles settings. - - - - Parses row record. - - Record to parse. - Indicates whether we should ignore styles settings. - - - - Extracts calculation options. - - Position in the records array after extraction. - - - - Extracts page setup from biff records array - - Start index of the first pagesetup record. - - - - Extracts conditional formats from biff records array - - Position of the first conditional format - - - - Extracts data validation data from internal records array. - - Position of the first data validation record. - - - - Extracts custom properties from the records array. - - Position of the first custom property record. - - - - Creates collection of conditional formats. - - Record that describes formats collection. - - Conditional formats that will be inserted into the collection. - - - - - Creates collection of conditional formats. - - Record that describes formats collection. - - Conditional formats that will be inserted into the collection. - - - - - Returns width from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width of the specified column. - - - - Converts column width into pixels. - - Column width to convert. - Column width in pixels. - - - - Converts pixels count into column width value. - - Column width in pixels. - Column width. - - - - Returns width displayed by Excel. - - Width written in file. - Width displayed by Excel. - - - - Converts width displayed by Excel to width that should be written into file. - - Width displayed by Excel. - width written into file. - - - - Handler for NameIndexChanged event. - - Event sender. - Event arguments. - - - - Attaches events to Named ranges used in array-entered formulas. - - - - - Attaches events to Named ranges used in array-entered formulas. - - Start index of named ranges. - - - - Parses autofilters. - - - - - Returns record at specified cell index. - - Record's cell index. - Record at specified cell index. - - - - Returns record at specified cell index. - - One-based row index. - One-based column index. - Record at specified cell index. - - - - Parses dimensions record. - - Record to parse. - - - - Sets cell at which panes are frozen. - - - - - Creates all necessary selection records. - - - - - Re-indexes selection records. - - Dictionary with currently used selection indexes. - - - - Tries to add next pane index if necessary. - - Dictionary with pane indexes that must be present in the file. - Panes that are absent. - Indexes that are currently present. - Pane index to add. - - - - Gets free index for the selection. - - Start index to try. - Dictionary with used indexes. - Unused index that can be used as pane index. - - - - Clears the worksheet. All the data including formatting and merges are removed. - - - - - Clears the data in the worksheet. Only the data in the cells are removed. - The formatting and merges are not removed. - - - - - Indicates whether a cell was initialized or accessed by the user. - - One-based row index of the cell. - One-based column index of the cell. - Value indicating whether the cell was initialized or accessed by the user. - - - - Creates new instance of IRanges. - - New instance of ranges collection. - - - - Create Named Ranges - - Names to create - Refers to range - True if data are vertically placed in the sheet. - - - - Shows / Hides the specified column. - - One-based column index to show or hide. - TRUE - show column, FALSE - hide column. - - - - Hides the specified column. - - One-based column index to hide. - - - - Hides the specified row. - - One-based row index to hide. - - - - Shows / Hides the specified row. - - One-based row index to show or hide. - TRUE - show row, FALSE - hide row. - - - - Shows / Hides the specified range. - - Range specifies the particular range to show / hide - True - Range is visible; false - hidden. - - - - Shows/ Hides the collection of range. - - Ranges specifies the range collection. - True - Row is visible; false - hidden. - - - - Shows/ Hides an array of range. - - Ranges specifies the range array. - True - Row is visible; false - hidden. - - - - Method check is Column with specified index visible to end user or not - - Index of column - True - column is visible, otherwise False - - - - Method check is Row with specified index visible to user or not - - Index of row visibility of each must be checked - True - row is visible to user, otherwise False - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - - - - Inserts an empty row with default formatting. - - Index at which new row should be inserted. - Number of rows to insert. - Insert options. - - - - Inserts an empty column with default formatting (without updating any formula). - - Index at which new column should be inserted - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted - Number of columns to insert. - - - - Inserts an empty column with default formatting. - - Index at which new column should be inserted - Number of columns to insert. - Insert options. - - - - Removes specified row. - - One-based row index to remove - - - - Removes specified row. - - One-based row index to remove - Number of rows to delete. - - - - Copies row. - - Zero-based destination row index. - Zero-based source row index. - - - - Removes specified column. - - One-based column index to remove. - - - - Removes specified column. - - One-based column index to remove. - Number of columns to remove. - - - - Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width in Excel units of the specified column. - - - - Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord - or StandardWidth if not. - - One-based index of the column. - Width in pixels of the specified column. - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row - - Height from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Returns height from RowRecord if there is a corresponding RowRecord. - Otherwise returns StandardHeight. - - One-based index of the row. - - Height in pixels from RowRecord if there is corresponding RowRecord. - Otherwise returns StandardHeight. - - - - - Imports an array of objects into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Checks the string object is a formula. - - The value. - - - - - - - Imports an array of objects into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Imports an array of strings into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Imports an array of integers into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Imports an array of doubles into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Imports an array of DateTimes into worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - - TRUE if array should be imported vertically; FALSE - horizontally. - - Number of imported elements. - - - - Imports an array of objects into a worksheet. - - Array to import. - - Row of the first cell where array should be imported. - - - Column of the first cell where array should be imported. - - Number of imported elements. - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - TRUE if data table must be directly seriliazed on save - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - Maximum number of rows to import - Maximum number of columns to import - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - Maximum number of rows to import - Maximum number of columns to import - - Indicates whether XlsIO should try to preserve types in DataTable, - i.e. if it is set to False (default) and in DataTable we have in string column - value that contains only numbers, it would be converted to number. - - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - Maximum number of rows to import - Maximum number of columns to import - Array of columns to import. - Indicates whether to preserve column types. - Number of imported rows - - - - Imports data from a DataTable into worksheet - - DataTable with desired data - TRUE if column names must also be imported - - Row of the first cell where DataTable should be imported - - - Column of the first cell where DataTable should be imported - - Maximum number of rows to import - Maximum number of columns to import - Array of columns to import. - Indicates whether to preserve column types. - Indicates whether to serialize the data table directly. - Number of imported rows - - - - Replace the string data type value into SST index. - - DataTable with desired data. - Represents shared string collection. - Date time style index. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Number of imported rows. - - - - Imports data from a DataTable into namedRange. - - DataTable with desired data. - Represents named range. - TRUE if column names must also be imported. - Represents row offset into named range to import. - Represents column offset into named range to import. - Represents count of rows to import. - Represents count of rows to import. - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data column. - - Data column to import. - Indicates whether to import field names. - Index of the first row. - Index of the first column - Number of imported rows. - - - - Imports array of data columns. - - Data columns to import. - Indicates whether to import field names. - Index to the first row. - Index to the first column. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Indicates whether to preserve column types. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Number of imported rows. - - - - Imports data from a DataView into worksheet. - - DataView with desired data. - TRUE if column names must also be imported. - - Row of the first cell where DataView should be imported. - - - Column of the first cell where DataView should be imported. - - Maximum number of rows to import. - Maximum number of columns to import. - Indicates whether to preserve column types. - Number of imported rows. - - - - Removes panes from a worksheet. - - - - - Intersects two ranges. - - First range to intersect. - Second range to intersect. - Intersection of two ranges or null if there is no ranges intersection. - - When range1 or range2 is null. - - - - - Merges two ranges. - - First range to merge. - Second range to merge. - Merged ranges or null if wasn't able to merge ranges. - - When range1 or range2 is null. - - - - - Find a range with the given value. - - Value to find. - Range array that contains the given value. - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by specified value. - - String value to replace. - New value for the range with specified string. - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by data from array. - - String value to replace. - Array of new values. - - Indicates whether array should be inserted vertically. - - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by data table values. - - String value to replace. - Data table with new data. - Indicates whether field name must be shown. - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Replaces specified string by data table values. - - String value to replace. - Data column with new data. - Indicates whether field name must be shown. - - This can be long operation (needs iteration through all cells - in the worksheet). Better use named ranges instead and call - Import function instead of placeholders. - - - - - Removes worksheet from parent worksheets collection. - - - - - Moves worksheet into new position. - - - New index in the workbook's objects collection. - IT IS NOT ALWAYS INDEX IN WOKRSHEETS COLLECTION. - - - - - - - - - - - Sets column width. - - One-based column index. - Width to set. - - - - Sets column width in pixels. - - One-based column index. - Width in pixels to set. - - - - Set Column Width from Start Column index and End Column index - - Start Column index - No of Column to be set width - Value to set - - - - Sets row height. - - One-based row index. - Height to set. - - - - Sets row height in pixels. - - One-based row index to set height. - Value in pixels to set. - - - - Set Row height from Start Row index to End Row index - - Start Row index - No. of rows - Value in pixels to set - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell that starts with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that starts with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value. - - Value to search. - Type of value to search. - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell that ends with specified string value which igonres the case. - - Value to search. - Type of value to search. - true to ignore case wen comparing this string to the value;otherwise,false - - First found cell, or Null if value was not found. - - - - - This method searches for the first cell with specified string value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified double value. - - Value to search. - Type of value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified bool value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified DateTime value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the first cell with specified TimeSpan value. - - Value to search. - First found cell, or Null if value was not found. - - - - This method searches for the all cells with specified string value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified string value based on the Excel find options. - - Value to search. - Type of value to search. - Way to search. - - All found cells, or Null if value was not found. - - - - - This method searches for the all cells with specified double value. - - Value to search. - Type of value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified bool value. - - Value to search. - All found cells, or Null if value was not found - - - - This method searches for the all cells with specified DateTime value. - - Value to search. - All found cells, or Null if value was not found. - - - - This method searches for the all cells with specified TimeSpan value. - - Value to search. - All found cells, or Null if value was not found. - - - - Save tabsheet using separator. - - File to save. - Current separator. - - - - Save tabsheet using separator. - - File to save. - Current separator. - Encoding to use. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - Encoding to use. - - - - Save tabsheet using separator. - - Stream to save. - Current separator. - Encoding to use. - - - - Sets by column index default style for column. - - Column index. - Default style. - - - - Sets by column index default style for column. - - Start column index. - End column index. - Default style. - - - - Sets by column index default style for row. - - Row index. - Default style. - - - - Sets by column index default style for row. - - Start row index. - End row index. - Default style. - - - - Sets by row index default style for cell. - - Column index. - Default style index. - - - - Returns default column style. - - Column index. - Default column style or null if style wasn't set. - - - - Returns default row style. - - One-based row index. - Default row style or null if style wasn't set. - - - - Free's range object. - - Range to remove from internal cache. - - - - Free's range object. - - One-based row index of the range object to remove from internal cache. - One-based column index of the range object to remove from internal cache. - - - - Imports data table without checking arguments for correctness. - - Data table to import. - Index of the first row to import. - Index of the first column to import. - Maximum number of rows to import. - Maximum number of columns to import. - Array of columns to import. - - - - Imports data table with type preservation, but without checking arguments for correctness. - - Data table to import. - Index of the first row to import. - Index of the first column to import. - Maximum number of rows to import. - Maximum number of columns to import. - Array of columns to import. - - - - Imports DataView without checking arguments for correctness. - - DataView to import. - Index of the first row to import. - Index of the first column to import. - Maximum number of rows to import. - Maximum number of columns to import. - - - - Imports DataView with type preservation, but without checking arguments for correctness. - - DataView to import. - Index of the first row to import. - Index of the first column to import. - Maximum number of rows to import. - Maximum number of columns to import. - - - - Converts object value into RangeProperty enum. - - Value to convert. - Column index in DataRowView. - Dictionary to cache results. - Corresponding RangeProperty. - - - - Saves worksheet into specified OffsetArrayList. - - - OffsetArrayList that will receive all of the worksheet's records. - - - When records is null - - - - - Serializes worksheet if it wasn't parsed. - - Record list to serialize into. - - - - Saves worksheet into specified OffsetArrayList in Clipboard format - - - OffsetArrayList that will receive all worksheet's records - - - When records is null - - - - - Saves ColumnInfoRecords into specified OffsetArrayList - - - OffsetArrayList that will receive all ColumnInfoRecords - - Number of ColumnInfoRecords - - When records is null - - - - - Saves specified ColumnInfoRecords into specified OffsetArrayList - - - OffsetArrayList that will receive all ColumnInfoRecords - - Index of last column - - When records or values is null - - - - - Compares two DVRecords ignoring ranges information. - - First DVRecord to compare. - Second DVRecord to compare. - TRUE if they are equal; FALSE otherwise. - - - - Merges DVRecords. - - Destination DVRecord. - DVRecord to add regions from. - - - - Saves all shapes. - - List to save records into. - - - - Saves worksheet into specified OffsetArrayList. - - - OffsetArrayList that will receive all of the worksheet's records. - - Indicates whether we need to serialize all records to be able to copy them into clipboard. - - When records is null - - - - - Raises ColumnWidthChanged event. - - Zero-based column index. - New width value. - - - - Raises RowHeightChanged event. - - Zero-based row index. - New height. - - - - This method is called when normal font changes. - - Event sender. - Event arguments. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets the value in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Value to set. - - - - Sets text in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Text to set. - - - - Sets formula in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Formula to set. - - - - Sets formula in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Formula to set. - Indicates is formula in R1C1 notation. - - - - Sets error in the specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - Error to set. - - - - Sets blank in specified cell. - - One-based row index of the cell to set value. - One-based column index of the cell to set value. - - - - Sets blank record into cell with specified row and column. - - Row index. - Column index. - - - - Sets number record into cell with specified row and column. - - One-based row index. - One-based column index. - Value to set. - Represents xf index. - - - - Sets rk record into cell with specified row and column. - - One-based row index. - One-based column index. - Value to be set. - - - - Sets formula value. - - One based row index. - One based column. - Formula value to set. - Indicates whether range is represented as R1C1 notation. - - - - Sets formula number value. - - One based row index. - One based column index. - Represents formula number value for set. - - - - Sets formula error value. - - One based row index. - One based column index. - Represents formula error value for set. - - - - Sets formula bool value. - - One based row index. - One based column index. - Represents formula bool value for set. - - - - Sets formula string value. - - One based row index. - One based column index. - Represents formula string value for set. - - - - Sets error value. - - Row index. - Column index. - Value representing error name. - Indicates whether to set text. - - - - Sets string to a range. - - Row index - Column index - String value to set. - - - - Removes string from a cell. - - Row index. - Column index. - Index to extended format - - - - Returns index of an extended format for specified cell. - - One-based row index. - One-based column index. - Index to the extended format. - - - - Returns index of an extended format for specified Row. - - One-based row index. - Index to the extended format. - - - - Returns index of an extended format for specified Column. - - first column index. - last column index. - Index to the extended format. - - - - Tries to create Rk record from double value. - - Row index. - Column index. - Double that should be converted to RkRecord. - Created RkRecord if succeeded, null otherwise. - - - - Tries to create Rk record from double value. - - Row index. - Column index. - Double that should be converted to RkRecord. - Represents xf index. - Created RkRecord if succeeded, null otherwise. - - - - Creates record. - - Record to create. - One-based row index. - One-based column index. - Created biff record. - - - - Creates record. - - Record to create. - One-based row index. - One-based column index. - Represents xf index. - Created biff record. - - - - Sets formula number. Use for setting FormulaError, FormulaBoolean, FormulaNumber values. - - One based row index. - One based column index. - Represents value for set. - - - - Sets formula value. Use for setting FormulaError, FormulaBoolean, FormulaNumber, FormulaString values. - - One based row index. - One based column index. - Represents value for set. - Represents string record as formula string value. Can be null. - - - - Returns formula corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula contained by the cell. - - - - Returns formula corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula contained by the cell. - - - - Returns formula corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Indicates whether R1C1 notation should be used. - Formula utilities to use for parsing. - Formula contained by the cell. - - - - Returns formula corresponding to the cell. - - Zero-based row index of the cell to get value from. - Zero-based column index of the cell to get value from. - Array with formula tokens. - Indicates whether R1C1 notation should be used. - Formula utilities to use for parsing. - Formula contained by the cell. - - - - Gets formula array. - - Represents formula. - Formula array. - - - - Returns string value corresponding to the cell. - - Cell index to get value from. - String contained by the cell. - - - - Returns string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns formula string value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - String contained by the cell. - - - - Returns number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Returns formula number value corresponding to the cell. - - One-based row index of the cell to get value from. - One-based column index of the cell to get value from. - Number contained by the cell. - - - - Gets error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets the error value to string. - - The value. - Row index. - Returns error string or null. - - - - Gets formula error value from cell. - - Row index. - Column index. - Returns error value or null. - - - - Gets bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Gets formula bool value from cell. - - Represents row index. - Represents column index. - Returns found bool value. If cannot found returns false. - - - - Indicates is has array formula. - - Represents row index. - Represents column index. - Indicates is contain array formula record. - - - - Indicates whether tokens array contains array formula reference. - - Tokens to check. - True if it refers to - - - - Gets cell type from current column. - - Indicates row. - Indicates column. - Indicates is need to indentify formula sub type. - Returns cell type. - - - - Indicates is formula in cell is formula to external workbook. - - Represents row index. - Represents column index. - If contain extern formula returns true; otherwise false. - - - - Get the idex of the first row in UsedRange - - index of first row - - - - get the index of the last row in UsedRange - - index of last row - - - - This API supports the .NET Framework infrastructure and is not intended to be used directly from your code - - - - - - Gets the first column index. - - Index of first column - - - - Gets the last column index / column count. - - Index of last column - - - - This API supports the .NET Framework infrastructure and is not intended to be used directly from your code - - - - - - Event raised when an unknown function is encountered. - - - - - Gets a value indicating whether this instance has sheet calculation. - - - true if this instance has sheet calculation; otherwise, false. - - - - - Gets a value indicating whether this instance has Alernate Content. - - - true if this instance has sheet AlernateContent; otherwise, false. - - - - - Stream to preserve the worksheet slicer - - - - - Default column width mentioned in the attribute - - - - - Read-only. Access to merged cells. - - - - - Read-only. Access to column info records. - - - - - Gets or sets position of vertical split. - - - - - Gets or sets position of horizontal split. - - - - - Gets or sets first visible row in bottom pane. - - - - - Max_Coloumn width - - - - - Gets or sets first visible column in right pane. - - - - - Worksheet's print area. - - - - - Gets a value indicating selection count of pane. - - - - - Gets or sets the view setting of the sheet. - - - - - - Return default row height in pixel. - - - - - Returns inner names collection. Read-only. - - - - - Returns collection of cell records. Read-only. - - - - - Returns a PageSetup object that contains all the page setup settings - for the specified object. Read-only. - - - - - Gets pain record or null. Read-only. - - - - - Gets array with selection records or null. Read-only. - - - - - Indicates whether all created range objects should be cached. Default value is true. - - - - - Returns all autofilter records. Read-only. - - - - - Returns all DCon records that were met in the source document. Read-only. - - - - - Returns all Sort records that were met in the source document. Read-only. - - - - - Returns quoted name of the worksheet. - - - - - Gets or sets excel version. - - - - - Returns object used for records creation/extraction from data provider. Read-only. - - - - - - - - - - Indicates whether IsHidden property is set. - - - - - Indicates whether ZeroHeight property has enabled or not. - - - - - Specifies the number of characters of the maximum digit width of the normal style's font. - - - - - 'True' if rows have a thick bottom border by default. - - - - - 'True' if rows have a thick top border by default. - - - - - Highest number of outline levels for columns in this sheet. - - - - - Highest number of outline level for rows in this sheet. - - - - - Highest number of outline level for rows in this sheet. - - - - - Returns the rows outline level count - - - - - Returns the columns outline level count - - - - - Returns or sets the list of outline wrapper collection - - - - - Indicates whether worksheet has merged cells. Read-only. - - - - - Gets the default protection options for the worksheet. - - - - - Gets the inline strings. - - The inline strings. - - - - Preserves the External connection setting in the worksheet. - - - - - Preserves the pivot tables. - - - - - Gets or sets the boolean value to load worksheets on demand - - - - - Return or sets the columns outline levels collection - - - - - Returns the row outline levels collection - - - - - Get cell by row and index. - - - - - Get cell range. - - - - - Get cell range. - - - - - Get cell range. - - - - - Gets / sets index of the active pane. - - - - - Returns all used cells in the worksheet. Read-only. - - - - - For a Worksheet object, returns an array of Range objects that represents - all used columns on the specified worksheet. Read-only Range object. - - - - - True if page breaks (both automatic and manual) on the specified - worksheet are displayed. Read / write Boolean. - - - - - True if zero values to be displayed - False otherwise. - - - - - True if gridlines are visible; - False otherwise. - - - - - True if row and column headers are visible. - False otherwise. - - - - - Indicates if all values in the workbook are preserved as strings. - - - - - Returns all merged ranges. Read-only. - - - - - Name used by macros to access to workbook items. - - - - - Returns a PageSetup object that contains all the page setup settings - for the specified object. Read-only. - - - - - Gets or sets range indicating first visible row and column. - - - - - Read-only. Returns a Range object that represents a cell or a range of cells. - - - - - For a Worksheet object, returns an array of Range objects that represents - all the rows on the specified worksheet. Read-only Range object. - - - - - Defines whether freeze panes are applied. - - - - - Gets or sets range for vertical and horizontal split - - - - - Gets or sets standard ( default ) height of all the rows in the worksheet, - in points. Double. - - - - - Gets or sets the standard (default) height option flag, which defines that - standard (default) row height and book default font height do not match. Bool. - - - - - Returns or sets the standard ( default ) width of all the columns in the - worksheet. Read/write Double. - - - - - Returns or sets the worksheet type. Read-only OfficeSheetType. - - - - - Returns a Range object that represents the used range on the - specified worksheet. Read-only. - - - - - Returns all not empty or accessed cells. Read-only. - WARNING: This property creates Range object for each cell in the worksheet - and creates new array each time user calls to it. It can cause huge memory - usage especially if called frequently. - - - - - Indicates whether worksheet is empty. Read-only. - - - - - Returns instance of migrant range - row and column of this range - object can be changed by user. Read-only. - - - - - There are two different algorithms to create UsedRange object: - 1) Default. This property = true. The cell is included into UsedRange when - it has some record created for it even if data is empty (maybe some formatting - changed, maybe not - cell was accessed and record was created). - 2) This property = false. In this case XlsIO tries to remove empty rows and - columns from all sides to make UsedRange smaller. - - - - - Indicates whether to include CFRange in Used range. - - - - - Indicates is current sheet is protected. - - - - - Returns ImportDTHelper objects. - - - - - Indicates whether it is importing. - - - - - This event is raised after column width changed. - - - - - This event is raised after column height changed. - - - - - Gets top left cell of the worksheet. - - - - - - Defines which property of IRange should be used. - - - - - Represents range value type. - - - - - Represents Blank type. - - - - - Represents Error type. - - - - - Represents Boolean type. - - - - - Represents Number type. - - - - - Represents Formula type. - - - - - Represents String type. - - - - - Delegate for outline creation. - - - - - This class is used for sorting cell indexes by row. - - - - - Compares two cell indexes by row value - - First cell index to compare - Second cell index to compare - - 0 - if rows are equal; - -1 - when the second row is greater than the first; - 1 - when the first row is greater than the second; - - - - - This class is used for sorting cell indexes by column - - - - - Compares two cell indexes by column value - - First cell index to compare - Second cell index to compare - - 0 - if columns are equal; - -1 - when the second column is greater than the first; - 1 - when the first column is greater than the second; - - - - - This class is used for sorting ranges by row index - - - - - Compares two ranges by row index - - First range to compare - Second range to compare - - 0 - if rows are equal; - -1 - when the second row is greater than the first; - 1 - when the first row is greater than the second; - - - - - This class is used for sorting ranges by column index - - - - - Compares two ranges by column index - - First range to compare - Second range to compare - - 0 - if rows are equal; - -1 - when the second column is greater than the first; - 1 - when the first column is greater than the second; - - - - - - Represents the method that will return array of biff records for MsoDrawing record. - - - - - Event delegate for MissingFunction event. - - The CalcEngine. - The for this event. - - - - The event args for the MissingFunction event which is raised whenever the CalcEngine encounters a function - that is does not know. - - - - - Gets the name of the unknown function. - - - - - Gets the location of the missing function. - - - - - Summary description for Dxf style implementation. - - - - - Borders collection. - - - - - Fill implementation. - - - - - Font implementation. - - - - - Format implementation. - - - - - Initializes new instance of the Dxf style. - - - - - Creates copy of the current object. - - A copy of the current object. - - - - Gets/sets Format record. - - - - - Gets/sets fill. - - - - - Gets/sets font. - - - - - Gets/sets borders. - - - - - Class used for parsing Excel 2007 workbooks. - - - - - Represents HLS max value. - - - - - Represents RGB max value. - - - - - Represents undefined HLS value. - - - - - CarriageReturn ControlCharacters - - - - - LineFeed ControlCharacters - - - - - NullChar ControlCharacters - - - - - BackSpace ControlCharacters - - - - - Tab ControlCharacters - - - - - Content TypeSchema - - - - - Content Type NameSpace - - - - - Xml Schema NameSpace - - - - - Element Name - - - - - Name Attribute - - - - - Display Name Attribute - - - - - Internal Name Attribute - - - - - Ref attribute - - - - - Complex content - - - - - Parent workbook. - - - - - Formula utils. - - - - - Dictionary with all available shape parsers. Key - shape instance value, - or o:spt value; Value - shape parser. - - - - - Theme colors list. - - - - - Dictionary of theme colors: key - theme color name, value - corresponding color. - - - - - Parent element name. - - - - - Represents the current worksheet. - - - - - Collecton of Outline levels - - - - - The number format indexes that are always serialized. - - - - - Initializes new instance of the parser. - - Parent workbook. - - - - Converts theme color name into rgb color value. - - Color name to get rgb color value for. - Rgb color object that corresponds to the theme color. - - - - Converts theme color name into rgb color value. - - Color name to get rgb color value for. - Dictionary that holds theme color name and color. - Rgb color object that corresponds to the theme color. - - - - - - - - - - - - Parses workbook part. - - XmlReader to extract workbook part data from. - Workbook relations. - Object that stores document data. - Absolute path in zip archive to the parent workbook. - Stream that will get all xml tags before worksheets. - Stream that will get all xml tags after named ranges section. - Workbook views collection. - - - - Parses DocumentManagement Schema Elements - - List of elements in DocumentManagement - Xml Reader - - - - Parses DocumentManagement child Elements - - Xml Reader - - - - Extracts pivot caches from the reader. - - Xml reader to get pivot caches data from. - - - - Extracts pivot cache from the reader. - - Xml reader to get data from. - - - - Parses workbook Pr tag and parses Date1904 value - - XmlReader to extract workbook part data from. - - - - Parses calculation tag and reads Precision - - XmlReader to extract workbook part data from. - - - - Extracts workbook protection options. - - XmlReader to extract protection options from. - - - - Parses workbook views. - - Reader to get data from. - Active sheet index. - Display tab index. - Workbook views collection. - - - - Parses workbook view. - - Reader to get data from. - Dictionary where key - attribute name, value - attribute value. - - - - Parses sheet (chart of worksheet). - - Reader to get data from. - Sheet to parse. - Absolute path to the parent worksheet item. - This stream will receive xml text starting just - after "worksheet" tag to "col" or "sheetData" tag. - This stream contains conditional formatting. - List with new style indexes (index - old - style index, value - new one). - Dictionary with archive items to remove after parsing. - - - - Parses worksheet before sheetData tag. - - - - - - - - - Parses sheet views. - - Reader to get data from. - Worksheet to place extracted data into. - - - - Parses single sheet view item. - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Extracts selection data. - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Extracts pane objects. - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Parses pane state. - - WindowTwo record that stores pane state flags. - State value to parse - - - - Extracts chart sheet from XmlReader. - - XmlReader to extract chart sheet data from. - Chart toi fill with data. - - - - Parses drawing associated with chartsheet. - - XmlReader that contains drawing data. - Chart to put extracted data into. - - - - - - - - - - - - - - Extracts default row height from sheet format properties tag. - - XmlReader to get info from. - Worksheet to put settings into. - - - - Extracts Zero row height from sheet format properties tag. - - XmlReader to get info from. - Worksheet to put settings into. - - - - This methods extracts merged cells information from XmlReader. - - Reader to get merge information from. - Parent worksheet. - - - - This methods extracts named ranges from XmlReader. - - Reader to get information from. - - - - Parses styles of the workbook. - - XmlReader to read styles data from. - Stream that will get Dxfs formatting. - - - - Parses shared strings table. - - XmlReader to get data from. - Dictionary with updated string indexes. - - - - Parses string item. - - XmlReader to get data from. - Added string index. - - - - Parses string item. - - XmlReader to get data from. - Added string index. - - - - Parses Vml shapes. - - XmlReader to get data from. - Worksheet to put extracted shapes into. - Corresponding relations collection. - Path to the parent item. - - - - Extracts relations collection from XmlReader. - - Reader to extract data from. - Extracted relations collection. - - - - Extracts sheet data from reader and insets it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - List with new style indexes (index - old style index, value - new one). - Tag used for cell definition. - Dictionary with all attributes of sheetData tag. - - - - Parse xml document with comments data (author, text). - - XmlReader to get data from. - Worksheet to put extracted comments data into. - - - - This method extracts drawings from specified XmlReader. - - XmlReader to extract data from. - Worksheet to place extracted shapes into. - Absolute path to the drawings. - List that will get relation id of the picture - (used to remove parsed relations after parsing). - Dictionary with archive items to remove after parsing. - - - - This method extracts all xml tags after SheetData tag. - - Reader to get data from. - Sheet to parse. - This stream contains conditional formatting. - Absolute path to the parent worksheet item. - Dictionary with archive items to remove after parsing. - - - - Parses the extensionlist. - - The reader. - The sheet. - - - - Parses the ext. - - The sheet. - The reader. - - - - Extracts controls tag from a reader. - - XmlReader to get data from. - - - - - Extracts protection options. - - XmlReader to extract from. - Worksheet to put extracted protection options into. - - - - Checks single protection attribute and updates protection flags as necessary. - - XmlReader to get attribute value from. - Attribute name to check. - Flag value that corresponds to the protection attribute. - Default value of the attribute. - Current protection settings. - Updated protection settings. - - - - Checks single protection attribute and updates protection flags as necessary. - - XmlReader to get attribute value from. - Attribute name to check. - Flag value that corresponds to the protection attribute. - Default value of the attribute. - Current protection settings. - Updated protection settings. - - - - Extracts ignore error options from XmlReader. - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Extracts ignore error option from a reader. - - XmlReader to extract ignored error settings. - Worksheet to put extracted data into. - - - - Extracts custom worksheet properties. - - XmlReader to get data from. - Worksheet to put extracted properties into. - - - - Extracts single custom property from specified reader. - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Gets the parsed XML value. - - The XML value. - - - - - - - - - - - - - Parses header/footer drawings. - - XmlReader to get data from. - Worksheet to put data into. - - - - This method parses Drawings xml tag (shapes). - - XmlReader to get data from. - Worksheet to put extracted data into. - Dictionary with archive items to remove after parsing. - - - - This method parses LegacyDrawings xml tag (vml shapes). - - XmlReader to get data from. - Worksheet to put extracted data into. - - - - Extracts single drawing defined by TwoCellAnchor tag name from the specified XmlReader. - - XmlReader to get shape data from. - Worksheet to put extracted shape into. - Absolute path to the drawings. - Relation ids that were parsed (to remove them from the collection later). - Dictionary with archive items to remove after parsing. - - - - Extracts shape specified by "sp" tag and registers it in required collections. - - XmlReader to get data from. - Parent worksheet. - Stream that will contains xml representation of the shape if necessary. - Created shape object. - - - - Tries to extract chart object from specified stream with GraphicFrame tag. - - Stream with GraphicFrame tag. - Parent worksheet. - Path to the drawing item. - Extracted chart shape; or null if chart wasn't located. - - - - Tries to extract chart object from specified stream with GraphicFrame tag. - - Stream with GraphicFrame tag. - Parent worksheet. - Path to the drawing item. - Extracted chart shape; or null if chart wasn't located. - - - - - - - - - - - Extracts extent settings from reader and converts them into pixels. - - Reader to get extent data from. - Size of the shape in pixels. - - - - Parses EditAs attribute. - - Shape to set properties for. - Value to parse - - - - Sets shape anchor. - - Shape to set anchor for. - Rectangle that defines top-left shape's position in Excel 2007 units. - Rectangle that defines bottom-right shape's position in Excel 2007 units. - Width and height of the shape if extent token was present, -1 otherwise. - - - - Converts anchor offsets from Excel 2007 units into Excel 97-2003 units (used by XlsIO). - - Rectangle with shape coordinates (left-top or bottom-right corner). - Parent worksheet. - Rectangle with converted values from Excel 2007 coordinates space into Excel 97-2003 coordinates. - - - - Extracts anchor point from the specified XmlReader. - - Reader to get data from. - Rectangle with extracted data. - - - - Parse picture shape. - - XmlReader to get picture data from. - Worksheet to place extracted shape into. - Absolute path to the drawings. - List that will get relation id of the picture - (used to remove parsed relations after parsing). - Dictionary with archive items to remove after parsing. - - - - This method extracts shape properties from the specified XmlReader. - - XmlReader to get data from. - Shape to put extracted data into. - - - - Extracts blip data from the specified XmlReader. - - Reader to get blip data from. - Shape to put extracted data into. - Worksheet drawings relations collection. - Path to the parent item. - Parent file data holder. - List that will get relation id of the picture - (used to remove parsed relations after parsing). - Dictionary with archive items to remove after parsing. - - - - Parses blip tag and sets appropriate image to the specified shape. - - Reader to get data from. - Shape to put image into. - Collection with all drawings relations. - Path to the parent item (used to resolve related relation path). - Parent file data holder. - List that will get relation id of the picture - (used to remove parsed relations after parsing). - Dictionary with archive items to remove after parsing. - - - - This method parses picture properties. - - Reader to extract data from. - Shape to put properties into. - - - - Parses non visual picture canvas properties. - - XmlReader to get data from. - Shape to place extracted data into. - - - - Parses non visual canvas properties. - - XmlReader to get data from. - Shape to store extracted data. - - - - Parses Click Hyper link properties. - - XmlReader to get data from. - Shape to store extracted data. - - - - Parses commentList tag. - - XmlReader to get data from. - List with comment authors. - Worksheet - - - - This method extracts single comment from the specified reader. - - XmlReader to get comment from. - List of comment authors. - Parent worksheet for the comment. - - - - Extracts authors from the specified reader. - - XmlReader to get list of comment authors from. - List with comment authors. - - - - Extracts shape from the reader. - - XmlReader to get shape settings from. - Dictionary with default shape settings. - Key - shape type, Value - default shape - Corresponding relations collection. - Path to the parent item. - - - - Extracts shape type from the specified reader. - - XmlReader to get shape type from. - Worksheet that is being currently parsed. - Dictionary that will get default shape for the current shape type. - - - - Extracts shape from the reader if shape type does not exist. - - XmlReader to get shape settings from. - Shape collection to process - Corresponding relations collection. - Path to the parent item. - - - - Parses rich text run. - - XmlReader to get data from. - Index of the added string. - - - - Extracts TextWithFormat from the specified XmlReader. - - XmlReader to get data from. - Tag that means that we have to stop parsing. - Parsed text with format. - - - - - - - - - - - Parses text content. - - XmlReader to get data from. - Parsed string index. - - - - Parses text content. - - XmlReader to get data from. - Parsed string index. - - - - Extracts named styles from specified XmlReader. - - XmlReader to get data from. - List with updated font indexes, index - font index - in the file, value - font index in our document (we can change indexes during parsing). - List with extracted fill objects. - List with extracted borders. - List with indexes of created extended formats. - - - - Extracts cell formats from specified XmlReader. - - XmlReader to get data from. - List with updated font indexes, index - font index - in the file, value - font index in our document (we can change indexes during parsing). - List with extracted fill objects. - List with extracted borders. - List with updated parent indexes, index - xfId in - the xml document, value - xf index in our internal collection. - List with indexes of created extended formats. - - - - Parses named style settings (name, etc.). - - XmlReader to get data from. - List with modified indexes to named - style's extended formats. - - - - Converts style name sting to Ascii string - - - - - - - Parses single style object. - - XmlReader to get data from. - List with modified indexes to named - style's extended formats. - - - - Extracts single extended format from the XmlReader. - - XmlReader to get data from. - List with updated font indexes, index - font index - in the file, value - font index in our document (we can change indexes during parsing). - List with extracted fill objects. - List with extracted borders. - List with updated parent indexes. - Created ExtendedFormat object. - - - - Parse alignment and protection properties for extended format - if they are present in the document. - - XmlReader to get data from. - ExtendedFormatRecord to put data into. - - - - Parses alignment settings. - - XmlReader to get alignment data from. - Record to write alignment data into. - - - - Parses protection settings. - - XmlReader to get protection data from. - Record to write protection data into. - - - - Extracts Include (IncludeAlignment, IncludeFont, etc.) attributes from XmlReader. - - XmlReader to get data from. - ExtendedFormat to put data into. - - - - This method extracts font, fill and border settings from specified - XmlReader and sets inside specified ExtendedFormat. - - XmlReader to get data from. - Extended format to put data into. - List with updated font indexes, index - font index - in the file, value - font index in our document (we can change indexes during parsing). - List with extracted fill objects. - List with extracted borders. - - - - Copies border settings from specified borders collection into ExtendedFormatImpl. - - BordersCollection to copy settings from. - Format object to copy into. - - - - Extracts single relation item from the reader and puts it into relations collection. - - XmlReader to extract relation from. - Relations collection that should get extracted value. - - - - Parses sheet options. - - XmlReader to extract sheet options from (name, visibility, relation, etc.). - Workbook relations. - Object that holds document data. - Absolute path in zip archive to the parent workbook. - - - - Parses sheet entry from workbook item. - - Reader to extract data from. - Workook's relations collection. - FileDataHolder that stores document data. - Absolute path in zip archive to the parent workbook. - - - - Sets sheet visibility. - - Worksheet to set visibility into. - Visibility string value. - - - - - - - - - - - - - Extracts single MergeRegion from reader and inserts it into collection inside worksheet. - - XmlReader to get data from. - Worksheet to put data into. - - - - Extracts single MergeRegion from reader and inserts it into collection inside worksheet. - - XmlReader to get data from. - Named range value. - - - - Extracts collection of number formats from specified reader. - - XmlReader to get data from. - - - - Extracts fonts from XmlReader. - - XmlReader to get data from. - List with new font indexes. - - - - Extracts font object from specified XmlReader. - - Reader to read font data from. - List to add new font index into. - - - - Extracts font object from specified XmlReader. - - Reader to read font data from. - Extracted font. - - - - Extracts font settings from specified XmlReader. - - Reader to read font data from. - Font to extract data into. - - - - Parses the family. - - The reader. - - - - - Extracts - - - - - - - Extracts collection of number formats from specified reader. - - XmlReader to get data from. - - - - Extracts single number format entry from specified reader. - - Reader to extract from. - - - - Extracts color from XmlReader. - - XmlReader to get data from. - Extracted color index (on the current moment we support only indexed colors). - - - - Extracts color from XmlReader. - - XmlReader to get data from. - Color object to put extracted values into. - - - - Extracts backgroundcolor from XmlReader. - - XmlReader to get data from. - Color object to put extracted values into. - - - - Applies tint to the specified color. - - Color to apply tint value to. - Tint value to apply. - Color after applying tint value. - - - - Converts color to HLS values. - - Color to convert. - Hue value. - Luminance value. - Saturation value. - - - - Converts HLS components to RGB color values and returns Color, according to this values. - - Hue value. - Luminance value. - Saturation value. - - - - - Converts Hue value to RGB single component. - - Magic number 1. - Magic number 2. - Hue value. - RGB component value. - - - - Extracts boolean value from the current xml tag. - - XmlReader to get value from. - Name of the attribute where value is stored. - Default value (when there is no attribute specified). - Extracted value. - - - - Extract value of the attribute from reader. - - XmlReader to get data from. - Name of the attribute to extract. - Extracted value; or null if there were no attribute with such name. - - - - Extracts fill objects from XmlReader. - - XmlReader to get data from. - List with all extracted fills. - - - - Extracts single fill object from specified XmlReader. - - XmlReader to read fill data from. - Indicates whether fore and back colors should be swapped. - Extracted Fill object. - - - - Extracts single gradient fill object from specified XmlReader. - - XmlReader to read gradient fill from. - Extracted gradient fill object. - - - - Extracts single path gradient fill object from specified XmlReader. - - XmlReader to read gradient fill from. - Extracted path gradient fill object. - - - - Extracts stop colors from specified XmlReader. - - XmlReader to read stop colors from. - Colors list. - - - - Extracts single linear gradient fill object from specified XmlReader. - - XmlReader to read linear gradient fill from. - Extracted linear gradient fill object. - - - - Sets gradients fill style and variant values according to degree value. - - Fill to set data into. - Degree value. - - - - Extracts attribute value. - - XmlReader to extract attribute value from. - Attribute name. - Attribute double value. - - - - Extracts pattern fill from specified XmlReader. - - XmlReader to get data from. - Indicates whether fore and back colors should be swapped. - Extracted fill object. - - - - Converts specified string in MS Excel 2007 pattern format into pattern value. - - Value to convert. - Converted value. - - - - Extracts border objects from XmlReader. - - XmlReader to get data from. - List with new borders indexes. - - - - Extracts border collection from specified XmlReader. - - XmlReader to get data from. - Extracted borders collection. - - - - Extracts single border from the XmlReader. - - XmlReader to get data from. - Output - index of the extracted border (left, top, etc.). - Extracted border. - - - - Extracts row data from reader and inserts it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - Style hashtable. Key - recovered from xml extended format id, - value - extended format index in workbook collection. - Current row id. - - - - Extracts cell from reader and inserts it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - Style hashtable. Key - recovered from xml extended format id, - value - extended format index in workbook collection. - - - - Returns type of the cell. - - String representation of the cell type. - - - - - Extracts formula from reader and inserts it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - Current row index. - Current column index. - Extended format index. - - - - Extracts and fills palette settings from specified XmlReader. - - XmlReader to get palette from. - - - - - - - - - - Parses columns collection. - - XmlReader to get data from. - Worksheet that will store extracted data. - List with new style indexes. - - - - - - - - - - - - - - - - - Extracts themes. - - XmlReader to get data from. - - - - Skips the white spaces in the XML. - - - - - - Extracts theme colors. - - XmlReader to get data from. - Dictionary that will be filled with theme colors, - key - color name, value - color value. - Returns theme colors list. - - - - Extracts Dxfs collection from XmlReader. - - XmlReader to extract data from. - List of Dxf styles. - - - - Extracts single Dxf style record from XmlReader. - - XmlReader to extract data from. - Dxf style object. - - - - Updates the CRRange in used Range. - - address of conditional format.s - Worksheet. - - - - Parses print options. - - XmlReader to parse print options from. - PageSetup object to put print options into. - - - - Parses page margins. - - XmlReader to get values from. - Object to put extracted values into. - - - - Serialize PageSetup tag. - - XmlReader to get page setup values from. - Object to put extracted values into. - - - - Parse header footer tags. - - XmlReader to get all necessary data from. - Object that would store all extracted settings. - - - - Converts string into OfficePrintLocation. - - Value to convert. - Converted value. - - - - Converts string value to OfficePrintErrors. - - Value to convert. - Converted value. - - - - Extracts hyperlinks from reader and inserts them into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - - - - Extracts sheet-level properties from reader and inserts it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - - - - Parses worksheet page setup properties. - - Reader to extract data from. - Object to put extracted data into. - - - - Parses worksheet outline properties. - - Reader to get data from. - Page setup to put data into. - - - - Extracts background image from reader and inserts it into worksheet. - - XmlReader to get data from. - Worksheet to put data into. - Worksheet parent path. - - - - Parses the CustomXmlParts - - XmlReader - Schema Reference - - - - Parses the CustomXmlParts - - XmlReader - Schema Reference - - - - Parses the Each Schemas and added to Schema collections - - XmlReader - Schema Reference - - - - Parses external link file. To set URL field we have to have access to - relations, so it is better to do it in some other place. - - XmlReader to get data from. - Item's relations. - - - - Parses the OLE object link. - - The reader. - The relations. - - - - - - - - - - - Extracts external names from the reader. - - XmlReader to get data from. - External workbooks to put defined names into. - - - - Extracts single external name from the reader. - - XmlReader to get external name data from. - External workbook to put extracted name into. - - - - Extracts cached external data. - - XmlReader to get data from. - External workbook to put cache into. - - - - Extracts single external worksheet cached data from XmlReader. - - XmlReader to get cached data from. - External workbook to place extracted data into. - - - - Creates external workbook. - - Relations collection that helps to locate external workbook. - Relation id of the target workbook. - Name of the workbook's worksheets. - - - - - Extract names of external worksheets from the reader. - - XmlReader to get data from. - List with extracted names. - - - - Parses workbook part of the external links description. - - Reader to get data from. - - - - Parses single external link from the workbook. - - Reader to get link information from. - - - - Creates cell record. - - Cell type. - Record value. - Current cells collection. - Represents column index. - Represents row index. - Represents extended format index. - - - - Sets formula value. - - Worksheet to set formula value into. - Cell type. - Value to set. - Represents row index. - Represents column index. - - - - Sets array formula record into worksheet. - - Worksheet to put data into. - Formula string to insert. - Cell range of the formula. - Extended format index. - - - - Sets shared formula record into worksheet. - - Worksheet to put data into. - Formula string to insert. - Cell range of the formula. - Shared formula group index. - Current row index. - Current column index. - Extended format index. - - - - Converts Excel 2007 data validation type to Excel 97-03. - - Excel 2007 data validation type. - Excel 97-03 data validation type. - - - - Returns DV error style. - - DV error style name. - DV error style. - - - - Returns DV compare operator. - - DV compare operator name. - - - - - Returns DV ranges. - - All ranges for DV. - DV ranges array. - - - - Returns DV or AF range. - - DV or AF range string. - DV range. - - - - Returns excel filter condition. - - Filter condition string name. - Excel filter condition. - - - - Returns excel CF type value. - - CF type sting name. - Defines whether current type is currently supported.| - Excel CF type value. - - - - Returns excel comparison operator. - - Operator string name. - Defines whether current operator is currently supported. - Excel operator value. - - - - Returns the time period type - - - - - - - - Returns xml element value. - - XmlReader to get value from. - Xml element value. - - - - Converts color by applying shade value. - - Color to process. - Shade to apply. - Modified color. - - - - Converts Control unicode Character to ASCII . - - String Value. - Modified ASCII String. - - - - Copies fill settings from fill object into extended format. - - Fill to copy from. - Extended format to copy into. - - - - Parse the theme overrided colors from the chart - - Input chart object - the parsed theme colors - - - - Gets FformulaUtil that corresponds to invariant culture. - - - - - Gets the worksheet. - - The worksheet. - - - - This is parser of unknown vml shapes. - - - - - This class is responsible for vml shape and shape type parsing. - - - - - Extracts shape type settings from the reader and creates shape with default settings. - - XmlReader to get general shape settings from. - Parent worksheet for the shape. - - Shape with default settings without adding it to any collection. - - - - - Parses shape and adds it to all necessary shapes collections. - - XmlReader to get shape from. - Default shape that must be cloned to get resulting shape. - Corresponding relations collection. - Path to the parent item (item which holds all these xml tags). - - - - Saves current node into stream. - - Reader to get node from. - Stream with current node's data. - - - - Saves current node into stream. - - Reader to get node from. - Stream with current node's data. - - - - Reads node from the stream and writes it into XmlWriter. - - Writer to write node into. - Stream to get node from. - - - - Reads node from the stream and writes it into XmlWriter. - - Writer to write node into. - Stream to get node from. - - - - Parses shape's anchor. - - XmlReader to get anchor information from. - Shape to set anchor to. - - - - Splits style into properties dictionary. - - Value to split. - Dictionary with properties, key - property name, value - property value. - - - - Extracts shape type settings from the reader and creates shape with default settings. - - XmlReader to get general shape settings from. - Parent worksheet for the shape. - Shape with default settings without adding it to any collection - - - - Parses shape and adds it to all necessary shapes collections. - - XmlReader to get shape from. - Default shape that must be cloned to get resulting shape. - Corresponding relations collection. - Path to the parent item (item which holds all these xml tags). - - - - Creates new Unknown shapes serializator. - - Shape instance used to choose correct shape serializator. - XmlReader to get shape from. - Represents current worksheet. - - - - This class is used for header/footer images parsing. - - - - - Extracts shape type settings from the reader and creates shape with default settings. - - XmlReader to get general shape settings from. - Parent worksheet for the shape. - - Shape with default settings without adding it to any collection - - - - - Parses shape and adds it to all necessary shapes collections. - - XmlReader to get shape from. - Default shape that must be cloned to get resulting shape. - Corresponding relations collection. - Path to the parent item (item which holds all these xml tags). - - - - Parses style attribute of the comment shape. - - Reader to get attribute data from. - Comment shape to set values to. - - - - Parses style properties. - - Textbox to put properties into. - String representation of the style properties - (key - property name, value - property value). - - - - Parses shape id - - Extracted shapeid or -1 if format was incorrect. - - - - Parses image data. - - XmlReader to get required information from. - Name of the new shape. - Parent worksheet to place new shape into. - Corresponding relations collection. - Path to the parent item. - - - - This class is used to parse text box shape. - - - - - Extracts text box settings from XmlReader. - - TextBox to fill with settings. - XmlReader to get data from. - Parser used to help in parsing process. - - - - Parses non visual shape properties. - - Shape to be parsed. - XML reader to extract data from. - Parser used to help in parsing process. - - - - Parses shape properties. - - TextBox to be parsed. - XML reader to extract data from. - Parser used to help in parsing process. - - - - Parses rich text. - - XmlReader to read rich text from. - Parser object that helps to extract data. - TextBox to be parsed. - - - - Parses text area body properties. - - XmlReader to read body properties from. - Text area to put body properties into. - Textbox to be parsed. - - - - Parses text rotation value. - - Rotation value to parse. - TextBox to put extracted value into. - - - - Parses anchor (vertical alignment). - - Anchor value to parse. - TextBox to put extracted value into. - - - - Extracts list styles for a text area. - - XmlReader to extract list styles from. - Text area that will get extracted settings. - - - - Parses paragraph. - - XmlReader to get paragraph tag from. - Text box that needs its paragraph text to be parsed. - Parser object that helps to extract data. - - - - Extracts paragraph properties - - XmlReader to get data from. - TextBox to put data into. - - - - Parses paragraph run. - - XmlReader to get paragraph run from. - Text area to put extracted properties into. - Parser object that helps to extract data. - - - - Parses paragraph run. - - XmlReader to extract paragraph tag from. - Text area that will get paragraph run information (formatting and text). - Parser object that helps to extract data. - Font attributes of the paragraph run. - - - - Serialize line properties. - - XmlReader to serialize into. - Chart line properties to serialize. - Indicates whether border is rounded or not - Excel2007Parser to help in extraction process. - - - - Class used to parse Textbox. - - - - - Hold the Enum shape line style and excel - line style representation - - - - - hold the enum dash style and excel - dash style representation - - - - - Adds list of Shape line style - - - - - Adds the list of shape dash style - - - - - Gradient center shadding option is parsed and serailized by the - "GradientRadial" attribute value, this is not in Enum OfficeGradientStyle - so this property hold this value temporarly - - - - - Parses shape and adds it to all necessary shapes collections. - - XmlReader to get shape from. - Default shape that must be cloned to get resulting shape. - Corresponding relations collection. - Path to the parent item (item which holds all these xml tags). - - - - Parses text box name and divisions - - Reader to get data from. - Text box to parse. - - - - Parses division element - - Reader to get data from. - Text box to parse. - - - - Extracts single formatting run (text + font) from the reader. - - Reader to get text data from. - Text box shape to put extracted data into. - - - - Checks the font element. - - The font reader. - - - - - Registers shape in all necessary collections. - - Shape to register. - - - - Parses client data tag and all its internal tags. - - Reader to get necessary values from. - Shape to parse client data for. - - - - Tries to parse unknown client data tag. - - Reader to get data from. - Shape to put data into. - - - - Extracts boolean value from the reader. When element is empty - default value is used. - - XmlReader to get value from. - Default value to use. - Value containing parsed boolean value if there is any or default one if tag is empty. - - - - This method parses fill color types - - XmlReader to parse fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - Parse the solid color - - XmlReader to parse fill color from. - TextBox to set fill color to. - - - - Parse the Graident fills One Color,Two Color and Presets - - XmlReader to parse fill color from. - TextBox to set fill color to. - - - - This method parses Texture fill attribute. - - XmlReader to extract fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - This method parses Pattern fill attribute. - - XmlReader to extract fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - This method parses Picture fill attribute. - - XmlReader to extract fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - Parse Gradient Shading, Variants and Transparency - - XmlReader to parse fill color from. - TextBox to set fill color to. - - - - Parse the border Line of the shape - - XmlReader to parse fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - Parse Pattern Line - - XmlReader to parse fill color from. - TextBox to set fill color to. - relation Collection of the item - path of the item - - - - Parses style attribute of the comment shape. - - Reader to get attribute data from. - Comment shape to set values to. - - - - Parses style properties. - - Textbox to put properties into. - String representation of the style properties - (key - property name, value - property value). - - - - Parses TextDirection property comment style property. - - TextBox to set TextRotation for. - Dictionary with comment properties. - - - - Checks whether the given color is indexed or not - - color - color representation - - - - Extract the string color to ColorObject - - color - colorobject from string - - - - Indicates whether the string is Hexadecimal or not. - - Hexadecimal string. - Returns true if the string is Hexadecimal - - - - Extract the opacity double value from string value - - opacity value in string - double value from excel opacity - - - - Removes char at the first or last of the given string - - source string - indicates whether remove char at last or first - remove character at given position - - - - Extract the Gradient Color Type - - reader to parse - enum gradient color - - - - Extract the darkness or lightness value of one color gradient - for one color2 attribute contains darkness or lightness value - - string color2 attribute value - degree double from string - - - - Extract the preset value from the resource file. - - preset in excel format - preset in Enum - - - - Extract the Pattern value from the resource file. - - - - - - - Extract the Shading Variants - - focus is an angle in string - Variant in Enum - - - - Extract the Texture Name from the title string - - Texture name in string - texture in enum - - - - Extract the Pattern Name - - Patterns color string - pattern in enum - - - - Extract Dash style from enum - - dash style to enum - dash style in enum - - - - Exctract the line style from enum - - line style to extract - line style in enum - - - - Gradient center shadding option is parsed and serailized by the - "GradientRadial" attribute value, this is not in Enum OfficeGradientStyle - so this property hold this value temporarly - - - - - Font name. - - - - - Font size. - - - - - Value indicating whether font is bold. - - - - - Value indicating whether text - - - - - Value indicating whether text is underlined. - - - - - Value indicating whether text is striked. - - - - - Language used to display text. - - - - - Font color. - - - - - Represents the baseline properties - - - - - Adds slash ('/') before the file name if necessary. - - - - - Initializes a new instance of the AddSlashPreprocessor class. - - - - - Somehow converts full path into name that will be stored in the zip archive. - - Name to process. - Converted name. - - - - Class used for holding border settings. - - - - - Returns or sets the primary color of the object. - Read/write ExcelKnownColors. - - - - - Represents border line style. - - - - - This field is used only by Diagonal borders. For any other - border index property will have no influence. - - - - - Specifies a boolean value that indicate whether the border setting has a empty border - - - - - Initializes a new instance of the BorderSettingsHolder class. - - - - - Creates a shallow copy of the current System.Object. - - A shallow copy of the current System.Object. - - - - Gets or sets the primary color of the object. - Read/write ExcelKnownColors. - - - - - Gets color of the border. - - - - - Gets or sets color of the border. - - - - - Gets or sets the line style for the border. Read/write OfficeLineStyle. - - - - - Gets or sets a value indicating whether to show Diagonal lines. This property is used only by Diagonal borders. For any other border - index property will have no influence. - - - - - Specifies a boolean value that indicate whether the border setting has a empty border - - - - - Application object for this object. - - - - - Parent object for this object. - - - - - This class is responsible for chart axis parsing. - - - - - Default font name. - - - - - Default axis font size. - - - - - Represents dictionary for Ticklabel to Attribute value. - - - - - Represents dictionary for TickMark to Attribute value. - - - - - Initializes static members of the ChartAxisParser class. - - - - - Extracts date axis from XmlReader. - - XmlReader to serialize into. - Axis to serialize. - Chart item relations. - Prognosed type of the chart (or chart part) that is being parsed. - - - - Serializes category axis. - - XmlReader to extract data from. - Axis to serialize. - Chart item relations. - Prognosed type of the chart (or chart part) that is being parsed. - - - - Extracts value axis. - - XmlReader to extract axis from. - Axis to put extracted data into. - Chart item relations. - Prognosed type of the chart (or chart part) that is being parsed. - - - - Extracts series axis data. - - XmlReader to extract data from. - Axis to put extracted data into. - Chart item relations. - Prognosed type of the chart (or chart part) that is being parsed. - - - - Extracts common part of the axis. - - XmlReader to extract data from. - Axis to serialize. - Relations collection for chart item that is being parsed. - Prognosed type of the chart (or chart part) that is being parsed. - - - - Extracts chart axis text properties from the reader. - - XmlReader to get data from. - Axis to put extracted data into. - - - - Extracts text body properties - - XmlReader to get data from. - Axis to put extracted data into. - - - - Parses crosses xml tag. - - XmlReader to extract data from. - Axis to put extracted data into. - - - - Parses cross axis tag. - - XmlReader to extract data from. - Axis to put extracted data into. - - - - Extracts tick mark. - - XmlReader to extract data from. - Extracted value. - - - - Extracts tick label position. - - XmlReader to extract data from. - Axis to set tick label position. - - - - Extracts number format used by the axis. - - XmlReader to extract data from. - Axis to put extracted number format into. - - - - Extracts single gridline object. - - XmlReader to extract data from. - Gridlines to put extracted data into. - Parent file data holder. - Chart item relations. - - - - Extracts axis position. - - XmlReader to extract data from. - Axis to serialize. - Extracted Axis position. - - - - Extracts scaling tag and all necessary child tags. - - XmlReader to serialize into. - Extracted Axis scale. - - - - Extracts display unit from XmlReader. - - XmlReader to extract data from. - Axis to put extracted data into. - - - - Extracts built-in display unit. - - XmlReader to get value from. - Value axis to put extracted value into. - - - - Parses additional tags of category axis. - - XmlReader to get data from. - Axis to put data into. - Chart relations. - - - - Parses additional tags of date axis. - - XmlReader to get data from. - Axis to put data into. - Chart relations. - - - - Parses additional tags of value axis. - - XmlReader to get data from. - Axis to put data into. - Chart relations. - - - - Parses additional tags of series axis. - - XmlReader to get data from. - Axis to put data into. - Chart relations. - - - - Class used for representing chart axis scale. - - - - - Represents logarithmic scale. - - - - - Indicates whether datapoint plot from last to first. - - - - - Represents maximum value. - - - - - Represents minimum value. - - - - - Method used to copy the axis scale. - - Represents Chart value axis. - - - - This class is responsible for chart axis serialization. - - - - - Defines text rotation multiplier constant. - - - - - Represents dictionary for TickLabel to Attribute value. - - - - - Represents dictionary for TickMark to Attribute value. - - - - - Initializes static members of the ChartAxisSerializator class. - - - - - Serializes chart axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes date axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Convert date unit to string. - - ExcelChartBaseUnit to serialize. - Date unit as string. - - - - Serializes category axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes value axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes series axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes common part of the axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Returns pair for the specified axis, it is category axis for value axis and vice versa. - - Axis to get pair for. - Pair for the specified axis. - - - - Serializes cross axis. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes tick mark. - - XmlWriter to serialize into. - Tag name to use. - Tick mark to serialize - - - - Serializes tick label position. - - XmlWriter to serialize into. - Axis to get tick label position from. - - - - Serializes number format used by the axis. - - XmlWriter to serialize into. - Axis to serialize number format for. - - - - Serializes axis gridlines. - - XmlWriter to serialize into. - Axis to serialize gridlines for. - - - - Serializes single gridline object. - - XmlWriter to serialize into. - Gridlines to serialize. - Name of the xml tag to use. - Parent workbook. - - - - Serializes axis position. - - XmlWriter to serialize into. - Axis to serialize. - - - - Serializes scaling tag and all necessary child tags. - - XmlWriter to serialize into. - Axis to serialize settings for. - - - - Serializes display unit. - - XmlWriter to serialize into. - Value to serialize. - Custom unit value (used only if displayUnit is set to custom). - - - - Serializes text settings. - - XmlWriter to serialize into. - Axis to serialize settings for. - - - - Serializes text settings. - - XmlWriter to serialize into. - - - - Object that gives access to border, interior and fill of the ChartSerieDataFormatImpl. - - - - - Provides access to filling options (border, interior and fill) of some chart object. - - - - - Gets border object. Read-only. - - - - - Gets interior object. Read-only. - - - - - Gets fill object. Read-only. - - - - - Gets Shadow object.Read-only - - - - - Gets the three_ D.Read-only - - - - - Parent data format to get fill objects from. - - - - - Initializes a new instance of the ChartFillObjectGetter class. - - Parent data format. - - - - Gets chart border object. Read-only. - - - - - Gets chart interior object. Read-only. - - - - - Gets chart fill object. Read-only. - - - - - Gets Shadow object.Read-only - - - - - - Gets the three_ D.Read-only - - - - - - Object that gives access to border, interior and fill. - - - - - Border object. - - - - - Interior object. - - - - - Fill object. - - - - - Shadow object - - - - - Three_D object - - - - - Initializes a new instance of the ChartFillObjectGetterAny class. - - Border object to use. - Interior object to use. - Fill object to use. - - - - Gets border object. Read-only. - - - - - Gets chart interior object. Read-only. - - - - - Gets fill object. Read-only. - - - - - Gets Shadow object.Read-only - - - - - - Gets the three_ D.Read-only - - - - - - This class is responsible for charts parsing. - - - - - Extracts chart from XmlReader. - - XmlReader to serialize into. - Chart to serialize. - Chart item relations. - version of the app. - - - - Parse the invert solid fill format. - - Preserved stream. - Chart serie. - returns the color object. - - - - Extracts chart from XmlReader. - - XmlReader to serialize into. - Chart to serialize. - Chart item relations. - - - - Parses the Chart default text properties. - - The Xml reader to parse from. - The chart to put the extracted data. - - - - Parses chart body properties - - - - - - - Parses Chart Paragraph Properties - - - - - - - Checks Default Text Settings for the axis. - - - - - Parses the extension list. - - The reader. - The chart. - - - - Parses the extension. - - The reader. - The chart. - - - - Parses the pivot options. - - The reader. - The chart. - - - - Extracts chart print settings from the reader. - - XmlReader to get data from. - Chart to put extracted data into. - Chart relations. - - - - Extracts pivot source. - - XmlReader to get pivot source from. - Chart to put extracted pivot source into. - - - - Parses user shapes. - - XmlReader to serialize into. - Chart to serialize. - Chart item relations. - - - - Parses main chart xml tag. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart's relations. - - - - Extracts pivot formats. - - XmlReader to get pivot formats from. - Chart to put extracted pivot formats into. - - - - Copies 3D settings from Chart3DRecord into chart. - - Chart to copy data into. - Record to copy data from. - - - - Extracts chart legend from XmlReader. - - XmlReader to extract data from. - Chart legend to put extracted data into. - Chart object that stores specified legend. - Chart relations collection. - - - - Extracts legend entry from specified reader. - - XmlReader to extract legend entry from. - Legend to put extracted legend entry into. - Excel2007Parser object to use if necessary. - - - - Extracts 3-D view options from XmlReader. - - XmlReader to get data from. - Chart to put extracted options into. - Record with 3D view settings. - - - - Serializes error bars. - - XmlReader to extract data from. - Series to put extracted error bars into. - Chart item relations. - - - - Extracts error bar range. - - XmlReader to extract data from. - Represents Workbook. - Extracted range. - - - - Extracts trendlines collection. - - XmlReader to extract data from. - Series to put extracted data into. - Chart item relations. - - - - Extracts trend line. - - XmlReader to extract data from. - Series to put extracted data into. - Chart item relations. - - - - Extracts trend line label settings. - - XmlReader to extract data from. - Data label to serialize. - - - - Serializes surface (wall or floor). - - XmlWriter to serialize into. - Surface to serialize. - Parent data holder. - Drawing's relations. - - - - Extracts plotarea tag from XmlReader. - - XmlReader to get data from. - Chart to put extracted data into. - Chart item relations. - - - - Parses bar chart. - - XmlReader to extract chart from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Parse the Filtered Series - - - - - - - - - - - - Stores extracted axis id inside structures for future use. - - XmlReader to get data from. - Series list. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Parses bar 3D chart. - - XmlReader to extract chart from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts shape of the bar chart. - - XmlReader to extract data from. - First series in the list of series with the - same formatting. - - - - Extracts shape of the bar chart. - - XmlReader to extract data from. - Chart serie data format. - - - - Extracts part of the bar chart that is common for all bar charts. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Indicates whether we are parsing 3D chart. - List that will get extracted series. - First extracted series. - - - - Parse Secondary Axis Filter - - - - - - - - - - - - - When we parsing the categoryfiltered chart, we need to find the filtered category - - - - - - - - - - Supporting method for Find Filter - - - - - - - - Find the series or category Range - - - - - - - - - - Find series in Row or Column. - - - - - - - Converts direction and grouping values into type of bar series. - - Represents direction of bar series. - Represents series grouping value. - Indicates whether we are parsing 3D chart. - Extracted chat type. - - - - Converts direction and grouping values into type of bar series. - - Represents direction of bar series. - Represents series grouping value. - Indicates whether we are parsing 3D chart. - Extracted chat type. - - - - Converts grouping value into type of area series. - - Area series grouping value. - Indicates whether we are parsing 3D chart. - Area chart type that corresponds to grouping and is3D values. - - - - Converts grouping value into type of line series. - - Line series grouping value. - Indicates whether we are parsing 3D chart. - Line chart type that corresponds to grouping and is3D values. - - - - Extracts area3D chart. - - XmlReader to extract data from. - Chart to serialize. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts area chart from XmlReader. - - XmlReader to get data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts properties common to the area chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Indicates whether we are parsing 3D chart. - Chart item relations. - List that will get extracted series. - - - - This method extracts common properties of the line charts. - - XmlReader to extract data from. - Chart to put extracted data into. - Indicates whether we are parsing 3D chart. - Chart item relations. - List that will get extracted series. - One of the extracted series. - - - - Extracts line3DChart from XmlReader. - - XmlReader to extract line 3d chart from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts line chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts bubble chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts 2-D surface chart from XmlReader. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts common part of the surface charts. - - XmlReader to extract data from. - Chart to put extracted data into. - Indicates whether we are parsing 3D chart. - Chart item relations. - List that will get extracted series. - - - - Extracts band formats from the stream. - - - - - - - Returns type of the series to create. - - Indicates whether surface is wireframe or not. - Indicates whether we are parsing 3D chart. - Surface chart type. - - - - Extracts radar chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts scatter chart. - - XmlReader to extract chart from. - Chart to serialize. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts pie chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts 3-D pie chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts pie of pie or pie of bar chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts stock chart. - - XmlReader to extract from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts hi-low lines object from xml reader. - - XmlReader to extract data from. - Series object to extract. - - - - Extracts doughnut chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Chart item relations. - Dictionary with axis id, key - series index, value - axis index (category or value). - - - - Extracts common properties of a pie charts. - - XmlReader to extract data from. - Chart to put extracted data into. - Type of the series to create. - Chart item relations. - List that will get extracted series. - One of the parsed series. - - - - Extracts data lables. - - XmlReader to extract data from. - Parent series. - - - - Serializes data label for single data point. - - XmlReader to extract data from. - Chart series to put extracted data into. - - - - Extracts data labels settings. - - XmlReader to extract data from. - Data labels to put extracted data into. - Excel2007Parser to use if necessary. - - - - Parses single chart series of a bar chart. - - XmlReader to extract series from. - Parent chart object. - Type of the series to create. - Extracted chart series. - Chart item relations. - - - - Parse Series or category name filter - - - - - - - Parses single chart series of a surface chart. - - XmlReader to extract series from. - Parent chart object. - Type of the series to create. - Extracted chart series. - Chart item relations. - - - - Extracts single chart series for pie chart. - - XmlReader to extract data from. - Chart to put extracted data into. - Type of the series to extract. - Chart item relations. - Extracted series. - - - - Extracts line series. - - XmlReader to extract data from. - Chart to put extracted series into. - Type of the extracted series. - Chart item relations. - Extracted series. - - - - Extracts scatter series. - - XmlReader to extract series data from. - Chart to put extracted series into. - Type of the series to extract. - Chart item relations. - Extracted series. - - - - Extracts radar series. - - XmlReader to extract data from. - Chart to put extracted data into. - Type of the series to create. - Chart item relations. - Extracted series. - - - - Extracts single chart series for bubble chart. - - XmlReader to extract data from. - Chart to put extracted series into. - Extracted series. - Chart item relations. - - - - Extracts single chart series for area chart. - - XmlReader to extract data from. - Chart to put extracted series into. - Type of the series to extract. - Chart item relations. - Extracted series. - - - - Parses common part of the series. - WARNING: this method doesn't call last Read(), so this call - must be made by parent item after series parsing complete. - - XmlReader to extract data from. - Series to put extracted data into. - Chart item relations. - - - - Parses name of the series. - - XmlReader to extract data from. - Series to put extracted name into. - - - - Parses single data point. - - XmlReader to extract from. - Series to put data point into. - Parent relations. - - - - Extracts series values. - - XmlReader to extract data from. - Series to parse values for. - Array of series values. - Indicates whether axis is ValueAxis or CategoryAxis. - Range referencing series values. - - - - Extracts null reference tag. - - XmlReader to extract data from. - String which is enclosed inside the formula tag. - - - - Filtered Number Reference - - - - - - - - - Extracts string reference tag. - - XmlReader to extract data from. - String which is enclosed inside the formula tag. - - - - Filtered series range - - - - - - - - Extracts multi level string reference tag. - - XmlReader to extract data from. - String which is enclosed inside the formula tag. - - - - Extracts series marker from XmlReader. - - XmlReader to extract data from. - Series to serialize marker for. - - - - Parser marker fill. - - Reader to get fill information from. - Data format to put extracted marker information into. - Parser to help with color parsing. - - - - Extracts up/down bars. - - XmlReader to extract data from. - Series to put up/down bars into. - Chart item relations. - - - - Extracts single drop bar (up or down bar). - - XmlReader to extract data from. - Drop bar to put extracted data into. - Parent file data holder. - Chart item relations. - - - - This method extracts chart data table. - - XmlReader to extract data table from. - Chart to put extracted data into. - - - - Extracts series formatting options. - - XmlReader to extract formatting from. - Series to extract formatting from. - Chart item relations. - - - - Extracts default text formatting. - - XmlReader to extract data from. - Object with text formatting. - Excel2007Parser to use if necessary. - - - - Extracts number or string value from the reader. - - XmlReader to get value from. - Extracted object. - - - - Class used for parsing charts. - - - - - Contains chart line pattern values. - - - - - Initializes static members of the ChartParserCommon class. - - - - - Parses text area. - - XmlReader to extract data from. - Text area to put extracted data into. - Parent data holder object. - Chart's relations. - - - - Parses text area. - - XmlReader to extract data from. - Text area to put extracted data into. - Parent data holder object. - Chart's relations. - Default font size. - - - - Parses text area tag. - - XmlReader to extract data from. - Text area to put extracted data into. - Parent data holder object. - Chart's relations. - Default font size. - - - - Extracts default text formatting. - - XmlReader to extract data from. - Object with text formatting. - Excel2007Parser to use if necessary. - - - - Extracts value from XmlReader.. - - XmlReader to extract data from. - Extracted value. - - - - Extracts boolean value from xml tag. - - XmlReader to extract data from. - Extracted value. - - - - Extracts int value from xml tag. - - XmlReader to extract data from. - Extracted value. - - - - Extracts double value from xml tag. - - XmlReader to extract data from. - Extracted value. - - - - Extracts Line properties of chart. - - XmlReader to extract data from. - Chart line properties to parse. - Excel2007Parser to help in extraction process. - - - - Extracts pattern fill. - - XmlReader to extract data from. - Fill to put extracted data into. - Excel2007Parser to help in extraction process. - - - - Extracts solid fill. - - XmlReader to extract data from. - Interior to put extracted data into. - Excel2007Parser to help in extraction process. - - - - Extracts solid fill. - - XmlReader to extract data from. - Interior to put extracted data into. - Excel2007Parser to help in extraction process. - - - - Extracts solid fill. - - XmlReader to extract data from. - Object that is used to help in color parsing. - Color object to put extracted color into. - - - - Extracts solid fill. - - XmlReader to extract data from. - Object that is used to help in color parsing. - Color object to put extracted color into. - - - - Extracts rgb color. - - XmlReader to extract data from. - Extracted color. - - - - Extracts rgb color. - - XmlReder to extract data from. - Alpha component of the extracted color (0-100000). - Tint part of the extracted color (0-100000) or -1 if no tint part was present. - Shade part of the extracted color (0-100000) or -1 if no shade part was present. - Extracted color. - - - - Extracts scheme color and converts it into rgb. - - XmlReader to extract data from. - Excel2007Parser to help in extraction process. - Extracted color. - - - - Extracts scheme color and converts it into rgb. - - XmlReader to extract data from. - Output alpha value. - Excel2007Parser to help in extraction process. - Extracted color. - - - - Extracts preset color and converts it into rgb. - - XmlReader to extract data from. - Output alpha value. - Excel2007Parser to help in extraction process. - Extracted color. - - - - Extracts system color and converts it into rgb. - - XmlReader to extract data from. - Output alpha value. - Excel2007Parser to help in extraction process. - Extracted color. - - - - Serialize line properties. - - XmlReader to serialize into. - Chart line properties to serialize. - Indicates whether border is rounded or not - Excel2007Parser to help in extraction process. - - - - Extracts picture fill. - - XmlReader to extract data from. - Fill to put extracted data into. - Chart item relations. - Parent file data holder. - - - - Extracts text from XmlReader and places it into text area. - - XmlReader to extract data from. - Text area to put extracted data into. - Parser object that helps to extract data. - - - - Extracts layout from XmlReader and places it into text area. - - XmlReader to extract data from. - Layout to put extracted data into. - Parser object that helps to extract data. - - - - Parses manual layout. - - XmlReader to read rich text from. - manualLayout that will get extracted the manual position settings. - Parser object that helps to extract data. - - - - Parses rich text. - - XmlReader to read rich text from. - Text area that will get extracted rich text. - Parser object that helps to extract data. - - - - Parses text area body properties. - - XmlReader to read body properties from. - Text area to put body properties into. - - - - Extracts list styles for a text area. - - XmlReader to extract list styles from. - Text area that will get extracted settings. - - - - Parses paragraph. - - XmlReader to get paragraph tag from. - Text area that will get paragraph information (formatting and text). - Parser object that helps to extract data. - - - - Parses paragraph properties. - - XmlReader to get data from. - - - - Extracts default paragraph properties from the reader. - - Reader to get properties from. - Instance of Excel2007Parser that helps in parsing process. - Default paragraph properties. - - - - Extracts default paragraph properties from the reader. - - Reader to get properties from. - Instance of Excel2007Parser that helps in parsing process. - Default font size. - Default paragraph properties. - - - - Extracts color of the default paragraph. - - - - - - - Parses paragraph run. - - XmlReader to get paragraph run from. - Text area to put extracted properties into. - Parser object that helps to extract data. - Default text settings. - - - - Parses paragraph run. - - XmlReader to extract paragraph tag from. - Text area that will get paragraph run information (formatting and text). - Parser object that helps to extract data. - Default text settings. - - - - Extracts gradient stops collection from the specified reader. - - XmlReader to extract data from. - Excel2007Parser to help in extraction process. - Extracted gradient stops. - - - - Extracts gradient path. - - XmlReader to extract from. - Resulting GradientStop collection - - - - Extracts GradientStops collection. - - XmlReader to extract data from. - Parser object that helps to extract data. - Extracted collection. - - - - Extracts single GradientStop settings. - - XmlReader to extract data from. - Excel parser to help in extraction process. - Extracted GradientStop. - - - - Parse the Scheme color. - - - - - - - - Parse the Scheme color of shadow - - - - - - - - Extracts color settings. - - XmlReader to extract data from. - Transparency part of the extracted color (0-100000) or -1 if no transparecy part was present. - Tint part of the extracted color (0-100000) or -1 if no tint part was present. - Shade part of the extracted color (0-100000) or -1 if no shade part was present. - Excel parser to help in extraction process. - Color extracted. - - - - Converts Excel 2007 gradient stops collection into set of properties used by Excel 97-2003. - - Gradient stops collection to convert. - Fill object to put extracted properties into. - - - - To check the default settings of text area - - Text area to check the default values - - - - Copies color data from GradientStop. - - Color object to copy data into. - GradientStop to copy color data from. - - - - Extracts shape properties. - - XmlReader to extract data from. - Object that provides access to filling objects. - FileDataHolder of the document that is parsed. - Chart item relations. - - - - Parses the lighting. - - The reader. - The shadow. - The relations. - The holder. - - - - Checks the specified lighttype. - - The lighttype. - - - - - This method tries to get the Bevel properties read from the XML - - Linewidth mentions the Width of the line and represents the 'W' tag - LineHeight mentions the Heigth and represents the 'H' tag - Presetshape mentions the shape of the 3D feature - XmlReader to extract data from. - it returns the Excel2007Chartbevel properties or Noangle will be returned(which means 0) - - - - This method tries to get the material properties - - Material is denotes the type of the Material properties read from the XML - XmlReader to extract data from. - Excel 2007 chartmaterial properties or Noeffect value will be returned(which means 0) - - - - Checks the specified custom shadow color. - - The shadow. - The reader. - The parser. - - - - - Parses the Shadow Properties - - XmlReader to extract data from. - Shadow object to access the properties - Object that provides access to filling objects. - FileDataHolder of the document that is parsed. - Chart item relations. - Excel 2007 Parser - - - - - - It gets the Blur Radius Tag value - It gets the Sizex Tag value - It gets the Sizey Tag value - It gets the Distance Tag Tag value - It gets the Direction Tag value - It gets the Alignment Tag value - It gets the Rotationwithshape Tag value - Excel 2007 Parser - Shadow object to access the properties - Xml reader to extract data from. - The Office2007ChartPresetsOuter value or Noshadow value will be returned(Which means 0) - - - - Checks the specified Custom Outer Shadow . - - The blurval. - The sizex. - The disttag. - The dirtag. - The align. - The rot. - The shadow. - The reader. - The parser. - - - - - Parses the shadow alpha. - - The reader. - The shadow. - - - - Extracts value from XmlReader.. - - XmlReader to extract data from. - Extracted value. - - - - This Method tries to get the value of perspective shadow - - It gets the Blur Radius Tag value - It gets the Sizex Tag value - It gets the Sizey Tag value - It gets the Kx Tag value - It gets the Distance Tag Tag value - It gets the Direction Tag value - It gets the Alignment Tag value - It gets the Rotationwithshape Tag value - the Excel2007Chartpresetsperspective value or NoShadow value will be returned(which means 0) - - - - This method tries to get the Inner shadow values based on the parsed Info - - It gets the Blur Radius Tag value - It gets the Distance Tag Tag value - It gets the Direction Tag value - This returns the Office2007ChartPresetsInner value or No shadow (which means 0) - - - - Checks the Custom Inner Shadow. - - The blurval. - The disttag. - The dirtag. - The shadow. - The reader. - if set to true [Current format has Custom shadow style]. - - - - - This method tries to detect gradient color settings (One or Two color gradient). - - Gradient stops to detect gradient color - Detected gradient color or -1 if it is neither one nor two color gradient. - - - - Detects gradient variant type. - - Gradient stops to detect variant type for. - Already detected gradient style. - Already detected gradient color. - Indicates whether gradient stops for preset - gradient are in inverted order. This argument is used in the case of OfficeGradientColor.Preset. - Detected gradient variant type. - - - - Detects diagonal gradient variant. - - Checks whether gradient stops in the collection are in inverted order or not. - Represents double order variant. - Detected gradient variant. - - - - Detects gradient variant. - - Checks whether gradient stops in the collection are in inverted order or not. - Represents double ordered variant. - Detected gradient variant. - - - - Detects gradient variant for FromCorner gradient style. - - FillToRect used by gradient stops collection. - Detected gradient variant. - - - - Checks whether gradient stops in the collection are in inverted order or not. - - Gradient stops to check. - Gradient color type. - Indicates whether gradient stops for preset - gradient are in inverted order. This argument is used in the case of OfficeGradientColor.Preset. - True if gradient stops are inverted. - - - - Detect Gradient style. - - Gradient stops to check. - Detected Gradient style. - - - - Gets gradient style for rectangular gradient. - - Gradient stops collection to get gradient style for. - Converted gradient style. - - - - Gets gradient style for linear gradient. - - Gradient stops collection to get gradient style for. - Converted gradient style. - - - - Tries to find preset gradient corresponding to the specified collection. - - Gradient stops collection to analyze. - Indicates whether gradient stops are in inverted order. - Preset value or ( OfficeGradientPreset )( -1 ) if there is no corresponding preset value found. - - - - Sets GradientDegree property if necessary. - - Gradient stops to detect degree from. - Detected gradient color. - Fill to set gradient degree for. - - - - This class is responsible for chart object serialization into XmlWriter in Excel 2007 SpreadsheetML format. - - - - - This is overload method for chart serializator.Call SerializeChart and write the UserShapes Tag. - - XmlWriter to serialize into. - Chart to serialize. - Name of the xml file containing chart item. - Relations for Chart - - - - This is overload method for chart serializator.Call SerializeChart and write the UserShapes Tag. - - XmlWriter to serialize into. - Chart to serialize. - Name of the xml file containing chart item. - /// Represent the version of the application - Relations for Chart - - - - Serializes chart inside XmlWriter. - - XmlWriter to serialize into. - Chart to serialize. - Name of the xml file containing chart item. - Represent the version of the application - - - - Serializes chart inside XmlWriter. - - XmlWriter to serialize into. - Chart to serialize. - Name of the xml file containing chart item. - - - - Serializes chart inside XmlWriter. - - XmlWriter to serialize into. - Chart to serialize. - Name of the xml file containing chart item. - - - - Serializes the Chart default text properties. - - XmlWriter to serializes into. - chart to get the data to serialize. - - - - Serializes pivot source tag if necessary. - - XmlWriter to serilaize into. - Chart to serialize pivot formats tag for. - - - - Serializes shapes. - - XmlWriter to serialize into. - Chart to serialize shapes for. - Name of the xml file containing chart item. - - - - Serializes chart printer settings. - - XmlWriter to serialize into. - Object that stores settings to serialize. - - - - Serializes chart legend. - - XmlWriter to serialize into. - Chart legend to serialize. - Parent chart object. - - - - Serializes single legend entry. - - XmlWriter to serialize legend entry into. - Legend entry to serialize. - Legend entry index. - Parent workbook object. - - - - Serializes view 3D. - - XmlWriter to serialize legend entry into. - Chart to serialize shapes for. - - - - Serializes error bars. - - XmlWriter to serialize into. - Error bars to serialize. - Error bars direction (x or y). - Parent workbook. - - - - Serializes trendlines collection. - - XmlWriter to serialize into. - Trendlines to serialize. - Parent workbook. - - - - Serializes trend line. - - XmlWriter to serialize into. - Trend line to serialize. - Parent workbook. - - - - Serializes trend line label settings. - - XmlWriter to serialize into. - Data label to serialize. - - - - Serializes surface (wall or floor). - - XmlWriter to serialize into. - Surface to serialize. - Name of the top xml tag to use. - Parent chart object. - - - - Serializes plotarea tag and everything inside it. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes the bar chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes bar chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized bar series. - - - - Serializes axis id's for bar chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - - - - Serializes the bar3 D chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serialize bar3D chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized 3Dbar series. - - - - Serializes gap depth. - - XmlWriter to serialize into. - Chart to serialize gap depth for. - - - - Serializes the bar shape. - - XmlWriter to serialize into. - The base format. - The top format. - - - - Serializes shape of the bar chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - - - - Serializes part of the bar chart that is common for all bar charts. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized bar series. - - - - Serializes chart series with the same formatting. - - XmlWriter to serialize into. - Chart to get series from. - First series in the list of the series to serialize. - It is used to determine which series should be serialized. - Delegate used to serialize chart series. - Number of serialized series. - - - - serialiae filtered serie - - - - - - - Serilaize filtered series - - - - - - - Serialize Filtered Text - - - - - - - Serialize filtered text values - - - - - - - - serialize filtered category - - - - - - - - serialize filtered values - - - - - - - - Returns the series filter type - - - - - - - Serializes grouping tag. - - XmlWriter to serialize into. - Chart to serialize grouping for. - - - - Serializes the chart grouping. - - XmlWriter to serialize into. - Chart to get series from. - - - - Serializes the area3 D chart. - - XmlWriter to serialize into. - Chart to get series from. - - - - Serializes area3D chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized area3D series. - - - - Serializes the area chart. - - XmlWriter to serialize into. - Chart to get series from. - - - - Serializes area chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized area series. - - - - Serializes properties common to the area chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - This method serializes common properties of the line charts. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized line series. - - - - Serializes the line3 D chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serialize line3DChart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized line3D series. - - - - Serializes the line chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes line chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized line series. - - - - Serialize bubble chart. - - XmlWriter to serialize chart into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized bubble series. - - - - Serializes the surface chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes 2-D surface chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes the surface3 D chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes 3-D surface chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes common part of the surface charts. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes preserved band formats if necessary. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes main chart tag. - - XmlWriter to serialize into. - Chart to serialize. - Index of the series group to serialize. - Number of the serialized series. - - - - Serializes the radar chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes radar chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes scatter chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes the pie chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes pie chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes the pie3 D chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes 3-D pie chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes the of pie chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes pie of pie or pie of bar chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes stock chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes the doughnut chart. - - XmlWriter to serialize into. - Chart to serialize. - - - - Serializes doughnut chart. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes common properties of pie charts. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with the - same formatting to serialize. - Number of the serialized series. - - - - Serializes data lables. - - XmlWriter to serialize into. - DataLabels to serialize. - Parent series. - - - - Serializes number format. - - XmlWriter to serialize into. - Number format serialize. - Parent series. - - - - Serializes data label for single data point. - - XmlWriter to serialize into. - Data labels to serialize. - Data point index. - Parent chart object. - - - - Serializes data labels settings. - - XmlWriter to serialize into. - Data labels to serialize. - Parent chart. - - - - Serializes default text formatting. - - XmlWriter to serialize into. - Text formatting to serialize. - Parent workbook. - - - - Serializes IsVaryColors option. - - XmlWriter to serialize into. - First series in the list of series with the - same formatting to serialize vary colors option for. - - - - Serializes single chart series for bar chart. - - XmlWriter to serialize into. - Series to serialize. - - - - Find the category filter - - - - - - - To update the filtered value range - - - - - - Update the category filterlabel range - - - - - - serialize the filtered category or series name - - - - - - - - serilaize the category name - - - - - - - Serializes single chart series for pie chart. - - XmlWriter to serialize into. - Series to serialize. - - - - Serializes error bars. - - XmlWriter to serialize into. - Series to serialize. - - - - Serialize line series. - - XmlWriter to serialize into. - Chart line series to serialize. - - - - Serializes scatter series. - - XmlWriter to serialize into. - Chart scatter series to serialize. - - - - Serializes chart radar series. - - XmlWriter to serialize into. - Chart series to serialize. - - - - Serializes single chart series for bubble chart. - - XmlWriter to serialize into. - Series to serialize. - - - - Serializes single chart series for area chart. - - XmlWriter to serialize into. - Series to serialize. - - - - Serializes common part of the series. - WARNING: this method doesn't call last WriteEndElement(), so this call - must be made by parent item after series serialization complete. - - XmlWriter to serialize into. - Series to serialize. - - - - Serializes single data point. - - XmlWriter to serialize into. - Data point to serialize. - - - - Serializes series category. - - XmlWriter to serialize into. - Series to serialize category labels for. - - - - Serializes series category. - - XmlWriter to serialize into. - Series to serialize category labels for. - - - - Serializes series values. - - XmlWriter to serialize into. - Series to serialize values for. - - - - Serializes series values. - - XmlWriter to serialize into. - Series to serialize values for. - - - - Serializes series values. - - XmlWriter to serialize into. - Range to serialize values for. - Name of the xml tag to use. - - - - Serializes the normal reference. - - The writer. - The range. - The values. - Name of the tag. - - - - Serializes number or string reference. - - - - - - - Gets the string reference. - - The range. - - - - - Serializes number references. - - XmlWriter to serialize into. - Range to serialize values for. - Range values to serialize cache values for. - - - - This function is used for serializing the number cache values. - - This is used for serializing the chart date in XML format. - This is Holding the chart serie type of values. - This is used to get the current tag name. - - - - Serializes string references. - - XmlWriter to serialize into. - Range to serialize values for. - - - - Serializes String references. - - XmlWriter to serialize into. - Range to serialize values for. - - - - This function is used for serializes the string cache values for the current chart serie. - - Used to write the string cache values in XML format. - This is holding the Chart Serie contents. - - - - This is used for serializes the Category type of string Cache values. - - This is used to write the chart serie category values in XMl format. - This is holding the Chart serie contents. - - - Returns a DateTime equivalent to the specified OLE Automation Date. - An OLE Automation Date value. - An object that represents the same date and time as input date. - - This function is used to fint the object type and convert to string based on cluture. - - Object type of value - - - - - Serializes Multi level string references. - - XmlWriter to serialize into. - Range to serialize values for. - Range values to serialize cache values for. - - - - Serializes the formula if the range is null - - XMLWriter to serialize into - Tag to serialize values for - Formula to serialize for the tag - - - - Serializes chart axes. - - XmlWriter to serialize into. - Chart to serializes axes of. - - - - Serializes the pivot axes. - - XmlWriter to serialize into. - Chart to serialize. - The relations. - - - - Serializes series marker if necessary. - - XmlWriter to serialize into. - Series to serialize marker for. - - - - Serializes series marker if necessary. - - XmlWriter to serialize into. - Series to serialize marker for. - - - - Serializes line with the specified color. - - XmlWriter to serialize into. - Line color. - Parent workbook. - - - - Serializes line with the specified color. - - XmlWriter to serialize into. - Line color. - Parent workbook. - - - - Serializes line with the specified color. - - XmlWriter to serialize into. - Line color. - Parent workbook. - - - - Serializes up/down bars. - - XmlWriter to serialize into. - Chart to serialize. - First series in the list of series with same - formatting to serialize up/down bars for. - - - - Serializes single drop bar (up or down bar). - - XmlWriter to serialize into. - Drop bar to serialize. - Name of the main tag. - Chart to serialize dropbar for. - - - - Serializes chartsheet into specified writer. - - XmlWriter to serialize into. - Chart to serialize. - Id of the drawing relation with chart object.. - - - - Serializes chartsheet drawing part. - - XmlWriter to serialize into. - Chart to serialize drawing for. - Relation id of the drawing part. - - - - This method serializes chart data table. - - XmlWriter to serialize into. - Chart to serialize data table for. - - - - Serializes series value that were entered directly. - - XmlWriter to serialize into. - Values to serialize. - - - - Serializes series value that were entered directly. - - XmlWriter to serialize - Values to serialize. - series to get the format code - - - - Converts object into xml string. - - Value to convert. - Converted value. - - - - This delegate is used for series serialization. - - XmlWriter to serialize series into. - Series to serialize. - - - - This class contains common code used for charts serialization. - - - - - Key - OfficeChartLinePattern, - Value - pair, where key is Excel 2007 pattern value, value - preset pattern of the pattern fill. - - - - - Jagged Array represents the Outer Shadow Attributes - - - - - Jagged Array represents the Inner Shadow Attributes - - - - - Jagged Array represents the Perspective Shadow Attributes - - - - - Jagged Array represents the 3D Bevel Attributes - - - - - Jagged Array represents the 3D Material Attributes - - - - - Jagged Array represents the 3D Lighting Attributes - - - - - Initializes static members of ChartSerializatorCommon class. - - - - - Serializes frame format. - - XmlWriter to serialize into. - Fill format to serialize. - Parent chart object. - Indicates whether area corners should be rounded. - - - - Serializes frame format. - - XmlWriter to serialize into. - Fill format to serialize. - Parent chart object. - Indicates whether area corners should be rounded. - - - - Serializes frame format. - - XmlWriter to serialize into. - Fill format to serialize. - Parent file data holder. - Chart's relations collection - Indicates whether area corners should be rounded. - - - - This method serializes the Shadow properties - - XmlWriter to serialize into. - Shadow format to serialize into - Whether the current format contains the Custom Shadow Style - - - - Serializes the custom shadow properties - - XmlWriter to serialize into. - The ShadowImpl object. - - - - Serializes the inner shadow. - - XmlWriter to serialize into. - The jagged array index of the InnerAttributeArry. - if set to true [custom shadow style]. - The ShadowImpl object. - - - - This method Serializes the Outer Shadow - - XmlWriter to serialize into. - the jagged array index of OuterAttributeArry - if set to true [custom shadow style]. - The ShadowImpl object - - - - This method serializes the Perspective shadow properties - - XmlWriter to serialize into. - the jagged array index of PerspectiveAttributeArry - if set to true [custom shadow style]. - The ShadowImpl object - - - - This method Serailizes the 3DProperties - - XmlWriter to serialize into. - Sahdow Format to serailize into - if set to true [custom shadow style]. - The ShadowImpl object - - - - This method serailize the Lighting properties - - XmlWriter to serialize into. - the jagged array index of LightingPropertiesArray - - - - This method serialize the Material properties - - XmlWriter to serialize into. - the jagged array index of MaterialPropertiesArray - - - - This method serialize the Bevel top - - XmlWriter to serialize into. - the jagged array index of bevelpropertiesArray - - - - This method serializes the Bevel Bottom - - XmlWriter to serialize into. - the jagged array index of Bevelproperties Array - - - - Serializes fill object. - - XmlWriter to serialize into. - Fill to serialize. - Parent file data holder. - Chart's relations collection - - - - Serializes text area. - - XmlWriter to serialize into. - Text area to serialize. - Parent workbook. - Chart's relations. - - - - Serialize xml tag that contains value attribute with tag value. - - XmlWriter to serialize into. - Tag name to serialize. - Value to serialize. - - - - Serialize the double value attributes. - - - - - - - - Serialize xml tag that contains value attribute with tag value. - - XmlWriter to serialize into. - Tag name to serialize. - Namespace of the xml tag. - Value to serialize. - - - - Seralize the double value - - - - - - - - - Serialize xml tag that contains value attribute with tag value. - - XmlWriter to serialize into. - Tag name to serialize. - Value to serialize. - - - - Serializes chart line properties. - - XmlWriter to serialize into. - Border to serialize. - Parent workbook. - - - - Serializes pattern fill. - - XmlWriter to serialize into. - Color to serialize. - Indicates whether color is automatic and should be ignored or not. - Preset dash value. - Preset pattern value. - Parent workbook. - - - - Serializes pattern fill. - - XmlWriter to serialize into. - Foreground color. - Indicates whether foreground color is auto and foreColor argument should be ignored. - Background color. - Indicates whether background color is auto and backColor argument should be ignored. - Preset pattern value. - Parent workbook. - - - - Serializes pattern fill. - - XmlWriter to serialize into. - Foreground color. - Indicates whether foreground color is auto and foreColor argument should be ignored. - Background color. - Indicates whether background color is auto and backColor argument should be ignored. - Pattern to serialize. - Parent workbook. - - - - Serializes solid fill. - - XmlWriter to serialize into. - Color that is used for filling. - Indicates whether color is automatic or was manually changed. - Parent workbook. - - - - Serializes rgb color. - - XmlWriter to serialize into. - Color to serialize. - - - - Serializes rgb color. - - XmlWriter to serialize into. - Color index to serialize. - Parent workbook. - - - - Serializes rgb color. - - XmlWriter to serialize into. - Color to serialize. - Alpha component of the color to serialize, 0 - 100000. - - - - Serializes rgb color. - - XmlWriter to serialize into. - Color to serialize. - Alpha component of the color to serialize, 0-100000. - Tint value of the color to serialize, 0-100000. - Shape value of the color to serialize, 0-100000. - - - - Serialize line properties. - - XmlWriter to serialize into. - Chart line properties to serialize. - Indicates whether border is rounded or not - Parent workbook. - - - - Serailize Line Join Type - - XmlWriter to serialize into. - Line Join Type - - - - Serializes picture fill. - - XmlWriter to serialize into. - Picture to serialize. - Parent file data holder object. - Relations collection to add relation to. - Indicates whether image should be tiled. - - - - Serialize the picture with fillrect and source rect. - - - - - Serializes texture fill. - - XmlWriter to serialize into. - Fill object that contains settings to serialize. - Parent file data holder object. - Relations collection to add relation to. - - - - Serializes gradient fill. - - XmlWriter to serialize into. - Fill to serialize. - Parent workbook. - - - - Serializes text properties. - - XmlWriter to serialize into. - Text area to serialize text properties for. - - - - Serializes default text formatting. - - XmlWriter to serialize into. - Text formatting to serialize. - Parent workbook. - - - - Serializes text from text area. - - XmlWriter to serialize into. - Text area to serialize values for. - Parent workbook. - - - - Serializes rich text. - - XmlWriter to serialize into. - Text area that contains rich text to serialize. - Parent workbook. - Name of the main xml tag. - - - - Serialize text area body properties. - - XmlWriter to serialize into. - Text area to serialize body properties for. - - - - Serializes list styles for a text area. - - XmlWriter to serialize into. - Text area to serialize list styles for. - - - - Serializes paragraph. - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph information (formatting and text). - Parent workbook. - - - - Serializing the rich-text formatting - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph information (formatting and text) of text area. - Parent workbook. - Default font size - - - - Serializing the rich-text formatting - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph information (formatting and text) of data labels. - Parent workbook. - Default font size - - - - Serializes paragraph run. - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph run information (formatting and text). - Name of the main xml tag. - Parent workbook. - - - - Serializes string reference settings. - - XmlWriter to serialize into. - Text area to get settings from. - - - - Serializes text area layout settings. - - XmlWriter to serialize into. - Text area to serialize layout settings for. - - - - Serializes text area manual layout settings. - - XmlWriter to serialize into. - Manual layout to serialize manual layout settings for. - - - - This method serialize the Bevel bottom - - XmlWriter to serialize into. - Bevel bottom Height Value - Bevel bottom width Value - - - - This method serialize the Bevel top - - XmlWriter to serialize into. - Bevel top Height Value - Bevel top width Value - - - - This class contains constants used for autofilter parsing and serialization in Excel 2007 format. - - - - - Name of the xml tag name that represents auto filter settings. - - - - - Name of the xml attribute that represents reference to the cell range to which the AutoFilter is applied. - - - - - Name of the xml tag that identifies a particular column in the AutoFilter range and specifies - filter information that has been applied to this column - - - - - Name of the xml attribute that indicates the AutoFilter column to which this filter information applies. - - - - - Name of the xml tag that specifies the top N (percent or number of items) to filter by. - - - - - Name of the xml attribute that represents top or bottom value to use as the filter criteria. - - - - - Name of the xml attribute that represents flag indicating whether or not to filter by top order. - - - - - Name of the xml attribute that represents the actual cell value in the range - which is used to perform the comparison for this filter. - - - - - Name of the xml attribute that represents flag indicating whether or not to filter by percent value of the column. - - - - - Name of the xml tag that groups filter criteria together. - - - - - Flag indicating whether to filter by blank. - - - - - Name of the xml tag that expresses a filter criteria value. - - - - - Name of the xml attribute that represents filter value used in the criteria. - - - - - Name of the xml tag that represents custom filters criteria. - - - - - Name of the xml attribute that represents flag indicating whether the two criteria have an "and" relationship. - '1' indicates "and", '0' indicates "or". - - - - - Name of the xml tag that represents custom filter criteria. - - - - - Name of the xml attribute name that represents operator used by the filter comparison. - - - - - Show results which are equal to criteria. - - - - - Show results which are greater than criteria. - - - - - Show results which are greater than or equal to criteria. - - - - - Show results which are less than criteria. - - - - - Show results which are less than or equal to criteria. - - - - - Show results which are not equal to criteria. - - - - - This class contains constants used for conditional formatting parsing/serialization - in Excel 2007 SpreadsheetML format. - - - - - Name of the xml tag that defines conditional formattings - - - - - Name of the xml tag that represents conditional formatting. - - - - - Name of the xml tag that represents conditional formatting rule. - - - - - Name of the xml tag that represent Ends With Spefific Text conitional formatting. - - - - - Name of the xml tag that represent Begins With Spefific Text conitional formatting. - - - - - Name of the xml tag that represent Contains Text Spefific Text conitional formatting. - - - - - Name of the xml tag that represent NotContains Text Spefific Text conitional formatting. - - - - - Name of the xml tag that represent contains error conitional formatting. - - - - - Name of the xml tag that represent not Contains Error conitional formatting. - - - - - Name of the xml tag that represent text attribute of Spefific Text conitional formatting. - - - - - Name of the xml attribute that represents type of conditional formatting rule. - - - - - Name of the xml attribute that represents time period type conditional formatting rule. - - - - - Name of the xml attribute that represents time period type attribute name. - - - - - Name of the xml attribute that represents an index to a dxf element in the Styles Part indicating which cell formatting to - apply when the conditional formatting rule criteria is met. - - - - - Name of the xml attribute that represents the operator in a "cell value is" conditional formatting rule. - - - - - Name of the xml tag that defines the border color. - - - - - Name of the xml tag that defines the negative fill color. - - - - - Name of the xml tag that defines the negative border color. - - - - - Name of the xml tag that defines the axis color. - - - - - Name of the xml attribute that represents the border of data bar - - - - - Name of the xml attribute that represents the gradient fill of data bar - - - - - Name of the xml attribute that represents the direction of data bar - - - - - Name of the xml attribute that represents the negative bar color of data bar - - - - - Name of the xml attribute that represents the negative bar border color of data bar - - - - - Name of the xml attribute that represents the axis position of data bar - - - - - Today's time period type - - - - - Yesterday's time period type - - - - - Tomorrow's time period type - - - - - Last seven days time period type - - - - - Last week time period type - - - - - This week time period type - - - - - Next week time period type - - - - - Last month period type - - - - - This month period type - - - - - Next month time period type - - - - - Name of the xml tag that represents begin with condition. - - - - - Name of the xml tag that represents between condition. - - - - - Name of the xml tag that represents contains text condition. - - - - - Name of the xml tag that represents ends with condition. - - - - - Name of the xml tag that represents equal condition. - - - - - Name of the xml tag that represents greater than condition. - - - - - Name of the xml tag that represents greater than or equal to condition. - - - - - Name of the xml tag that represents less than condition. - - - - - Name of the xml tag that represents less than or equal to condition. - - - - - Name of the xml tag that represents not between condition. - - - - - Name of the xml tag that represents not contains condition. - - - - - Name of the xml tag that represents not equal condition. - - - - - Name of the xml tag To stop evaluating conditional formatting rules for a cell. - - - - - Name of the xml attribute that represents the priority of this conditional formatting rule. - - - - - Name of the xml tag name that represents a formula whose calculated value specifies the criteria for the conditional - formatting rule. - - - - - Represents conditional formatting rule that compares a cell value to a formula calculated result, using an operator. - - - - - Represents conditional formatting rule that contains a formula to evaluate. - - - - - Represents conditional formatting rule that contains databar. - - - - - Represents conditional formatting rule that contains pivot table. - - - - - Represents conditional formatting rule that contains iconset. - - - - - Represents conditional formatting rule that contains color scale. - - - - - Represents conditional formatting rule highlights cells that are completely blank - - - - - Represents conditional formatting rule highlights cells that are not blank - - - - - Describes a data bar conditional formatting rule. - - - - - Describes the values of the interpolation points in a gradient scale. - - - - - Default value for minimum length of the data bar. - - - - - Default value for maximum length of the data bar. - - - - - The maximum length of the data bar, as a percentage of the cell width. - - - - - The minimum length of the data bar, as a percentage of the cell width. - - - - - Indicates whether to show the values of the cells on which this data bar is applied. - - - - - Describes an icon set conditional formatting rule. - - - - - The icon set to display. - - - - - Describes a color scale conditional formatting rule. - - - - - Indicates whether the thresholds indicate percentile values, instead of number values. - - - - - If '1', reverses the default order of the icons in this icon set. - - - - - Possible value types for ConditionValue. - - - - - Names used in xml as IconSet type (order is important). - - - - - Prevents a default instance of the CF class from being created. - - - - - This class contains constants required for charts parsing and serialization in Excel 2007 format. - - - - - Main charts namespace. - - - - - Main charts namespace. - - - - - Namespace of the slicer - - - - - Main charts namespace for Excel 2010 - - - - - Chart color style namespace for Excel 2013 - - - - - Chart style namespace for Excel 2013 - - - - - Uri for the pivot chart. - - - - - prefix for the Excel 2010 chart tag. - - - - - This element specifies a category axis. - - - - - This element specifies a value axis. - - - - - This element specifies a series axis. - - - - - This element specifies a date axis. - - - - - Value attribute. - - - - - Some value axis id. - - - - - Some category axis id. - - - - - Some series axis id. - - - - - Some secondary category axis id. - - - - - Some secondary value axis id. - - - - - This element contains additional axis settings. - - - - - This element specifies the logarithmic base for a logarithmic axis. - - - - - This element specifies the maximum value of the axis. - - - - - This element specifies the minimum value of the axis. - - - - - This element specifies the stretching and stacking of the picture on the - data point, series, wall, or floor. - - - - - When specified as a child element of valAx, dateAx, catAx, or serAx, - this element specifies the identifier for the axis. When specified as - a child element of a chart, this element specifies the identifier of - an axis that defines the coordinate space of the chart. - - - - - Specifies that the values on the axis shall be reversed so they go from maximum to minimum. - - - - - Specifies that the axis values shall be in the usual order, minimum to maximum. - - - - - This element specifies the position of the axis on the chart. - - - - - Specifies that the axis shall be displayed at the left of the plot area. - - - - - Specifies that the axis shall be displayed at the right of the plot area. - - - - - Specifies that the axis shall be displayed at the top of the plot area. - - - - - Specifies that the axis shall be displayed at the bottom of the plot area. - - - - - This element specifies major gridlines. - - - - - This element specifies minor gridlines. - - - - - This element specifies number formatting for the parent element. - - - - - This element specifies a string representing the format code to apply. - - - - - Indicates whether number format is applied to the axis. - - - - - This element specifies the position of the tick labels on the axis. - - - - - Specifies the axis labels shall be at the high end of the perpendicular axis. - - - - - Specifies the axis labels shall be at the low end of the perpendicular axis. - - - - - Specifies the axis labels shall be next to the axis. - - - - - Specifies the axis labels are not drawn. - - - - - This element specifies the major tick marks. - - - - - This element specifies the minor tick marks. - - - - - Specifies there shall be no tick marks. - - - - - Specifies the tick marks shall be inside the plot area. - - - - - Specifies the tick marks shall be outside the plot area. - - - - - Specifies the tick marks shall cross the axis. - - - - - This element specifies the ID of axis that this axis crosses. - - - - - This element specifies whether the value axis crosses the category axis between categories. - - - - - Specifies the value axis shall cross the category axis between data markers. - - - - - Specifies the value axis shall cross the category axis at the midpoint of a category. - - - - - This element specifies the distance between major ticks. - - - - - This element specifies the distance between minor tick marks. - - - - - This element specifies the distance of labels from the axis. - - - - - This element specifies how many tick labels to skip between label that is drawn. - - - - - This element specifies how many tick marks shall be skipped before the next one shall be drawn. - - - - - This element specifies whether multi level labels exists or not - - - - - This element specifies the smallest time unit that is represented on the date axis. - - - - - This element specifies the time unit for major tick marks. - - - - - This element specifies the time unit for the minor tick marks. - - - - - This element specifies the chart. - - - - - This element specifies the plot area of the chart. - - - - - This element specifies whether the series form a bar (horizontal) chart or a column (vertical) chart. - - - - - Specifies that the chart is a bar chart - the data markers are horizontal rectangles. - - - - - Specifies that the chart is a column chart - the data markers are vertical rectangles. - - - - - This element specifies the type of grouping for a bar chart. - - - - - Specifies that the chart series are drawn next to each other along the category axis. - - - - - Specifies that the chart series are drawn next to each other along the - value axis and scaled to total 100%. - - - - - Specifies that the chart series are drawn next to each other on the value axis. - - - - - Specifies that the chart series are drawn next to each other on the depth axis. - - - - - This element specifies that each data marker in the series shall have a different color. - - - - - This element specifies a series on a chart. - - - - - This element specifies the index of the containing element. This index - shall determine which of the parent's children collection this element applies to. - - - - - This element specifies the order of the series in the collection. It is 0 based. - - - - - This element specifies the data values which shall be used to define - the location of data markers on a chart. - - - - - This element specifies the data used for the category axis. - - - - - This element specifies a reference to numeric data with a cache of the last values used. - - - - - This element specifies a reference to string data with a cache of the last values used. - - - - - This element specifies a reference to data for the category axis (or for the x-values in a bubble or scatter chart)), - along with a cache of the last values used. - - - - - This element specifies the last numeric data used for a chart. - - - - - This element specifies the last string data used for a chart. - - - - - This element specifies a cache of the labels on the category axis, or the x-values in a bubble or scatter chart. - - - - - This element specifies a reference to source of the data contained in this chart. - - - - - This element specifies overall settings for a single chart, and is the root node for the chart part. - - - - - This element specifies the 3-D area series on this chart. - - - - - This element specifies the 2-D area series on this chart. - - - - - This element contains the 2-D bar or column series on this chart. - - - - - This element contains the 3-D bar or column series on this chart. - - - - - This element contains the 3-D line chart series. - - - - - This element contains the 2-D line chart series. - - - - - This element specifies the space between bar or column clusters, - as a percentage of the bar or column width. - - - - - This element specifies the space between bar or column clusters, - as a percentage of the bar or column width. - - - - - This element specifies how much bars and columns shall overlap on 2-D charts. - - - - - Specifies the chart shall be drawn as a cone, with the base of the cone - on the floor and the point of the cone at the top of the data marker. - - - - - Specifies the chart shall be drawn with truncated cones such that the - point of the cone would be the maximum data value. - - - - - Specifies the chart shall be drawn as a rectangular pyramid, with the - base of the pyramid on the floor and the point of the pyramid at the - top of the data marker. - - - - - Specifies the chart shall be drawn with truncated cones such that the - point of the cone would be the maximum data value. - - - - - Specifies the chart shall be drawn as a cylinder. - - - - - Specifies the chart shall be drawn with a box shape. - - - - - This element specifies the shape of a series or a 3-D bar chart. - - - - - This element contains the bubble series on this chart. - - - - - This element specifies that the bubbles have a 3-D effect applied to them. - - - - - Default bubble scale value. - - - - - This element specifies the scale factor for the bubble chart. This element can be - an integer value from 0 to 300, corresponding to a percentage of the default size. - - - - - This element specifies negative sized bubbles shall be shown on a bubble chart. - - - - - Specifies the area of the bubbles shall be proportional to the bubble size value. - - - - - Specifies the radius of the bubbles shall be proportional to the bubble size value. - - - - - This element specifies how the bubble size values are represented on the chart. - - - - - This element contains the set of 2-D contour charts. - - - - - This element contains the set of 3-D surface series. - - - - - This element specifies the surface chart is drawn as a wireframe. - - - - - This element contains the radar chart series on this chart. - - - - - This element specifies what type of radar chart shall be drawn. - - - - - This element contains the scatter chart series for this chart. - - - - - This element specifies the type of lines for the scatter chart. - - - - - This element contains the 2-D pie series for this chart. - - - - - This element contains the 3-D pie series for this chart. - - - - - This element specifies the angle of the first pie or doughnut chart slice, - in degrees (clockwise from up). - - - - - This element contains the doughnut chart series. - - - - - This element specifies the size of the hole in a doughnut chart group. - - - - - This element contains the pie of pie or bar of pie series on this chart. - - - - - Specifies that the chart is pie of pie chart, not a bar of pie chart. - - - - - Specifies that the chart is a bar of pie chart, not a pie of pie chart. - - - - - This element specifies whether this chart is pie of pie or bar of pie. - - - - - This element specifies a value that shall be used to determine which data - points are in the second pie or bar on a pie of pie or bar of pie chart. - - - - - This element specifies the size of the second pie or bar of a pie of pie - chart or a bar of pie chart, as a percentage of the size of the first pie. - - - - - This element specifies how to determine which data points are in the - second pie or bar on a pie of pie or bar of pie chart. - - - - - This element contains the collection of stock chart series. - - - - - This element serves as a root element that specifies the settings for the - data labels for an entire series or the entire chart. It contains child - elements that specify the specific formatting and positioning settings. - - - - - This element specifies the position of the data label. - - - - - This element specifies that the value shall be shown in a data label. - - - - - This element specifies that the category name shall be shown in the data label. - - - - - This element specifies that the percentage shall be shown in a data label. - - - - - This element specifies the bubble size shall be shown in a data label. - - - - - This element specifies that the series name shall be shown in a data label. - - - - - This element specifies legend keys shall be shown in data labels. - - - - - This element specifies Leader Lines shall be shown in data labels. - - - - - This element specifies text that shall be used to separate the parts of a data label. - The default is a comma, except for pie charts showing only category name and percentage, - when a line break shall be used instead. - - - - - This element specifies a data marker. - - - - - This element specifies the marker that shall be used for the data points. - - - - - This element specifies the size of the marker in points. - - - - - This element specifies the floor of a 3D chart. - - - - - This element specifies the back wall of the chart. - - - - - This element specifies the side wall. - - - - - This element specifies a title. - - - - - This element specifies a trend line. - - - - - This element specifies the name of the trend line. - - - - - This element specifies the type of the trend line. - - - - - This element specifies the order of the polynomial trend line. - It is ignored for other trend line types. - - - - - This element specifies the period of the trend line for a moving average - trend line. It is ignored for other trend line types. - - - - - This element specifies the number of categories (or units on a scatter - chart) that the trend line extends after the data for the series that is - being trended. On non-scatter charts, the value must be a multiple of 0.5. - - - - - This element specifies the number of categories (or units on a scatter chart) - that the trend line extends before the data for the series that is being trended. - On non-scatter charts, the value shall be 0 or 0.5. - - - - - This element specifies the value where the trend line shall cross the y - axis. This property shall be supported only when the trend line type is - exp, linear, or poly. - - - - - This element specifies that the R-squared value of the trend line is - displayed on the chart (in the same label as the equation). - - - - - This element specifies that the equation for the trend line is displayed - on the chart (in the same label as the R-squared value). - - - - - This element specifies error bars. - - - - - This element specifies the type of the error bars - positive, negative, or both. - - - - - This element specifies the type of values used to determine the length of the error bars. - - - - - This element specifies an end cap is not drawn on the error bars. - - - - - This element specifies a value which is used with the Error Bar Type - to determine the length of the error bars. - - - - - This element specifies the error bar value in the positive direction. - It shall be used only when the errValType is cust. - - - - - This element specifies the error bar value in the negative direction. - It shall be used only when the errValType is cust. - - - - - Specifies that error bars shall be shown in the x direction. - - - - - Specifies that error bars shall be shown in the y direction. - - - - - This element specifies the direction of the error bars. - - - - - This element specifies the 3-D view of the chart. - - - - - This element specifies the amount a 3-D chart shall be rotated in the X direction. - - - - - This element specifies the height of a 3-D chart as a percentage of the - chart width (between 5 and 500). - - - - - This element specifies the amount a 3-D chart shall be rotated in the Y direction. - - - - - This element specifies that the chart axes are at right angles, - rather than drawn in perspective. Applies only to 3-D charts. - - - - - This element specifies the field of view angle for the 3-D chart. - This element is ignored if Right Angle Axes is true. - - - - - This element specifies the depth of a 3-D chart as a percentage of the - chart width (between 20 and 2000 percent). - - - - - This element specifies the legend. - - - - - This element specifies the position of the legend. - - - - - This element specifies that other chart elements shall be allowed to overlap this chart element. - - - - - This element specifies a legend entry. - - - - - This element specifies that the chart element specified by its containing - element shall be deleted from the chart. - - - - - This element specifies how blank cells shall be plotted on a chart. - - - - - This element specifies that only visible cells should be plotted on the chart. - - - - - This element specifies the page margins for a chart. - - - - - Specifies the contents of this attribute will contain the left page margin in inches. - - - - - Specifies the contents of this attribute will contain the right page margin in inches. - - - - - Specifies the contents of this attribute will contain the top page margin in inches. - - - - - Specifies the contents of this attribute will contain the bottom page margin in inches. - - - - - Specifies the contents of this attribute will contain the header margin in inches. - - - - - Specifies the contents of this attribute will contain the footer margin in inches. - - - - - This element specifies the up and down bars. - - - - - This element specifies the up bars on the chart. - - - - - This element specifies the down bars on the chart. - - - - - This element specifies text to use on a chart, including rich text formatting. - - - - - This element contains a string with rich text formatting. - - - - - This is the root element of Sheet Parts that are of type 'chartsheet'. - - - - - Prefix for chart namespace. - - - - - Underline the text with a single line of normal thickness. - - - - - Underline the text with two lines of normal thickness. - - - - - A single strikethrough is applied to the text. - - - - - Text is not strike through. - - - - - This element specifies how this axis crosses the perpendicular axis. - - - - - This element specifies where on the axis the perpendicular axis crosses. - The units are dependent on the type of axis. - - - - - The category axis crosses at the zero point of the value axis (if possible), - or the minimum value (if the minimum is greater than zero) or the maximum - (if the maximum is less than zero). - - - - - The axis crosses at the maximum value - - - - - This element specifies the x values which shall be used to define the - location of data markers on a chart. - - - - - This element specifies the y values which shall be used to define the - location of data markers on a chart. - - - - - This element specifies the data for the sizes of the bubbles on the bubble chart. - - - - - This element specifies the amount the data point shall be moved from the center of the pie. - - - - - This element specifies series lines for the chart. - - - - - This element specifies the line connecting the points on the chart shall - be smoothed using Catmull-Rom splines. - - - - - This element specifies the label for the trend line. - - - - - This element specifies text for a series name, without rich text formatting. - - - - - This element specifies a text value for a category axis label or a series name. - - - - - This element specifies the high-low lines for the series. - - - - - This element specifies how the chart element is placed on the chart. - - - - - This element specifies how the chart element is placed on the chart manually - - - - - This element specifies the chart layout target - - - - - Represents left element for manual layout - - - - - Represents top element for manual layout - - - - - Represents the x location (left) of the chart element as a - fraction of width of the chart - - - - - Represents the y location (top) of the chart element as a - fraction of width of the chart - - - - - Represents the width or horizontal offset - - - - - Represents the height or a vertical offset - - - - - Represents the layout mode for the width of the element - - - - - Represents the layout mode for the height of the element - - - - - Represents the width of the element - - - - - Represents the height of the element - - - - - This element specifies a single data point. - - - - - This element specifies a data label. - - - - - This element specifies the logarithmic base for a logarithmic axis. - - - - - Default value of the logBase tag. - - - - - This element specifies the scaling value of the display units for the value axis. - - - - - This element specifies the display unit is one of the built in values. - - - - - This element specifies a custom value for the display unit. - - - - - This element specifies a data table. - - - - - This element specifies the horizontal borders shall be shown in a data table. - - - - - This element specifies the vertical border shall be shown in a data table. - - - - - This element specifies the outline shall be shown on a data table. - - - - - This element specifies the legend keys shall be shown in a data table. - - - - - This element specifies drop lines. - - - - - This element contains text properties. - - - - - This element specifies that this axis is a date or text axis based on - the data that is used for the axis labels, not a specific choice. - - - - - This element specifies the rounded corner tag. - - - - - This element specifies the style tag. - - - - - This element specifies the shapes drawn on top of the chart. - - - - - This element specifies that the shape described here to reside within a - chart should be sized based on relative anchor points. - - - - - This element specifies the relative x coordinate that is used to define - the percentage-based horizontal position for a shape within a chart drawing object. - - - - - This element specifies the relative y coordinate that is used to define - the percentage-based vertical position for a shape within a chart drawing object. - - - - - Multiplier for coordinates transform. - - - - - This element specifies a set of numbers used for the parent element. - - - - - This element specifies a set of strings used for the parent element. - - - - - This element contains the number of values in the cache. - - - - - This element specifies data for a particular data point. - - - - - This element specifies the series - to invert its colors if the value is negative. - - - - - Value attribute. - - - - - Represents the standard Number format attribute. - - - - - Prevents a default instance of the ChartConstants class from being created. - - - - - This class gives access to xml tag/attribute names used for chart object - pagesetup serialization/parsing. - - - - - This class gives access to xml tag/attribute names used for - pagesetup serialization/parsing. - - - - - Gets name of the xml tag that stores margin settings. Read-only. - - - - - Gets name of the xml attribute used to store left margin. Read-only. - - - - - Gets name of the xml attribute used to store right margin. Read-only. - - - - - Gets name of the xml attribute used to store top margin. Read-only. - - - - - Gets name of the xml attribute used to store bottom margin. Read-only. - - - - - Gets name of the xml attribute used to store header margin. Read-only. - - - - - Gets name of the xml attribute used to store footer margin. Read-only. - - - - - Gets tag's namespace. Read-only. - - - - - Gets name of the xml tag that stores margin settings. Read-only. - - - - - Gets name of the xml attribute used to store left margin. Read-only. - - - - - Gets name of the xml attribute used to store right margin. Read-only. - - - - - Gets name of the xml attribute used to store top margin. Read-only. - - - - - Gets name of the xml attribute used to store bottom margin. Read-only. - - - - - Gets name of the xml attribute used to store header margin. Read-only. - - - - - Gets name of the xml attribute used to store footer margin. Read-only. - - - - - Gets tag's namespace. Read-only. - - - - - This class stores constants with different content types. - - - - - Bitmap image content type. - - - - - Jpeg image content type. - - - - - Png image content type. - - - - - Emf image content type. - - - - - Gif image content type. - - - - - Content type for xml files. - - - - - Content type for rels files. - - - - - Content type for workbook item (used in [Content_Types].xml). - - - - - Content type for workbook item that contains macros (used in [Content_Types].xml). - - - - - Content type for macro template item that contains macros (used in [Content_Types].xml). - - - - - Content type for template item that contains macros (used in [Content_Types].xml). - - - - - Content type for calculation chain item. - - - - - Content type of the worksheet. - - - - - Content type of the chartsheet. - - - - - Content type of the shared strings table. - - - - - Content type of the styles. - - - - - Content type of the vml drawings item. - - - - - Content type of the comments item. - - - - - Content type for drawings item. - - - - - Content type for chart drawings item. - - - - - Content type for core properties. - - - - - Content type for extended properties. - - - - - Content type for custom properties. - - - - - Content type for extern link item. - - - - - Content type for chart object. - - - - - Content type for worksheet custom property. - - - - - Content type for pivot table. - - - - - Content type for pivot cache definition. - - - - - Content type for pivot cache records. - - - - - Content type for table object. - - - - - Content type for CustomXml Objects - - - - - Tiff image content type. - - - - - This class contains constants required for document properties parsing and serialization in Excel 2007 format. - - - - - Core properties enable users to get and set well-known and common sets of property metadata within packages. - - - - - Represents a categorization of the content of this package. - - - - - Represents the date of creation of the resource. - - - - - Represents an entity primarily responsible for making the content of the resource. - - - - - Represents an explanation of the content of the resource. - - - - - Represents a delimited set of keywords to support searching and indexing. - - - - - Represents the user who performed the last modification. - - - - - Represents the date and time of the last printing. - - - - - Represents the date on which the resource was changed. - - - - - Represents the topic of the content of the resource. - - - - - Represents the name given to the resource. - - - - - Represents Xsi attribute. - - - - - Represents Xsi attribute value. - - - - - Represents date time format structure. - - - - - This element specifies the application properties of a document. - - - - - This element specifies the name of the application that created this document. - - - - - This element specifies the total number of characters in a document. - - - - - This element specifies the name of a company associated with the document. - - - - - MS Excel uses this Tag to represents the xml parts. In our XlsIO, - this tag is used to find the document is generated by MS Excel. - - - - - Tag to represents the file is generated by XlsIO. - - - - - This element specifies the total number of lines in a document when last saved by a conforming producer if applicable. - - - - - This element specifies the name of a supervisor associated with the document. - - - - - This element specifies the total number of sound or video clips that are present in the document. - - - - - This element specifies the number of slides in a presentation containing notes. - - - - - This element specifies the total number of pages of a document if applicable. - - - - - This element specifies the total number of paragraphs found in a document if applicable. - - - - - This element specifies the intended format for a presentation document. - - - - - This element specifies the total number of slides in a presentation document. - - - - - This element specifies the name of an external document template containing format and style information - used to create the current document. - - - - - Total time that a document has been edited. The default time unit is minutes. - - - - - This element specifies the total number of words contained in a document when last saved. - - - - - This element specifies the base string used for evaluating relative hyperlinks in this document. - - - - - Represents default Excel97-03 hyperlink base name. - - - - - Parent element for the custom file properties part. - - - - - This element specifies a single custom file property. - - - - - Uniquely relates a custom property with an OLE property. - - - - - Uniquely relates a custom property with an OLE property. - - - - - Specifies the name of this custom file property. - - - - - This element specifies a Boolean variant type. - - - - - This element specifies a wide string variant type. - - - - - This element specifies a string variant type. - - - - - This element specifies a date variant type of type date-time as defined in RFC 3339. - - - - - This element specifies a 4-byte signed integer variant type. - - - - - This element specifies a 8-byte real number variant type. - - - - - This element specifies an integer variant type. - - - - - This element specifies a file-time variant type of type date-time. - - - - - Class used for defining constants and namespace for drawings. - - - - - Main spreadsheet drawings namespace ('xdr' abbreviation is used in MS Excel documents). - - - - - Main drawings namespace ('a' abbreviation is used in MS Excel documents). - - - - - Main chartsheet drawings namespace ('cdr' abbreviation is used in MS Excel documents). - - - - - Prefix used by MS Excel for XdrNamespace definition. - - - - - Prefix used by MS Excel for CdrNamespace definition. - - - - - Prefix used by MS Excel for ANamespace definition. - - - - - This element specifies a two cell anchor placeholder for a group, a shape, - or a drawing element. It moves with cells and its extents are in EMU units. - - - - - This element specifies a one cell anchor placeholder for a group, a shape, - or a drawing element. It moves with the cell and its extents is in EMU units. - - - - - Specifies how the DrawingML contents shall be moved and/or resized when - the rows and columns between its start and ending anchor (the from and - to child elements) are resized, or have additional rows/columns inserted - within them, or additional row/columns are added before them. - - - - - This element specifies the first anchor point for the drawing element. - This will be used to anchor the top and left sides of the shape within - the spreadsheet. That is when the cell that is specified in the from - element is adjusted, the shape will also be adjusted. - - - - - This element specifies the second anchor point for the drawing element. - This will be used to anchor the bottom and right sides of the shape within - the spreadsheet. That is when the cell that is specified in the to element - is adjusted, the shape will also be adjusted. - - - - - This element specifies the column that will be used within the from and to - elements to specify anchoring information for a shape within a spreadsheet. - - - - - This element is used to specify the column offset within a cell. - - - - - This element specifies the row that will be used within the from and to - elements to specify anchoring information for a shape within a spreadsheet. - - - - - This element is used to specify the row offset within a cell. - - - - - This element specifies the non visual properties for a picture. - This allows for additional information that does not affect - the appearance of the picture to be stored. - - - - - This element specifies non-visual canvas properties. - - - - - This element specifies non-visual GroupShape properties. - - - - - This element specifies GroupShape properties. - - - - - This element specifies the non-visual connector shape drawing properties - - - - - This element specifies the non-visual properties for the picture canvas. - - - - - This element specifies the on-click hyperlink information to be applied to a run of text. - When the hyperlink text is clicked the link is fetched. - - - - - This element specifies the type of picture fill that the picture object - will have. Because a picture has a picture fill already by default, - it is possible to have two fills specified for a picture object. - - - - - This element specifies the existence of an image (binary large image - or picture) and contains a reference to the image data. - - - - - It's define the Picture fill option - - - - - It's define the values of Transparency - - - - - Specifies the identification information for an embedded picture. This - attribute is used to specify an image that resides locally within the file. - - - - - Specifies that the current start and end positions shall be maintained - with respect to the distances from the absolute start point of the worksheet. - - - - - Specifies that the current drawing shall move with its row and column - (i.e. the object is anchored to the actual from row and column), but - that the size shall remain absolute. - - - - - Specifies that the current drawing shall move and resize to maintain its - row and column anchors (i.e. the object is anchored to the actual from - and to row and column). - - - - - This element specifies that a BLIP should be stretched to fill the target rectangle. - - - - - This element specifies that a BLIP should be tiled to fill the available space. - - - - - This element specifies the portion of the blip used for the fill. - - - - - This element specifies a fill rectangle. When stretching of an image is specified, - a source rectangle, srcRect, is scaled to fit the specified fill rectangle. - - - - - This element specifies the existence of a picture object within the document. - - - - - Name of the xml attribute that stores id. - - - - - Name of the xml attribute that stores shape name. - - - - - Name of the xml attribute that stores alternative description. - - - - - This element specifies all locking properties for a graphic frame. - - - - - Specifies that the generating application should not allow aspect ratio - changes for the corresponding connection shape. If this attribute is not - specified, then a value of false is assumed. - - - - - This element specifies the visual shape properties that can be applied to a shape. - - - - - This element specifies the thickness of the walls or floor as a percentage of the largest dimension of the plot volume. - - - - - It's define picturefill in shapeproperty. - - - - - It's define pictureformat options - - - - - It's define the Pictureformatvalue - - - - - This element represents 2-D transforms for ordinary shapes. - - - - - This element specifies the location of the bounding box of an object. - - - - - This element specifies the size of the bounding box enclosing the referenced object. - - - - - Specifies a coordinate on the x-axis. - - - - - Specifies a coordinate on the x-axis. - - - - - Specifies the length of the extents rectangle in EMUs. - - - - - Specifies the width of the extents rectangle in EMUs. - - - - - Specifies the preset geometry that will be used for this shape. - - - - - This elemet specifies that the chart has inverted shape elements and that is to be filled with a solid color. - - - - - Specifies the preset geometry that will be used for this shape. - - - - - This element indicates that the sheet contains drawing components built - on the drawingML platform. - - - - - This element specifies all drawing objects within the worksheet. - - - - - This element specifies the adjust values that will be applied to the specified shape. - - - - - This element is used to set certain properties related to a drawing element - on the client spreadsheet application. - - - - - This element describes a single graphical object frame for - a spreadsheet which contains a graphical object. - - - - - This element specifies the existence of a single shape. A shape can either - be a preset or a custom geometry, defined using the SpreadsheetDrawingML - framework. In addition to a geometry each shape can have both visual and - non-visual properties attached. Text and corresponding styling information - can also be attached to a shape. This shape is specified along with all - other shapes within either the shape tree or GroupShape elements. - - - - - This element specifies the properties for a connection shape drawing element. - A connection shape is a line, etc. that connects two other shapes in this drawing. - - - - - This element specifies a GroupShape that represents many shapes grouped together. - This shape is to be treated just as if it were a regular shape but instead of being - described by a single geometry it is made up of all the shape geometries encompassed - within it. Within a GroupShape each of the shapes that make up the group are - specified just as they normally would. The idea behind grouping elements however - is that a single transform can apply to many shapes at the same time. - - - - - This element specifies the custom function associated with the object. - - - - - This element specifies the existence of a single graphic object. - - - - - This element specifies the reference to a graphic object within the document. - - - - - Specifies the URI, or uniform resource identifier that represents the data - stored under this tag. The URI is used to identify the correct 'server' that - can process the contents of this tag. - - - - - This element specifies all non-visual properties for a graphic frame. - - - - - This element defines the body properties for the text body within a shape. - - - - - This element specifies the list of styles associated with this body of text. - - - - - This element specifies the presence of a paragraph of text within the containing text body. - - - - - This element contains all paragraph level text properties for the containing paragraph. - These paragraph properties should override any and all conflicting properties that are - associated with the paragraph in question. - - - - - This element contains all default run level text properties for the text - runs within a containing paragraph. These properties are to be used when - overriding properties have not been defined within the rPr element. - - - - - This element specifies the presence of a run of text within the containing text body. - - - - - This element specifies the actual text for this text run. This is the - text that will be formatted using all specified body, paragraph and run - properties. This element must be present within a run of text. - - - - - This element contains all run level text properties for the text runs within a containing paragraph. - - - - - Specifies whether a run of text will be formatted as bold text. If this - attribute is omitted, than a value of 0, or false is assumed. - - - - - Specifies whether a run of text will be formatted as italic text. If this - attribute is omitted, than a value of 0, or false is assumed. - - - - - Specifies whether a run of text will be formatted as strikethrough text. - If this attribute is omitted, than no strikethrough is assumed. - - - - - Specifies the size of text within a text run. Whole points are specified - in increments of 100 starting with 100 being a point size of 1. For instance - a font point size of 12 would be 1200 and a font point size of 12.5 would be - 1250. If this attribute is omitted, than the value in defRPr should be used. - - - - - Specifies whether a run of text will be formatted as underlined text. - If this attribute is omitted, than no underline is assumed. - - - - - This element is used as an anchor placeholder for a shape or group of shapes. - It will anchor the object in the same position relative to sheet position - and its extents are in EMU unit. - - - - - This element describes the position of a drawing element within a spreadsheet. - - - - - Specifies that the generating application should not allow shape grouping - for the corresponding connection shape. - - - - - This element specifies all locking properties for a graphic frame. - - - - - This element specifies the non-visual drawing properties for a graphic frame. - - - - - This element specifies an outline style that can be applied to a number - of different objects such as shapes and text. - - - - - Specifies the width to be used for the underline stroke. If this - attribute is omitted, then a value of 0 is assumed. - - - - - Specifies the compound line type to be used for the underline stroke. - If this attribute is omitted, then a value of sng is assumed. - - - - - This element specifies that no fill will be applied to the parent element. - - - - - This element specifies a solid color fill. The shape is filled entirely with the specified color. - - - - - border miter join Tag - - - - - border bevel join tag - - - - - This element specifies a color using the red, green, blue RGB color model. - Red, green, and blue is expressed as sequence of hex digits, RRGGBB. - A perceptual gamma of 2.2 is used. - - - - - This element specifies a color bound to a user's theme. As with all elements - which define a color, it is possible to apply a list of color transforms to - the base color defined. - - - - - This color is based upon the value that this color currently has - within the system on which the document is being viewed. - - - - - Applications shall use the lastClr attribute to determine - the absolute value of the last color used if system colors - are not supported. - - - - - This element specifies that a preset line dashing scheme should be used. - - - - - This element specifies the background color of a Pattern fill. - - - - - This element specifies the foreground color of a pattern fill. - - - - - This element specifies a pattern fill. A repeated pattern is used to fill the object. - - - - - Specifies one of a set of preset patterns to fill the object. - - - - - This element specifies that lines joined together will have a round join. - - - - - This element defines a gradient fill. - - - - - This element specifies decorations which can be added to the head of a line. - - - - - This element specifies decorations which can be added to the tail of a line. - - - - - The list of gradient stops that specifies the gradient colors and their - relative positions in the color band. - - - - - This element specifies a linear gradient. - - - - - It's define the Tailtag property - - - - - Specifies the direction of color change for the gradient. To define this - angle, let its value be x measured clockwise. Then ( -sin x, cos x ) is - a vector parallel to the line of constant color in the gradient fill. - - - - - Whether the gradient angle scales with the fill region. - - - - - This element defines that a gradient fill will follow a path vs. a linear line. - - - - - Specifies the shape of the path to follow. - - - - - This element defines a GradientStop. A GradientStop consists of a position - where the stop appears in the color band. - - - - - Specifies where this GradientStop should appear in the color band. - - - - - This element specifies its input color with the specific opacity, - but with its color unchanged. - - - - - This element defines the "focus" rectangle for the center shade, specified - relative to the fill tile rectangle. The center shade fills the entire tile - except the margins specified by each attribute. - - - - - This element specifies a Color Change Effect. Instances of clrFrom are replaced with instances of clrTo - - - - - Specifies the left edge of the rectangle. - - - - - Specifies the top edge of the rectangle. - - - - - Specifies the right edge of the rectangle. - - - - - Specifies the bottom edge of the rectangle. - - - - - This element specifies a lighter version of its input color. A 10% tint is 10% - of the input color combined with 90% white. - - - - - This element specifies a darker version of its input color. A 10% shade is 10% - of the input color combined with 90% black. - - - - - This element specifies that the output color rendered by the generating - application should be the sRGB gamma shift of the input color. - - - - - This element specifies that the output color rendered by the generating - application should be the inverse sRGB gamma shift of the input color. - - - - - This element specifies the input color with its luminance modulated by the given percentage. - - - - - This element specifies the input color with its luminance shifted, but with its hue and saturation unchanged. - - - - - This element specifies the input color with its saturation modulated by the given percentage. - - - - - This element specified the rotation of text. - - - - - Specifies that all text in the parent object shall be aligned to the baseline of - each character when displayed. - - - - - This element specifies that a Latin font be used for a specific run of text. - - - - - Represents font type face. - - - - - Represents embedded controls in worksheet. - - - - - Represents a single embedded control. - - - - - This element specifies the non-visual drawing properties for a shape. These properties - are to be used by the generating application to determine how the shape should be dealt with. - - - - - Specifies that the corresponding shape is a text box and thus should be treated - as such by the generating application. If this attribute is omitted then it is - assumed that the corresponding shape is not specifically a text box. - - - - - This element specifies all non-visual properties for a shape. This element - is a container for the non-visual identification properties, shape properties - and application properties that are to be associated with a shape. This - allows for additional information that does not affect the appearance - of the shape to be stored. - - - - - This element specifies the existence of text to be contained within the - corresponding shape. All visible text and visible text related properties - are contained within this element. There can be multiple paragraphs and - within paragraphs multiple runs of text. - - - - - Default value for subscript baseline value. - - - - - Default value for superscript baseline value. - - - - - Specifies the anchoring position of the txBody within the shape. If this - attribute is omitted, then a value of t, or top is implied. - - - - - Determines if the text within the given text body should be displayed vertically. - If this attribute is omitted, then a value of horz, or no vertical text is implied. - - - - - This attribute indicates whether to allow text editing within this drawing - object when the parent worksheet is protected. - - - - - Specifies the alignment that is to be applied to the paragraph. Possible - values for this include left, right, centered, justified and distributed. - If this attribute is omitted, then a value of left is implied. - - - - - This class contains constants used for data validation parsing / serialization - in Excel 2007 SpreadsheetML format. - - - - - Name of xml tag that represents data validations. - - - - - Name of xml attribute name that represents data validation item count - - - - - Name of xml attribute name that indicates whether all input prompts for the worksheet are disabled. - - - - - Name of xml attribute name that represents the x-coordinate (relative to window) of top-left - corner of the data validation input prompt (textbox). - - - - - Name of xml attribute name that represents the y-coordinate (relative to window) of top-left - corner of the data validation input prompt (textbox). - - - - - Name of xml tag that represents data validation. - - - - - Name of xml attribute name that represents data validation error message. - - - - - Name of xml attribute name that represents data validation sequence of references. - - - - - Name of xml attribute name that represents data validation type. - - - - - Represents which uses a custom formula to check the cell value. - - - - - Represents which checks for date values satisfying the given condition. - - - - - Represents which checks for decimal values satisfying the given condition. - - - - - Represents which checks for a value matching one of list of values. - - - - - Represents no data validation. - - - - - Represents which checks for text values, whose length satisfies the given condition. - - - - - Represents which checks for time values satisfying the given condition. - - - - - Represrnts which checks for whole number values satisfying the given condition. - - - - - Name of xml attribute name that represents data validation allow blank status. - - - - - Name of xml attribute name that represents data validation message text. - - - - - Name of xml attribute name that represents data validation error style. - - - - - This data validation error style uses an information icon in the error alert. - - - - - This data validation error style uses a stop icon in the error alert. - - - - - This data validation error style uses a warning icon in the error alert. - - - - - Name of xml attribute name that represents data validation title bar text of error alert. - - - - - Name of xml attribute name that represents data validation relational operator used with this data validation. - - - - - Represents value which checks if a value is between two other values. - - - - - Represents value which checks if a value is equal to a specified value. - - - - - Represents value which checks if a value is greater than a specified value. - - - - - Represents value which checks if a value is greater than or equal to a specified value. - - - - - Represents value which checks if a value is less than a specified value. - - - - - Represents value which checks if a value is less than or equal to a specified value. - - - - - Represents value which checks if a value is not between two other values. - - - - - Represents value which checks if a value is not equal to a specified value. - - - - - Name of xml attribute name that represents data validation message text of input prompt. - - - - - Name of xml attribute name that represents data validation title bar text of input prompt. - - - - - Name of xml attribute name that indicates whether to display the dropdown combo box for a list type data validation. - - - - - Name of xml attribute name that indicates whether to display the error alert message. - - - - - Name of xml attribute name that indicates whether to display the input prompt message. - - - - - Name of xml tag name that represents the first formula in the data validation dropdown. - - - - - Name of xml tag name that represents the second formula in the data validation dropdown. - - - - - Represents Range pref. - - - - - Represents Type pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Selected pref. - - - - - Represents Value pref. - - - - - Represents Qualifier pref. - - - - - Prevents a default instance of the DV class from being created. - - - - - This class contains constants related with external links storing in Excel 2007 format. - - - - - Main namespace for external links file. - - - - - This element is a container for specific types of external links. - - - - - This element represents an external workbook which is supplying data to the current workbook. - - - - - This element is the container for all of the worksheet names in a supporting workbook. - - - - - Name of a worksheet in the supporting workbook. - - - - - This element defines the collection of external references for this workbook. - - - - - This element defines an external reference that stores data for workbook elements. - - - - - Name of the xml attribute that stores sheet name value. - - - - - This element serves as the collection for 1 or more sheetData elements. - - - - - This element is a collection of the defined names associated with the supporting workbook. - - - - - This element contains information about a named range in an external workbook. - - - - - The defined name attribute. - - - - - Name range definition string. - - - - - The index of the worksheet that the named range applies to for named ranges - that are scoped to a particular worksheet rather than the full workbook. - - - - - This class stores all constants connected with page setup settings. - - - - - Print options for the sheet. - - - - - Used in conjunction with gridLinesSet. If both gridLines and gridlinesSet are true, then - grid lines shall print. Otherwise, they shall not (i.e., one or both have false values). - - - - - Used in conjunction with gridLines. If both gridLines and gridLinesSet are true, then - grid lines shall print. Otherwise, they shall not (i.e., one or both have false values). - - - - - Print row and column headings. - - - - - Center on page horizontally when printing. - - - - - Center on page vertically when printing. - - - - - Page margins for a sheet or a custom sheet view. - - - - - Bottom Page Margin in inches. - - - - - Footer Page Margin in inches. - - - - - Header Page Margin in inches. - - - - - Left Page Margin in inches. - - - - - Right Page Margin in inches. - - - - - Top Page Margin in inches. - - - - - Page setup settings for the worksheet. - - - - - Print black and white. - - - - - This attribute specifies how to print cell comments. - - - - - Number of copies to print. - - - - - Print without graphics. - - - - - Specifies how to print cell values for cells with errors. - - - - - Page number for first printed page. If no value is specified, then 'automatic' is assumed. - - - - - Number of vertical pages to fit on. - - - - - Number of horizontal pages to fit on. - - - - - Horizontal print resolution of the device. - - - - - Relationship Id of the devMode printer settings part. - - - - - Orientation of the page. - - - - - Order of printed pages. - - - - - Paper size - - - - - Print scaling. Valid values range from 10 to 400. - - - - - Use firstPageNumber value for first page number, and do not auto number the pages. - - - - - Use the printer�s defaults settings for page setup values and don't use the default values - specified in the schema. For example, if dpi is not present or specified in the XML, the - application shall not assume 600dpi as specified in the schema as a default and instead - shall let the printer specify the default dpi. - - - - - Vertical print resolution of the device. - - - - - Print cell comments as displayed. - - - - - Do not print cell comments. - - - - - Print cell comments at end of document. - - - - - Display cell errors as blank. - - - - - Display cell errors as dashes. - - - - - Display cell errors as displayed on screen. - - - - - Display cell errors as #N/A. - - - - - Header and footer settings. - - - - - Odd header string. - - - - - Odd footer string. - - - - - Header Footer Scales with Document string - - - - - Header Footer Margins align with Document string - - - - - Header Footer Odd/Even pages is different with the document string - - - - - Header Footer first page is different with document string - - - - - Prevents a default instance of the PageSetup class from being created. - - - - - This class contains constants used for pane parsing/serialization. - - - - - Represents worksheet view pane. - - - - - Horizontal position of the split, in 1/20th of a point; 0 (zero) if none. - If the pane is frozen, this value indicates the number of columns visible - in the top pane. - - - - - Vertical position of the split, in 1/20th of a point; 0 (zero) if none. - If the pane is frozen, this value indicates the number of rows visible - in the left pane. - - - - - Location of the top left visible cell in the bottom right pane (when in Left-To-Right mode). - - - - - The pane that is active. - - - - - Indicates whether the pane has horizontal / vertical splits, - and whether those splits are frozen. - - - - - Panes are frozen, but were not split being frozen. In this state, when the - panes are unfrozen again, a single pane results, with no split. - - - - - Panes are frozen and were split before being frozen. In this state, when - the panes are unfrozen again, the split remains, but is adjustable. - - - - - Panes are split, but not frozen. In this state, the split bars are adjustable by the user. - - - - - Selected or active cell information - - - - - Active cell in the worksheet - - - - - Sequence of References - - - - - Possible values for active pane. - - - - - Bottom left pane, when both vertical and horizontal splits are applied. - This value is also used when only a horizontal split has been applied, - dividing the pane into upper and lower regions. In that case, this value - specifies the bottom pane. - - - - - Bottom right pane, when both vertical and horizontal splits are applied. - - - - - Top left pane, when both vertical and horizontal splits are applied. - This value is also used when only a horizontal split has been applied, - dividing the pane into upper and lower regions. In that case, this value - specifies the top pane. This value is also used when only a vertical split - has been applied, dividing the pane into right and left regions. In that - case, this value specifies the left pane. - - - - - Top right pane, when both vertical and horizontal splits are applied. - This value is also used when only a vertical split has been applied, - dividing the pane into right and left regions. In that case, this value - specifies the right pane. - - - - - Specifies a boolean value that indicates whether the application will - refresh the cache when the workbook has been opened. - - - - - Specifies the name of the end-user who last refreshed the cache. - - - - - Specifies the date when the cache was last refreshed. - - - - - Specifies the version of the application that created the cache. - - - - - Specifies the version of the application that last refreshed the cache. - - - - - Specifies the earliest version of the application that is required to refresh the cache. - - - - - Specifies the number of records in the cache. - - - - - Represents the description of data source whose data is stored in the pivot cache. - - - - - Specifies the cache type. - - - - - Indicates that the cache contains data that - consolidates ranges. - - - - - Indicates that the cache contains data from an - external data source. - - - - - Indicates that the cache contains a scenario summary - report - - - - - Indicates that the cache contains worksheet data. - - - - - Represents the location of the source of the data that is stored in the cache. - - - - - Specifies the reference that defines a cell range that is the source of the data. - - - - - Specifies the name of the sheet that is the source for the cached data. - - - - - Represents the collection of field definitions in the source data. - - - - - Specifies the number of fields in the cache. - - - - - Represent a single field in the PivotCache. - - - - - Specifies the name of the cache field. - - - - - Represents the PivotTable root element for non-null PivotTables. - - - - - This element enumerates pivot cache definition parts used by pivot tables and formulas in this workbook. - - - - - This element represents a cache of data for pivot tables and formulas in the workbook. - - - - - Specifies the unique identifier for the pivot cache for this workbook in the pivot cache part. - - - - - Specifies the name of the value area field header in the PivotTable. - - - - - Specifies the version of the application that last updated the PivotTable view. - - - - - Specifies a boolean value that indicates whether calculated members should be shown - in the PivotTable view. This attribute applies to PivotTables from OLAP-sources only. - - - - - Specifies a boolean value that indicates whether auto formatting has - been applied to the PivotTable view. - - - - - Specifies a boolean value that indicates whether PivotItem names should - be repeated at the top of each printed page. - - - - - Specifies the indentation increment for compact axis and can be used to - set the Report Layout to Compact Form. - - - - - Specifies a boolean value that indicates whether new fields should have - their outline flag set to true. - - - - - Specifies a boolean value that indicates whether data fields in the - PivotTable should be displayed in outline form. - - - - - Specifies a boolean value that indicates whether the fields of a PivotTable - can have multiple filters set on them. - - - - - Represents the collection of fields that appear on the PivotTable. - - - - - Represents a single field in the PivotTable. - - - - - Specifies a boolean value that indicates whether to show all items for this field. - - - - - Represents location information for the PivotTable. - - - - - Specifies the first row of the PivotTable header, relative to the top - left cell in the ref value. - - - - - Specifies the first row of the PivotTable data, relative to the top left cell in the ref value. - - - - - Specifies the first column of the PivotTable data, relative to the top left cell in the ref value. - - - - - Represents the pivotCacheDefinition part. This part defines each field - in the source data, including the name, the string resources of the - instance data (for shared items), and information about the type of - data that appears in the field. - - - - - Represents the collection of row fields for the PivotTable. - - - - - Represents the collection of items in row axis of the PivotTable. - - - - - Represents the collection of fields that are on the column axis of the PivotTable. - - - - - Represents the collection of column items of the PivotTable. - - - - - Specifies the index to the number format applied to this data field. - - - - - Represent information on style applied to the PivotTable. - - - - - Specifies a boolean value that indicates whether to show row headers for the table. - - - - - Specifies a boolean value that indicates whether to show column headers for the table. - - - - - Specifies a boolean value that indicates whether to show row - stripe formatting for the table. - - - - - Specifies a boolean value that indicates whether to show column stripe - formatting for the table. - - - - - Specifies a boolean value that indicates whether to show the last column. - - - - - Specifies a boolean value that indicates whether grand totals should be - displayed for the PivotTable columns. - - - - - Specifies a boolean value that indicates whether grand totals should be - displayed for the PivotTable rows. - - - - - Specifies a boolean value that indicates whether drill indicators should be hidden. - - - - - Represents the collection of unique items for a field in the PivotCacheDefinition. - - - - - Specifies a boolean value that indicates that this field contains text values. - The field may also contain a mix of other data type and blank values. - - - - - Specifies a boolean value that indicates whether this field contains a text value. - - - - - Specifies a boolean value that indicates whether this field contains numeric values. - - - - - Specifies a boolean value that indicates whether this field contains integer values. - - - - - Specifies a boolean value that indicates that the field contains at least one date. - - - - - Specifies a boolean value that indicates that the field contains at - least one value that is not a date. - - - - - Specifies a boolean value that indicates whether this field contains a blank value. - - - - - Specifies a boolean value that indicates wheter this field contains a long Text. - - - - - Specifies a boolean value that indicates whether to suppress display of pivot field. - - - - - Represents a generic field that can appear either on the column or the row region of the PivotTable. - - - - - Specifies the index to a pivotField item value. - - - - - Represents the collection of items in the row or column region of the PivotTable. - - - - - GrandTotal constant - - - - - Row Labels of pivot table - - - - - Specifies the type of the item. - - - - - constant - - - - - Represents an array of indexes to cached member property values. - - - - - Represents the collection of items in the data region of the PivotTable. - - - - - Represents a field from a source list, table, or database that contains data that is summarized in a PivotTable. - - - - - Specifies the index to the field (<r>) in the pivotCacheRecords part that this data item summarizes. - - - - - Specifies the index to the base field when the ShowDataAs calculation is in use. - - - - - Specifies the index to the base item when the ShowDataAs calculation is in use. - - - - - Specifies the aggregation function that applies to this data field. - - - - - Specifies the custom text that is displayed for the subtotals label. - - - - - Specifies the region of the PivotTable that this field is displayed. - - - - - Specifies a boolean value that indicates whether this field appears in the - data region of the PivotTable. - - - - - Represents the collection of items in a PivotTable field. - - - - - Represents a single item in PivotTable field. - - - - - Specifies the type of this item. A value of 'default' indicates the subtotal or total item. - - - - - Indicates the pivot item represents the default type for this PivotTable. - The default pivot item type is the "total" aggregate function. - - - - - Represents the collection of records in the PivotCache. - - - - - Represents a single record of data in the PivotCache. - - - - - Represents a numeric value in the PivotTable. - - - - - Represents a character value in a PivotTable. - - - - - Represents a value that was not specified. - - - - - Represents a date-time value in the PivotTable. - - - - - Represents a boolean value for an item in the PivotTable. - - - - - Unified date time format. - - - - - Specifies the value of the item. - - - - - Specifies a boolean value that indicates whether to apply the 'Average' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'countA' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'count' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'max' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'min' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply 'product' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'stdDevP' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to use 'stdDev' - in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether apply the 'sum' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'varP' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether to apply the 'variance' - aggregation function in the subtotal of this field. - - - - - Specifies a boolean value that indicates whether the default subtotal - aggregation function is displayed for this field. - - - - - Specifies a boolean value that indicates whether the application should query and - retrieve records asynchronously from the cache. - - - - - Specifies a boolean value that indicates whether the user can refresh the cache. - - - - - Specifies a boolean value that indicates whether the cache needs to be refreshed. - - - - - Specifies a boolean value that indicates whether the application will apply optimizations - to the cache to reduce memory usage - - - - - Specifies a boolean value that indicates whether the pivot records are saved with the - cache. - - - - - Specifies whether the cache's data source supports attribute drilldown - - - - - Specifies whether the cache's data source supports subqueries. - - - - - Specifies a boolean value that indicates whether the cache is scheduled for version - upgrade. - - - - - Specifies a boolean value that indicates whether this field came from the source - database - - - - - Specifies the formula for the calculated field - - - - - Represents the collection of properties for a field group. - - - - - Specifies a boolean value that indicates whether an asterisks should be displayed in - subtotals and totals - - - - - Specifies the string to be displayed in column header in compact mode. This attribute - depends on whether the application implements a compact mode for displaying - PivotTables in the user interface. - - - - - Specifies the compact new fileds - - - - - Specifies the display compact Data - - - - - This attribute indicates the wheater to auto sort pivot table or not - - - - - This attribute represents the multiple fields in the data region - is located in the row area or the column area - - - - - This attribute represents the position for the field which representing multiple data field in the PivotTable - - - - - this attribute indicates whether to disable the PivotTable field list. - - - - - This attribute that indicates whether the user is allowed to edit the cells in - the data area of the PivotTable. - - - - - This attribute that indicates whether the user is prevented from drilling down - on a PivotItem or aggregate value. - - - - - indicates whether the user is prevented from displaying - PivotField properties. - - - - - This attribute that indicates whether the user is prevented from displaying - the PivotTable wizard. - - - - - This attribute Specifies the string to be displayed in cells that contain errors. - - - - - this attribute that indicates whether fields in the PivotTable are sorted in - non-default order in the field list. - - - - - Specifies the display name - - - - - Specifies the number of columns per page for this PivotTable that the filter area will - occupy. - - - - - Specifies the number of rows per page for this PivotTable that the filter area will occupy. - - - - - Specifies a boolean value that indicates whether the approximate number of child items - for this item is greater than zero. - - - - - Specifies a boolean value that indicates whether this item has been expanded in the - PivotTable view. - - - - - Specifies a boolean value that indicates whether attribute hierarchies nested next to - each other on a PivotTable row or column will offer drilling "across" each other or not. - - - - - Specifies a boolean value that indicates whether this item is a calculated member. - - - - - Specifies a boolean value that indicates whether the item is hidden. - - - - - Specifies the user caption of the item. - - - - - Specifies a boolean value that indicates whether the item has a character value. - - - - - Specifies a boolean value that indicates whether the details are hidden for this item. - - - - - Specifies a boolean value that indicate whether the item has a missing value. - - - - - Specifies the type of this item. A value of 'default' indicates the subtotal or total item. - - - - - Specifies the base of this field, - - - - - Specifies the parent of this field, - - - - - Represents the collection of discrete grouping properties for a field group - - - - - Represents the collection of items in a field group. - - - - - Represents the collection of range grouping properties. - - - - - Specifies a boolean value that indicates whether the application uses the source data to - set the ending range value. - - - - - Specifies a boolean value that indicates whether we use source data to set the beginning - range value. - - - - - Specifies the ending value for date grouping if autoEnd is false. - - - - - Specifies the ending value for numeric grouping if autoEnd is false. - - - - - Specifies the grouping. - - - - - Specifies the grouping interval for numeric range grouping. Specifies the number of days - to group by in date range grouping - - - - - Specifies the starting value for date grouping if autoStart is false. - - - - - Specifies the starting value for numeric grouping if autoStart is false. - - - - - Specifies a boolean value that indicates whether an "AutoShow" filter is applied to this - field. - - - - - Specifies a boolean value that indicates whether the field can be removed from the - PivotTable. - - - - - Specifies a boolean value that indicates whether the field can be dragged to the column - axis. - - - - - Specifies a boolean value that indicates whether the field can be dragged to the data - region. - - - - - Specifies a boolean value that indicates whether the field can be dragged to the page - region - - - - - Specifies a boolean value that indicates whether the field can be dragged to the row axis - - - - - Specifies a boolean value that indicates whether new items that appear after a refresh - should be hidden by default. - - - - - Specifies a boolean value that indicates whether manual filter is in inclusive mode. - - - - - Specifies a boolean value that indicates whether to insert a blank row after each item. - - - - - Specifies a boolean value that indicates whether to insert a page break after each item. - - - - - Specifies the number of items showed per page in the PivotTable. - - - - - Specifies a boolean value that indicates whether field has a measure based filter. - - - - - Specifies a boolean value that indicates whether the field can have multiple items - selected in the page field. - - - - - Specifies a boolean value that indicates whether to hide drop down buttons on PivotField - headers - - - - - Specifies a boolean value that indicates whether to show the property as a member - caption. - - - - - Specifies a boolean value that indicates whether to show the member property value in a - tooltip on the appropriate PivotTable cells. - - - - - Specifies the type of sort that is applied to this field. - - - - - Specifies the unique name of the member property to be used as a caption for the field - and field items. - - - - - Represents an item within a PivotTable field that uses a formula - - - - - Represents an item within a PivotTable field that uses a formula - - - - - Represents a set of selected fields and selected items within those fields - - - - - Represents a set of selected fields and selected items within those fields - - - - - Flag indicating whether any indexes refer to fields or items in the Pivot cache - - - - - Flag indicating whether the column grand total is included. - - - - - Flag indicating whether only the data values - - - - - Position of the field within the axis to which this rule applies. - - - - - Flag indicating whether the row grand total is included - - - - - Flag indicating whether only the item labels for an item selection - are selected and does - not include the data values - - - - - A Reference that specifies a subset of the selection area. - - - - - Specifies a boolean value that indicates whether the - item is referred to by position rather than item index. - - - - - Specifies a boolean value that indicates whether the item is - referred to by a relative reference rather than an absolute reference - - - - - Specifies a boolean value that indicates whether this field has selection - - - - - Pivot Area tag - - - - - Pivot Area Type - - - - - Represents the collection of conditional formats applied to a PivotTable - - - - - Represents the conditional formatting defined in the PivotTable. - - - - - Specifies a boolean value that indicates whether the in-grid drop zones should be - displayed at runtime, and whether classic layout is applied. - - - - - Specifies a boolean value that indicates how the page fields are laid out - when there are multiple PivotFields in the page area. - - - - - Specifies a boolean value that indicates whether to show error messages in cells - - - - - Specifies a boolean value that indicates - whether to show a message in cells with no value. - - - - - Specifies a boolean value that indicates whether to - show a message in cells with no value. - - - - - Specifies a boolean value that indicates whether the formatting applied by - the user to the PivotTable cells is discarded on refresh. - - - - - Specifies a boolean value that indicates whether tooltips should be - displayed for PivotTable data cells. - - - - - - - - - - Specifies a boolean value that indicates whether row or column titles that span multiple - cells should be merged into a single cell. - - - - - Specifies the number of page fields to display before starting another row or column. - - - - - Represents the collection of filters that apply to this PivotTable. - - - - - Specifies the description of the pivot filter. - - - - - Specifies the evaluation order of the pivot filter. - - - - - Specifies the index of the measure field. - - - - - Specifies the index of the measure cube field. - - - - - Indicates whether the AutoFilter button for this column is hidden - - - - - Flag indicating whether the filter button is visible. - - - - - Specifies the element for Auto filter. - - - - - Specifies the element for filter column - - - - - Specifies the attributes for operator which is applied in pivot filter. - - - - - Specifies the string value "1" used by label pivot filters. - - - - - Zero-based index indicating the AutoFilter column to which this filter information applies. - - - - - Specifies the string value "2" used by label pivot filters. - - - - - Specifies the unique identifier of the pivot filter as assigned by the PivotTable. - - - - - Specifies the element for Custom filters. - - - - - Specifies the element for Custom filter - - - - - Attribute specifying whether and operator is used. - - - - - Top or bottom value to use as the filter criteria. - - - - - Flag indicating whether to filter by blank. - - - - - The actual cell value in the range which is used to perform the comparison for this filter. - - - - - Flag indicating whether or not to filter by percent value of the column. - - - - - Flag indicating whether or not to filter by top order - - - - - Specifies the element for Top 10 filter - - - - - Represents the collection of filter that apply to this PivotFilters. - - - - - Represents the collection of custom formats apply to the pivot table. - - - - - Represents the collection of formats applied to PivotChart. - - - - - Specifies the string to be displayed in row header in compact mode. - - - - - Represents the sorting scope for the PivotTable. - - - - - Represents a Error value in a PivotTable. - - - - - Represents the collection of OLAP hierarchies in the PivotCache. - - - - - Represents the collection of Key Performance Indicators (KPIs) - defined on the OLAP server and stored in the PivotCache. - - - - - Represents the collection of PivotTable OLAP dimensions. - - - - - Represents a PivotTable OLAP measure group. - - - - - Represents the PivotTable OLAP measure group - Dimension maps. - - - - - Represents the collection of OLAP hierarchies associated with the PivotTable. - - - - - Represents the collection of references to OLAP hierarchies on the row axis of a PivotTable. - - - - - Specifies the hierarchy that this field is part of. - - - - - Specifies the hierarchy level that this field is part of. - - - - - Represents the Pivot Field Captions. - - - - - Specifies a boolean value that indicates whether sort is applied to this field in the datasource. - - - - - Specifies a boolean value that indicates the drill state of the attribute hierarchy in an - OLAP-based PivotTable. - - - - - Specifies a boolean value that indicates whether all items in the field are expanded. - Applies only to OLAP PivotTables. - - - - - Indicates whether the pivot cache has missing items. - - - - - Specifies the hierarchy level that this page field is part of. - - - - - Specifies a boolean value that indicates whether this field Member Property - database - - - - - Specifies the string to be displayed for grand totals. - - - - - Constructor used to prevent from creating instances of this class. - - - - - Defines constants required for protection parsing/serialization in Excel 2007 format. - - - - - This collection expresses the sheet protection options to enforce when the sheet is protected. - - - - - Specifies the hash of the password required for editing this worksheet. - This protection is optional and may be ignored by applications that choose not - to support this functionality. The hash is generated from an 8-bit wide character. - - - - - Objects are locked when the sheet is protected. - - - - - Scenarios are locked when the sheet is protected. - - - - - Formatting cells is locked when the sheet is protected. - - - - - Formatting columns is locked when the sheet is protected. - - - - - Formatting rows is locked when the sheet is protected. - - - - - Inserting columns is locked when the sheet is protected. - - - - - Inserting rows is locked when the sheet is protected. - - - - - Inserting hyperlinks is locked when the sheet is protected. - - - - - Deleting columns is locked when the sheet is protected. - - - - - Deleting rows is locked when the sheet is protected. - - - - - Selection of locked cells is locked when the sheet is protected. - - - - - Sorting is locked when the sheet is protected. - - - - - Autofilters are locked when the sheet is protected. - - - - - Selection of unlocked cells is locked when the sheet is protected. - - - - - Pivot tables are locked when the sheet is protected. - - - - - Sheet is locked when the sheet is protected. - - - - - Specifies the specific cryptographic hashing algorithm which shall be used along with the - salt attribute and input password in order to compute the hash value. - - - - - Specifies the hash value for the password required to edit this worksheet. - - - - - Specifies the number of times the hashing function shall be iteratively run. - - - - - Specifies the salt which was prepended to the user-supplied password before it was - hashed using the hashing algorithm. - - - - - Specifies the specific cryptographic hashing algorithm which shall be used along with the - salt attribute and input password in order to compute the hash value. - - - - - Specifies the hash value for the password required to edit this workbook. - - - - - Specifies the number of times the hashing function shall be iteratively run. - - - - - Specifies the salt which was prepended to the user-supplied password before it was - hashed using the hashing algorithm. - - - - - This element specifies options for protecting data in the workbook. Applications - may use workbook protection to prevent anyone from accidentally changing, moving, - or deleting important data. - - - - - Specifies a boolean value that indicates whether structure of workbook is locked. - - - - - Specifies a boolean value that indicates whether the windows that comprise the workbook are locked. - - - - - Specifies the hash of the password required for unlocking this workbook. - - - - - List of protection attribute names in the resulting file. - - - - - List of default values for protection options (order corresponds to ProtectionFlags and ProtectionAttributes). - - - - - List of protection attribute names in the resulting file. - - - - - Protection flags that correspond to ProtectionAttributes (order must be the same). - - - - - List of default values for protection options (order corresponds to ProtectionFlags and ProtectionAttributes). - - - - - Prevents a default instance of the Protection class from being created. - - - - - This class simply hold all constants required by relations. - - - - - Content type for workbook item (used in relations). - - - - - Content type for styles item (used in relations). - - - - - Content type for SST dictionary item (used in relations). - - - - - Content type for calculation chain item (used in relations). - - - - - Content type for vml drawings (used in worksheet relations). - - - - - Content type of comment notes items (used in worksheet relations). - - - - - Content type for drawings (used in worksheet relations). - - - - - Content type for chart drawings (used in worksheet relations). - - - - - Represents package level relationships namespace. - - - - - Content type for theme item (used in relations). - - - - - Content type for image item (used in relations). - - - - - Content type for core properties item (used in relations). - - - - - Content type for extended properties item (used in relations). - - - - - Content type for custom properties item (used in relations). - - - - - Content type for path to extern link source (used in relations). - - - - - Content type for external link (used in relations). - - - - - Content type for chart. - - - - - Relation type for worksheet custom property. - - - - - Content type for path to extern link source that is missing. - - - - - Content type for pivot cache definition. - - - - - Content type for pivot cache records. - - - - - Content type for pivot table. - - - - - Content type for table object. - - - - - Content Type for Ole object. - - - - - Content Type for External connection. - - - - - Content Type for Query Table. - - - - - Content Type for Theme Override. - - - - - Prevents a default instance of the RelationTypes class from being created. - - - - - This class contains constants required for vml shapes parsing and serialization. - - - - - Name of a namespace used by VML (marked by 'v' in MS Excel 2007 documents). - - - - - Name of a namespace used by VML (marked by 'o' in MS Excel 2007 documents). - - - - - Name of a namespace used by VML (marked by 'x' in MS Excel 2007 documents). - - - - - Namespace prefix used in vml shapes. - - - - - Namespace prefix used in vml shapes. - - - - - Namespace prefix used in vml shapes. - - - - - Root tag for vml shapes. - - - - - Name of the xml tag that represents shape type definition in VML. - - - - - String format used to create shape type id. {0} must be replaced with instance - field of the shape object. - - - - - String format used to create shape id. {0} must be replaced with correct shape id number. - - - - - Name of the xml attribute that stores shape type id. - - - - - Name of the xml attribute that stores shape (or shape type) coordinate size. - - - - - Default value of the coord size for comment shape. - - - - - Name of the xml attribute that stores spt option (it looks like it equals to instance field of the shape). - - - - - Name of the xml attribute that stores shape path value. - - - - - Default value of the path value for comment shape. - - - - - Default value of the path value for bitmap shape. - - - - - Name of the xml tag that stores vml shape client data. - - - - - Name of the xml attribute that stores vml shape type. - - - - - Name of the xml tag that indicates whether shape should be moved with cells or not. - - - - - Name of the xml tag that indicates whether shape should be sized with cells or not. - - - - - Name of the xml tag that stores anchor settings. - - - - - Name of the xml tag that stores all shape settings. - - - - - Name of the xml tag that stores all shape layout settings. - - - - - Name of the xml tag that stores shape type attribute. - - - - - Name of the xml tag that stores information about vml drawings inside worksheet part. - - - - - Name of the xml tag that stores information about vml header/footer drawings inside - worksheet part. - - - - - Name of the xml tag that stores row index of the note shape. - - - - - Name of the xml tag that stores column index of the note shape. - - - - - Style attribute for vml shapes. - - - - - Name of the xml attribute that stores vml shape fill color value. - - - - - Name of the xml tag that stores vml shape shadows settings. - - - - - Name of the xml attribute that specifies whether to show a shadow. - - - - - Name of the xml attribute that specifies whether a shadow is transparent. - Default is false. If true, the shadow is transparent if there is no fill on the shape. - - - - - Name of the xml attribute that specifies the color of the primary shadow. - Default is gray (RGB 128,128,128). - - - - - Specifies text alignment. - - - - - Name of xml attribute that specifies whether the application calculates the - internal text margin instead of using the inset attribute. Default is custom. - This attribute is only meaningful for text boxes. - - - - - Name of the xml tag that stores some of text box settings. - - - - - Name of the xml tag that stores div settings. - - - - - Part of the style attribute value that defines whether shape is visible or hidden. - - - - - One of possible visibility values. Indicates that shape is hidden. - - - - - Name of the xml tag that specifies whether text is locked or not. - - - - - Name of the xml tag that specifies the horizontal text alignment for the object. - - - - - Name of the xml tag that specifies the vertical text alignment for the object. - - - - - This element is used to draw an image that has been loaded from an external source. - - - - - Specifies the relationship ID of the relationship to the image. - - - - - Determines the flow of the text layout in a textbox. - - - - - CheckStateChanged of layout-flow attribute which indicates that text is displayed vertically. - - - - - Specifies the alternate layout flow for text in textboxes. - - - - - Specifies the top to bottom layout flow for text in textboxes. - - - - - /// Specifies the bottom to top layout flow for text in textboxes. - - - - - Specifies whether the shape will stretch to fit the text in the textbox - - - - - Represents true expression - - - - - Represents false expression - - - - - This element defines a set of formulas whose calculated values are referenced by other attributes. - - - - - This element defines a single value as the result of the evaluation of an expression. - - - - - Specifies a single formula, which consists of a named operation followed - by up to three parameters. - - - - - This element defines the path that makes up the shape. - - - - - Specifies whether an extrusion is allowed to be displayed. - - - - - Specifies whether a gradient path will be made up of repeated concentric paths. - - - - - Specifies the type of connection points used for attaching shapes to other shapes. - - - - - Specifies whether the original size of an object is saved after reformatting. - - - - - Specifies whether the closed path will be filled. - - - - - Specifies whether the path defining the shape is stroked with a solid line. - - - - - This element describes how to draw the path if something beyond solid line - with a solid color is desired. - - - - - Specifies the join style for line ends. - - - - - This element specifies locks against actions that can be effected in the UI - of an authoring application or programmatically through an object model. - - - - - Specifies an optional value that indicates how applications that implement - VML should interpret extensions not defined as part of the original - specification of core VML. - - - - - Specifies whether the aspect ratio of a shape is locked from being edited. - - - - - Tag that stores checkbox checked state. - - - - - Specifies font and text inside div element. - - - - - Font face. - - - - - Font size. - - - - - Font color. - - - - - Fill style color. - - - - - Represents check box shape type. - - - - - - Represents combo box shape type. - - - - - This element specifies that the object is an AutoLine object. If this - element is specified without a value, it is assumed to be true. - - - - - This element specifies that the object is an AutoFill object. If this - element is specified without a value, it is assumed to be true. - - - - - This element specifies the cell the object is linked to, using standard cell reference syntax. - - - - - This element specifies whether the object is first button of the Grouped objects, - - - - - This element specifies the scroll bar position as the index of the list - item just above the item at the top of the view, given the current scroll - position. The list indexes are 1-based. - If omitted, the value is assumed to be 0. - - - - - This element specifies the minimum scroll bar position as the index of - the list item just above the item at the top of the view when the control - is scrolled all the way up, typically 0. The list indexes are 1-based. - If omitted, the value is assumed to be 0. - - - - - Specifies the position of the center rectangle of a radial gradient. The vector is a fraction - of the width and height of the shape. The first is a percentage of the fill to the left edge; - the second is a percentage of the fill to the top. Default is 0,0. To position a radial fill at - the center of a shape, use a value of 50%,50%. - - - - - Specifies the size of the center rectangle of a radial gradient. The vector is a fraction of - the width and height of the shape. The first is a percentage of the fill to the right edge; - the second is a percentage of the fill to the bottom. Default is 0,0. - - - - - lightness or darkness of "one color" option in Gradient - - - - - Colors attributes specifies the combination of colors - applied to the shape. this attribute usde for preset colors - - - - - This element specifies the number of lines to move the scroll bar on an increment click. - If omitted, the increment is 0. - - - - - This element specifies the number of lines to move the scroll bar on a page click. - - - - - This element specifies the width of the scroll bar in screen pixels. - - - - - This element specifies that 3D effects are disabled. If this element - is specified without a value, it is assumed to be true. - - - - - This element specifies that 3D effects are disabled. If this element - is specified without a value, it is assumed to be true. - - - - - This element specifies the range of source data cells used to populate - the list box, using standard cell reference syntax. - - - - - This element specifies that the object represents a password edit field. - If this element is specified without a value, it is assumed to be true. - - - - - This element specifies the selection type for the list box. If omitted, the control is assumed to be Single. - - - - - This element specifies the list box callback type. The application should - use the callback to determine how to handle user actions on the list box. - The only allowed value is Normal. - - - - - Normal value of the callback type. - - - - - This element specifies the style of the dropdown. - - - - - This element specifies the maximum number of lines in the dropdown before - scrollbars are added. - - - - - this part contains tags used in VML - - - - - Gradient Fill Method - - - - - Gradient fill method value none. - - - - - This element specifies how the shape should be filled - - - - - for two color fill - - - - - link attribute - - - - - solid fill tag - - - - - Texture Attribute value - - - - - Picture Attribute Value - - - - - Pattern Attribute Value - - - - - Fill type Tag value represents gradient fill type - - - - - Fill type Tag value represents gradient radial (From corner or Center) fill type - - - - - Fill type Tag value represents gradient radial (From corner or Center) fill type - - - - - fill One Color Darkeness - - - - - fillOne Color Lightness - - - - - "Transparency From" of the filled color - - - - - "Transparency To" of the filed color - - - - - Filled color Shading (Horizontal , vertical...) - - - - - filled color rotates with the shape - - - - - shape's border Line wieght - - - - - focus attribute specifies to shading variants - Values range from 100% to -100%. Default is 0. - - - - - Relation id for the resource - - - - - Title of the texture or picture or pattern - - - - - FillType specifies the pattern fill of - Line in VMLtexbox shapes - - - - - Represent Dash Style (solid, shortDash) - - - - - Represent line style (ThinThick,..) - - - - - Represents solid fill type of the shape - - - - - Alternate text for the Shape - - - - - represents the place holder image - - - - - Link Attribute value - - - - - Specifies that the fill uses an image - - - - - represents the path - - - - - represents the extrusion - - - - - represent strokeok - - - - - represent fillok - - - - - represent conect type - - - - - represent lock - - - - - represent extension - - - - - represent Shape type - - - - - represent shadoe ok - - - - - represent ole Update - - - - - Colors are prefixed with this char - - - - - indexed color enclosed with this char - - - - - Size value prefixed with this char - - - - - Size value store with this string - - - - - opacity value divided by this - - - - - Degree value divided by this - - - - - degree's dark limit - - - - - This enum specifies possible selection types. - - - - - The listbox may only have one selected item. - - - - - The listbox may have multiple items selected by clicking on each item. - - - - - The listbox may have multiple items selected by holding a control key and clicking on each item. - - - - - Possible drop styles. - - - - - Standard combo box. - - - - - Editable combo box. - - - - - Standard combo box with only the dropdown button visible when the box is not expanded. - - - - - This class gives access to xml tag/attribute names used for tab sheet. - pagesetup serialization/parsing. - - - - - Gets name of the xml tag that stores margin settings. Read-only. - - - - - Gets name of the xml attribute used to store left margin. Read-only. - - - - - Gets name of the xml attribute used to store right margin. Read-only. - - - - - Gets name of the xml attribute used to store top margin. Read-only. - - - - - Gets name of the xml attribute used to store bottom margin. Read-only. - - - - - Gets name of the xml attribute used to store header margin. Read-only. - - - - - Gets name of the xml attribute used to store footer margin. Read-only. - - - - - Gets tag's namespace. Read-only. - - - - - Xml serializator. Serializes XlsIO workbook into dls xml file format. - - - - - This interface must be implemented by all xml serializators. - - - - - Saves workbook into writer. - - Writer to save workbook into. - Workbook to save. - - - - Root tag for dls format. - - - - - Protection attribute name. - - - - - Default protection value. - - - - - Styles tag in dls format. - - - - - Style tag in dls format. - - - - - Id attribute for style tag. - - - - - Name attribute for style tag. - - - - - Type attribute for style tag. - - - - - Sections tag in dls format. - - - - - Section tag in dls format. - - - - - Break code attribute in section tag. - - - - - Paragraphs tag in dls format. - - - - - Paragraph tag in dls format. - - - - - Items tag in dls format. - - - - - Item tag in dls format. - - - - - Rows tag in dls format. - - - - - Row tag in dls format. - - - - - Cells tag in dls format. - - - - - Cell tag in dls format. - - - - - Width attribute. - - - - - Text tag in dls format. - - - - - Text tag in dls format. - - - - - Columns count attribute in dls format. - - - - - Format tag in dls format. - - - - - Font name attribute in dls format. - - - - - Font size attribute in dls format. - - - - - Bold attribute in dls format. - - - - - Italic attribute in dls format. - - - - - Underline attribute in dls format. - - - - - Text color attribute in dls format. - - - - - Color prefix. - - - - - No underline in dls. - - - - - Single underline in dls. - - - - - Double underline in dls. - - - - - Subscript string in dls. - - - - - Super script in dls. - - - - - No sub/super script in dls. - - - - - SubSuperScript attribute in dls. - - - - - Strikeout attribute in dls. - - - - - Table format tag in dls. - - - - - Start of the character formatting tag. - - - - - Borders tag in dls. - - - - - Border tag in dls. - - - - - Color attribute string. - - - - - Line width attribute string. - - - - - Border type attribute string. - - - - - Border width for None border style. - - - - - Single border type. - - - - - Double border type. - - - - - Dot border type. - - - - - Dash with small gaps border type. - - - - - Dash dot border type. - - - - - Dash-dot-dot border type. - - - - - Thick border type. - - - - - None border type. - - - - - Tag name for page settings block. - - - - - Page height attribute. - - - - - Page width attribute. - - - - - Footer distance attribute. - - - - - Header distance attribute. - - - - - Top margin attribute. - - - - - Bottom margin attribute. - - - - - Left margin attribute. - - - - - Right margin attribute. - - - - - Page break after attribute. - - - - - Orientation attribute. - - - - - Paragraph format tag in dls format. - - - - - Headers-footers section start tag. - - - - - Value of item type for table item. - - - - - Start of even footer. - - - - - Start of even footer. - - - - - Start of even header. - - - - - Start of odd header. - - - - - Row height attribute. - - - - - Shadow color attribute. - - - - - Constant that is added to the column width to preserve place for borders. - - - - - Horizontal alignment attribute. - - - - - Vertical alignment attribute. - - - - - Alignment attribute value for center alignment. - - - - - Alignment attribute value for top alignment. - - - - - Alignment attribute value for bottom alignment. - - - - - Alignment attribute value for middle (center) alignment. - - - - - Alignment attribute value for left alignment. - - - - - Alignment attribute value for right alignment. - - - - - Alignment attribute value for justify alignment. - - - - - True string in dls. - - - - - Excel borders that are supported by DLS. - - - - - Corresponding dls border names. - - - - - Represents dls culture. - - - - - Border width for Hair border style. - - - - - Border width for Thin border style. - - - - - Border width for Medium border style. - - - - - Border width for Thick border style. - - - - - Initializes a new instance of the DLSXmlSerializator class. - - - - - Saves workbook into writer. - - Writer to save workbook into. - Workbook to save. - - - - Serializes all required styles. - - Writer to save workbook into. - Workbook to save. - - - - Serializes all required document properties. - - Writer to save workbook into. - Workbook to save. - - - - Serializes all required sections. - - Writer to save workbook into. - Workbook to save. - - - - Serializes worksheet into xml writer. - - Writer to serialize into. - Worksheet to serialize. - - - - Serializes page settings. - - Writer to save workbook into. - Page setup. - - - - Serializes paragraphs. - - Writer to save worksheet into. - Worksheet to save. - Page width. - - - - Measure page area. - - Print area. - Output available page area size. - Headings size. - - - - Serializes specified range. - - Writer to serialize into. - Range to serialize. - Page size available for export. - Headings size. - Page order. - - - - Writes table format block with empty borders. - - Writer to write into. - - - - Writes borders for heading cells. - - Writer to write borders info into. - - - - Fills size of the next page to serialize. - - Range to serialize. - First row of the previous page; -1 for the first page. - First column of the previous page. - Last row of the previous page. - Last column of the previous page. - Available page size. - Page order. - True if there is next page to serialize; false otherwise. - - - - Returns maximum possible column that can fit into page. - - Parent worksheet. - One-based index of the first column. - Page width. - Last column that fits into page. - - - - Returns maximum possible row23 that can fit into page. - - Parent worksheet. - One-based index of the first row. - Page height. - Last row that fits into page. - - - - Serializes single row into writer. - - Writer to serialize into. - Worksheet that contains required row. - Row index to serialize. - First column to serialize. - Last column to serialize. - Represents Row id. - Headings size. - Row id after serialization. - - - - Serializes headings row into writer. - - Writer to serialize into. - Worksheet that contains required row. - Headings size - First column to serialize. - Last column to serialize. - Represents Row id. - Row id after serialization. - - - - Serializes single cell into xml. - - Writer to serialize into. - Worksheet that contains required cell. - Row index of the cell to serialize. - Column index of the cell to serialize. - Represents Cell id. - - - - Serializes single cell into xml. - - Writer to serialize into. - Represents Cell width. - Cell value to serialize. - Represents Cell id. - - - - Serializes table format. - - Writer to serialize into. - Format to serialize. - - - - Serializes borders collection. - - Writer to serialize into. - Extended format that contains borders to serialize. - - - - Returns string representing vertical alignment in dls format. - - Vertical alignment. - String representing vertical alignment in dls format. - - - - Returns string representing horizontal alignment in dls format. - - Horizontal alignment. - String representing horizontal alignment in dls format. - - - - Returns line width for dls format. - - Border to get width from. - Line width for dls format. - - - - Returns border type for dls format. - - Border to get type from. - Border type for dls format. - - - - Serializes rtf string. - - Writer to serialize into. - RTF string to serialize. - Cell extended format. - - - - Writes text block into XmlWriter. - - Writer to save into. - Text to write. - Font of the text to write. - Represents Item id. - - - - Writes font into xml writer. - - Writer to save font into. - Font to save. - - - - Serializes boolean attribute. - - Writer to serialize into. - Attribute name. - Attribute value. - - - - Converts color into string that is understandable by dls. - - Color to convert. - Color string representation in dls format. - - - - Converts excel underline into string in dls format. - - Underline type to convert. - String corresponding to the underline. - - - - Converts font into SubSuperScript string. - - Font to get settings from. - SubSuperScript string in dls format. - - - - Writes attribute string, converts value into points. - - Writer to write attribute into. - Attribute name. - Value to write. - Units in which value is specified. - - - - Writes attribute string. - - Writer to write attribute into. - Attribute name. - Value to write. - - - - Writes attribute string. - - Writer to write attribute into. - Attribute name. - Value to write. - - - - Serializes header and footer into XmlWriter. - - XmlWriter to serialize into. - Sheet with footer/header to serialize. - Available page width. - - - - Serializes header footer. - - Writer to serialize into. - Header/footer values. - Page width. - - - - Evaluates column width. - - Parent worksheet. - Column index. - Column width in points. - - - - Class used for Excel 2007 Serialization. - - - - - Maximum allowed formula length. - - - - - File heading. - - - - - Namespace with ContentTypes items. - - - - - Namespace for hyperlink. - - - - - Namespace for relation tags/attributes. - - - - - Main xml namespace. - - - - - Name of the relation type that indicates that part contains worksheet data. - - - - - Name of the relation type that indicates that part contains chartsheet data. - - - - - Name of the relation type that indicates that part contains extended document properties. - - - - - Name of the relation type that indicates that part contains core properties. - - - - - Name of the relation type that indicates that part contains the Sparkline properties. - - - - - Main Microsoft Namespace - - - - - Uri for the Sparkline properties. - - - - - Prefix for core properties namespace. - - - - - Name of the relation type that indicates dublin core part. - - - - - Prefix for dublin core namespace. - - - - - Name of the relation type that indicates dublin core terms part. - - - - - Prefix for dublin core terms namespace. - - - - - Name of the relation type that indicates DCMIType part. - - - - - Prefix for DCMIType namespace. - - - - - Name of the relation type that indicates XSI part. - - - - - Prefix for XSI namespace. - - - - - Name of the relation type that indicates that part contains custom properties. - - - - - Name of the relation type that indicates DocPropsVTypes namespace - - - - - OleObject Content Type - - - - - OleObject File Extension - - - - - Prefix for DocPropsVTypes namespace. - - - - - Prefix for relation namespace. - - - - - Prefix for Sparkline namespace. - - - - - Prefix for Microsoft Main Namespace. - - - - - Name of the xml tag that stores content types definitions. - - - - - Name of the xml attribute with part extension. - - - - - Name of the xml tag that stores default type name. - - - - - Name of the xml tag that stores content type string. - - - - - Name of the xml tag that stores type override. - - - - - Name of the xml attribute that stores part name. - - - - - Name of the xml tag that defines the structure of the workbook. - - - - - Name of the xml tag that represents the collection of sheets in the workbook. - - - - - Name of the xml tag that defines a sheet in this workbook. - - - - - Name of the xml attribute that stores sheet name. - - - - - Default worksheet path format - - - - - Relation id format - - - - - Name of the xml attribute that stores unique sheet id. - - - - - Name of the xml attribute that stores relation id. - - - - - Name of the xml attribute that stores relation id, - it is used in .rels file (starts with capital letter). - - - - - Name of the xml attribute that specifies the visible state of this sheet. - - - - - This element defines the collection of properties the application uses - to record calculation status and details. - - - - - Default delimiter between worksheet rows. - - - - - Indicates the book window is hidden, but can be shown by the user via the user interface. - - - - - Indicates the sheet is hidden and cannot be shown in the user interface (UI). - This state is only available programmatically. - - - - - Indicates the sheet is visible. - - - - - Name of the xml tag that holds relationships data. - - - - - Name of the xml tag that holds relationship data. - - - - - Name of the xml attribute that holds relationship type. - - - - - Name of the xml attribute that holds relationship target. - - - - - Name of the xml attribute that holds relationship target mode. - - - - - Name of relationship external target mode. - - - - - Name of the xml tag that contains merged cells data. - - - - - Name of the count attribute. - - - - - Name of the xml tag that contains single merge region's data. - - - - - Name of the ref attribute. - - - - - Name of the xml tag that contains all defined named ranges. - - - - - Name of the xml tag that contains single defined named range. - - - - - Name of the name attribute. - - - - - Name of the attribute that stores sheet id for named range. - - - - - Name of the xml tag that contains all styles settings (fonts, number formats, fills, etc.) inside. - - - - - Name of the xml tag that contains all fonts settings inside. - - - - - Name of the xml tag that contains all font settings inside. - - - - - Name of the xml tag that indicates that font is bold. - - - - - Name of the xml tag that indicates that font is italic. - - - - - Name of the xml tag that stores font underline settings. - - - - - Name of the value attribute. - - - - - Name of the xml tag that stores font underline settings. - - - - - Name of the xml tag that indicates that font has strike settings. - - - - - Name of the xml tag that represents font name. - - - - - Name of the xml tag that contains color settings. - - - - - Name of the indexed attribute in the color tag. - - - - - Name of the xml attribute that represents index into the theme colors collection. - - - - - Name of the xml attribute that represents the tint value applied to the color. - - - - - Name of the rgb attribute in the color tag. - - - - - Name of the default color attribute. - - - - - Name of the xml tag that stores indexed color values. - - - - - Name of the xml tag that stores color settings. - - - - - Name of the xml tag that stores rgb color. - - - - - Name of the xml tag that stores MacOSShadow settings. - - - - - Name of the xml tag that stores font vertical alignment settings. - - - - - Name of the xml tag that stores font family settings. - - - - - Name of the xml tag that stores font charset settings. - - - - - Name of the xml tag that represents number formats. - - - - - Name of the xml tag that represents single number format. - - - - - Name of the xml attribute that defines number format id. - - - - - Name of the xml attribute that defines number format string. - - - - - Name of the xml tag that represents fills collection. - - - - - Name of the xml tag that represents single fill object. - - - - - Name of the xml tag that represents pattern fill object. - - - - - Name of the xml tag that represents gradient-style cell fill. - - - - - Name of the xml attribute that represents type of gradient fill. - - - - - This gradient fill is of linear gradient type. - - - - - This gradient fill is of path gradient type. - - - - - Name of the xml attribute that represents angle of the linear gradient - vertical, horizontal, diagonal. - - - - - Name of the xml attribute that specifies in percentage format (from the top to the bottom) the - position of the bottom edge of the inner rectangle (color 1). - - - - - Name of the xml attribute that specifies in percentage format (from the left to the right) the - position of the left edge of the inner rectangle (color 1). - - - - - Name of the xml attribute that specifies in percentage format (from the left to the right) the - position of the right edge of the inner rectangle (color 1). - - - - - Name of the xml attribute that specifies in percentage format (from the top to the bottom) the - position of the top edge of the inner rectangle (color 1). - - - - - Name of the xml tag name that represents one of a sequence of two or more gradient stops, constituting this gradient fill. - - - - - Name of the xml attribute that represents position information for this GradientStop. - - - - - Name of the xml attribute that defines pattern. - - - - - Name of the xml tag that represents background color. - - - - - Name of the xml tag that represents foreground color. - - - - - Name of the xml tag that stores all border collections inside. - - - - - Name of the xml tag that stores single border collection. - - - - - Name of the xml attribute that represents border style. - - - - - Name of the xml tag that stores border color. - - - - - This is the root element of Sheet Parts that are of type 'worksheet'. - - - - - Name of the xml tag that stores worksheet dimension. - - - - - Name of the xml tag that stores sheet data. - - - - - Name of the xml tag that stores cell in the worksheet. - - - - - Name of the xml attribute that represents the cell metadata record associated with this cell. - - - - - Name of the xml attribute that represents boolean value to show phonetic information. - - - - - Name of the xml attribute that represents an A1 style reference to the location of this cell. - - - - - Name of the xml attribute that represents the index of this cell's style. - - - - - Name of the xml attribute that represents an enumeration representing the cell's data type. - - - - - Name of the xml attribute that represents index of the value metadata - record associated with this cell's value. - - - - - Name of xml tag that represents formula. - - - - - Name of xml tag that represents cell value. - - - - - Name of xml tag that represents rich text. - - - - - Name of xml tag that represents rich text run properties. - - - - - Name of xml tag that represents rich text run font name. - - - - - Name of the xml tag that stores all column settings. - - - - - Name of the xml tag that stores column settings range. - - - - - Name of the xml attribute that stores minimum column index of the column range. - - - - - Name of the xml attribute that stores maximum column index of the column range. - - - - - Name of the xml attribute that stores width of each column from column range. - - - - - Name of the xml attribute that stores style of each column from column range. - - - - - Name of the xml attribute that indicates whether column width differs from the default one. - - - - - - - - - - Name of xml tag that represents row. - - - - - Name of xml attribute that represents row index. - - - - - Name of xml attribute that represents row height in point size. - - - - - Name of xml attribute that shows whether row is visible or not. - - - - - Name of xml attribute that shows whether row style should be applied or not. - - - - - Name of xml attribute that shows whether row height has been manually set or not. - - - - - Name of xml attribute that shows whether row has been collapsed or not. - - - - - Name of xml attribute that represents outlining level of the row. - - - - - Name of xml attribute that represents thick bottom flag. - - - - - Name of xml attribute that represents thick top flag. - - - - - Name of xml attribute that represents formula type. - - - - - True indicates that this formula is an array formula and the entire array shall be - calculated in full. If false the individual cells of the array shall be calculated as needed. - - - - - Name of xml attribute that represents shared formula group index. - - - - - Name of xml attribute that represents range of cells which the formula applies to. - - - - - Name of the xml tag that holds list of all comment authors. - - - - - Name of the xml tag that holds single author name. - - - - - Name of the xml tag that holds all comment notes. - - - - - Name of the xml tag that holds single comment note. - - - - - Name of the xml tag that stores comment text. - - - - - Name of the xml tag that stores all comment notes settings. - - - - - Name of the xml attribute that stores comment author id. - - - - - Defines default cell data type. - - - - - Name of the xml tag that stores extended formats for named styles. - - - - - Name of the xml tag that stores extended formats for cell formats. - - - - - Name of the xml tag that stores extended formats for differential formats. - - - - - Name of the xml tag that stores table styles. - - - - - Name of the xml tag that stores single extended format settings. - - - - - Name of the xml attribute that represents font id. - - - - - Name of the xml attribute that represents fill id. - - - - - Name of the xml attribute that represents border id. - - - - - Name of the xml attribute that represents extended format index. - - - - - Name of the xml tag that stores named cell styles settings. - - - - - Name of the xml tag that stores single named cell style settings. - - - - - Name of the xml attribute that stores built in style id. - - - - - Name of the xml attribute that define the customized buildinstyles. - - - - - Indicates that this formatting is for an outline style. - - - - - Name of the xml attribute indicating whether the alignment formatting - specified for this xf should be applied. - - - - - Name of the xml attribute indicating whether the border formatting - specified for this xf should be applied. - - - - - Name of the xml attribute indicating whether the font formatting - specified for this xf should be applied. - - - - - Name of the xml attribute indicating whether the number formatting - specified for this xf should be applied. - - - - - Name of the xml attribute indicating whether the fill formatting - specified for this xf should be applied. - - - - - Name of the xml attribute indicating whether the protection formatting - specified for this xf should be applied. - - - - - Name of the xml tag that hold all style's alignment information. - - - - - Name of the xml tag that hold all style's protection information. - - - - - Name of the xml attribute that stores style indent level settings. - - - - - Name of the xml attribute that specifies the type of horizontal alignment in cells. - - - - - Name of the xml attribute indicating if the cells justified or distributed - alignment should be used on the last line of text. - - - - - Name of the xml attribute that holds reading order settings. - - - - - Name of the xml attribute that holds shrink to fit option. - - - - - Name of the xml attribute that holds text rotation value. - - - - - Name of the xml attribute that holds wrap text option. - - - - - Name of the xml attribute that specifies the type of vertical alignment in cells. - - - - - Name of the xml attribute that indicates whether cell is hidden. - - - - - Name of the xml attribute that indicates whether cell is locked. - - - - - Default value for FormulaHidden value. - - - - - Default value for Locked value. - - - - - Name of the xml attribute that stores value indicating whether the text - string in a cell should be prefixed by a single quote mark. - - - - - Name of the xml attribute that indicates whether diagonalDown border is present. - - - - - Name of the xml attribute that indicates whether diagonalUp border is present. - - - - - Name of the xml tag that represents shared string table. - - - - - Name of the xml attribute that represents the total count of unique strings in the SST. - - - - - Name of the xml tag that represents individual string in SST. - - - - - Name of the xml tag that represents the text content shown as part of a string. - - - - - Name of the xml tag that represents rich text run. - - - - - Root items for data preserving. - - - - - Attribute to specify string spacing. - - - - - Xml prefix. - - - - - Value specifying white space preservation in a string. - - - - - Represents Number data type. - - - - - Represents string data type. - - - - - Represents boolean data type. - - - - - Represents error. - - - - - Represents formula. - - - - - Represents inline string - - - - - Name of the xml tag that represents the root level complex type associated with a shared style sheet (or theme). - - - - - Name of the xml tag that represents the root level complex type associated with a shared style sheet (or theme) overrided. - - - - - Name of the xml tag that represents the theme formatting options for the theme and is the workhorse of the theme. - - - - - Name of the xml tag that represents a set of colors which are referred to as a color scheme. - - - - - Name of the xml attribute name that the actual color value, expressed as a sequence of hex digits RRGGBB. - - - - - Name of the xml tag that represents a color bound to predefined operating system elements. - - - - - Name of the xml attribute that represents the system color value. - - - - - Name of the xml attribute that represents the color value that was last computed by the generating application. - - - - - Name of the xml tag that represents a single dxf record, expressing incremental formatting to be applied. - - - - - Name of the xml tag that represents a collection of phonetic properties that affect the display of phonetic text. - - - - - Name of the xml tag that represents a collection of hyperlinks. - - - - - Name of the xml tag that represents a single hyperlink. - - - - - Name of the xml attribute that represents display string, if different from string in string table. - - - - - Name of the xml attribute that represents relationship Id in this sheet's relationships part, - expressing the target location of the resource. - - - - - Name of the xml attribute that represents location within target. - - - - - Name of the xml attribute that represents cell location of hyperlink on worksheet. - - - - - Name of the xml attribute that represents additional text to help the user understand more about the hyperlink. - - - - - Name of the xml tag that represents sheet level properties. - - - - - Page setup properties of the worksheet. - - - - - Flag indicating whether the Fit to Page print option is enabled. - - - - - Name of the xml tag that represents background color of the sheet tab. - - - - - Name of the xml tag that represents sheet outline properties. - - - - - Name of the xml tag that represents Summary Row below property of sheet outline - - - - - Name of the xml tag that represents Summary column right property of sheet outline - - - - - Name of the xml tag that represents Background sheet image. - - - - - Represent file hyperlink string prefix. - - - - - Represent http hyperlink string prefix. - - - - - Name of the xml tag that stores sheet format properties. - - - - - Name of the xml attribute that stores rows are hidden by default. - - - - - Name of the xml attribute that stores default row height setting. - - - - - Name of the xml attribute that stores default col width setting. - - - - - Name of the xml attribute that stores base column width setting - - - - - Name of the xml attribute that stores thickBottom setting - - - - - Name of the xml attribute that stores thickTop setting - - - - - Name of the xml attribute that stores outlineLevelCol setting - - - - - Name of the xml attribute that stores outlineLevelRow setting - - - - - Name of the xml tag that specifies the collection of workbook views. - - - - - Name of the xml tag that specifies a single Workbook view. - - - - - Name of the xml attribute that specifies an unsignedInt that contains the index to the active sheet in this book view. - - - - - Name of the xml attribute that specifies a boolean value that indicates whether to group dates - when presenting the user with filtering options in the user interface. - - - - - Name of the xml attribute that specifies the index to the first sheet in this book view. - - - - - Name of the xml attribute that specifies a boolean value that indicates whether the book window is minimized. - - - - - Name of the xml attribute that specifies a boolean value that indicates whether - to display the horizontal scroll bar in the user interface. - - - - - Name of the xml attribute that specifies a boolean value that indicates whether - to display the sheet tabs in the user interface. - - - - - Name of the xml attribute that specifies a boolean value that indicates whether to display the vertical scroll bar. - - - - - Name of the xml attribute that specifies ratio between the workbook tabs bar and the horizontal scroll bar. - - - - - Name of the xml attribute that specifies visible state of the book window. - - - - - Name of the xml attribute that specifies the height of the workbook window. - - - - - Name of the xml attribute that specifies the width of the workbook window. - - - - - Name of the xml attribute that specifies the X coordinate for the upper left corner of the book window. - - - - - Name of the xml attribute that specifies the Y coordinate for the upper left corner of the book window. - - - - - Name of the xml tag that represents horizontal page break information. - - - - - Name of the xml tag that represents vertical page break information - - - - - Name of the xml attribute that represents number of breaks in the collection. - - - - - Name of the xml attribute that represents number of manual breaks in the collection. - - - - - Name of the xml tag that represents individual row or column breaks; - - - - - Name of the xml attribute that represents zero-based row or column Id of the page break. - Breaks occur above the specified row and left of the specified column. - - - - - Name of the xml attribute that represents manual Break flag. - '1' means the break is a manually inserted break. - - - - - Name of the xml attribute that represents zero-based index of end row or column of the break. - For row breaks, specifies column index; for column breaks, specifies row index. - - - - - Name of the xml attribute that represents zero-based index of start row or column of the break. - For row breaks, specifies column index; for column breaks, specifies row index. - - - - - Worksheet/chartsheet views collection. - - - - - This element specifies a chart sheet view. - - - - - Flag indicating whether this sheet should display zero values. - - - - - Zero-based index of this workbook view, pointing to a workbookView - element in the bookViews collection. - - - - - String used to serialize sheet zooming - - - - - String used to serialize sheet view - - - - - String used to serialize sheet zooming - - - - - String used to serialize Page break preview layout. - - - - - String used to serialize Normal layout. - - - - - String used to serialize boolean True value. - - - - - String used to serialize boolean False value. - - - - - String used to serialize Sparkline Column type. - - - - - String used to serialize Sparkline WinLoss type. - - - - - String used to serialize Display of Empty Cells as gaps. - - - - - String used to serialize Display of Empty Cells as zero. - - - - - String used to serialize Display of Empty Cells as Continued lines. - - - - - String used to serialize Vertical Axis type as custom. - - - - - String used to serialize Vertical Axis type as same. - - - - - Flag indicating whether this sheet should display gridlines. - - - - - Flag indicating whether the sheet is in 'right to left' display mode. - When in this mode, Column A is on the far right, Column B ;is one column - left of Column A, and so on. Also, information in cells is displayed in - the Right to Left format. - - - - - Flag indicating whether this sheet gridline is modified by user - - - - - String used to specify the color of grid line - - - - - This collection is used to reference binary parts containing arbitrary user-defined data. - - - - - The custom property element provides a mechanism to store name/value pairs - of arbitrary user-defined data. The name is stored in the attribute name, - the arbitrary data is stored in the binary part referenced by the relationshipId. - - - - - A collection of ignored errors, by cell range. - - - - - A single ignored error type for a range of cells. - - - - - - - - - - - - - - - Attribute used to store range reference. - - - - - This element defines properties that track which version of the application - accessed the data and source code contained in the file. - - - - - Specifies the incremental public release of the application. - For example, betas, service packs, and versions. - - - - - This xml element stores the details of WorkbookPr. - - - - - This element stores information about the Date format to be used. - - - - - This element stores information about the Precision to be followed. - - - - - Specifies the application name. - - - - - Value of the application name attribute. - - - - - Flag indicating whether the panes in the window are locked due to workbook protection. - This is an option when the workbook structure is protected. - - - - - Xml attribute containing sheet codename. - - - - - Attribute for showing or hiding the fields list of pivot table in workbook - - - - - Xml Tags and Attributes containing Sheet Sparklines. - - - - - Attribute to show two-dimenssional data table - - - - - Attribute to show one-dimentional data table is a row or column - - - - - Attribute to represent first input cell for data table. - - - - - First visible character. - - - - - Flag indicating whether this sheet should display row and column headers. - - - - - Properties Constant - - - - - DocumentManagement Constalt - - - - - Properties NameSpace - - - - - PartnerControls NameSpace - - - - - Default Theme Version - - - - - Represent the connections - - - - - Represent the connections - - - - - Represent the WebProperties - - - - - Represent the Olap Property - - - - - Indicating whether cell has pivot button - - - - - CustomXmlParts Constants - - - - - Sequence of error types (must be in the same order as in ErrorTagsSequence). - - - - - String that formulas for Ole images. - - - - - String for the BorderColor of OleObject Image - - - - - Sequence of error xml attribute names corresponding to error types defined in ErrorsSequence. - - - - - Chars with codes less than 0x20 which are allowed to be used inside xml strings. - - - - - Parent workbook. - - - - - Formula utils. - - - - - Record extractor. - - - - - Collection with vml shapes seriliazators. - - - - - Collection with header/footer vml shapes seriliazators. - - - - - Collection with shape serializators. - - - - - Conditional formats list. - - - - - List of Sheet names. - - - - - Special characters can use in the sheet name. - - - - - Initializes a new instance of the Excel2007Serializator class. - - Parent workbook. - - - - Serialize content types. - - XmlWriter to save into. - - Dictionary which is used to identify content type and stores default types. - Key - file extension (string), Value - content type (string). - - - Dictionary which is used to identify content type and stores type overrides. - Key - part name, Value - content type (string). - - - - - Serializes Calculation property - - - - - - Serializes the workbookPr element - - - - - - Serializes file version tag. - - XmlWriter to serialize into. - - - - Serializes workbook protection options. - - XmlWriter to serialize protection into. - - - - Serializes merged cells. - - XmlWriter to save into. - Object to serialize. - - - - Serializes named ranges into specified writer. - - XmlWriter to save named ranges into. - - - - Serializes styles collection into specified XmlWriter. - - XmlWriter to serialize styles into. - Stream that contains Dxfs formatting tags. - Dictionary with new XF indexes. - - - - Serializes relations collection into specified xml writer. - - Writer to serialize into. - Relations to serialize. - - - - Serializes single worksheet object. - - XmlWriter to serialize into. - Worksheet to serialize. - Stream with xml text starting from the - beginning of worksheet to sheetData or cols tag. - Stream with conditional formatting. - Dictionary with new XF indexes, key - old index, value - new index. - - - - Serializes Data table into sheet. - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes controls additional information. - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes protection options if necessary. - - XmlWriter to serialize into. - Worksheet to get protection options from. - - - - Serializes single protection option. - - XmlWriter to serialize protection into. - Name of the attribute to serialize. - Flag that corresponds to the attribute. - Default value. - Current protection settings. - - - - Serializes single protection option. - - XmlWriter to serialize protection into. - Name of the attribute to serialize. - Flag that corresponds to the attribute. - Default value. - Current protection settings. - - - - Serializes ignore errors options. - - XmlWriter writer to serialize options into. - Worksheet to serialize options for. - - - - Serializes worksheet custom property - - XmlWriter to serialize into. - Worksheet to serialize. - Represents custom document property. - - - - Writes property data into specified item. - - Parent worksheet. - Zip archive item to write property value into. - Property to get data from. - - - - Returns worksheet stream that contains its conditional formats. - - Sheet index. - Stream with conditional formats. - - - - Serializes comment notes part (authors, text and parent cell address). - - XmlWriter to serialize into. - Worksheet to get comments from. - - - - Serializes vml shapes. - WARNING: this method doesn't check whether there are any shapes to serialize or not. - - XmlWriter to serialize into. - Shapes to serialize. - Parent worksheet data holder. - Dictionary with all known vml shapes serializators. - - - - Serializes drawings. - - XmlWriter to serialize into. - Shapes to serialize. - Parent worksheet data holder. - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - Serializes external workbook into specified XmlWriter. - - XmlWriter to serialize into. - External workbook to serialize. - Collection with external link item relations. - - - - Serializes external workbook into specified XmlWriter. - - XmlWriter to serialize into. - External workbook to serialize. - Collection with external link item relations. - - - - Serializes external worksheets data set. - - XmlWriter to serialize into. - External workbook to serialize. - - - - Serializes external sheet names. - - XmlWriter to serialize into. - External workbook to serialize. - - - - Serializes all external names from the external workbook. - - XmlWriter to serialize named ranges into. - External workbook to get named ranges from. - - - - Serializes single external name. - - Writer to serialize name into. - Name to serialize. - - - - Serializes drawings (images and other shapes). - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes part of the worksheet that contains information about - vml shapes (legacydrawing tag). - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes part of the worksheet that contains information about - vml shapes (legacydrawing tag). - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes worksheet's dimension. - - XmlWriter to serialize into. - Worksheet to serialize dimension of. - - - - Serializes worksheet's view properties. - - XmlWriter to serialize into. - Worksheet to serialize. - - - - Serializes active cell. - - Writer to write selection information into. - Worksheet to get active cell from. - - - - Serializes pane record. - - XmlWriter to serialize into. - Worksheet to serialize pane for. - - - - Serializes stream. - - XmlWriter to serialize into. - Data to be serialized. - - - - Serializes stream data. - - XmlWriter to serialize into. - Data to be serialized - Root name of the data. - - - - Serializes single relation object. - - XmlWriter to serialize into. - Relation key. - Relation object. - - - - Serializes sheets collection into workbook part. - - Writer to serialize into. - - - - Serializes single sheet entry inside of sheets tag from workbook part. - - XmlWriter to serialize into. - TabSheet to serialize. - - - - Generates free sheetId. - - Extracted sheet id. - - - - Converts MergeRegion into string representing range. - - Region to convert. - Converted value. - - - - Serializes named range into specified XmlWriter. - - XmlWriter to serialize named range into. - Named range to serialize. - - - - Gets the index of the local sheet. - - The sheet. - - - - - Checks the name of the sheet. - - The STR name value. - - - - - Serializes fonts collection into specified XmlWriter. - - XmlWriter to serialize fonts into. - - - - Serialize single font object into specified XmlWriter. - - XmlWriter to serialize fonts into. - Font to serialize. - Element tag name to serialize font for. - - - - Serializes font color object. - - XmlWriter to serialize into. - Name of the tag to use. - Color object to serialize. - - - - Serializes number formats collection into XmlWriter. - - XmlWriter to serialize into. - - - - Serialize single instance of number format into XmlWriter. - - Writer to save number format into. - Number format to serialize. - - - - Serializes fills into specified writer. - - XmlWriter to save fills into. - Array with fill indexes, index in array means extended format index, value means fill index. - - - - Serializes single fill object into specified XmlWriter. - - XmlWriter to serialize into. - Object to serialize. - - - - Serializes single pattern fill object into specified XmlWriter. - - XmlWriter to serialize into. - Object to serialize. - - - - Serializes single gradient fill object into specified XmlWriter. - - XmlWriter to serialize into. - Object to serialize. - - - - Serializes single degree gradient fill object into specified XmlWriter. - - XmlWriter to serialize into. - Object to serialize. - - - - Serializes single from corner or from center gradient fill object into specified XmlWriter. - - XmlWriter to serialize into. - Object to serialize. - - - - Serializes stop color for gradient fill object into specified XmlWriter. - - XmlWriter to serialize into. - Stop position attribute value. - Represents Color. - - - - Converts specified pattern into string that can be understood by MS Excel 2007. - - Pattern to convert. - Converted value. - - - - Serializes borders into specified XmlWriter. - - XmlWriter to save borders into. - Border indexes. - - - - Serializes color into XmlWriter. - - XmlWriter to serialize color into. - Name of the color tag. - Color value. - - - - Serializes rgb color value. - - XmlWriter to serialize into. - Xml tag name to use for color serialization. - Color to serialize. - - - - Serializes theme color into XmlWriter. - - XmlWriter to serialize color into. - Name of the color tag. - Color value. - - - - Serializes color into XmlWriter. - - XmlWriter to serialize color into. - Name of the color tag. - Color value. - - - - Serializes borders collection into specified XmlWriter. - - XmlWriter to serialize borders into. - Borders collection to serialize. - - - - Serializes single border entry inside BordersCollection. - - XmlWriter to serialize border into. - Border to serialize. - - - - Gets border. - - Represents Border line type - Border extracted. - - - - Gets Border line style. - - Border line style to be extracted for. - Extracted line style. - - - - Serializes extended formats used by named styles. - - XmlWriter to serialize into. - Index to fill objects (position in array - xf index, - value - fill index). - Index to border objects (position in array - xf index, - value - border index). - Dictionary containing extended format indexes. - - - - Serialize extended formats that are responsible for cell format (do not have names). - - XmlWriter to serialize into. - Index to fill objects (position in array - xf index, - value - fill index). - Index to border objects (position in array - xf index, - value - border index). - Dictionary with new parent indexes. - Dictionary containing extended format indexes. - - - - Serializes single extended format. - - XmlWriter to serialize into. - Array with fill indexes. - Array with border indexes. - Format to serialize. - Dictionary with new parent indexes. - Default value for ApplyAlignment, ApplyBorder, etc. - - - - Serializes alignment options if necessary. - - XmlWriter to serialize into. - ExtendedFormat to serialize. - - - - Checks whether specified extended format has default alignment options. - - Extended format to check. - True if extended format has default alignment options. - - - - Serializes protection options if necessary. - - XmlWriter to serialize into. - ExtendedFormat to serialize. - - - - Serializes all named styles. - - XmlWriter to serialize into. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes single named style object. - - XmlWriter to serialize into. - Style object to serialize. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes dictionary where key and value are strings. - - XmlWriter to serialize into. - Dictionary to serialize. - Tag name for single entry. - Attribute name for key. - Attribute name for value. - File name preprocessor that allows user to change item names. - - - - Lower first letter in the string. - - String to process. - New string with the first letter in lower case. - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - - - - Serielaize bool value - - - - - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - Namespace of the attribute that is being serialized. - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - - - - Serializes attribute if it differs from default value. - - XmlWriter to serialize into. - Attribute name. - Attribute value. - Default value. - - - - Serializes element if it differs from default value. - - XmlWriter to serialize into. - Element name. - Element value. - Default value. - - - - Serializes element if it differs from default value. - - XmlWriter to serialize into. - Element name. - Element value. - Default value. - Element prefix. - - - - Serializes element if it differs from default value. - - XmlWriter to serialize into. - Element name. - Element value. - Default value. - - - - Serializes single sheet. - - Writer to serialize into. - Sheet to serialize. - - - - Serializes sheet data. - - XmlWriter to serialize into. - Cell record collection. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes specified attributes if necessary. - - XmlWriter to serialize. - Collection with attributes to serialize. - Key - attribute name, value - attribute value. - - - - Serializes single row. - - XmlWriter to serialize into. - Row to serialize. - Cell record collection. - Row index. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes cells. - - XmlWriter to serialize into. - Current row. - Cell record collection. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes cells, which are not represented by Blank, MulBlank and MulRK records. - - XmlWriter to serialize into. - Record to serialize. - Row storage enumerator. - Cell record collection. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serialize blank cell. - - XmlWriter to serialize into. - Row index. - Column index. - Extended format index. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes MulBlank record. - - XmlWriter to serialize into. - MulBlank record to serialize. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serialize MulRKRecord cell values. - - XmlWriter to serialize into. - MulRK record. - Dictionary with new extended format indexes. - Key - index in our collection of extended formats, value - index in the cellStyleXfs block. - - - - Serializes array formula. - - XmlWriter to serialize into. - Formula array record. - - - - Serializes formula. - - XmlWriter to serialize into. - Formula record. - Cell record collection. - - - - Serializes cell value. - - XmlWriter to serialize into. - Record to get value from. - Cell type. - - - - Serializes formula value. - - XmlWriter to serialize into. - Formula record to serialize from. - Cell type. - Row storage enumerator. - - - - Defines cell data type to serialize. - - Biff record. - String representation of the cell type. - Extracted Cell data type. - - - - Serializes shared string table into specified XmlWriter. - - XmlWriter to save SST into. - - - - Serializes string item into specified XmlWriter. - - XmlWriter to save string item into. - Rich text or string object to serialize. - - - - Replaces characters with codes less then 0x20. - - Text to replace chars in. - - - - - Ignores the hexa string with the hexa code before serialize - - string to ignore the hexa string - ignored hexa string - - - - Checks whether specified string is hexadecimal number. - - - - - - - Serializes rich text run into specified XmlWriter. - - XmlWriter to save rich text into. - Rich text run to serialize. - - - - Serializes rich text run single entry. - - XmlWriter to save rich text into. - Fonts collection. - String to serialize. - Font index. - - - - Serializes colors settings. In the current implementation it serializes palette if necessary. - - Writer to serialize into. - - - - Serializes palette. - - XmlWriter to serialize palette into. - - - - Determines whether palette contains default colors. - - True if all colors have default value; false otherwise. - - - - Serializes column settings. - - XmlWriter to serialize into. - Worksheet that stores column settings. - Dictionary with modified style indexes. - - - - Serialize single ColumnInfoRecord into specified XmlWriter. - - Writer to serialize into. - Record to serialize. This value can be null, - in this case no data will be serialized. - Dictionary with modified style indexes. - Default column width. - Parent worksheet. - Last index in the sequence of the same columns. - - - - Checks whether columns after iColumnIndex have the same settings and - returns the last number in the sequence. - - Worksheet to search in. - Column index to start searching from. - Last index in the sequence of the same columns. - - - - Returns DV type name. - - Data validation type. - DV type name. - - - - Returns DV error style name. - - Data validation error style. - DV error style. - - - - Returns DV compare operator type name. - - Data validation compare operator. - DV compare operator type name. - - - - Returns auto filter condition operator name. - - Filter condition. - Auto filter condition operator name. - - - - Gets the active pane. - - The pane record. - - - - - Returns auto filter condition value. - - Filter condition. - Auto filter condition value. - - - - Returns CF comparison operator string name. - - Excel comparison operator. - CF comparison operator string name. - - - - Return the CF time period string name - - Time period type - Time period string name - - - - Returns CF type string name. - - Excel CF type. - CF type string name. - - - - Serializes all print settings (margins, header, footer, etc.). - - XmlWriter to serialize into. - Worksheet to get values from. - - - - Serializes print options. - - XmlWriter to serialize print options into. - PageSetup object to get print options from. - - - - Serializes page margins. - - XmlWriter to serialize into. - Object that stores all necessary margin values. - Object that provides xml tag/attribute names used - for page setup serialization. - - - - Validate whether Page margins are fit into the Page - - - - - - Serialize PageSetup tag. - - XmlWriter to serialize into. - Object to get necessary settings from. - - - - Serializes header and footer. - - XmlWriter to serialize into. - Object that stores required header/footer strings. - - - - Converts page setup PrintComments option into string representation used by Excel 2007. - - Value to convert. - Converted value. - - - - Converts page setup PrintErrors option into string representation used by Excel 2007. - - Value to convert. - Converted value. - - - - Converts address string to Excel 2007 type. - - Address string to convert. - Converted string. - - - - Serializes worksheet properties. - - XmlWriter to serialize properties into. - Worksheet to get properties from. - - - - Serializes background image. - - XmlWriter to serialize image into. - Worksheet to get image from. - - - - Serializes created and modified datetime element into XmlWriter. - - XmlWriter to serialize into. - Element tag name. - Date time value. - - - - Serializes workbook views. - - XmlWriter to serialize into. - Workbook views collection. - - - - Serializes workbook view. - - XmlWriter to serialize into. - Workbook view. - - - - Changes or adds attribute value. - - Workbook view. - Attribute to make changes. - New value for attribute. - - - - Serializes external references. - - XmlWriter external links must be serialized into. - This writer should already contain some workbook data. - Workbook relation collection. - - - - Serializes single external link. - - External workbook object to serialize. - XmlWriter to write into. - Workbook relations. - - - - Serializes worksheet horizontal and vertical pagebreaks. - - XmlWriter to serialize into. - Worksheet to serialize page breaks for. - - - - Serializes single pagebreak. - - XmlWriter to serialize into. - Row/column of pagebreak. - Start row/column. - End row/column. - Pagebreak type. - - - - Extracts extent settings from reader and converts them into pixels. - - Writer to save extent data into. - Size of the shape in pixels. - - - - Check whether the sheet have special characters - - Name of the sheet - return true if the sheet name have special characters - - - - Gets Dictionary with serializators that can be used to serialize header/footer vml shapes. Read-only. - - - - - Gets Dictionary with serializators that can be used to serialize vml shapes. Read-only. - - - - - Gets version that is supported by this serializator. - - - - - Represents the cell's data type. - - - - - Cell containing a boolean. - - - - - Cell containing an error. - - - - - Cell containing an (inline) rich string. - - - - - Cell containing a number. - - - - - Cell containing a shared string. - - - - - Cell containing a formula string. - - - - - Represents type of formula. - - - - - Formula is an array entered formula. - - - - - Formula is a data table formula. - - - - - Formula is a regular cell formula. - - - - - Formula is part of a shared formula. - - - - - Class used for Excel 2007 Serialization. - - - - - Uri for data bar properties - - - - - Serializes the sparkline groups. - - The writer. - The sheet. - - - - Serializes rgb color value. - - XmlWriter to serialize into. - Xml tag name to use for color serialization. - Color to serialize. - - - - Gets version that is supported by this serializator. - - - - - Gets version that is supported by this serializator. - - - - - Class used for holding file data. - - - - - Classes that implement this interface are responsible for whole - workbook serialization into stream or into file. - - - - - Name of the zip item with content types description. - - - - - Name of the directory with relations. - - - - - Extension for relations file. - - - - - Path to the top relations. - - - - - Xml files extension. - - - - - Relations default extension. - - - - - Binary item extension. - - - - - Default name of the workbook part. - - - - - Default name of the CustomXml Parts - - - - - Default name of the shared strings part. - - - - - Default name of the styles part name. - - - - - Default name of the themes part name. - - - - - Path format for the worksheet part. - - - - - Path format for the chartsheet part. - - - - - Path format for pictures. - - - - - Default name of the extended properties part. - - - - - Default name of the core properties part. - - - - - Default name of the custom properties part. - - - - - Format for relation id generation. - - - - - Default name format for the external link items. - - - - - Start of the External links item name. - - - - - Start of the worksheet custom property item. - - - - - Default name format for cache definition. - - - - - Default name format for cache records. - - - - - Default name format for pivot table. - - - - - Format to get full path to zip archive item that stores tables. - - - - - External connection - - - - - Dictionary which contains the stream of the emf image file and wmf image file - - - - - Represents Zip Archive. - - - - - Parent workbook. - - - - - Parser to parse data if necessary. - - - - - Dictionary which is used to identify content type and stores default types. - Key - file extension (string), Value - content type (string). - - - - - Dictionary which is used to identify content type and stores type overrides. - Key - part name, Value - content type (string). - - - - - Top-level relations. - - - - - Name of the workbook part. - - - - - Name of the shared strings table part. - - - - - Name of the styles part. - - - - - Connection part. - - - - - Name of the themes part. - - - - - Object used for workbook serialization. - - - - - Represents list of workbook styles. - - - - - Workbook-level relations. - - - - - Specifies style relation id. - - - - - Specifies shares string relation id. - - - - - Specifies theme relation id. - - - - - Specifies workbook content type. - - - - - Memory stream that will get workbook part after /sheets tag or after /definedNames tag. - - - - - Memory stream that will get workbook part before sheets tag. - - - - - Stream that can contains Dxfs formatting tags. - - - - - Index used to generate comments zip item names. - - - - - Index used to generate vml zip item names. - - - - - Index used to generate drawing zip item names. - - - - - Index used to generate image zip item names. - - - - - Represents image id. - - - - - Index used to generate chart zip item names. - - - - - Index used to generate the pivotCache item name - - - - - Index used to generate the pivotCacheRecords item name - - - - - Index used to generate extern link zip item name. - - - - - Array that contains names of the image items. - - - - - Parsed dfx style list. - - - - - Workbook views collection. - - - - - Items that must be removed after parsing complete. - - - - - Stream containing functionGroups tag. - - - - - Build version, last edited version, etc.. - - - - - Calculation id. - - - - - Prevents a default instance of the FileDataHolder class from being created. - - - - - Initializes a new instance of the FileDataHolder class. - - Parent workbook for the new instance. - - - - Initializes a new instance of the FileDataHolder class. - - Parent workbook for the new instance. - File name to get initial data from. - Password to use during for decryption. - - - - Requests password if necessary. - - Current password provided to the parsing method. - Application object used for password request. - - - - Re-requests password (called when provided password is incorrect). - - Current password. - Application object used for password request. - - - - Adds overriden content type. - - File name to override content type for. - Content type to set. - - - - Parses Dxf styles collection. - - Dxf style collection. - - - - Extracts sheet data. - - Represents sheet path. - Extracted sheet data - - - - Extracts worksheet. - - Represents sheet name. - Sheet extracted. - - - - Parses document. - - Represents theme colors in document. - - - - Finds workbook part name according to content type. - - Content type. - True if item was found; false otherwise. - - - - Gets the Workbook Save Type. - - Workbook Content Type. - - - - Parses content type. - - - - - Parses all document properties. - - - - - Parses archive item by content type. Removes relation for this item and the item itself. - - Content type. - - - - Returns XmlReader for corresponding content type. - - Content type. - Name of the item that has specified content type. - Item name. - - - - Saves document into specified file. - - Name of the file to save into. - Type of the saving format. - - - - Saves document inside internal zip archive. - - Type of the saving format. - - - - Registers correct content type into collections of default content types. - - Image format of the picture to register content type for. - Proposed picture file extension. - - - - Converts image format into content type and file extension. - - Image format to convert. - Resulting file extension. - Content type for this image format. - - - - Saves image into appropriate location inside document. - - Image to save. - Proposed item name, null - autogenerate. - Generated item name. - - - - Saves image into appropriate location inside document. - - Image to save. - Destination image format. - Proposed item name, null - autogenerate. - Generated item name. - - - - Get Extension of the image and return Image format of the image - - Extension of the image - Image format of the image - - - - Gets image item name. - - Image index to get name for. - Name of Image item. - - - - Prepares a new archive item. - - Start of the item's name. - Represents file extension. - Content type for the new item. - Parent relations collection. - Relation type. - Variable used as counter of already created items of the same type. - Created archive item. - Represents relation ID - - - - Converts image format into picture file extension. - - Format to convert. - Extension for picture file. - - - - Parses workbook. - - Represents theme color in workbook. - - - - Parses the CustomXmlParts - - - - - Parses relations item. - - Path to the item to parse. - Parsed relations collection; null if there are no such relation item. - - - - Tries to find path to the item by content type. - - Content type to locate. - First occurrence of the item with specified content type. - - - - Tries to find path to the item by content type inside default types. - - Content type to locate. - First occurrence of the item with specified content type. - - - - Tries to find path to the item by content type inside overridden types. - - Content type to locate. - First occurrence of the item with specified content type. - - - - Gets relations. - - Item name to get corresponding relation. - Extracted relation - - - - Splits item name (including path) into item name and path to this item. - - Item name to split. - Path without item name. - Item name without path. - - - - Gets image. - - Path of the image. - Extracted image - - - - Creates XmlReader for specified zip archive item. - - Item to create reader for. - Created reader. - - - - Creates XmlReader for specified zip archive item. - - Relation that points to the archive item. - Path to the parent item. - Created reader. - - - - Creates XmlReader and fixes potential br tags issue. - - Relation that points to the archive item. - Path to the parent item. - Path to the desired item. - Created reader. - - - - Creates XmlReader for specified zip archive item. - - Relation that points to the archive item. - Path to the parent item. - Path to the desired item. - Created reader. - - - - Returns single zip item based on the relation and parent path. - - Relation that points to the archive item. - Path to the parent item. - Path to the desired item. - Requested zip item. - - - - Creates XmlReader for specified zip archive item. - - Relation that points to the archive item. - Path to the parent item. - Indicates whether item must be removed after extracting data. - Created reader. - - - - Parses external link. - - Represents relation id. - - - - Tries to combine two paths into one. - - First part of the path. - Second part of the path. - Combined path. - - - - Creates or updates content types and saves them inside internal zip archive. - - - - - Saves all document properties. - - - - - Saves all ContentTypeProperties - - - - - Saves archive item, adds corresponding record into content type and relation collections. - - Part name value. - Content type value. - Relation type value. - - - - Saves archive item by part name into zip archive item. - - Item part name. - - - - Fills default content types. - - - - - Saves top level relation in zip. - - - - - Generates relation id for specified relation index. - - Relation index to generate relation id. - Generated relation id. - - - - Saves workbook. - - - - - Selects correct workbook content type depending on workbook's content and desired save type. - - Workbook content type. - - - - Saves all workbook images. - - Array containing zip name with images. - - - - Serializes image from MsofbtBSE record. - - Record to serialize. - Name of the zip item with image. - - - - Saves styles into internal zip archive. - - Dictionary with new XF indexes. - - - - Saves shared strings table into internal zip archive. - - - - - Adds relations to the collection, tries to re-use specified relation id if not null. - - Collection to add new relation to. - Relation target. - Parent path for the relation target. - Relation type. - Relation id to re-use if not null. - Used relation id. - - - - Serializes relations collection. - - Name of the parent - Represents relations - - - - Reserves ids for worksheets that were extracted from original file. - - Worksheets to iterate through. - Collection to put reservation into. - - - - Updates archive item - - Worksheet to add - Worksheet name to add - - - - Saves chartsheet into internal zip archive. - - Chartsheet to save. - Name of a zip item to use. - - - - Serializes existing worksheet/chartsheet data without any modifications. - - Sheet to serialize. - New corresponding zip archive item name. - - - - This method removes calculation chain item from the document. - - - - - Serializes single external link. - - Extern workbook item that contains link information to serialize. - Name of the external link item. - - - - Generates zip archive item name for external link. - - Generated item name. - - - - Generates unique item name. - - Items counter. Contains current item index to try and is updated during operation. - Starting part of the path. - Item's extension. - Generated name. - - - - Generates unique item name. - - Items counter. Contains current item index to try and is updated during operation. - Path format string. - Generated name. - - - - Genreates unique name for pivot table item. - - Generated name. - - - - Creates data holder for the specified worksheet. - - Tabsheet to create data holder for. - File name for the tabsheet item. - - - - Gets content type by item name. - - - - - - - Saves workbook into specified file. - - Destination file name. - Workbook to save. - Save type. - - - - Saves workbook into stream. - - Stream to save into. - Workbook to save. - Save type (template or ordinary xls). - - - - Creates copy of the current object. - - Parent workbook for the new object. - A copy of the current object. - - - - Creates copy of the workbook's views. - - List with cloned items. - - - - Creates copy of the parsed Dxf items. - - List with copied items. - - - - Gets parent workbook. Read-only. - - - - - Gets Excel 2007 parser. - - - - - Returns archive item corresponding to the relation. - - - - - Gets object used for serialization. - - - - - Gets cell styles. - - - - - Gets zip archive object that stores Excel 2007 document. - - - - - Gets or sets last used index of the comment item. - - - - - Gets or sets last used index of the vml item. - - - - - Gets or sets last used index of the drawing item. - - - - - Gets or sets last used index of the image item. - - - - - Gets or sets last used image id. - - - - - Gets or sets last used index of the chart item. - - - - - gets or set the pivotCache index - - - - - gets or set the pivotCache index - - - - - Gets dictionary with default content types. Read-only. - - - - - Gets dictionary with overridden content types. Read-only. - - - - - Gets number of parsed dfx styles or int min value if nothing was parsed. - - - - - Gets Items that must be removed after parsing complete. Read-only. - - - - - This class is responsible for gradient serialization. - - - - - Serializes gradient stops collection into specified XmlWriter. - - XmlWriter to serialize into. - Collection to serialize. - Parent workbook object. - - - - Serializes collection of gradient stops. - - XmlWriter to serialize into. - Collection to serialize. - Parent workbook. - - - - Serializes single GradientStop. - - XmlWriter to serialize into. - GradientStop to serialize. - Parent workbook. - - - - This class stores relation data (except relation id). - - - - - Represents Target. - - - - - Target type. - - - - - Defines whether target is external or not. - - - - - Prevents a default instance of the Relation class from being created. - - - - - Initializes a new instance of the Relation class. - - Represents target. - Represents destination type. - - - - Initializes a new instance of the Relation class. - - Represents target. - Represents destination type. - Value indicating whether target is external. - - - - Create copy of the current object. - - A copy of the current object. - - - - Gets target. Read-only. - - - - - Gets destination type. Read-only. - - - - - Gets a value indicating whether target is external. - - - - - Class used for Relations Collection. - - - - - Relation id start. - - - - - Length of the relation id start. - - - - - Dictionary with relations. Key - relation id, value = relation object. - - - - - Path to the item (this member should be filled when extracting collection from file). - - - - - Initializes a new instance of the RelationsCollection class. - - - - - Removes relation by id. - - Relation id to remove. - - - - Removes relation by content type. - - Content type of relation to delete. - - - - Searches for relation with appropriate content type. - - Content type to find. - Relation id. - Relation that contains desired content type or null if not found. - - - - Searches for relation with appropriate target path. - - Item name to find. - Relation id that contains points to specified content type or null if not found. - - - - Generates relation id that can be used as relation key. - - Free relation key. - - - - Generates id and adds relations to there collection. - - Relation to add. - Relation id. - - - - Removes all items from the collection. - - - - - Creates copy of the current collection. - - A copy of the current collection. - - - - Creates copy of the current collection. - - A copy of the current collection. - - - - Returns an enumerator that can iterate through a collection. - - An IEnumerator that can be used to iterate through the collection. - - - - Gets / sets relation by id. - - - - - Gets number of items in the collection. Read-only. - - - - - Gets or sets path to the item (this member should be filled when extracting collection from file). - - - - - This class is used for picture shapes serialization. - - - - - This serializator use to serialize shapes in DrawingML 2007 format, - when shape is not supported, but it was extracted from Excel 2007 - document and we can preserve it. - - - - - This is general interface for classes that are responsible for shape serialization. - - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - This method serializes general shape settings (shape type) into specified XmlWriter. - - XmlWriter to write shape type into. - Type of the shape that is going to be serialized. - - - - Generates anchor from the shape and converts it into string representation for Excel 2007 format. - - Shape to get anchor data from. - Generated anchor string. - - - - Serializes client data tag of the shape. - - XmlWriter to serialize into. - Shape to serialize. - - - - Serializes additional tag into ClientData tag. - - XmlWriter to serialize into. - Shape to serialize for. - - - - Serialize the fill style of textbox - - XmlWriter to serialize into. - Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serialize Solid fill of textbox - - Xmlwriter to serialize into - textbox shape for serialize - - - - Serialize the Gradient Fill - - XmlWriter to serialize into. - Shape to serialize style for - - - - Serialize Texture Fill - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serialize pattern Fill - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serialize Picture Fill - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serialize user Picture - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serilaize common Gradient fill attribute - - XmlWriter to serialize into. - textBox Shape to serialize style for - - - - Serialize Common fill attributes - - XmlWriter to serialize into. - textBox Shape to serialize style for - - - - Seialize Line for the Shape - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - Serialize Pattern Line - - XmlWriter to serialize into. - textBox Shape to serialize style for - Parent worksheet data holder. - Resource relation collection - - - - double degree value to string value with some calculations - - degree in double - - - - - Generate Hexdecimal color from the Color - - color object - - - - - Get the String value from the resource - - Excel Gradient Preset - - - - - Enum pattern to string - - enum pattern to string - execel equalent name - - - - opacity double to string with some calculations - - opacity to convert - opacity in excel format - - - - Remove Preceding zeroes in the color - - string color to remove zeroes - removed preceding zeroes - - - - Get the Excel matching Dash Style - - dashstyle to string - dashstyle to excel format - - - - Get the line style from the dictionary - - linestyle to string - line style in excel format - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - This method serializes general shape settings (shape type) into specified XmlWriter. - - XmlWriter to write shape type into. - Type of the shape that is going to be serialized. - - - - Returns editAs attribute value. - - Shape to get settings from. - String value of editAs attribute for the shape. - - - - Serializes anchor point. - - XmlWriter to serialize into. - Name of the tag for anchor point. - Column index. - Offset inside column. - Row index. - Offset inside row. - Parent worksheet. - Xml namespace to use. - - - - Serializes row-column anchor point. - - XmlWriter to serialize into. - Tag name to use. - Column index. - Offset inside column. - Row index. - Offset inside row. - Parent worksheet. - Xml namespace to use. - - - - Serializes XY anchor point - - XmlWriter to serialize into. - Tag name to use. - X coordinate (will be divided by 1000 in the current implementation). - Y coordinate (will be divided by 1000 in the current implementation). - Xml namespace to use. - - - - Converts XY Anchor coordinate into string value for serialization. - - Coordinate to convert. - Converted value. - - - - Serializes Transform2D tag (xfrm). - - XmlWriter to serialize into. - Namespace for main (outer) tag. - Namespace for subtags (inner). - X coordinate of the form. - X coordinate of the form. - Width of the form. - Height of the form. - - - - Serializes the form. - - The writer. - The XML outer namespace. - The XML inner namespace. - The x. - The y. - The cx. - The cy. - The shape. - - - - Serializes non visual canvas properties. - - XmlWriter to serialize into. - Shape to serialize properties for. - Object that stores data of the parent worksheet. - Xml namespace to use. - - - - Serializes prstGeom xml tag. - - XmlWriter to serialize into. - - - - Serializes shape's fill. - - XmlWriter to serialize into. - Shape to serialize fill for. - FileDataHolder object. - Drawing relations. - - - - Serializes line settings. - - XmlWriter to serialize into. - Line to serialize. - Parent workbook. - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - Serializes picture. - - Writer to serialize into. - Picture to serialize. - Relation id of the picture file. - Object that stores data of the parent worksheet. - - - - This method serializes shape properties. - - XmlWriter to serialize into. - Picture to get properties from. - - - - Serializes non visual properties. - - XmlWriter to serialize into. - Picture to serialize. - Object that stores data of the parent worksheet. - - - - Serializes non visual picture canvas properties. - - XmlWriter to serialize into. - Picture to serialize. - - - - Serializes blip fill. - - XmlWriter to save blip fill into. - Picture to get blip fill options from. - Relation id of the picture zip archive item. - - - - This method serializes general shape settings (shape type) into specified XmlWriter. - - XmlWriter to write shape type into. - Type of the shape that is going to be serialized. - - - - Serializes picture file and creates necessary relations. - - Object that holds file data. - Picture to save into file. - Relation id of the generated picture item. - - - - This class is responsible for chart shape serialization. - - - - - Format for the default chart item. - - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - Serialize chart object into separate file and returns relation id. - - Parent worksheet data holder. - Chart to serialize. - Gets name of the chart item. - Relation id of the serialize chart object. - - - - Generates item name for the new chart object. - - Parent worksheet data holder. - Chart to generate name for. - Item name that should be used to save chart. - - - - Serializes chart shape properties. - - XmlWriter to serialize into. - Chart to serialize. - Relation id that points to the chart object. - Parent worksheet data holder. - - - - Serializes all graphics xml tag and all subtags. - - XmlWriter to serialize into. - Chart to serialize. - Relation id of the chart object item. - - - - Serialize slicer elements of graphic frames - - XmlWriter to serialize into. - shape to serialize. - Relation id of the chart object item. - - - - Serializes non visual graphic frame properties. - - XmlWriter to serialize into. - Chart shape to serialize. - Parent worksheet data holder. - - - - This class is responsible for header/footer image serialization. - - - - - String that formulas for HF images. - - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - Gets width of the shape. - - - - - - - Gets height of the shape. - - - - - - - This method serializes general shape settings (shape type) into specified XmlWriter. - - XmlWriter to write shape type into. - Type of the shape that is going to be serialized. - - - - Serializes imageData xml tag. - - XmlWriter to serialize into. - Shape to get data to serialize from. - Parent worksheet data holder. - - - - This method is used to serialize picture item. - - Shape to serialize. - String value containing relation id. - Parent worksheet data holder. - Relation id for the serialized shape - - - - This method is used to serialize picture item. - - Shape to serialize. - String value containing relation id. - Parent worksheet data holder. - Relation id for the serialized shape - - - - This is serializator for unknown/unsupported vml shapes that were parsed. - - - - - Stream that contains xml data that describes shape type. - - - - - Initializes a new instance of the UnknownShapeSerializator class. - - Stream that contains shape type data. - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - This method serializes general shape settings (shape type) into specified XmlWriter. - - XmlWriter to write shape type into. - Type of the shape that is going to be serialized. - - - - This class is used for TextBox serialization. - - - - - This method serializes specified shape into specified writer. - - XmlWriter to serialize shape settings into. - Shape to serialize. - Parent worksheet data holder. - - - - Serializes shape properties. - - XmlWriter to serialize into. - TextBox to serialize properties for. - File data holder. - Drawing relations. - Xml namespace to use. - - - - Serializes non visual textbox properties. - - XmlWriter to serialize into. - TextBox to serialize. - Worksheet's data holder. - Xml namespace to use. - - - - Serializes rich text. - - XmlWriter to serialize into. - Xml namespace to use. - Textbox to serialize rich text for. - - - - Serialize text area body properties. - - XmlWriter to serialize into. - Text area to serialize body properties for. - Text box to be serialized. - - - - Serializes anchor (vertical alignment). - - XmlWriter to serialize anchor into. - TextBox to serialize anchor for. - - - - Serializes text rotation. - - XmlWriter to serialize into. - TextBox to serialize. - - - - Serializes list styles for a text area. - - XmlWriter to serialize into. - Text area to serialize list styles for. - - - - Serializes paragraph. - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph information (formatting and text). - Text box to serialize paragraph for. - - - - Serializes the formatting property. - - Represents the Xml writer. - The font. - The book. - The text box. - - - - Serializes the formatting property. - - Represents the Xml writer. - The font. - The book. - The text box. - - - - Serializes single formatting run. - - XmlWriter to serialize into. - Font of the formatting run. - Represents tag name. - Parent workbook. - Text of the formatting run. - - - - Serializes paragraph run. - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph run information (formatting and text). - Name of the main xml tag. - Parent workbook. - - - - Serializes paragraph. - - XmlWriter to serialize paragraph tag into. - Text area that contains paragraph information (formatting and text). - Text box to serialize paragraph for. - - - - This method is used to serialize picture item. - - Shape to serialize. - String value containing relation id. - Parent worksheet data holder. - Relation id for the serialized shape - - - - This class contains unique pair of shape instance and shape type. - - - - - Xml serializator. Serializes XlsIO workbook into MsExcel xml file format. - - - - - Represents xml version. - - - - - Represents application string; - - - - - Represents o namespace. - - - - - Represents x namespace. - - - - - Represents ss namespace. - - - - - Represents html namespace. - - - - - Represents ss pref. - - - - - Represents html pref. - - - - - Represents o pref. - - - - - Represents x pref. - - - - - Represents default pref. - - - - - Represents xmlns pref. - - - - - Represents WorkBook pref. - - - - - Represents WorkSheet pref. - - - - - Represents Name pref. - - - - - Represents Table pref. - - - - - Represents Row pref. - - - - - Represents Cell pref. - - - - - Represents Data pref. - - - - - Represents Names pref. - - - - - Represents NamedRange pref. - - - - - Represents Styles pref. - - - - - Represents Style pref. - - - - - Represents Font pref. - - - - - Represents Protection pref. - - - - - Represents Alignment pref. - - - - - Represents NumberFormat pref. - - - - - Represents Interior pref. - - - - - Represents Borders pref. - - - - - Represents Border pref. - - - - - Represents AutoFilter pref. - - - - - Represents AutoFilterColumn pref. - - - - - Represents AutoFilterAnd pref. - - - - - Represents AutoFilterCondition pref. - - - - - Represents AutoFilterOr pref. - - - - - Represents Comment pref. - - - - - Represents B tag. - - - - - Represents B end tag. - - - - - Represents I tag. - - - - - Represents I end tag. - - - - - Represents U tag. - - - - - Represents U end tag. - - - - - Represents S tag. - - - - - Represents S end tag. - - - - - Represents Sub tag. - - - - - Represents Sub end tag. - - - - - Represents Sup tag. - - - - - Represents Sup end tag. - - - - - Represents Font end tag. - - - - - Represents Font tag. - - - - - Represents Span pref. - - - - - Represents Column pref. - - - - - Represents ConditionalFormatting pref. - - - - - Represents Condition pref. - - - - - Represents Qualifier pref. - - - - - Represents Value1 pref. - - - - - Represents Value2 pref. - - - - - Represents worksheet options pref. - - - - - Represents page setup pref. - - - - - Represents footer pref. - - - - - Represents header pref. - - - - - Represents layout pref. - - - - - Represents page margins pref. - - - - - Represents print pref. - - - - - Represents print comments layout pref. - - - - - Represents print errors pref. - - - - - Represents fit to page pref. - - - - - Represents LeftToRight pref. - - - - - Represents active pane pref. - - - - - Represents first visible row pref. - - - - - Represents split horizontal pane pref. - - - - - Represents split vertical pane pref. - - - - - Represents top row bottom pane pref. - - - - - Represents left col right pane pref. - - - - - Represents freeze panes pref. - - - - - Represents freeze no split panes pref. - - - - - Represents panes pref. - - - - - Represents pane pref. - - - - - Represents number pane pref. - - - - - Represents active column pane pref. - - - - - Represents active row pane pref. - - - - - Represents tab color index pref. - - - - - Represents zoom pref. - - - - - Represents Do Not Display Gridlines pref. - - - - - Represents Visible pref. - - - - - Represents don't display headings pref. - - - - - Represents ExcelWorkbook pref. - - - - - Represents Active sheet pref. - - - - - Represents Selected pref. - - - - - Represents selected sheets pref. - - - - - Represents first visible sheet pref. - - - - - Represents DataValidation pref. - - - - - Represents RightToLeft pref. - - - - - Represents Index pref. - - - - - Represents Type pref. - - - - - Represents Ticked pref. - - - - - Represents Formula pref. - - - - - Represents RefersTo pref. - - - - - Represents ID pref. - - - - - Represents Parent pref. - - - - - Represents Bold pref. - - - - - Represents FontName pref. - - - - - Represents Color pref. - - - - - Represents Italic pref. - - - - - Represents Outline pref. - - - - - Represents Shadow pref. - - - - - Represents Size pref. - - - - - Represents StrikeThrough pref. - - - - - Represents Underline pref. - - - - - Represents Protected pref. - - - - - Represents HideFormula pref. - - - - - Represents Horizontal pref. - - - - - Represents Indent pref. - - - - - Represents ReadingOrder pref. - - - - - Represents Rotate pref. - - - - - Represents ShrinkToFit pref. - - - - - Represents Vertical pref. - - - - - Represents VerticalText pref. - - - - - Represents WrapText pref. - - - - - Represents Format pref. - - - - - Represents PatternColor pref. - - - - - Represents Pattern pref. - - - - - Represents Position pref. - - - - - Represents Range pref. - - - - - Represents Operator pref. - - - - - Represents Value pref. - - - - - Represents Author pref. - - - - - Represents ShowAlways pref. - - - - - Represents DefaultColumnWidth pref. - - - - - Represents DefaultRowHeight pref. - - - - - Represents Width pref. - - - - - Represents Hidden pref. - - - - - Represents StyleID pref. - - - - - Represents AutoFitWidth pref. - - - - - Represents AutoFitHeight pref. - - - - - Represents Height pref. - - - - - Represents Face pref. - - - - - Represents line style pref. - - - - - Represents weight pref. - - - - - Represents vertical align pref. - - - - - Represents merge column count pref. - - - - - Represents merge row count pref. - - - - - Represents hyper link tip pref. - - - - - Represents hyper link reference pref. - - - - - Represents margin pref. - - - - - Represents margin top pref. - - - - - Represents margin right pref. - - - - - Represents margin left pref. - - - - - Represents margin bottom pref. - - - - - Represents center horizontal pref. - - - - - Represents center vertical pref. - - - - - Represents orientation pref. - - - - - Represents start page number pref. - - - - - Represents number of copies to print. - - - - - Represents default numbers of copies to print. - - - - - Represents horizontal resolution pref. - - - - - Represents paper size index pref. - - - - - Represents Scale pref. - - - - - Represents fit width pref. - - - - - Represents fit height pref. - - - - - Represents gridlines pref. - - - - - Represents BlackAndWhite pref. - - - - - Represents DraftQuality pref. - - - - - Represents row and column headings pref. - - - - - Represents colon. - - - - - Represents semicolon. - - - - - Represents font color. - - - - - Represents font style. - - - - - Represents font weight style. - - - - - Represents bold font weight. - - - - - Represents regular font weight. - - - - - Represents italic font const. - - - - - Represents line through - - - - - Represents line through - - - - - Represents Single line through - - - - - Represents font underline. - - - - - Represents pattern back color. - - - - - Represents fill pattern. - - - - - Represents border constant. - - - - - Represents border top constant. - - - - - Represents border bottom constant. - - - - - Represents border left constant. - - - - - Represents border right constant. - - - - - Represents Arial font name. - - - - - Represents none style. - - - - - Represents default font size. - - - - - Represents left diagonal border index. - - - - - Represents right diagonal border index. - - - - - Represents zero constant. - - - - - Represents rotation constant. - - - - - Represents default style font size. - - - - - Represents default rotation text. - - - - - Represents default border increment. - - - - - Represents default style name. - - - - - Represents unique prephix. - - - - - Represents style align none. - - - - - Represents style align Subscript. - - - - - Represents style align Superscript. - - - - - Represents default margin. - - - - - Represents default page scale. - - - - - Represents default page fit. - - - - - Represents default zoom. - - - - - Represents xml true string. - - - - - Represents xml false string. - - - - - Represents All autofilter type. - - - - - Represents color string prefix. - - - - - Represents Bottom autofilter type. - - - - - Represents Top autofilter type. - - - - - Represents Percent autofilter type. - - - - - Represents blanks autofilter type. - - - - - Represents Custom autofilter type. - - - - - Represents non blanks autofilter type. - - - - - Represents default column width. - - - - - Represents default row Height. - - - - - Represents default column div. - - - - - Represents default row div. - - - - - Represents data time mask. - - - - - Represents default merged style first index. - - - - - Represents 13/10 chart. - - - - - Represents bad reference. - - - - - Represents bad reference in xml. - - - - - Represents bad formula reference. - - - - - Represents default maximum column index. - - - - - Represents default minimum column index. - - - - - Represents default cod for generate unique style index. - - - - - Represents pattern string. - - - - - Represents border line style. - - - - - Represent the XML Spreadsheet Comparision operators - - - - - Represents border position string. - - - - - Represents border line type string. - - - - - Represents print location string. - - - - - Represents print error string. - - - - - Represents visibility string. - - - - - Represents pattern string. - - - - - Represents Autofilter operation string. - - - - - Represents the ErrorStyle Options - - - - - Represents the ErrorStyle Options - - - - - Represents hash table, that contain merged styles. - - - - - Builder used to accumulate start of the xml string. - - - - - Builder used to accumulate end of the xml string. - - - - - Gets unique id for coding sheet index and cell index. - - Represents sheet index. - Represents cell index. - Returns unique id. - - - - Gets sheet index by unique id. - - Represents unique id. - Returns sheet index. - - - - Gets cell index by unique id. - - Represents unique id. - Returns cell index. - - - - Initializes a new instance of the WorkbookXmlSerializator class. - - - - - Serialize named range collection. - - Xml write stream. - Names collection. - If true - serializes only local names. - - - - Serialize named range. - - Xml write stream. - Named range. - - - - Serialize styles. - - Xml writer. - Extended format collection. - List that contain XFFormats to reparse. - - - - Serialize style element. - - Xml stream writer. - Extended format to serialize. - - - - Serialize style elements. - - Xml writer. - Extended format to serialize. - - - - Serialize fonts. - - Xml stream writer. - Font to serialize. - - - - Serialize protection object. - - Xml stream writer. - Extended format. - - - - Serialize alignment object. - - Xml stream writer. - Extended format. - - - - Serialize number format. - - Xml writer. - Represents number format. - - - - Serialize interior object. - - Xml stream writer. - Extendet format. - - - - Serialize Borders collection. - - Xml stream writer. - Borders collection. - - - - Serialize Border object. - - Xml stream writer. - Border object. - Represents border index. - - - - Serialize single cell. - - Xml writer. - Current sheet. - Row index of current cell. - - - - Serialize merge region if necessary. - - - - - - - - - - Serializes cell style block if necessary. - - - - - - - - - - Enables formatting. - - XmlWriter to enable formatting. - - - - - Serialize Data object. - - Xml writer. - Cells collection. - Index of cell. - - - - Gets type of the formula value. - - - - - - - - Serializes Data tag for the single cell. - - XmlWriter to serialize into. - Type of the cell's data. - Cell's value. - Style of the cell. - Rtf string containing cell's value if cell is rtf. - Cells collection. - Current cell index. - - - - Serialize worksheets collection. - - Xml writer. - Worksheets collection. - - - - Serialize custom worksheet. - - Xml writer. - Worksheet object. - - - - Serialize custom worksheet. - - Xml writer. - Worksheet to serialize. - - - - Serialize column object. - - Xml writer. - Current sheet. - - - - Serialize rows collection. - - Xml writer. - Parent worksheet object. - - - - Serialize row and column common attributes. - - Xml writer. - Row or ColumnInfo record. - Last column or row index. - Parent workbook. - - - - Serializes merged range. - - Xml writer. - Represents merged cells. - - - - Serialize worksheet option. - - Xml writer. - Current worksheet. - - - - Serialize page setup. - - Xml writer. - Current page setup to serialize. - - - - Serialize header. - - Xml writer. - Storage, that contain header properties. - If true - footer to serialize; otherwise - header. - - - - Serialize layout - - Xml writer. - Storage, that contain all layout properties. - - - - Serialize page margins. - - Xml writer. - Storage, that contain all page margins properties. - - - - Serializes pains. - - Xml writer. - Current worksheet - - - - Serialize panes block. - - Xml writer. - Array list, that contain all selection to serialize. - - - - Serializes print. - - Xml writer. - Storage, that contain all print properties. - - - - Serializes window two record properties. - - Xml writer. - Current sheet. - - - - Serialize excelworkbook xml properties. - - Xml writer. - Current workbook. - - - - Serializes document properties. - - Xml writer. - Current workbook. - - - - Serialize workbook. - - Xml writer. - Book to serialize. - - - - Serializes workbook to xml. - - Xml writer. - Workbook to serialize. - - - - Initializes builder used to accumulate start of some xml string. - - Builder used to accumulate start of some xml string. - - - - Initializes builder used to accumulate end of some xml string. - - Builder used to accumulate start of some xml string. - - - - Initializes builder used to accumulate some xml string. - - Builder to initialize. - Initialized String builder - - - - Gets color string by Color. - - Current color. - Returns string by color. - - - - Adds open and close tag. - - Open tag. - Closed tag. - String builder to accumulate start of the xml string. - String builder to accumulate end of the xml string. - - - - Adds attribute to string. - - Attribute name. - Attribute value. - String builder to accumulate start of the xml string. - String builder to accumulate end of the xml string. - - - - Gets border format string for CF serialize. - - Represents border type. - Represents border color. - Represents border line style. - Returns border line style. - - - - Gets xml string from ExcelHAling type. - - ExcelHAling type. - Returns xml string. - - - - Gets xml string from ExcelVAling type. - - ExcelVAling type. - Returns xml string. - - - - Gets font alignment xml string; - - Font object. - Returns xml font alignment string. - - - - Gets condition string value. - - Condition object. - Returns condition value. - - - - Gets cell type and value. - - Cells collection - Index of cell. - Returns xml type of cell by index. - Returns xml cell value. - - - - Writes element to xml stream. - - Xml writer. - Element prefix. - Element name. - - - - Writes element to xml stream. - - Xml writer. - Element prefix. - Element name. - Element value - - - - Reserialize merged styles styles. - - Xml writer. - List with styles to reserialize. - - - - Gets array of merged styles. - - Worksheets collection - Returns list with merged styles. - - - - Updates formulas, that contain error. - - Formula to update. - Returns updated formula. - - - - Converts Excel 2007 data validation type to Excel 97-03. - - Excel 2007 data validation type. - Excel 97-03 data validation type. - - - - Returns DV error style. - - DV error style name. - DV error style. - - - - Represents cell types. - - - - - Represents number. - - - - - Represents dateTime. - - - - - Represents boolean. - - - - - Represents string. - - - - - Represents error. - - - - - This class stores worksheet data extracted from document and is responsible - for parsing and serialization of this data into special FileDataHolder. - - - - - Format to get full path to zip archive item that stores vml drawings for worksheet. - - - - - Format got get full path to zip archive item that stores comments description for worksheet. - - - - - Format to get full path to zip archive item that stores drawings for worksheet. - - - - - Relations default extension. - - - - - Archive item that stores worksheet data. - - - - - Objects that stores workbook data. - - - - - This stream stores xml text starting just after "worksheet" tag to - "col" or "sheetData" tag. - - - - - This stream stores xml text with conditional formatting. - - - - - This stream stores xml text with conditional formattings in extended list. - - - - - Relation id in the parent workbook. Null means that item hasn't been serialized - yet and we must generate new id. - - - - - Sheet id. - - - - - Worksheet relations. - - - - - Drawings relations. - - - - - Header/footer drawings relations. - - - - - Relation id for vml drawings. Null means no vml drawings present (or were present). - - - - - Relation id for vml header/footer drawings. Null means no vml drawings present (or were present). - - - - - Relation id for comment notes. Null means no comment note present (or were present). - - - - - Relation id for drawings. Null means no drawings present (or were present). - - - - - Stream with controls data. - - - - - Initializes a new instance of the WorksheetDataHolder class. - - Objects that stores workbook data. - Relation that points at (relative path) necessary worksheet. - Path to the relation parent object (to convert relative - path into absolute). - - - - Initializes new instance of the WorksheetDataHolder class. - - Objects that stores workbook data. - Archive item with sheet data. - - - - Parses conditional formats. - - Dxf styles collection. - Worksheet to parse CF into. - - - - Parses worksheet data. - - Worksheet to parse. - - - - Parses chart worksheet data. - - Represents chart object to be parsed. - - - - Serializes worksheet into internal zip archive item. - - Worksheet to serialize. - - - - This method tries to parse vml shapes. - - Parent worksheet. - Relation id of the vml shapes relation. - Collection of the corresponding vml relations. - - - - This method tries to parse drawings part. - - Parent worksheet. - Relation id of the shapes relation. - Dictionary with archive items to remove after parsing. - - - - This method tries to parse drawings part. - - Parent worksheet. - Relation pointing at drawings xml item.. - Dictionary with archive items to remove after parsing. - - - - Serializes worksheet part into internal zip archive item. - - Worksheet to serialize. - Dictionary with updated xf indexes. - - - - Serializes chartsheet part into internal zip archive item. - - Chartsheet to serialize. - - - - Serializes chart object. - - Chart to serialize. - Drawing relations that should contain reference to this chart. - Chart drawing id in the relations collection. - - - - Serializes drawing part of the chartsheet. - - Chart to serialize. - Name of the drawing zip archive item. - Drawing relations. - Relation id to the chart object. - - - - Serializes worksheet relations. - - - - - Serializes all worksheet drawings (including vml). - - Current worksheet. - - - - Serializes worksheet drawings, except vml drawings. - - Worksheet to serialize drawings for. - - - - Serializes worksheet drawings, except vml drawings. - - Worksheet to serialize drawings for. - Relations to put drawings relation into. - Drawing id. - Content type. - Relation type. - - - - Serializes worksheet vml drawings. - - Worksheet to serialize drawings for. - - - - This method serializes header/footer images. - - Worksheet to serialize header/footer images for. - - - - Serializes relations. - - Represents parent item name. - - - - Serializes relations. - - Relation to be serialized. - Parent item name. - - - - Serializes worksheet comments. - - Worksheet to get comments from. - - - - Generates unique zip archive item name for drawings of the specified - worksheet or reuses existing one. - - Name that can be used for drawings item. - - - - Generates unique zip archive item name for vml drawings of the specified - worksheet or reuses existing one. - - Name that can be used for vml drawings item. - - - - Generates unique zip archive item name for comments of the specified - worksheet or reuses existing one. - - Name that can be used for comments item. - - - - Create copy of the current object. - - A copy of the current object. - - - - Gets parent FileDataHolder. Read-only. - - - - - Gets or sets archive item that has all worksheet data. - - - - - Gets or sets Worksheet's relation id in the workbook. - - - - - Gets or sets sheet id extracted from the file. - - - - - Gets relations collection. Read-only. - - - - - Gets drawings relation collection. Read-only. - - - - - Gets header/footer drawings relations collection. Read-only. - - - - - Gets or sets relation id for vml drawings. Null means no vml drawings present (or were present). - - - - - Gets or sets relation id for vml drawings. Null means no vml drawings present (or were present). - - - - - Gets or sets relation id for comment notes item. Null means no comments present (or were present). - - - - - Gets or sets relation id for drawings. Null means no drawings present (or were present). - - - - - Gets or sets stream with controls data. - - - - - - Class used for serializing Xml Attribute. - - - - - Xml serializator save type. - - - - - Prevents a default instance of the XmlSerializatorAttribute class from being created. - - - - - Initializes a new instance of the XmlSerializatorAttribute class. - - Save type. - - - - Gets xml serializator save type. Read-only. - - - - - - Summary description for XmlSerializatorFactory. - - - - - Dictionary with serializators. Key - int value of OfficeXmlSaveType, - value - instance of a serializator. - - - - - Initializes static members of the XmlSerializatorFactory class. Fills internal dictionary with serializators. - - - - - Prevents a default instance of the XmlSerializatorFactory class from being created. - - - - - Registers xml serializator. - - Xml file format generated by serializator. - Type that serializes into xml. - - - - Returns serializator corresponding to the specified save type. - - Save type to get serializator for. - Serializator corresponding to the specified save type. - - - - - Class used as message sender on Property value change. Class provides old and - new values which allow user to create advanced logic. - - - - - Storage of Old value. - - - - - Storage of new value. - - - - - Name of property or unique identifier of the object - whose value changed. - - - - - Value changed event arguments. - - - - - Default constructor. - - - - - Main constructor. - - Old property value. - New property value. - Unique Identifier of object whose value changed. - - - - Main constructor. - - Old property value. - New property value. - Unique Identifier of object whose value changed. - Next property which must be changed. - - - - New property value. Event handler property has new value set. - Read-only. - - - - - Old property value. Event handler property has new value set. - Read-only. - - - - - Name of the property. Read-only. - - - - - If more than one property must be changed on one send message, - attach it to the ValueChangeEventArgs to create a one way directed list of property changes. - - - - - Returns the class instance with empty values. Read-only. - - - - - - Delegate which can be used for Property Changed events declarations. - - - - - Summary description for _constants. - - - - - This value is used instead of possible minimum row or column index. - - - - - This value is used instead of possible maximum row or column index. - - - - - This value is used instead of maximum used row or column index. - - - - - This value is used instead of minimum used row or column index. - - - - - Size of the Int32 value. - - - - - Size of the Int16 value. - - - - - Size of the Int64 value. - - - - - Number of bits inside single short value. - - - - - Number of bits inside single byte value. - - - - - Size of the Double value in bytes. - - - - - Used to prevent user from creation of instances of this type. - - - - - This is a helper class which creates an object - hash value using Reflection. - - - - - Member used to detect level recursion. - - - - - To prevent creation of hash class, make its constructor private. - - - - - Method calculates hash for any object. Method serializes object properties - to string using Reflection and returns hash of created string. - - Object which hash must be calculated. - Properties to skip. - Calculated hash code. - - - - Method in recursion builds string representation of the object. - - Output string - Object which must be converted to string. - Properties to skip. - - - - Optimized version of SortedList collection. Instead of keeping two - arrays, one for keys and one for values, the values array on - Hashtable collection are changed. Performance of this collection is better than that of SortedList. - - - - - Default capacity of internal buffers. - - - - - Array which store keys in sorted order. - - - - - Collection stores values. - - - - - Size of collection. - - - - - Version of collection data. - - - - - Default comparer for keys. - - - - - List of keys. - - - - - List of values. - - - - - Default constructor. - - - - - Creates an empty list with the specified initial capacity. - - Initial capacity. - - When initialCapacity is less than zero. - - - - - Creates an empty SortedList with the default initial capacity - and specified comparer. - - - The IComparer is used to determine whether two keys are equal. - - - - - Creates an empty SortedList with the specified initial capacity - and specified comparer. - - Initial capacity. - - The IComparer is used to determine whether two keys are equal. - - - - - Copies the elements from the specified dictionary to a new list - with the same initial capacity as the number of elements copied. - - The IDictionary to copy. - - - - Copies the elements from the specified dictionary to a new list with the same - initial capacity as the number of elements copied and with the specified comparer. - - The IDictionary to copy. - - The IComparer to use to determine whether two keys are equal. - - - When argument d is null. - - - - - Returns a synchronized (thread-safe) wrapper for the SortedList. - - The SortedList to synchronize. - A synchronized (thread-safe) wrapper for the SortedList. - - When list is null. - - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - When key is null. - - - When list already contains specified key. - - - - - Removes all elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Clone current instance. - - Returns clone of current object. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the SortedListEx to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If specified array is null. - - - If rank of the array is not 1 or there are not enough elements. - - - If specified arrayIndex is less than zero. - - - - - Gets the value at the specified index of the SortedListEx. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the key at the specified index of the SortedListEx. - - The zero-based index of the key to get. - The key at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the keys in the SortedListEx. - - An IList containing the keys in the SortedListEx. - - - - Gets the values in the SortedListEx. - - An IList containing the values in the SortedListEx. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - If specified key is null. - - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - When index is less than zero or greater than size of the list. - - - - - Removes the element with the specified key from SortedListEx. - - The key of the element to remove. - - - - Replaces the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - When index is less than zero or greater than size of the list. - - - - - Sets the capacity to the actual number of elements. - - - - - Returns an IDictionaryEnumerator that can iterate through the SortedListEx. - - An IDictionaryEnumerator for the SortedListEx. - - - - Returns an IEnumerator that can iterate through the SortedListEx. - - An IEnumerator for the SortedListEx. - - - - Inserts element with specified key and value at specified index. - - The zero-based index to insert element at. - The key of the element to insert. - The value of the element to insert. - - - - Ensures that the capacity of this instance is at least the specified value. - - The minimum capacity to ensure. - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - List of keys. Read-only. - - - - - List of values. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value associated with the specified key. - - - - - Wrapped SortedListEx. - - - - - Sync object. - - - - - Creates SyncSortedListEx for specified SortedListEx. - - SortedListEx that will be wrapped. - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - - - Removes all the elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Gets the value at the specified index of the list. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - - - Returns an IDictionaryEnumerator that can iterate through the list. - - An IDictionaryEnumerator for the list. - - - - Gets the key at the specified index of the list. - - The zero-based index of the key to get. - The key at the specified index of the list. - - - - Gets the keys in the list. - - An IList containing the keys in the list. - - - - Gets the values in the list. - - An IList containing the values in the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Replaces the value at a specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Sets the capacity to the actual number of elements. - - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Gets or sets the value associated with the specified key. - - - - - If it is assumed to getObjectRetType, Current will return key - of the current element. - - - - - If it is assumed to getObjectRetType, Current will return value - of the current element. - - - - - If it is assumed to getObjectRetType, Current will return both - - key and value (as DictionaryEntry). - - - - - List for which is this enumerator. - - - - - Key of the current element. - - - - - Values of the current element. - - - - - Index of current element. - - - - - Starting index for the enumerator. - - - - - Ending index for this enumerator. - - - - - Version of collection data. - - - - - True if current element is correct, False otherwise - (before beginning or after end). - - - - - Specifies what should return method Current (Key, Value or both). - - - - - Creates enumerator for specified list, starting from specified index - and with specified count. - - list for which to create enumerator. - Starting index. - Number of elements to enumerate. - Type of enumerating values (keys, value, DicEntry). - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; - False if the enumerator has passed the end of the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Sets the enumerator to its initial position, which is before - the first element in the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Returns key of the current element. Read-only. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - Return DictionaryEntry for the current element. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - The current element in the collection. Read-only. - - - If current is false. - - - - - Returns value for the current element. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - List for which this collection was created. - - - - - Creates KeyList for specified SortedListEx. - - SortedListEx for which KeyList must be created. - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If array is null or rank of the array is not 1. - - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of the key, if the key is found; otherwise, -1. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the key at the specified index. - - - - - List for which this collection was created. - - - - - Array list that contain values. - - - - - Creates ValueList for specified SortedListEx. - - SortedListEx for which ValueList must be created. - - - - Re-read values from the list. - - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified value. - - Value to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified value. - - The value to locate. - The zero-based index of the value, if the value is found, otherwise -1. - - - - Removes the specified value from list. - - The value to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value at the specified index. - - - - - Comparer for strings. - - - - - Compare two strings. - - String to compare. - String to compare. - Returns compared results. - - - - Dictionary is used for grouping strings used by Excel in order to prevent - doubling of data. Dictionary stores information as key string and value. - - - - - Default reserved space by internal collections. - - - - - Index of the empty string. - - - - - Default count of empty strings. - Returned by GetStringsCount method. - Arbitrary number but should be larger than 1. - - - - - Maximum allowed cell length. - - - - - Dictionary key-to-index in the array. - - - - - Strings data. - - - - - Array that contains indexes that are free (strings that were removed). - - - - - Parent workbook. - - - - - Original SSTRecord. - - - - - Indicates whether original SSTRecord was parsed. - - - - - Temporary string. - - - - - Number of references to each string. - - - - - Indicates whether we should use hashtable to increase search speed. - - - - - Default constructor. Reserves space for strings. - - - - - Returns SST content. - - Index of the target string. - SST content object. - - - - Clears the list. - - - - - Searches for all strings with specified text. - - String to search. - Dictionary, key - string index, value - null. - - - - Adds string into dictionary. If the string exists in dictionary, - add reference count. Method can influence on SST Indexes. - - Index to the string. - - - - Adds string into dictionary. If the string exists in dictionary, - add reference count. Method can influence on SST Indexes. - - String to add - Index of the added string. - - - - Adds string into dictionary. If the string exists in dictionary, - add reference count. Method can influence on SST Indexes. - - String to add - Reference count for new entries. - Index of the added string. - - - - Checks whether new string value is within allowed limits. - - - - - - Remove reference of string. When reference count reaches zero, string will be - removed from dictionary. Method can influence the SST indexes. - - String whose reference must be removed. - - When SST table does not contain the specified string. - - - - - Remove reference of string. When reference count reaches zero, string will be - removed from dictionary. Method can influence the SST indexes. - - String index to remove. - - - - Method decreases reference count of string without removing it. - - Index of the string to decrease reference. - - - - Method checks if the dictionary contains the specified string. - - String which must be checked. - True - string exists in dictionary, otherwise False. - - - - Serialize dictionary. - - Records where writes serialized data. - - - - Returns number of strings in the dictionary. - - Index of the target string. - - - - Returns RTF string by its index in the dictionary. - - Index of the target string. - RTF string. - - - - Adds copy of the string from another collection. - - Index of the string to add. - Source string table. - Dictionary with font indexes. - Index of the added string. - - - - Searches for all strings that starts with specified string. - - String prefix to search. - - List with all string indexes that starts with specified - string, in ascending order. - - - - - Creates copy of the current instance. - - Copy of the current instance. - - - - Updates internal array that stores reference count. - - - - - This methods looks through all row storages to find out used strings. - And removes all unnecessary strings after that. - - - - - Moves strings. - - Start index. - End index. - Decrease index. - List with new strings indexes. - - - - Removes all unused strings from inner collections. - - - - - Saves into record. - - Array where save is. - - - - Sets number of references to the string. - - String index. - References count to set. - - - - Gets number of references to the string. - - String index. - number of references to the string. - - - - - - - - - - - - - - - - - - Fills internal hash used for string searching. - - - - - Here we have to parse our SST record - - - - - Updates LabelSST indexes after SST record parsing. - - Dictionary with indexes to update, key - old index, value - new index. - - - - Returns LabelSST used. - - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - - - - - - Gets references count to specified string. - - - - - Gets text with format. - - - - - Gets list of strings. - - - - - Gets quantity of unique strings. - - - - - Returns parent workbook. Read-only. - - - - - Gets / sets original SSTRecord. - - - - - - - - - - Returns number of strings without removed items. Read-only. - - - - - Contains types that are used to create�and manipulate charts. - - - - - - Represents chart plot area interface. - - - - - Represents the chart to image convertertion. - - - - - Converts the chart to image and saves the image to the specified stream. - - Represents the chart object to convert. - The stream to save the image - - - - Gets or sets a type that represents quality of the converted image. - - - - //Open a PowerPoint presentation file - IPresentation presentation = Presentation.Open("Template.pptx"); - //Create an instance of ChartToImageConverter - presentation.ChartToImageConverter = new ChartToImageConverter(); - //Set the scaling mode as best - presentation.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best; - //Convert the first slide into image - System.Drawing.Image image = presentation.Slides[0].ConvertToImage(Syncfusion.Drawing.ImageType.Metafile); - //Save the image as file - image.Save("slide1.png"); - //close the presentation instance - presentation.Close(); - - - 'Open a PowerPoint presentation file - Dim presentation__1 As IPresentation = Presentation.Open("Template.pptx") - 'Create an instance of ChartToImageConverter - presentation__1.ChartToImageConverter = New ChartToImageConverter() - 'Set the scaling mode as best - presentation__1.ChartToImageConverter.ScalingMode = Syncfusion.OfficeChart.ScalingMode.Best - 'Convert the first slide into image - Dim image As System.Drawing.Image = presentation__1.Slides(0).ConvertToImage(Syncfusion.Drawing.ImageType.Metafile) - 'Save the image as file - image.Save("slide1.png") - 'close the presentation instance - presentation__1.Close() - - - - - - Enumeration of the sheet types in Excel. - - - - - Charts. - - - - - Dialogs. - - - - - Excel 4.0 International Macros. - - - - - Excel 4.0 Macros. - - - - - Worksheets. - - - - - Enumeration of the border line styles for cells in Excel. - - - - - Represents no border line style. - - - - - Represents the thin border line style. - - - - - Represents the medium border line style. - - - - - Represents the dashed border line style. - - - - - Represents the dotted border line style. - - - - - Represents the thick border line style. - - - - - Represents the double border line style. - - - - - Represents the hair border line style. - - - - - Represents the medium_dashed medium_dashed line style. - - - - - Represents the dash_dot border line style. - - - - - Represents the medium dash_dot border line style. - - - - - Represents the dash_dot_dot border line style. - - - - - Represents the medium dash_dot_dot border line style. - - - - - Represents the medium slanted_dash_dot border line style. - - - - - Enumeration of the border and diagonal line types in Excel. - - - - - Represents the diagonal line from top left to right bottom. - - - - - Represents the diagonal line from bottom left to right top. - - - - - Represents the border line on the bottom. - - - - - Represents the border line on the left. - - - - - Represents the border line on the right. - - - - - Represents the border line on the top. - - - - - Enum that defines different types of the formula calculations. - - - - - Represents the MANUAL calculation type. - - - - - Represents the AUTOMATIC calculation type. - - - - - Represents the AUTOMATIC EXCEPT TABLES calculation type. - - - - - Enumeration of the horizontal alignment options for cell formatting in Excel. - - - - - Represents the general horizontal alignment setting. - - - - - Represents left horizontal alignment setting. - - - - - Represents center horizontal alignment setting. - - - - - Represents center horizontal alignment setting. - - - - - Represents fill horizontal alignment setting. - - - - - Represents justify horizontal alignment setting. - - - - - Represents center across selection horizontal alignment setting. - - - - - Represents distributed horizontal alignment setting. - - - - - Enumeration of the vertical alignment options for cell formatting in Excel. - - - - - Represents top vertical alignment setting. - - - - - Represents center vertical alignment setting. - - - - - Represents bottom vertical alignment setting. - - - - - Represents justify vertical alignment setting. - - - - - Represents distributed vertical alignment setting. - - - - - Specifies whether a print device prints multi-page documents from front-to-back or back-to-front. - - - - - Indicates Down, then over setting. - - - - - Indicates Over, then down setting. - - - - - Specifies how pages of content are oriented on print media. - - - - - Indicates content of the imageable area is rotated on the page 90 degrees counterclockwise from standard (portrait) orientation. - - - - - Indicates standard orientation. - - - - - Specifies the paper size in the PaperSize property. - - - - - Indicates 10- by 14-inch sheet. - - - - - Indicates 11- by 17-inch sheet. - - - - - Indicates A3 sheet, 297- by 420-millimeters. - - - - - Indicates A4 sheet, 210- by 297-millimeters. - - - - - Indicates A4 small sheet, 210- by 297-millimeters. - - - - - Indicates A5 sheet, 148- by 210-millimeters. - - - - - Indicates B4 sheet, 250- by 354-millimeters. - - - - - Indicates B5 sheet, 182- by 257-millimeter paper. - - - - - Indicates C Sheet, 17- by 22-inches. - - - - - Indicates D Sheet, 22- by 34-inches. - - - - - Indicates #10 Envelope, 4 1/8- by 9 1/2-inches. - - - - - Indicates #11 Envelope, 4 1/2- by 10 3/8-inches. - - - - - Indicates #12 Envelope, 4 3/4- by 11-inches. - - - - - Indicates #14 Envelope, 5- by 11 1/2-inches. - - - - - Indicates #9 Envelope, 3 7/8- by 8 7/8-inches. - - - - - Indicates B4 Envelope, 250- by 353-millimeters. - - - - - Indicates B5 Envelope, 176- by 250-millimeters. - - - - - Indicates B6 Envelope, 176- by 125-millimeters. - - - - - Indicates C3 Envelope, 324- by 458-millimeters. - - - - - Indicates C4 Envelope, 229- by 324-millimeters. - - - - - Indicates C5 Envelope, 162- by 229-millimeters. - - - - - Indicates C6 Envelope, 114- by 162-millimeters. - - - - - Indicates C65 Envelope, 114- by 229-millimeters. - - - - - Indicates DL Envelope, 110- by 220-millimeters. - - - - - Indicates Italy Envelope, 110- by 230-millimeters. - - - - - Indicates Monarch Envelope, 3 7/8- by 7 1/2-inches. - - - - - Indicates 6 3/4 Envelope, 3 5/8- by 6 1/2-inches. - - - - - Indicates E Sheet, 34- by 44-inches. - - - - - Indicates Executive, 7 1/4- by 10 1/2-inches. - - - - - Indicates German Legal Fanfold, 8 - by 13-inches. - - - - - Indicates German Std Fanfold, 8 1/2- by 12-inches. - - - - - Indicates US Std Fanfold, 14 7/8- by 11-inches. - - - - - Indicates Folio, 8 1/2- by 13-inch paper. - - - - - Indicates Ledger, 17- by 11-inches. - - - - - Indicates Legal, 8 1/2- by 14-inches. - - - - - Indicates Letter, 8 1/2- by 11-inches. - - - - - Indicates Letter Small, 8 1/2- by 11-inches. - - - - - Indicates Note, 8 1/2- by 11-inches. - - - - - Indicates Quarto, 215- by 275-millimeter paper. - - - - - Indicates Statement, 5 1/2- by 8 1/2-inches. - - - - - Indicates Tabloid, 11- by 17-inches. - - - - - Indicates User paper size. - - - - - Indicates ISO B4 paper size(250 mm by 353 mm). - - - - - Indicates Japanese double postcard(200 mm by 148 mm). - - - - - Indicates Standard paper(9 in. by 11 in.). - - - - - Indicates Standard paper(10 in. by 11 in.). - - - - - Indicates Standard paper(15 in. by 11 in.). - - - - - Indicates Invite envelope (220 mm by 220 mm). - - - - - Indicates Letter extra paper (9.275 in. by 12 in.). - - - - - Indicates Legal extra paper (9.275 in. by 15 in.). - - - - - Indicates Tabloid extra paper (11.69 in. by 18 in.). - - - - - Indicates A4 extra paper (236 mm by 322 mm). - - - - - Indicates Letter transverse paper (8.275 in. by 11 in.). - - - - - Indicates A4 transverse paper (210 mm by 297 mm). - - - - - Indicates Letter extra transverse paper (9.275 in. by 12 in.). - - - - - Indicates SuperA/SuperA/A4 paper (227 mm by 356 mm). - - - - - Indicates SuperB/SuperB/A3 paper (305 mm by 487 mm). - - - - - Indicates Letter plus paper (8.5 in. by 12.69 in.). - - - - - Indicates A4 plus paper (210 mm by 330 mm). - - - - - Indicates A5 transverse paper (148 mm by 210 mm). - - - - - Indicates JIS B5 transverse paper (182 mm by 257 mm). - - - - - Indicates A3 extra paper (322 mm by 445 mm). - - - - - Indicates A5 extra paper (174 mm by 235 mm). - - - - - Indicates ISO B5 extra paper (201 mm by 276 mm). - - - - - Indicates A2 paper (420 mm by 594 mm). - - - - - Indicates A3 transverse paper (297 mm by 420 mm). - - - - - Indicates A3 extra transverse paper (322 mm by 445 mm). - - - - - Specifies the print comments. - - - - - Indicates the print as displayed on sheet setting. - - - - - Indicates no comments in print location. - - - - - Represents the end of the sheet of print location. - - - - - Specifies replacing error Values when printing. - - - - - Indicates the blank option. - - - - - Indicates the dash (--) option. - - - - - Indicates the displayed option. - - - - - Indicates the #N/A option. - - - - - Enumeration of page break types in Excel. - - - - - Represents the Automatic option. - - - - - Represents the Manual option. - - - - - Represents the None option. - - - - - Specifies the type of underline applied to a font. - - - - - Indicates No underlining. - - - - - Indicates Single underlining. - - - - - Indicates Double thick underline. - - - - - Indicates SingleAccounting underline. - - - - - Indicates Two thin underlines placed close together. - - - - - Indicates dashed underline - - - - - Indicates heavy dot dot dashed underline - - - - - Indicates heavy dot dashed underline - - - - - Indicates heavy dashed underline - - - - - Indicates long dashed underline - - - - - Indicates heavy long dashed underline - - - - - Indicates dot dashed underline - - - - - Indicates dot dot dashed underline - - - - - Indicates dotted underline - - - - - Indicates heavy dotted underline - - - - - Indicates heavy underline - - - - - Indicates wavy underline - - - - - Indicates double wavy underline - - - - - Indicates heavy wavy underline - - - - - Indicates words underline - - - - - Enumeration of merge operation types in Excel. - - - - - Represents the Leave option. - - - - - Represents the Delete option. - - - - - Enumeration of Worksheet functions in Excel. - - - - - Represents the NONE function. - - - - - Represents the Custom function. - - - - - Represents the ABS function. - - - - - Represents the ACOS function. - - - - - Represents the ACOSH function. - - - - - Represents the ADDRESS function. - - - - - Represents the AND operation. - - - - - Represents the Areas function. - - - - - Represents the ASIN function. - - - - - Represents the ASINH function. - - - - - Represents the ATAN function. - - - - - Represents the ATAN2 function. - - - - - Represents the ATANH function. - - - - - Represents the AVEDEV function. - - - - - Represents the AVERAGE function. - - - - - Represents the AVERAGEA function. - - - - - Represents the HEX2BIN function. - - - - - Represents the HEX2DEC function. - - - - - Represents the HEX2OCT function. - - - - - Represents the COUNTIF function. - - - - - Represents the BIN2DEC function. - - - - - Represents the BIN2HEX function. - - - - - Represents the BIN2OCT function. - - - - - Represents the DEC2BIN function. - - - - - Represents the DEC2HEX function. - - - - - Represents the DEC2OCT function. - - - - - Represents the OCT2BIN function. - - - - - Represents the OCT2DEC function. - - - - - Represents the OCT2HEX function. - - - - - Represents the ODDFPRICE function. - - - - - Represents the ODDFYEILD function. - - - - - Represents the ODDLPRICE function. - - - - - Represents the ODDLYEILD function. - - - - - Represents the ISODD function. - - - - - Represents the ISEVEN function. - - - - - Represents the LCM function. - - - - - Represents the GCD function. - - - - - Represents the SUMIFS function. - - - - - Represents the AVERAGEIF function. - - - - - Represents the AVERAGEIFS function. - - - - - Represents the CONVERT function. - - - - - Represents the COMPLEX function. - - - - - Represents the COUPDAYBS function. - - - - - Represents the COUPDAYS function. - - - - - Represents the COUPDAYSNC function. - - - - - Represents the COUPNCD function. - - - - - Represents the COUPNUM function. - - - - - Represents the COUPPCD function. - - - - - Represents the DELTA function. - - - - - Represents the DISC function. - - - - - Represents the DOLLARDE function. - - - - - Represents the DOLLARFR function. - - - - - Represents the DURATION function. - - - - - Represents the EDATE function. - - - - - Represents the EFFECT function. - - - - - Represents the EOMONTH function. - - - - - Represents the ERF function. - - - - - Represents the ERFC function. - - - - - Represents the FACTDOUBLE function. - - - - - Represents teh GESTEP function. - - - - - Represents the IFERROR function. - - - - - Represents the IMABS function - - - - - Represents the IMAGINARY function. - - - - - Represents the IMARGUMENT function. - - - - - Represents the IMCONJUGATE function. - - - - - Represents the IMCOS function. - - - - - Represents the IMEXP function. - - - - - Represents the IMLN function. - - - - - Represents the IMLOG10 function. - - - - - Represents the IMLOG2 function. - - - - - Represents the IMREAL function. - - - - - Represents the IMSIN function. - - - - - Represents the IMSQRT function. - - - - - Represents the IMSUB function. - - - - - Represents the IMSUM function. - - - - - Represents the IMDIV function. - - - - - Represents the IMPOWER function. - - - - - Represents the IMPRODUCT function. - - - - - Represents the ACCRINT function. - - - - - Represents the ACCRINTM function. - - - - - Represents the AGGREGATE function. - - - - - Represents the AMORDEGRC function. - - - - - Represents the AMORLINC function. - - - - - Represents the BAHTTEXT function. - - - - - Represents the BESSELI function. - - - - - Represents the BESSELJ function. - - - - - Represents the BESSELK function. - - - - - Represents the BESSELY function. - - - - - Represents the CUBEKPIMEMBER function. - - - - - Represents the CUBEMEMBER function. - - - - - Represents the CUBERANKEDMEMBER function. - - - - - Represents the CUBESET function. - - - - - Represents the CUBESETCOUNT function. - - - - - Represents the CUBEMEMBERPROPERTY function. - - - - - Represents the CUMIPMT function. - - - - - Represents the CUMPRINC function. - - - - - Represents the FVSCHEDULE function. - - - - - Represents the INTRATE function. - - - - - Represents the LINTEST function. - - - - - Represents the CUBEVALUE function. - - - - - Represents the MDURATION function. - - - - - Represents the MROUND function. - - - - - Represents the MULTINOMIAL function. - - - - - Represents the NETWORKDAYS function. - - - - - Represents the NOMINAL function. - - - - - Represents the PRICE function. - - - - - Represents the PRICEDISC function. - - - - - Represents the PRICEMAT function. - - - - - Represents the QUOTIENT function. - - - - - Represents the RANDBETWEEN function. - - - - - Represents the RECEIVED function. - - - - - Represents the SERIESSUM function. - - - - - Represents the SQRTPI function. - - - - - Represents the TBILLEQ function. - - - - - Represents the TBILLPRICE function. - - - - - Represents the TBILLYIELD function. - - - - - Represents the WEEKNUM function. - - - - - Represents the WORKDAY function. - - - - - Represents the XIRR function. - - - - - Represents the XNPV function. - - - - - Represents the YEAR function. - - - - - Represents the YIELD function. - - - - - Represents the YIELDDISC function. - - - - - Represents the YIELDMAT function. - - - - - Represents the WORKDAY.INTL function. - - - - - Represents the BETA.INV function. - - - - - Represents the BINOM.DIST function. - - - - - Represents the BINOM.INV function. - - - - - Represents the CEILING.PRECISE function. - - - - - Represents the CHISQ.DIST function. - - - - - Represents the CHISQ.DIST.RT function. - - - - - Represents the CHISQ.INV function. - - - - - Represents the CHISQ.INV.RT function. - - - - - Represents the CHISQ.TEST function. - - - - - Represents the CONFIDENCE.NORM function. - - - - - Represents the CONFIDENCE.T function. - - - - - Represents the COVARIANCE.P function. - - - - - Represents the COVARIANCE.S function. - - - - - Represents the ERF.PRECISE function. - - - - - Represents the ERFC.PRECISE function. - - - - - Represents the F.DIST function. - - - - - Represents the F.DIST.RT function. - - - - - Represents the F.INV function. - - - - - Represents the F.INV.RT function. - - - - - Represents the F.TEST function. - - - - - Represents the FLOOR.PRECISE function. - - - - - Represents the GAMMA.DIST function. - - - - - Represents the GAMMA.INV function. - - - - - Represents the GAMMALN.PRECISE function. - - - - - Represents the HYPGEOM.DIST function. - - - - - Represents the LOGNORM.DIST function. - - - - - Represents the LOGNORM.INV function. - - - - - Represents the MODE.MULT function. - - - - - Represents the MODE.SNGL function. - - - - - Represents the NEGBINOM.DIST function. - - - - - Represents the NETWORKDAYS.INTL function. - - - - - Represents the NORM.DIST function. - - - - - Represents the NORM.INV function. - - - - - Represents the NORM.S.DIST function. - - - - - Represents the PERCENTILE.EXC function. - - - - - Represents the PERCENTILE.INC function. - - - - - Represents the PERCENTRANK.EXC function. - - - - - Represents the PRECENTRANK.INC function. - - - - - Represents the POISSON.DIST function. - - - - - Represents the QUARTILE.EXC function. - - - - - Represents the QUARTILE.INC function. - - - - - Represents the RANK.AVG function. - - - - - Represents the RANK.EQ function. - - - - - Represents the STDEV.P function. - - - - - Represents the STDEV.S function. - - - - - Represents the T.DIST function. - - - - - Represents the T.DIST.2T function. - - - - - Represents the T.DIST.RT function. - - - - - Represents the T.INV function. - - - - - Represents the T.INV.2T function. - - - - - Represents the T.TEST function. - - - - - Represents the VAR.P function. - - - - - Represents the VAR.S function. - - - - - Represents the WEIBULL.DIST function. - - - - - Represents the WORKDAY.INTL function. - - - - - Represents the Z.TEST function. - - - - - Represents the BETA.DIST function. - - - - - Represents the EUROCONVERT function. - - - - - Represents the PHONETIC function. - - - - - Represents the REGISTER.ID function. - - - - - Represents the SQL.REQUEST function. - - - - - Represents the JIS function. - - - - - Represents the EXPON.DIST function. - - - - - Represents the DAYS function. - - - - - Represents the ISOWEEKNUM function. - - - - - Represents the BITAND function. - - - - - Represents the BITLSHIFT function. - - - - - Represents the BITOR function. - - - - - - Represents the BITXOR function. - - - - - Represents the IMCOSH function. - - - - - Represents the IMCOT function. - - - - - Represents the IMCSC function. - - - - - Represents the IMCSCH function. - - - - - Represents the IMSEC function. - - - - - Represents the IMSECH function. - - - - - Represents the IMSINH function. - - - - - Represents the IMTAN function. - - - - - Represents the PDURATION function. - - - - - Represents the RRI function. - - - - - Represents the ISFORMULA function. - - - - - Represents the SHEET function. - - - - - Represents the SHEETS function. - - - - - Represents the IFNA function. - - - - - Represents the XOR function. - - - - - Represents the FORMULATEXT function. - - - - - Represents the ACOT function. - - - - - Represents the ACOTH function. - - - - - Represents the ARABIC function. - - - - - Represents the BASE function. - - - - - Represents the CEILING.MATH function. - - - - - Represents the COMBINA function. - - - - - Represents the COT function. - - - - - Represents the COTH function. - - - - - Represents the CSC function. - - - - - Represents the CSCH function. - - - - - Represents the DECIMAL function. - - - - - Represents the FLOOR.MATH function. - - - - - Represents the ISO.CEILING function. - - - - - Represents the MUNIT function. - - - - - Represents the SEC function. - - - - - Represents the SECH function. - - - - - Represents the BINOM.DIST.RANGE function. - - - - - Represents the GAMMA function. - - - - - Represents the GAUSS function. - - - - - Represents the PERMUTATIONA function. - - - - - Represents the PHI function. - - - - - Represents the SKEW.P function. - - - - - Represents the NUMBERVALUE function. - - - - - Represents the UNICHAR function. - - - - - Represents the UNICODE function. - - - - - Represents the ENCODEURL function. - - - - - Represents the FILTERXML function. - - - - - Represents the WEBSERVICE function. - - - - - Represents the BETADIST function. - - - - - Represents the BETAINV function. - - - - - Represents the BINOMDIST function. - - - - - Represents the CEILING function. - - - - - Represents the CELL function. - - - - - Represents the CHAR function. - - - - - Represents the CHIDIST function. - - - - - Represents the CHIINV function. - - - - - Represents the CHITEST function. - - - - - Represents the CHOOSE function. - - - - - Represents the CLEAN function. - - - - - Represents the CODE function. - - - - - Represents the COLUMN function. - - - - - Represents the COLUMNS function. - - - - - Represents the COMBIN function. - - - - - Represents the CONCATENATE function. - - - - - Represents the CONFIDENCE function. - - - - - Represents the CORREL function. - - - - - Represents the COS function. - - - - - Represents the COSH function. - - - - - Represents the COUNT function. - - - - - Represents the COUNTA function. - - - - - Represents the COUNTBLANK function. - - - - - Represents the COUNTIF function. - - - - - Represents the COVAR function. - - - - - Represents the CRITBINOM function. - - - - - Represents the DATE function. - - - - - Represents the DATEVALUE function. - - - - - Represents the DAVERAGE function. - - - - - Represents the DAY function. - - - - - Represents the DAYS360 function. - - - - - Represents the DB function. - - - - - Represents the DCOUNT function. - - - - - Represents the DCOUNTA function. - - - - - Represents the DDB function. - - - - - Represents the DEGREES function. - - - - - Represents the DEVSQ function. - - - - - Represents the DMAX function. - - - - - Represents the DMIN function. - - - - - Represents the DOLLAR function. - - - - - Represents the DPRODUCT function. - - - - - Represents the DSTDEV function. - - - - - Represents the DSTDEVP function. - - - - - Represents the DSUM function. - - - - - Represents the DVAR function. - - - - - Represents the DVARP function. - - - - - Represents the ERROR function. - - - - - Represents the ERRORTYPE function. - - - - - Represents the EVEN function. - - - - - Represents the EXACT function. - - - - - Represents the EXP function. - - - - - Represents the EXPONDIST function. - - - - - Represents the FACT function. - - - - - Represents the FALSE function. - - - - - Represents the FDIST function. - - - - - Represents the FIND function. - - - - - Represents the FINDB function. - - - - - Represents the FINV function. - - - - - Represents the FISHER function. - - - - - Represents the FISHERINV function. - - - - - Represents the FIXED function. - - - - - Represents the FLOOR function. - - - - - Represents the FORECAST function. - - - - - Represents the FREQUENCY function. - - - - - Represents the FTEST function. - - - - - Represents the FV function. - - - - - Represents the GAMMADIST function. - - - - - Represents the GAMMAINV function. - - - - - Represents the GAMMALN function. - - - - - Represents the GEOMEAN function. - - - - - Represents the GETPIVOTDATA function. - - - - - Represents the GROWTH function. - - - - - Represents the HARMEAN function. - - - - - Represents the HLOOKUP function. - - - - - Represents the HOUR function. - - - - - Represents the HYPERLINK function. - - - - - Represents the HYPGEOMDIST function. - - - - - Represents the IF function. - - - - - Represents the INDEX function. - - - - - Represents the INDIRECT function. - - - - - Represents the INFO function. - - - - - Represents the INT function. - - - - - Represents the INTERCEPT function. - - - - - Represents the IPMT function. - - - - - Represents the IRR function. - - - - - Represents the ISBLANK function. - - - - - Represents the ISERR function. - - - - - Represents the ISERROR function. - - - - - Represents the ISLOGICAL function. - - - - - Represents the ISNA function. - - - - - Represents the ISNONTEXT function. - - - - - Represents the ISNUMBER function. - - - - - Represents the ISPMT function. - - - - - Represents the ISREF function. - - - - - Represents the ISTEXT function. - - - - - Represents the KURT function. - - - - - Represents the LARGE function. - - - - - Represents the LEFT function. - - - - - Represents the LEFTB function. - - - - - Represents the LEN function. - - - - - LENB function. - - - - - Represents the LINEST function. - - - - - Represents the LN function. - - - - - Represents the LOG function. - - - - - Represents the LOG10 function. - - - - - Represents the LOGEST function. - - - - - Represents the LOGINV function. - - - - - Represents the LOGNORMDIST function. - - - - - Represents the LOOKUP function. - - - - - Represents the LOWER function. - - - - - Represents the MATCH function. - - - - - Represents the MAX function. - - - - - Represents the MAXA function. - - - - - Represents the MDETERM function. - - - - - Represents the MEDIAN function. - - - - - Represents the MID function. - - - - - Represents the MIDB function. - - - - - Represents the MIN function. - - - - - Represents the MINA function. - - - - - Represents the MINUTE function. - - - - - Represents the MINVERSE function. - - - - - Represents the MIRR function. - - - - - Represents the MMULT function. - - - - - Represents the MOD function. - - - - - Represents the MODE function. - - - - - Represents the MONTH function. - - - - - Represents the N function. - - - - - Represents the NA function. - - - - - Represents the NEGBINOMDIST function. - - - - - Represents the NORMDIST function. - - - - - Represents the NORMINV function. - - - - - Represents the NORMSDIST function. - - - - - Represents the NORMSINV function. - - - - - Represents the NOT function. - - - - - Represents the NOW function. - - - - - Represents the NPER function. - - - - - Represents the NPV function. - - - - - Represents the ODD function. - - - - - Represents the OFFSET function. - - - - - Represents the OR function. - - - - - Represents the PEARSON function. - - - - - Represents the PERCENTILE function. - - - - - Represents the PERCENTRANK function. - - - - - Represents the PERMUT function. - - - - - Represents the PI function. - - - - - Represents the PMT function. - - - - - Represents the POISSON function. - - - - - Represents the POWER function. - - - - - Represents the PPMT function. - - - - - Represents the PROB function. - - - - - Represents the PRODUCT function. - - - - - Represents the PROPER function. - - - - - Represents the PV function. - - - - - Represents the QUARTILE function. - - - - - Represents the RADIANS function. - - - - - Represents the RAND function. - - - - - Represents the RANK function. - - - - - Represents the RATE function. - - - - - Represents the REPLACE function. - - - - - Represents the REPLACEB function. - - - - - Represents the RIGHT function. - - - - - Represents the RIGHTB function. - - - - - Represents the ROMAN function. - - - - - Represents the ROUND function. - - - - - Represents the ROUNDDOWN function. - - - - - Represents the ROUNDUP function. - - - - - Represents the ROW function. - - - - - Represents the ROWS function. - - - - - Represents the RSQ function. - - - - - Represents the SEARCH function. - - - - - Represents the SEARCHB function. - - - - - Represents the SECOND function. - - - - - Represents the SIGN function. - - - - - Represents the SIN function. - - - - - Represents the SINH function. - - - - - Represents the SKEW function. - - - - - Represents the SLN function. - - - - - Represents the SLOPE function. - - - - - Represents the SMALL function. - - - - - Represents the SQRT function. - - - - - Represents the STANDARDIZE function. - - - - - Represents the STDEV function. - - - - - Represents the STDEVA function. - - - - - Represents the STDEVP function. - - - - - Represents the STDEVPA function. - - - - - Represents the STEYX function. - - - - - Represents the SUBSTITUTE function. - - - - - Represents the SUBTOTAL function. - - - - - Represents the SUM function. - - - - - Represents the SUMIF function. - - - - - Represents the SUMPRODUCT function. - - - - - Represents the SUMSQ function. - - - - - Represents the SUMX2MY2 function. - - - - - Represents the SUMX2PY2 function. - - - - - Represents the SUMXMY2 function. - - - - - Represents the SYD function. - - - - - Represents the T function. - - - - - Represents the TAN function. - - - - - Represents the TANH function. - - - - - Represents the TDIST function. - - - - - Represents the TEXT function. - - - - - Represents the TIME function. - - - - - Represents the TIMEVALUE function. - - - - - Represents the TINV function. - - - - - Represents the TODAY function. - - - - - Represents the TRANSPOSE function. - - - - - Represents the TREND function. - - - - - Represents the TRIM function. - - - - - Represents the TRIMMEAN function. - - - - - Represents the TRUE function. - - - - - Represents the TRUNC function. - - - - - Represents the TTEST function. - - - - - Represents the TYPE function. - - - - - Represents the UPPER function. - - - - - Represents the VALUE function. - - - - - Represents the VAR function. - - - - - Represents the VARA function. - - - - - Represents the VARP function. - - - - - Represents the VARPA function. - - - - - Represents the VDB function. - - - - - Represents the VLOOKUP function. - - - - - Represents the WEEKDAY function. - - - - - Represents the WEIBULL function. - - - - - Represents the YEAR function. - - - - - Represents the ZTEST function. - - - - - Represents the ABSREF function. - - - - - Represents the ACTIVECELL function. - - - - - Represents the ADDBAR function. - - - - - Represents the ADDCOMMAND function. - - - - - Represents the ADDMENU function. - - - - - Represents the ADDTOOLBAR function. - - - - - Represents the APPTITLE function. - - - - - Represents the ARGUMENT function. - - - - - Represents the ASC function. - - - - - Represents the CALL function. - - - - - Represents the CALLER function. - - - - - Represents the CANCELKEY function. - - - - - Represents the CHECKCOMMAND function. - - - - - Represents the CREATEOBJECT function. - - - - - Represents the CUSTOMREPEAT function. - - - - - Represents the CUSTOMUNDO function. - - - - - Represents the DATEDIF function. - - - - - Represents the DATESTRING function. - - - - - Represents the DBCS function. - - - - - Represents the DELETEBAR function. - - - - - Represents the DELETECOMMAND function. - - - - - Represents the DELETEMENU function. - - - - - Represents the DELETETOOLBAR function. - - - - - Represents the DEREF function. - - - - - Represents the DGET function. - - - - - Represents the DIALOGBOX function. - - - - - Represents the DIRECTORY function. - - - - - Represents the DOCUMENTS function. - - - - - Represents the ECHO function. - - - - - Represents the ENABLECOMMAND function. - - - - - Represents the ENABLETOOL function. - - - - - Represents the EVALUATE function. - - - - - Represents the EXEC function. - - - - - Represents the EXECUTE function. - - - - - Represents the FILES function. - - - - - Represents the FOPEN function. - - - - - Represents the FORMULACONVERT function. - - - - - Represents the FPOS function. - - - - - Represents the FREAD function. - - - - - Represents the FREADLN function. - - - - - Represents the FSIZE function. - - - - - Represents the FWRITE function. - - - - - Represents the FWRITELN function. - - - - - Represents the FCLOSE function. - - - - - Represents the GETBAR function. - - - - - Represents the GETCELL function. - - - - - Represents the GETCHARTITEM function. - - - - - Represents the GETDEF function. - - - - - Represents the GETDOCUMENT function. - - - - - Represents the GETFORMULA function. - - - - - Represents the GETLINKINFO function. - - - - - Represents the GETMOVIE function. - - - - - Represents the GETNAME function. - - - - - Represents the GETNOTE function. - - - - - Represents the GETOBJECT function. - - - - - Represents the GETPIVOTFIELD function. - - - - - Represents the GETPIVOTITEM function. - - - - - Represents the GETPIVOTTABLE function. - - - - - Represents the GETTOOL function. - - - - - Represents the GETTOOLBAR function. - - - - - Represents the GETWINDOW function. - - - - - Represents the GETWORKBOOK function. - - - - - Represents the GETWORKSPACE function. - - - - - Represents the GOTO function. - - - - - Represents the GROUP function. - - - - - Represents the HALT function. - - - - - Represents the HELP function. - - - - - Represents the INITIATE function. - - - - - Represents the INPUT function. - - - - - Represents the LASTERROR function. - - - - - Represents the LINKS function. - - - - - Represents the MOVIECOMMAND function. - - - - - Represents the NAMES function. - - - - - Represents the NOTE function. - - - - - Represents the NUMBERSTRING function. - - - - - Represents the OPENDIALOG function. - - - - - Represents the OPTIONSLISTSGET function. - - - - - Represents the PAUSE function. - - - - - Represents the PIVOTADDDATA function. - - - - - Represents the POKE function. - - - - - Represents the PRESSTOOL function. - - - - - Represents the REFTEXT function. - - - - - Represents the REGISTER function. - - - - - Represents the REGISTERID function. - - - - - Represents the RELREF function. - - - - - Represents the RENAMECOMMAND function. - - - - - Represents the REPT function. - - - - - Represents the REQUEST function. - - - - - Represents the RESETTOOLBAR function. - - - - - Represents the RESTART function. - - - - - Represents the RESULT function. - - - - - Represents the RESUME function. - - - - - Represents the SAVEDIALOG function. - - - - - Represents the SAVETOOLBAR function. - - - - - Represents the SCENARIOGET function. - - - - - Represents the SELECTION function. - - - - - Represents the SERIES function. - - - - - Represents the SETNAME function. - - - - - Represents the SETVALUE function. - - - - - Represents the SHOWBAR function. - - - - - Represents the SPELLINGCHECK function. - - - - - Represents the STEP function. - - - - - Represents the TERMINATE function. - - - - - Represents the TEXTBOX function. - - - - - Represents the TEXTREF function. - - - - - Represents the UNREGISTER function. - - - - - Represents the USDOLLAR function. - - - - - Represents the VOLATIL function. - - - - - Represents the WINDOWS function. - - - - - Represents the WINDOWTITLE function. - - - - - Defines the view setting of the sheet. - - - - - Normal view - - - - - Page break preview - - - - - Page Layout View - - - - - Specifies the known officechart colors. - - - - - Indicates the black color. - - - - - Indicates the white color. - - - - - Indicates the red color. - - - - - Indicates the lightgreen color. - - - - - Indicates the blue color. - - - - - Indicates the yellow color. - - - - - Indicates the magenta color. - - - - - Indicates the cyan color. - - - - - No color. - - - - - Indicates the Aqua color. - - - - - Indicates the BlackCustom color. - - - - - Indicates the BlueCustom color. - - - - - Indicates the Blue_grey color. - - - - - Indicates the Bright_green color. - - - - - Indicates the Brown color. - - - - - Indicates the Dark_blue color. - - - - - Indicates the Dark_green color. - - - - - Indicates the Dark_red color. - - - - - Indicates the Dark_teal color. - - - - - Indicates the Dark_yellow color. - - - - - Indicates the Gold color. - - - - - Indicates the Green color. - - - - - Indicates the Grey_25_percent color. - - - - - Indicates the Grey_40_percent color. - - - - - Indicates the Grey_50_percent color. - - - - - Indicates the Grey_80_percent color. - - - - - Indicates the Indigo color. - - - - - Indicates the Lavender color. - - - - - Indicates the Light_blue color. - - - - - Indicates the Light_green color. - - - - - Indicates the Light_orange color. - - - - - Indicates the Light_turquoise color. - - - - - Indicates the Light_yellow color. - - - - - Indicates the Lime color. - - - - - Indicates the Olive_green color. - - - - - Indicates the Orange color. - - - - - Indicates the Pale_blue color. - - - - - Indicates the Pink color. - - - - - Indicates the Plum color. - - - - - Indicates the Red2 color. - - - - - Indicates the Rose color. - - - - - Indicates the Sea_green color. - - - - - Indicates the Sky_blue color. - - - - - Indicates the Tan color. - - - - - Indicates the Teal color. - - - - - Indicates the Turquoise color. - - - - - Indicates the Violet color. - - - - - Indicates the WhiteCustom color. - - - - - Indicates the YellowCustom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Indicates the Custom color. - - - - - Enumeration of Group types in Excel. - - - - - Represents the grouping by rows option. - - - - - Represents the grouping by columns option. - - - - - Specifies the fill pattern used in a chart. - - - - - Indicates no pattern. - - - - - Indicates the Solid pattern. - - - - - Indicates 50% of the foreground color. - - - - - Indicates 70% of the foreground color. - - - - - Indicates 25% of the foreground color. - - - - - Indicates thick horizontal lines in the foreground color. - - - - - Indicates thick vertical lines in the foreground color. - - - - - Indicates thick lines in the foreground color running from the top to the right-hand side of the chart. - - - - - Indicates thick lines in the foreground color running from the top to the left-hand side of the chart. - - - - - Indicates the ForwardDiagonal pattern. - - - - - Indicates 75% of the foreground color. - - - - - Indicates the Horizontal pattern. - - - - - Indicates the Vertical pattern. - - - - - Indicates thin lines in the foreground color running from the top to the right-hand side of the chart. - - - - - Indicates thin lines in the foreground color running from the top to the left-hand side of the chart. - - - - - Indicates the Angle pattern. - - - - - Indicates 60% of the foreground color. - - - - - Indicates 10% of the foreground color. - - - - - Indicates 5% of the foreground color. - - - - - Indicates the Percent50Gray pattern. - - - - - Indicates the Percent75Gray pattern. - - - - - Indicates the Percent25Gray pattern. - - - - - Indicates the HorizontalStripe pattern. - - - - - Indicates the VerticalStripe pattern. - - - - - Indicates the ReverseDiagonalStripe pattern. - - - - - Indicates the DiagonalStripe pattern. - - - - - Indicates the DiagonalCrosshatch pattern. - - - - - Indicates the ThickDiagonalCrosshatch pattern. - - - - - Indicates the ThinHorizontalStripe pattern. - - - - - Indicates the ThinVerticalStripe pattern. - - - - - Indicates the ThinReverseDeagonalStripe pattern. - - - - - Indicates the ThinDiagonalStripe pattern. - - - - - Indicates the ThinHorizontalCrosshatch pattern. - - - - - Indicates the ThinDiagonalCrosshatch pattern. - - - - - Indicates the Percent125Gray pattern. - - - - - Indicates the Percent625Gray pattern. - - - - - Indicates gradient pattern. - - - - - This enumeration used for controlling output stream infill on - save operation provided by Workbook. - - - - - Do not skip any information from source file. - - - - - Skip macros extension records in output stream. - - - - - Skip drawings extension records in output stream. - - - - - Skip summary information substreams creation. - - - - - Skip coping of substreams from source to destination files. - - - - - Skip all extended records. - - - - - Enumeration which controls visibility of worksheet in Excel. - - - - - Worksheet is visible to the user. - - - - - Worksheet is hidden for the user. - - - - - The strong hidden flag can only be set and cleared with a Visual Basic - macro. It is not possible to make such a sheet visible via the user interface. - - - - - Enumeration of the Save types in Excel. - - - - - Represents the save as xls option. - - - - - Represents the save as template option. - - - - - Specifies the chart type. - - - - - Indicates the Column_Clustered chart type. - - - - - Indicates the Column_Stacked chart type. - - - - - Indicates the Column_Stacked_100 chart type. - - - - - Indicates the Column_Clustered_3D chart type. - - - - - Indicates the Column_Stacked_3D chart type. - - - - - Indicates the Column_Stacked_100_3D chart type. - - - - - Indicates the Column_3D chart type. - - - - - Indicates the Bar_Clustered chart type. - - - - - Indicates the Bar_Stacked chart type. - - - - - Indicates the Bar_Stacked_100 chart type. - - - - - Indicates the Bar_Clustered_3D chart type. - - - - - Indicates the Bar_Stacked_3D chart type. - - - - - Indicates the Bar_Stacked_100_3D chart type. - - - - - Indicates the Line chart type. - - - - - Indicates the Line_Stacked chart type. - - - - - Indicates the Line_Stacked_100 chart type. - - - - - Indicates the Line_Markers chart type. - - - - - Indicates the Line_Markers_Stacked chart type. - - - - - Indicates the Line_Markers_Stacked_100 chart type. - - - - - Indicates the Line_3D chart type. - - - - - Indicates the Pie chart type. - - - - - Indicates the Pie_3D chart type. - - - - - Indicates the PieOfPie chart type. - - - - - Indicates the Pie_Exploded chart type. - - - - - Indicates the Pie_Exploded_3D chart type. - - - - - Indicates the Pie_Bar chart type. - - - - - Indicates the Scatter_Markers chart type. - - - - - Indicates the Scatter_SmoothedLine_Markers chart type. - - - - - Indicates the Scatter_SmoothedLine chart type. - - - - - Indicates the Scatter_Line_Markers chart type. - - - - - Indicates the Scatter_Line chart type. - - - - - Indicates the Area chart type. - - - - - Indicates the Area_Stacked chart type. - - - - - Indicates the Area_Stacked_100 chart type. - - - - - Indicates the Area_3D chart type. - - - - - Indicates the Area_Stacked_3D chart type. - - - - - Indicates the Area_Stacked_100_3D chart type. - - - - - Indicates the Doughnut chart type. - - - - - Indicates the Doughnut_Exploded chart type. - - - - - Indicates the Radar chart type. - - - - - Indicates the Radar_Markers chart type. - - - - - Indicates the Radar_Filled chart type. - - - - - Indicates the Surface_3D chart type. - - - - - Indicates the Surface_NoColor_3D chart type. - - - - - Indicates the Surface_Contour chart type. - - - - - Indicates the Surface_NoColor_Contour chart type. - - - - - Indicates the Bubble chart type. - - - - - Indicates the Bubble_3D chart type. - - - - - Indicates the Stock_HighLowClose chart type. - - - - - Indicates the Stock_OpenHighLowClose chart type. - - - - - Indicates the Stock_VolumeHighLowClose chart type. - - - - - Indicates the Stock_VolumeOpenHighLowClose chart type. - - - - - Indicates the Cylinder_Clustered chart type. - - - - - Indicates the Cylinder_Stacked chart type. - - - - - Indicates the Cylinder_Stacked_100 chart type. - - - - - Indicates the Cylinder_Bar_Clustered chart type. - - - - - Indicates the Cylinder_Bar_Stacked chart type. - - - - - Indicates the Cylinder_Bar_Stacked_100 chart type. - - - - - Indicates the Cylinder_Clustered_3D chart type. - - - - - Indicates the Cone_Clustered chart type. - - - - - Indicates the Cone_Stacked chart type. - - - - - Indicates the Cone_Stacked_100 chart type. - - - - - Indicates the Cone_Bar_Clustered chart type. - - - - - Indicates the Cone_Bar_Stacked chart type. - - - - - Indicates the Cone_Bar_Stacked_100 chart type. - - - - - Indicates the Cone_Clustered_3D chart type. - - - - - Indicates the Pyramid_Clustered chart type. - - - - - Indicates the Pyramid_Stacked chart type. - - - - - Indicates the Pyramid_Stacked_100 chart type. - - - - - Indicates the Pyramid_Bar_Clustered chart type. - - - - - Indicates the Pyramid_Bar_Stacked chart type. - - - - - Indicates the Pyramid_Bar_Stacked_100 chart type. - - - - - Indicates the Pyramid_Clustered_3D chart type. - - - - - Indicates the chart that contain different Series types. - - - - - Specifies the position of the legend on a chart. - - - - - Indicates legend position below the chart. - - - - - Indicates legend position in the upper right-hand corner of the chart border. - - - - - Indicates legent position above the chart. - - - - - Indicates legend position right of the chart. - - - - - Indicates legend position left of the chart. - - - - - Indicates the Not Docked option. - - - - - Enumeration of the print size of charts in Excel. - - - - - Represents the Custom option. - - - - - Represents the ScaleToFit page option. - - - - - Represents the Use Full Page option. - - - - - Specifies how blank cells are plotted on a chart. - - - - - Indicates blank cells are not plotted. - - - - - Indicates blanks are plotted as zero. - - - - - Indicates values are interpolated into the chart. - - - - - Specifies the background type in charts. - - - - - Indicates the Transparent option. - - - - - Indicates the Opaque option. - - - - - Enumeration of the horizontal alignment options for Charts in chart. - - - - - Represents the Left alignment option for the horizontal alignment setting for Chart. - - - - - Represents the Center alignment option for the horizontal alignment setting for Chart. - - - - - Represents the Right alignment option for the horizontal alignment setting for Chart. - - - - - Represents the Justify alignment option for the horizontal alignment setting for Chart. - - - - - Enumeration of the vertical alignment options for Charts in chart. - - - - - Represents the Top alignment option for the Vertical alignment setting for Chart. - - - - - Represents the Center alignment option for the Vertical alignment setting for Chart. - - - - - Represents the Bottom alignment option for the Vertical alignment setting for Chart. - - - - - Represents the Justify alignment option for the Vertical alignment setting for Chart. - - - - - Specifies a line style for chart. - - - - - Indicates a solid line for Chart. - - - - - Indicates a dashed line for Chart. - - - - - Indicates a line with a repeating dot pattern for Chart. - - - - - Indicates a line with a repeating dash-dot pattern for Chart. - - - - - Indicates a line a repeating dash-dot-dot pattern for Chart. - - - - - Indicates the line style is not set for chart. - - - - - Indicates the Dark Gray line pattern for Chart.This is only for Binary file format. - - - - - Indicates the Medium Gray line pattern for Chart.This is only for Binary file format. - - - - - Indicates the Light Gray line pattern for Chart.This is only for Binary file format. - - - - - Indicates the rounded dot line pattern for chart. - - - - - Specifies the weight of the border around a range. - - - - - Indicates the Hairline weight for Chart line. - - - - - Indicates the Narrow weight for Chart line. - - - - - Indicates the Medium weight for Chart line. - - - - - Indicates the Wide weight for Chart line. - - - - - Specifies the marker type for a point or series in a line chart, scatter chart, or radar chart. - - - - - Indicates no markers. - - - - - Indicates the square style in the custom marker option for Chart lines. - - - - - Indicates the diamond style in the custom marker option for Chart lines. - - - - - Indicates the Triangle style in the custom marker option for Chart lines. - - - - - Indicates the X style in the custom marker option for Chart lines. - - - - - Indicates the Star style in the custom marker option for Chart lines. - - - - - Indicates the Dow Jones style in the custom marker option for Chart lines. - - - - - Indicates the Standard Deviation style in the custom marker option for Chart lines. - - - - - Indicates the Circle style in the custom marker option for Chart lines. - - - - - Indicates the Plus style in the custom marker option for Chart lines. - - - - - Specifies the axis type. - - - - - Indicates axis displays the Category (X) Axis. - - - - - Indicates axis displays the Value (Y) Axis. - - - - - Indicates axis displays data serie - - - - - Enumeration of the insert options in Excel. - - - - - Indicates that after insert operation inserted rows/columns - must be formatted as row above or column left. - - - - - Indicates that after insert operation inserted rows/columns - must be formatted as row below or column right. - - - - - Indicates that after insert operation inserted rows/columns - must have default format. - - - - - Enumeration of the type of conditional formatting in Excel. - - - - - Represents the Cell Value Is option for conditional formatting. - - - - - Represents the Formula Is option for conditional formatting. - - - - - Represents the ColorScale option for conditional formatting. - - - - - Represents the DataBar option for conditional formatting. - - - - - Represents the IconSet option for conditional formatting. - - - - - Represents conditional formatting rule highlights cells that are completely blank - - - - - Represents conditional formatting rule highlights cells that are not blank - - - - - Represents the Specific Text conditional formatting rule based on the text - - - - - Represents conditional formatting rule highlights cells that conatins errors - - - - - Represents conditional formatting rule highlights cells that does not conatins errors - - - - - Represents Time Perdiod conditional formatting rule highlights cells that has date time - - - - - Enumeration of the Comparison operator for conditional formatting in Excel. - - - - - Represents no option for comparison in conditional formatting. - - - - - Represents between option for comparison in conditional formatting. - - - - - Represents not between option for comparison in conditional formatting. - - - - - Represents equal to option for comparison in conditional formatting. - - - - - Represents not equal to option for comparison in conditional formatting. - - - - - Represents greater than option for comparison in conditional formatting. - - - - - Represents less than option for comparison in conditional formatting. - - - - - Represents greater than or equal to option for comparison in conditional formatting. - - - - - Represents less than or equal to option for comparison in conditional formatting. - - - - - Represents the begins with operation for Specific Text conditional formatting. - - - - - Represents the contains text operation for Specific Text conditional formatting. - - - - - Represents the ends with operation for Specific Text conditional formatting. - - - - - Represents the not contains text operation for Specific Text conditional formatting. - - - - - Enumeration of the time periods for date time conditional formatting in Excel. - - - - - Represents today's time period type - - - - - Represents yesterday's time period type - - - - - Represents tomorrow's time period type - - - - - Represents last seven days time period type - - - - - Represents this month time period type - - - - - Represents last month time period type - - - - - Represents next month period type - - - - - Represents this week period type - - - - - Represents last week time period type - - - - - Represents next week time period type - - - - - Enumeration of the Comparison operator for conditional formatting in Excel. - - - - - Represents between option for comparison in conditional formatting. - - - - - Represents not between option for comparison in conditional formatting. - - - - - Represents equal to option for comparison in conditional formatting. - - - - - Represents not equal to option for comparison in conditional formatting. - - - - - Represents greater than option for comparison in conditional formatting. - - - - - Represents less than option for comparison in conditional formatting. - - - - - Represents greater than or equal to option for comparison in conditional formatting. - - - - - Represents less than or equal to option for comparison in conditional formatting. - - - - - Possible data types: - - - - - Represents the Any data type. - - - - - Represents the Integer data type. - - - - - Represents the Decimal data type. - - - - - Represents the User data type. - - - - - Represents the Date data type. - - - - - Represents the Time data type. - - - - - Represents the TextLength data type. - - - - - Represents the Formula data type. - - - - - Possible error style values: - - - - - Represents the Stop error style. - - - - - Represents the Warning error style. - - - - - Represents the Info error style. - - - - - Enumeration of possible directions to shift cells after clearing a range. - - - - - Represents the MoveLeft move direction. - - - - - Represents the MoveUp move direction. - - - - - Represents the None move direction. - - - - - Enumeration of shapes available in Excel. - - - - - Represents the AutoShape shape type. - - - - - Represents the Callout shape type. - - - - - Represents the Canvas shape type. - - - - - Represents the Chart shape type. - - - - - Represents the Comment shape type. - - - - - Represents the Diagram shape type. - - - - - Represents the EmbeddedOLEObject shape type. - - - - - Represents the FormControl shape type. - - - - - Represents the Freeform shape type. - - - - - Represents the GroupShape type. - - - - - Represents the Line shape type. - - - - - Represents the LinkedOLEObject shape type. - - - - - Represents the LinkedPicture shape type. - - - - - Cannot be used with this property. This constant is used with shapes - in other Microsoft Office applications. - - - - - Represents the OLEControlObject shape type. - - - - - Represents the Picture shape type. - - - - - Cannot be used with this property. This constant is used with shapes - in other Microsoft Office applications. - - - - - Represents the ScriptAnchor shape type. - - - - - Represents the ShapeTypeMixed shape type. - - - - - Represents the Table shape type. - - - - - Represents the TextBox shape type. - - - - - Represents the TextEffect shape type. - - - - - Represents the Unknown shape type. - - - - - Enumeration to specify the possible Text Rotation options. - - - - - Represents the LeftToRight text rotation. - - - - - Represents the TopToBottom text rotation. - - - - - Represents the CounterClockwise text rotation. - - - - - Represents the Clockwise text rotation. - - - - - Enumeration to align the excel comment Horizontally. - - - - - Represents the Left comment align. - - - - - Represents the Center comment align. - - - - - Represents the Right comment align. - - - - - Represents the Justified comment align. - - - - - Represents the Justified comment align. - - - - - Represents the Distributed comment align. - - - - - Enumeration to align the excel comment vertically - - - - - Represents the Top comment align. - - - - - Represents the Center comment align. - - - - - Represents the Bottom comment align. - - - - - Represents the Justified comment align. - - - - - Represents the Distributed comment align. - - - - - Enumeration to specify if the spreadsheet should be opened inside browser or saved - as an attachment to disk. - - - - - File should be opened in browser. - - - - - Prompt dialog should be displayed. - - - - - HttpContent type. - - - - - Represents the Excel97 HttpContent type. - - - - - Represents the Excel2000 HttpContent type. - - - - - Represents the Excel2007 HttpContent type. - - - - - Represents the Excel2010 HttpContent type. - - - - - Represents the Excel2013 HttpContent type. - - - - - Represents the CSV HttpContent type. - - - - - Enumeration to specify the style merge options. - - - - - Represents the Leave style merge option. - - - - - Represents the Replace style merge option. - - - - - Represents the CreateDiffName style merge option. - - - - - Enumeration to specify Names Merge options. - - - - - Represents the Leave names merge option. - - - - - Represents the Replace names merge option. - - - - - Represents the Rename names merge option. - - - - - Represents the MakeLocal names merge option. - - - - - Enumeration to specify options when copying worksheets. - - - - - No flags. - - - - - Represents the ClearBefore copy flags. - - - - - Represents the CopyNames copy flags. - - - - - Represents the CopyCells copy flags. - - - - - Represents the CopyRowHeight copy flags. - - - - - Represents the CopyColumnHeight copy flags. - - - - - Represents the CopyOptions copy flags. - - - - - Represents the CopyMerges copy flags. - - - - - Represents the CopyShapes copy flags. - - - - - Represents the CopyConditionlFormats copy flags. - - - - - Represents the CopyAutoFilters copy flags. - - - - - Represents the CopyDataValidations copy flags. - - - - - Copy page setup (page breaks, paper orientation, header, footer and other properties). - - - - - Copy table objects. - - - - - Copy pivot table objects. - - - - - Copies palette. - - - - - Represents the CopyAll copy flags, except palette. - - - - - Represents the CopyWithoutNames copy flags. - - - - - Enumeration to specify the options to update formulas and merged ranges during copy range - operation. - - - - - No flags. - - - - - Indicates whether update formula during copy. WARNING: you should always - specify this flag if your operations could change position of Array formula. - - - - - Indicates whether update merges during copy. - - - - - Indicates that we have to copy styles during range copy. - - - - - Indicates that we have to copy shapes during range copy. - - - - - Indicates that we have to copy error indicators during range copy. - - - - - Indicates that we have to copy conditional formats during range copy. - - - - - Indicates that we have to copy data validations during range copy. - - - - - All flags. - - - - - Enumeration to specify the options of excel formula - - - - - No flags. - - - - - Represents the RootLevel formula parse option. - - - - - Represents the InArray formula parse option. - - - - - Represents the InName formula parse option. - - - - - Operand in function. - - - - - Operand is complex. - - - - - Indicates that R1C1 notation must be used. - - - - - Data type for autofilters. - - - - - Represents the filter data type. - - - - - Represents the FloatingPoint filter data type. - - - - - Represents the String filter data type. - - - - - Represents the Boolean filter data type. - - - - - Represents the ErrorCode filter data type. - - - - - Represents the MatchAllBlanks filter data type. - - - - - Represents the MatchAllNonBlanks filter data type. - - - - - Possible conditions in autofilter. - - - - - Represents the Less filter condition type. - - - - - Represents the Equal filter condition type. - - - - - Represents the LessOrEqual filter condition type. - - - - - Represents the Greater filter condition type. - - - - - Represents the NotEqual filter condition type. - - - - - Represents the GreaterOrEqual filter condition type. - - - - - Parsing options. - - - - - Represents the Default parse option. - - - - - Represents the SkipStyles parse option - - - - - Represents the DoNotParseCharts parse option - - - - - This is special mode. In this mode user can't modify strings or add new strings - (numbers and other types are ok), but it gives more speed and less memory usage. - - - - - Preserves the Pivot table. - - - - - Parses the sheet when accessed. - - - - - ExportDataTable options. - - - - - No datatable exports flags. - - - - - Represents the ColumnNames datatable export flag. - - - - - Represents the ComputedFormulaValues datatable export flag. - - - - - Indicates that XlsIO should try to detect column types. - - - - - When DetectColumnTypes is set and this flag is set too, it means that - default column style must be used to detect style, if this flag is not set, - but DetectColumnTypes is set, then first cell in the column will be used - to detect column type. - - - - - Indicates whether to preserve Ole date (double numbers) instead of date-time values. - - - - - Specifies the chart rectangle style, used in chart frames. - - - - - Indicates the Regular rectangle style. - - - - - Indicates the Shadowed rectangle style. - - - - - Possible types of hyperlinks. - - - - - No hyperlink. - - - - - Represents the Url hyperlink type. - - - - - Represents the File hyperlink type. - - - - - Represents the Unc hyperlink type. - - - - - Represents the Workbook hyperlink type. - - - - - Possible types of param, specified as string, number in FindFirst, FindAll methods. - - - - - Represents the Text Finding type. - - - - - Represents the Formula Finding type. - - - - - Represents the FormulaStringValue Finding type. - - - - - Represents the Error Finding type. - - - - - Represents the Number Finding type. - - - - - Represents the FormulaValue Finding type. - - - - - Possible type of finding options - - - - - Represents none of the option is selected. - - - - - Represents to match the case while finding the value. - - - - - Represents to match the whole search word while finding the value. - - - - - Possible types of direction order. - - - - - Represents the Context reading order type. - - - - - Represents the LeftToRight reading order type. - - - - - Represents the RightToLeft reading order type. - - - - - Possible image formats. - - - - - Try to keep original picture format. - - - - - Use PNG picture format. - - - - - Use JPG picture format. - - - - - Represents the MeasureUnits types. - - - - - Specifies 1/75 inch as the unit of measure. - - - - - Specifies the document unit (1/300 inch) as the unit of measure. - - - - - Specifies the inch as the unit of measure. - - - - - Specifies the millimeter as the unit of measure. - - - - - Specifies the centimeter as the unit of measure. - - - - - Specifies a device pixel as the unit of measure. - - - - - Specifies a printer's point (1/72 inch) as the unit of measure. - - - - - 12700 emu's = 1 point. - - - - - Specifies the chart bubble size. - - - - - Indicates area of the bubble. - - - - - Indicates width of the bubble. - - - - - Specifies the limit values of pie chart. - - - - - Indicates the Normal type. - - - - - Indicates the Pie type. - - - - - Indicates the Bar type. - - - - - Specifies the values displayed in the second chart. - - - - - Indicates the second chart displays the smallest values in the data series. The number of values to display is specified by the SplitValue property. - - - - - Indicates the second chart displays values less than the value specified by the SplitValue property. - - - - - Indicates second chart displays values less than some percentage of the total value. The percentage is specified by the SplitValue property. - - - - - Indicates the arbitrary slides are displayed in the second chart. - - - - - Represents the drop line style type. - - - - - Represents the Drop line style. - - - - - Represents the HiLow drop line style. - - - - - Represents the Series drop line style. - - - - - Represents the legend spacing options. - - - - - Represents the Close ExcelLegendSpacing option. - - - - - Represents the Medium ExcelLegendSpacing option. - - - - - Represents the Open ExcelLegendSpacing option. - - - - - Specifies base format options. - - - - - Indicates Rectangle base format. - - - - - Indicates Circle base format. - - - - - Specifies Top format options. - - - - - Indicates Straight top format. - - - - - Indicates Sharp top format. - - - - - Indicates Trunc top format. - - - - - Object text is linked to. - - - - - Represents the Chart object text type. - - - - - Represents the YAxis object text type. - - - - - Represents the XAxis object text type. - - - - - Represents the DataLabel object text type. - - - - - Represents the ZAxis object text type. - - - - - Represents the DisplayUnit object text type. - - - - - Enumeration which represents axis line identifier. - - - - - The axis line itself. - - - - - Major grid line along the axis. - - - - - Minor grid line along the axis. - - - - - Walls or floor -- walls if parent axis is type 0 or 2; - floor if parent axis is type 1. - - - - - Possible format types. - - - - - Represents unknown format type. - - - - - Represents general number format. - - - - - Represents text number format. - - - - - Represents number number format. - - - - - Represents datetime number format. - - - - - Represents percentage number format. - - - - - Represents currency number format. - - - - - Represents decimal percentage number format. - - - - - Represents Exponential number format. - - - - - Indicates what property will be used for export. - - - - - Represents Boolean property. - - - - - Represents Number property. - - - - - Represents Text property. - - - - - Represents DateTime property. - - - - - Represents TimeSpan property. - - - - - Represents Error property. - - - - - Represents Formula. - - - - - Supported Xml save types. - - - - - Xml format used by MS Excel. - - - - - Xml format used by Syncfusion.DLS. This format is used to export - into Syncfusion.Pdf and Syncfusion.DocIO. - - - - - Enumeration of possible directions to clear the Cell formats, content, comments or clear all of them. - - - - - Clears the formats of the cell. - - - - - Clears the contents of the cell. - - - - - Clears the comments of the cell. - - - - - Clears the comments, content and formats of the cell. - - - - - Clears all the Conditional Format - - - - - Clears all data validations - - - - - Supported Xml open types. - - - - - Xml format used by MS Excel. - - - - - Specifies the style for a line. - - - - - Indicates single line style. - - - - - Indicates thin thin line style. - - - - - Indicates thin thick line style. - - - - - Indicates thick thin line style. - - - - - Indicates thick between thin line style. - - - - - Specifies the dash style for a line. - - - - - Indicates the line is solid. - - - - - Indicates the line is dotted. - - - - - Indicates the line is made up of round dots. - - - - - Indicates the line consists of dashes only. - - - - - Indicates the line is Medium_dashed style. - - - - - Indicates the line is a dash-dot pattern. - - - - - Indicates the line is Medium_Dash_Dot style. - - - - - Indicates the line is a dash-dot-dot pattern. - - - - - Specifies the style of the arrowhead at the end of a line. - - - - - Indicates the line has no arrowhead. - - - - - Indicates the arrow style is triangular. - - - - - Indicates the arrow style is stealth. - - - - - Indicates the arrow style is diamond. - - - - - Indicates the arrow style is oval. - - - - - Indicates the arrow style is open. - - - - - Specifies the length of the arrowhead at the end of a line. - - - - - Indicates short arrow head length. - - - - - Indicates short arrow head length. - - - - - Indicates short arrow head length. - - - - - Specifies the width of the arrowhead at the end of a line. - - - - - Indicates the arrow head is narrow. - - - - - Indicates the arrow head is medium. - - - - - Specifies the arrow head is wide. - - - - - Specifies a shape's fill type. - - - - - Indicates Solid color. - - - - - Indicates pattern type. - - - - - Indicates texture type. - - - - - Indicates picture type. - - - - - Indicates unsupport gradient that can be created using Excel 2007, - but not supported correctly by Excel 2003 structures. - - - - - Indicates gradient type. - - - - - Specifies the style for a gradient fill. - - - - - Indicates gradient running horizontally across the chart. - - - - - Indicates gradient running vertically down the chart. - - - - - Indicates diagonal gradient moving from a bottom corner up to the opposite corner. - - - - - Indicates diagonal gradient moving from a top corner down to the opposite corner. - - - - - Indicates gradient running from a corner to the other three corners. - - - - - Indicates gradient running from the center out to the corners. - - - - - Indicates diagonal gradient moving from a bottom corner up to the opposite corner. - - - - - Indicates diagonal gradient moving from a top corner down to the opposite corner. - - - - - Indicates gradient running from a corner to the other three corners. - - - - - Indicates gradient running from the center out to the corners. - - - - - Specifies shape shading variants. - - - - - Indicates first shading variants. - - - - - Indicates second shading variants. - - - - - Indicates third shading variants. - - - - - Indicates fourth shading variants. - - - - - Specifies the type of gradient used in a chart's fill. - - - - - Indicates one color gradient style. - - - - - Indicates two color gradient style. - - - - - Indicates preset gradient style. - - - - - Specifies texture to be used to fill an object. - - - - - Indicates Newsprint texture type. - - - - - Indicates Recycled Paper texture type. - - - - - Indicates Parchment texture type. - - - - - Indicates Stationery texture type. - - - - - Indicates Green Marble texture type. - - - - - Indicates White Marble texture type. - - - - - Indicates Brown Marble texture type. - - - - - Indicates Granite texture type. - - - - - Indicates Blue Tissue Paper texture type. - - - - - Indicates Pink Tissue Paper texture type. - - - - - Indicates Purple Mesh texture type. - - - - - Indicates Bouquet texture type. - - - - - Indicates Papyrus texture type. - - - - - Indicates Canvas texture type. - - - - - Indicates Denim texture type. - - - - - Indicates Woven Mat texture type. - - - - - Indicates Water Droplets texture type. - - - - - Indicates Paper Bag texture type. - - - - - Indicates Fish Fossil texture type. - - - - - Indicates Sand texture type. - - - - - Indicates Cork texture type. - - - - - Indicates Walnut texture type. - - - - - Indicates Oak texture type. - - - - - Indicates Medium Wood texture type. - - - - - Indicates user defined texture type. - - - - - Specifies gradient pattern. - - - - - Indicates 5% gradient pattern - - - - - Indicates 10% gradient pattern - - - - - Indicates 20% gradient pattern - - - - - Indicates 25% gradient pattern - - - - - Indicates 30% gradient pattern - - - - - Indicates 40% gradient pattern - - - - - Indicates 50% gradient pattern - - - - - Indicates 60% gradient pattern - - - - - Indicates 70% gradient pattern - - - - - Indicates 75% gradient pattern - - - - - Indicates 80% gradient pattern - - - - - Indicates 90% gradient pattern - - - - - Indicates Dark Downward Diagonal gradient pattern - - - - - Indicates Dark Horizontal gradient pattern - - - - - Indicates Dark Upward Diagonal gradient pattern - - - - - Indicates Dark Vertical gradient pattern - - - - - Indicates Dashed Downward Diagonal gradient pattern - - - - - Indicates Dashed Horizontal gradient pattern - - - - - Indicates Dashed Upward Diagonal gradient pattern - - - - - Indicates Dashed Vertical gradient pattern - - - - - Indicates Diagonal Brick gradient pattern - - - - - Indicates Divot gradient pattern - - - - - Indicates Dotted Diamond gradient pattern - - - - - Indicates Dotted Grid gradient pattern - - - - - Indicates Horizontal Brick gradient pattern - - - - - Indicates Large Checker Board gradient pattern - - - - - Indicates Large Confetti gradient pattern - - - - - Indicates Large Grid gradient pattern - - - - - Indicates Light Downward Diagonal gradient pattern - - - - - Indicates Light Horizontal gradient pattern - - - - - Indicates Light Upward Diagonal gradient pattern - - - - - Indicates Light Vertical gradient pattern - - - - - Indicates Mixed gradient pattern - - - - - Indicates Narrow Horizontal gradient pattern - - - - - Indicates Narrow Vertical gradient pattern - - - - - Indicates Outlined Diamond gradient pattern - - - - - Indicates Plaid gradient pattern - - - - - Indicates Shingle gradient pattern - - - - - Indicates Small Checker Board gradient pattern - - - - - Indicates Small Confetti gradient pattern - - - - - Indicates Small Grid gradient pattern - - - - - Indicates Solid Diamond gradient pattern - - - - - Indicates Sphere gradient pattern - - - - - Indicates Trellis gradient pattern - - - - - Indicates Wave gradient pattern - - - - - Indicates Weave gradient pattern - - - - - Indicates Wide Downward Diagonal gradient pattern - - - - - Indicates Wide Upward Diagonal gradient pattern - - - - - Indicates Zig Zag gradient pattern - - - - - Specifies which predefined gradient to use to fill a shape. - - - - - Indicates early sunset preset gradient type. - - - - - Indicates late sunset preset gradient type. - - - - - Indicates nightfall preset gradient type. - - - - - Indicates daybreak preset gradient type. - - - - - Indicates horizon preset gradient type. - - - - - Indicates desert preset gradient type. - - - - - Indicates ocean preset gradient type. - - - - - Indicates calm water preset gradient type. - - - - - Indicates fire preset gradient type. - - - - - Indicates fog preset gradient type. - - - - - Indicates moss preset gradient type. - - - - - Indicates peacock preset gradient type. - - - - - Indicates wheat preset gradient type. - - - - - Indicates parchment preset gradient type. - - - - - Indicates mahogany preset gradient type. - - - - - Indicates rainbow preset gradient type. - - - - - Indicates rainbowII preset gradient type. - - - - - Indicates gold preset gradient type. - - - - - Indicates goldII preset gradient type. - - - - - Indicates brass preset gradient type. - - - - - Indicates chrome preset gradient type. - - - - - Indicates chromeII preset gradient type. - - - - - Indicates silver preset gradient type. - - - - - Indicates sapphire preset gradient type. - - - - - Specifies the position of major and minor tick marks for an axis. - - - - - Indicates No mark. - - - - - Indicates the tickmark inside the axis. - - - - - Indicates the tickmark outside the axis. - - - - - Indicates the tickmark crosses the axis. - - - - - Specifies the position of tick-mark labels on the specified axis. - - - - - Indicates no tick marks. - - - - - Indicates the tick label position at bottom or left side of the chart. - - - - - Indicates the tick label position at top or right side of the chart. - - - - - Indicates the tick label position next to axis (where axis is not at either side of the chart). - - - - - Represents auto format values. - - - - - Represents Simple auto format. - - - - - Represents Classic_1 auto format. - - - - - Represents Classic_2 auto format. - - - - - Represents Classic_3 auto format. - - - - - Represents Accounting_1 auto format. - - - - - Represents Accounting_2 auto format. - - - - - Represents Accounting_3 auto format. - - - - - Represents Accounting_4 auto format. - - - - - Represents Colorful_1 auto format. - - - - - Represents Colorful_2 auto format. - - - - - Represents Colorful_3 auto format. - - - - - Represents List_1 auto format. - - - - - Represents List_2 auto format. - - - - - Represents List_3 auto format. - - - - - Represents Effect3D_1 auto format. - - - - - Represents Effect3D_2 auto format. - - - - - Represents None auto format. - - - - - Represents auto format options. - - - - - Represents number auto format option. - - - - - Represents border auto format option. - - - - - Represents font auto format option. - - - - - Represents patterns auto format option. - - - - - Represents alignment auto format option. - - - - - Represents width\height auto format option. - - - - - Represents none auto format option. - - - - - Represents all auto format option. - - - - - Specifies the range marked by error bars. - - - - - Indicates percentage of range to be covered by the error bars. - - - - - Indicates fixed-length error bars. - - - - - Indicates range for specified number of standard deviations. - - - - - Indicates range is set by fixed values or cell values. - - - - - Indicates standard error range. - - - - - Specifies which error-bar parts to include. - - - - - Indicates both positive and negative error range. - - - - - Indicates only positive error range. - - - - - Indicates only negative error range. - - - - - Specifies how the trendline that smoothes out fluctuations in the data is calculated. - - - - - Uses an equation to calculate the least squares fit through points, for example, y=ab^x . - - - - - Uses the linear equation y = mx + b to calculate the least squares fit through points. - - - - - Uses the equation y = c ln x + b to calculate the least squares fit through points. - - - - - Uses a sequence of averages computed from parts of the data series. The number of points equals the total number of points in the series less the number specified for the period. - - - - - Uses an equation to calculate the least squares fit through points, for example, y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g. - - - - - Uses an equation to calculate the least squares fit through points, for example, y = ax^b. - - - - - Specifies the type of the category axis. - - - - - Axis groups data by an arbitrary set of categories. - - - - - Axis groups data on a time scale. - - - - - Indicates automatic category type. - - - - - Represents sheet protection flags enums. - - - - - Represents none flags. - - - - - True to protect shapes. - - - - - True to protect scenarios. - - - - - True allows the user to format any cell on a protected worksheet. - - - - - True allows the user to format any column on a protected worksheet. - - - - - True allows the user to format any row on a protected. - - - - - True allows the user to insert columns on the protected worksheet. - - - - - True allows the user to insert rows on the protected worksheet. - - - - - True allows the user to insert hyperlinks on the worksheet. - - - - - True allows the user to delete columns on the protected worksheet, - where every cell in the column to be deleted is unlocked. - - - - - True allows the user to delete rows on the protected worksheet, - where every cell in the row to be deleted is unlocked. - - - - - True to protect locked cells. - - - - - True allows the user to sort on the protected worksheet. - - - - - True allows the user to set filters on the protected worksheet. - Users can change filter criteria but can not enable or disable an auto filter. - - - - - True allows the user to use pivot table reports on the protected worksheet. - - - - - True to protect the user interface, but not macros. - - - - - True to protect content. - - - - - Represents all flags - - - - - Specifies numeric units of measurement. - - - - - Indicates no units are displayed. - - - - - Indicates units of hundreds. - - - - - Indicates units of thousands. - - - - - Indicates units of tens of thousands. - - - - - Indicates units of hundreds of thousands. - - - - - Indicates units of millions. - - - - - Indicates units of tens of millions. - - - - - Indicates units of hundreds of millions. - - - - - Indicates units of thousands of millions. - - - - - Indicates units of millions of millions. - - - - - Indicates custom units. - - - - - Specifies units of time measurement. - - - - - Indicates Day units. - - - - - Indicates Month units. - - - - - Indicates Year units. - - - - - Represents excel open type. - - - - - Represents CSV open type. If data in the file exceeds worksheet limits, excepion will be thrown. - - - - - Represents SpreadsheetML open type. - - - - - Represents BIFF open type. - - - - - Represents SpreadsheetML that is used in Excel 2007 (Office Open XML format). - - - - - Represents SpreadsheetML that is used in Excel 2010 (Office Open XML format). - - - - - Automatically indicates open type. - - - - - Specifies the position of data labels relative to the data markers. - - - - - Indicates default position. - - - - - Indicates the Outside data label placement option. - - - - - Indicates the Inside data label placement option. - - - - - Indicates the Center data label placement option. - - - - - Indicates the OutsideBase data label placement option. - - - - - Indicates data label positioned above point. - - - - - Indicates data label positioned below point. - - - - - Indicates the Left data label placement option. - - - - - Indicates the Right data label placement option. - - - - - Indicates the BestFit data label placement option. - - - - - Indicates the Moved data label placement option. - - - - - Represents flags of excel ignore error indicator. - - - - - Represents None flag of excel ignore error indicator. - - - - - Represents EvaluateToError flag of excel ignore error indicator. - - - - - Represents EmptyCellReferences flag of excel ignore error indicator. - - - - - Represents NumberAsText flag of excel ignore error indicator. - - - - - Represents OmittedCells flag of excel ignore error indicator. - - - - - Represents InconsistentFormula flag of excel ignore error indicator. - - - - - Represents TextDate flag of excel ignore error indicator. - - - - - Represents UnlockedFormulaCells flag of excel ignore error indicator. - - - - - Represents All flag of excel ignore error indicator. - - - - - Represents encryption algorithm that will be used for encryption. - - - - - No encryption. - - - - - Standard encryption. - - - - - Represents possible excel versions. - - - - - Represents excel version 97-2003. - - - - - Represents excel version 2007 - - - - - Represents excel version 2010 - - - - - Represents excel version 2013 - - - - - Defines the possible settings for vertical alignment of a run of text. - This is used to get superscript or subscript text without altering the - font size properties of the rest of the text run. - - - - - Returns the text in this run to the baseline, default, - alignment, and returns it to the original font size. - - - - - Specifies that this text should be superscript. Raises the text in this - run above the baseline and changes it to a smaller size, if a smaller - size is available. - - - - - Specifies that this text should be subscript. Lowers the text in this - run below the baseline and changes it to a smaller size, if a smaller - size is available. - - - - - Specifies check state of the check box. - - - - - Indicates that checkbox is unchecked. - - - - - Indicates that checkbox is checked. - - - - - Mixed state. - - - - - Possible image types for image conversion. - - - - - Bitmap image. - - - - - Metafile image. - - - - - Flags for expand/collapse settings. - - - - - Default options. - - - - - Indicates whether subgroups must be included into operation. - - - - - Indicates whether we have to expand parent group when expanding child (to make it visible). - - - - - Specifies existing built-in styles for Excel 2007. - - - - - Indicates Normal style. - - - - - Indicates Comma style. - - - - - Indicates Currency style. - - - - - Indicates Percent style. - - - - - Indicates Comma[0] style. - - - - - Indicates Currency[0] style. - - - - - Indicates Note style. - - - - - Indicates Warning Text style. - - - - - Indicates Title style. - - - - - Indicates Heading 1 style. - - - - - Indicates Heading 2 style. - - - - - Indicates Heading 3 style. - - - - - Indicates Heading 4 style. - - - - - Indicates Input style. - - - - - Indicates Output style. - - - - - Indicates Calculation style. - - - - - Indicates Check Cell style. - - - - - Indicates Linked Cell style. - - - - - Indicates Total style. - - - - - Indicates Good style. - - - - - Indicates Bad style. - - - - - Indicates Neutral style. - - - - - Indicates Accent1 style. - - - - - Indicates 20% - Accent1 style. - - - - - Indicates 40% - Accent1 style. - - - - - Indicates 60% - Accent1 style. - - - - - Indicates Accent2 style. - - - - - Indicates 20% - Accent2 style. - - - - - Indicates 40% - Accent2 style. - - - - - Indicates 60% - Accent2 style. - - - - - Indicates Accent3 style. - - - - - Indicates 20% - Accent3 style. - - - - - Indicates 40% - Accent3 style. - - - - - Indicates 60% - Accent3 style. - - - - - Indicates Accent4 style. - - - - - Indicates 20% - Accent4 style. - - - - - Indicates 40% - Accent4 style. - - - - - Indicates 60% - Accent4 style. - - - - - Indicates Accent5 style. - - - - - Indicates 20% - Accent5 style. - - - - - Indicates 40% - Accent5 style. - - - - - Indicates 60% - Accent5 style. - - - - - Indicates Accent6 style. - - - - - Indicates 20% - Accent6 style. - - - - - Indicates 40% - Accent6 style. - - - - - Indicates 60% - Accent6 style. - - - - - Indicates Explanatory Text style. - - - - - Represents possible combo box type values.. - - - - - Regular sheet dropdown control. - - - - - PivotTable page field dropdown. - - - - - AutoFilter dropdown. - - - - - AutoComplete dropdown. - - - - - Data validation list dropdown. - - - - - PivotTable row or column field dropdown. - - - - - Dropdown for the Total Row of a table. - - - - - shape border join type - (Supported in Excel 2007 and higher) - - - - - Rounded edge - - - - - Beveled edge - - - - - Metter join - - - - - MS Chart Font preservation Type - (Internal use) - - - - - Without the Font Tag - - - - - font with the default Property tag - - - - - font in ritch text tag - - - - - Specifies how pictures are displayed on a column, bar picture chart, or legend key. - - - - - Indicates picture is sized to repeat a maximum of 15 times in the longest stacked bar. - - - - - Indicates picture is sized to a specified number of units and repeated the length of the bar. - - - - - Indicates picture is stretched the full length of stacked bar. - - - - - Represents the extension property data. - - - - - Cell interior foreground color. - - - - - Cell interior background color. - - - - - Cell interior gradient fill. - - - - - Top cell border color. - - - - - Bottom cell border color. - - - - - Left cell border color. - - - - - Right cell border color. - - - - - Diagonal cell border color. - - - - - Cell text color. - - - - - Font Scheme - - - - - The text indentation level. - - - - - Font Scheme. - - - - - No font scheme. - - - - - Major scheme. - - - - - Minor scheme. - - - - - Ninched state. - - - - - Specifies axis text direction. - - - - - Indicates context text direction. - - - - - Indicates Left-To-Right text direction. - - - - - Indicates Right-To-Left text direction. - - - - - Conditional format template. - - - - - Cell value. - - - - - Formula. - - - - - Color scale formatting. - - - - - Data bar formatting. - - - - - Icon set formatting. - - - - - Filter. - - - - - Unique values. - - - - - Contains text. - - - - - Contains blanks. - - - - - Contains no blanks. - - - - - Contains errors. - - - - - Contains no errors. - - - - - Today. - - - - - Tomorrow. - - - - - Yesterday. - - - - - Last 7 days. - - - - - Last month. - - - - - Next month. - - - - - This week. - - - - - Next week. - - - - - Last week. - - - - - This month. - - - - - Above average. - - - - - Below Average. - - - - - Duplicate values. - - - - - Above or equal to average. - - - - - Below or equal to average. - - - - - Conditional format type of Text rule. - - - - - Text contains. - - - - - Text does not contain. - - - - - Text begins with. - - - - - Text ends with. - - - - - Specifies the series labels for the series label levels. - - - - - Set series names to all series name levels w/in range on the chart. - - - - - Set no category labels in the chart; instead default to automatic indexed labels. - - - - - Specifies the category labels for the category label levels. - - - - - Set category labels to all category label levels within range on the chart. - - - - - Set no category labels in the chart. Defaults to automatic indexed labels. - - - - - ConsolidationFunctions - - - - - Sum - - - - - Count - - - - - Average - - - - - Maximum - - - - - Minimum - - - - - Multiply - - - - - Count numerical values only - - - - - Standard deviation, based on a sample - - - - - Standard deviation, based on the whole population - - - - - Variation, based on a sample - - - - - Variation, based on the whole population. - - - - - Specifies the quality of the image in chart to image conversion. - - - - - Save the image with normal image quality. - - - - - Save the image with best image quality which results large image size. - - - - - Enumeration represents patterns (pattern names) that are used in Excel 2007. - This enumeration is used to convert pattern from Excel 2003 into 2007 - - - - - The fill style is none (no fill). When foreground and/or background colors - are specified, a pattern of 'none' overrides and means the cell has no fill. - - - - - The fill style is solid. When solid is specified, the foreground color - (fgColor) is the only color rendered, even when a background color - (bgColor) is also specified. - - - - - The fill style is medium gray. - - - - - The fill style is 'dark gray'. - - - - - The fill style is light gray. - - - - - The fill style is dark horizontal. - - - - - The fill style is 'dark vertical'. - - - - - The fill style is 'dark down'. - - - - - The fill style is 'dark up'. - - - - - The fill style is 'dark grid'. - - - - - The fill style is 'dark trellis'. - - - - - The fill style is light horizontal. - - - - - The fill style is light vertical. - - - - - The fill style is 'light down'. - - - - - The fill style is light up. - - - - - The fill style is 'light grid'. - - - - - The fill style is 'light trellis'. - - - - - The fill style is grayscale of 0.125 (1/8) value. - - - - - The fill style is grayscale of 0.0625 (1/16) value. - - - - - The line style of a border in a cell as it is named Excel2007. - - - - - The line style of a border is dash-dot. - - - - - The line style of a border is dash-dot-dot. - - - - - The line style of a border is dashed. - - - - - The line style of a border is dotted. - - - - - The line style of a border is double line. - - - - - The line style of a border is hairline. - - - - - The line style of a border is medium. - - - - - The line style of a border is medium dash-dot. - - - - - The line style of a border is medium dash-dot-dot. - - - - - The line style of a border is medium dashed. - - - - - The line style of a border is none (no border visible). - - - - - The line style of a border is slant-dash-dot. - - - - - The line style of a border is 'thick'. - - - - - The line style of a border is thin. - - - - - Represents border index. - - - - - Represents left border. - - - - - Represents right border. - - - - - Represents top border. - - - - - Represents bottom border. - - - - - Represents diagonal border. - - - - - Represents no border. - - - - - Represents vertical inner border. - - - - - Represents horizontal innver border. - - - - - Specifies values Indicates the Outer Shadow values - - - - - Indicates No shadow - - - - - Indicates Outer shadow at Right - - - - - Indicates Outer shadow at DiagonalBottomRight - - - - - Indicates Outer shadow at Bottom - - - - - Indicates Outer shadow at DiagonalTopLeft - - - - - Indicates Outer shadow at Center - - - - - Indicates Outer shadow at Top - - - - - Indicates Outer shadow at Left - - - - - Indicates Outer shadow at DiagonalTopRight - - - - - Indicates Outer shadow at DiagonalBottomLeft - - - - - Specifies value indicates the Inner Shadow Values - - - - - Indicates No shadow(Default) - - - - - Indicates Inner Shadow at Diagonal Bottom Left - - - - - Indicates Inner Shadow at Top - - - - - Indicates Inner Shadow at Right - - - - - Indicates Inner Shadow at Left - - - - - Indicates Inner Shadow at TopRight - - - - - Indicates Inner Shadow at Diagonal Bottom Right - - - - - Indicates Inner Shadow at Center - - - - - Indicates Inner Shadow at Bottom - - - - - Indicates Inner Shadow at Diagonal Top left - - - - - Specifies the preset perspective Shadow Type - - - - - Indicates the No Shadow - - - - - Indicates Perspective Shadow at Diagonal Upper Right - - - - - Indicates Perspective Shadow at Diagonal Lower Right - - - - - Indicates Perspective Shadow at Diagonal Upper Left - - - - - Indicates Perspective Shadow at Diagonal Lower Left - - - - - Indicates Perspective Shadow at Below - - - - - Specifies the bevel type of a ThreeDFormat object. - - - - - Indicates a No angle type bevel. - - - - - Indicates a Angle type bevel. - - - - - Indicates a Art Deco type bevel. - - - - - Indicates a Circle type bevel. - - - - - Indicates a Convex type bevel. - - - - - Indicates a Cool Slant type bevel. - - - - - Indicates a Cross type bevel. - - - - - Indicates a Divot type bevel. - - - - - Indicates a Hard Edge type bevel. - - - - - Indicates a Relaxed Inset type bevel. - - - - - Indicates a Riblet type bevel. - - - - - Indicates a Slope type bevel. - - - - - Indicates a Soft round type bevel. - - - - - Specifies the extrusion surface material. - - - - - Indicates No Material Effect - - - - - Indicates Matte Material - - - - - Indicates WarmMatte Material - - - - - Indicates Plastic Material - - - - - Indicates Metal Material - - - - - Indicates Dark Edge Material - - - - - Indicates Soft Edge Material - - - - - Indicates Flat Material - - - - - Indicates Wire Frame Material - - - - - Indicates Powder Material - - - - - Indicates Translucent Powder Material - - - - - Indicates Clear Material - - - - - Specifies the value indicates the Lighting properties for the - Chart - - - - - Indicates ThreePoint Lighting(Default) - - - - - Indicates Balance Lighting - - - - - Indicates Bright Room Lighting - - - - - Indicates Chilly Lighting - - - - - Indicates Contrasting Lighting - - - - - Indicates Flat Lighting - - - - - Indicates Flood Lighting - - - - - Indicates Freezing Lighting - - - - - Indicates Glow Lighting - - - - - Indicates Harsh Lighting - - - - - Indicates Morning Lighting - - - - - Indicates Soft Lighting - - - - - Indicates Sunrise Lighting - - - - - Indicates Sun Set Lighting - - - - - Indicates TwoPoint Lighting - - - - - The enumeration value indicating the portion of Cell Alignment in - a cell format (XF) that is horizontal alignment. - - - - - The horizontal alignment is centered, meaning the text is centered across the cell. - - - - - The horizontal alignment is centered across multiple cells. - - - - - Indicates that each 'word' in each line of text inside the cell is evenly - distributed across the width of the cell, with flush right and left margins. - When there is also an indent value to apply, both the left and right side - of the cell are padded by the indent value. - - - - - Indicates that the value of the cell should be filled across the entire - width of the cell. - - - - - The horizontal alignment is general-aligned. Text data is left-aligned. - Numbers, dates, and times are rightaligned. Boolean types are centered. - Changing the alignment does not change the type of data. - - - - - The horizontal alignment is justified (flush left and right). For each - line of text, aligns each line of the wrapped text in a cell to the right - and left (except the last line). If no single line of text wraps in the - cell, then the text is not justified. - - - - - The horizontal alignment is left-aligned, even in Right-to-Left mode. - Aligns contents at the left edge of the cell. If an indent amount is - specified, the contents of the cell is indented from the left by the - specified number of character spaces. The character spaces are based - on the default font and font size for the workbook. - - - - - The horizontal alignment is right-aligned, meaning that cell contents - are aligned at the right edge of the cell, even in Right-to-Left mode. - - - - - This enumeration value indicates the type of vertical alignment for a cell. - - - - - The vertical alignment is aligned-to-bottom. - - - - - The vertical alignment is centered across the height of the cell. - - - - - When text direction is horizontal: the vertical alignment of lines of text - is distributed vertically, where each line of text inside the cell is evenly - distributed across the height of the cell, with flush top and bottom margins. - When text direction is vertical: behaves exactly as distributed horizontal - alignment. The first words in a line of text (appearing at the top of the cell) - are flush with the top edge of the cell, and the last words of a line of text - are flush with the bottom edge of the cell, and the line of text is distributed - evenly from top to bottom. - - - - - When text direction is horizontal: the vertical alignment of lines of text - is distributed vertically, where each line of text inside the cell is evenly - distributed across the height of the cell, with flush top and bottom margins. - When text direction is vertical: similar behavior as horizontal justification. - The alignment is justified (flush top and bottom in this case). For each line - of text, each line of the wrapped text in a cell is aligned to the top and - bottom (except the last line). If no single line of text wraps in the cell, - then the text is not justified. - - - - - The vertical alignment is aligned-to-top. - - - - - Enumeration which controls visibility of worksheet in Excel. - - - - - Worksheet is visible to the user. - - - - - Worksheet is hidden for the user. - - - - - The strong hidden flag can only be set and cleared with a Visual Basic - macro. It is not possible to make such a sheet visible via the user interface. - - - - - This simple type specifies the possible styles of radar chart. - - - - - Specifies that the radar chart shall have lines but no markers and no fill. - - - - - Specifies that the radar chart shall have lines and markers but no fill. - - - - - Specifies that the radar chart shall be filled and have lines but no markers. - - - - - This simple type specifies the possible styles of scatter chart. - - - - - Specifies the points on the scatter chart shall not be connected with - lines and markers shall be drawn. - - - - - Specifies the the points on the scatter chart shall be connected with - smoothed lines and markers shall be drawn. - - - - - Specifies the the points on the scatter chart shall be connected with - smoothed lines and markers shall not be drawn. - - - - - Specifies the points on the scatter chart shall be connected with - straight lines and markers shall be drawn. - - - - - Specifies the points on the scatter chart shall be connected with - straight lines but markers shall not be drawn. - - - - - Enumeration limits values which can be set by user. - - - - - Represents the Position split type. - - - - - Represents the Value split type. - - - - - Represents the Percent split type. - - - - - Represents the Custom split type. - - - - - - - - - - Specifies that data labels shall be displayed below the data marker. - - - - - Specifies that data labels shall be displayed in the best position. - - - - - Specifies that data labels shall be displayed centered on the data marker. - - - - - Specifies that data labels shall be displayed inside the base of the data marker. - - - - - Specifies that data labels shall be displayed inside the end of the data marker. - - - - - Specifies that data labels shall be displayed to the left of the data marker. - - - - - Specifies that data labels shall be displayed outside the end of the data marker. - - - - - Specifies that data labels shall be displayed to the right of the data marker. - - - - - Specifies that data labels shall be displayed above the data marker.} - - - - - Enumeration of the marker types for Chart lines in Excel. - - - - - Represents the None option for the marker type. - - - - - Represents the square style in the custom marker option for Chart lines. - - - - - Represents the diamond style in the custom marker option for Chart lines. - - - - - Represents the Triangle style in the custom marker option for Chart lines. - - - - - Represents the X style in the custom marker option for Chart lines. - - - - - Represents the Star style in the custom marker option for Chart lines. - - - - - Represents the Dow Jones style in the custom marker option for Chart lines. - - - - - Represents the Standard Deviation style in the custom marker option for Chart lines. - - - - - Represents the Circle style in the custom marker option for Chart lines. - - - - - Represents the Plus style in the custom marker option for Chart lines. - - - - - We don't provide picture marker type support for chart lines.So simply assign none value for picture type. - - - - - Represents trend line values. - - - - - Represents Exponential trend line type. - - - - - Represents Linear trend line type. - - - - - Represents Logarithmic trend line type. - - - - - Represents Moving average trend line type. - - - - - Represents Polynomial trend line type. - - - - - Represents Power trend line type. - - - - - Error-bar type. - - - - - Represents the Percentage error-bar source type. - - - - - Represents the FixedValue error-bar source type. - - - - - Represents the StandardDeviation error-bar source type. - - - - - Represents the Custom error-bar source type. - - - - - Represents the StandardError error-bar source type. - - - - - Enumeration of the legend placement for Charts in Excel. - - - - - Represents the bottom option. - - - - - Represents the Corner option. - - - - - Represents the Top option. - - - - - Represents the Right option. - - - - - Represents the Left option. - - - - - This enumeration specifies the possible ways to display blanks. - - - - - Specifies that blank values shall be left as a gap. - - - - - Specifies that blank values shall be treated as zero. - - - - - Specifies that blank values shall be spanned with a line. - - - - - Represents 5% gradient pattern - - - - - Represents 10% gradient pattern - - - - - Represents 20% gradient pattern - - - - - Represents 25% gradient pattern - - - - - Represents 30% gradient pattern - - - - - Represents 40% gradient pattern - - - - - Represents 50% gradient pattern - - - - - Represents 60% gradient pattern - - - - - Represents 70% gradient pattern - - - - - Represents 75% gradient pattern - - - - - Represents 80% gradient pattern - - - - - Represents 90% gradient pattern - - - - - Represents Dark Downward Diagonal gradient pattern - - - - - Represents Dark Horizontal gradient pattern - - - - - Represents Dark Upward Diagonal gradient pattern - - - - - Represents Dark Vertical gradient pattern - - - - - Represents Dashed Downward Diagonal gradient pattern - - - - - Represents Dashed Horizontal gradient pattern - - - - - Represents Dashed Upward Diagonal gradient pattern - - - - - Represents Dashed Vertical gradient pattern - - - - - Represents Diagonal Brick gradient pattern - - - - - Represents Divot gradient pattern - - - - - Represents Dotted Diamond gradient pattern - - - - - Represents Dotted Grid gradient pattern - - - - - Represents Horizontal Brick gradient pattern - - - - - Represents Large Checker Board gradient pattern - - - - - Represents Large Confetti gradient pattern - - - - - Represents Large Grid gradient pattern - - - - - Represents Light Downward Diagonal gradient pattern - - - - - Represents Light Horizontal gradient pattern - - - - - Represents Light Upward Diagonal gradient pattern - - - - - Represents Light Vertical gradient pattern - - - - - Represents Narrow Horizontal gradient pattern - - - - - Represents Narrow Vertical gradient pattern - - - - - Represents Outlined Diamond gradient pattern - - - - - Represents Plaid gradient pattern - - - - - Represents Shingle gradient pattern - - - - - Represents Small Checker Board gradient pattern - - - - - Represents Small Confetti gradient pattern - - - - - Represents Small Grid gradient pattern - - - - - Represents Solid Diamond gradient pattern - - - - - Represents Sphere gradient pattern - - - - - Represents Trellis gradient pattern - - - - - Represents Wave gradient pattern - - - - - Represents Weave gradient pattern - - - - - Represents Wide Downward Diagonal gradient pattern - - - - - Represents Wide Upward Diagonal gradient pattern - - - - - Represents Zig Zag gradient pattern - - - - - Represents excel 2007 chart uint to display. - - - - - Represents Hundreds display Unit - - - - - Represents Thousands display Unit - - - - - Represents TenThousands display Unit - - - - - Represents HundredThousands display Unit - - - - - Represents Millions display Unit - - - - - Represents TenMillions display Unit - - - - - Represents HundredMillions display Unit - - - - - Represents ThousandMillions display Unit - - - - - Represents MillionMillions display Unit - - - - - Possible types for row data storage. - - - - - Uses Win32 API and Marshal class calls to allocate and work with memory blocks. - - - - - Uses Win32 API and unsafe blocks to allocate and work with memory blocks. - - - - - Uses managed byte array and other managed functions to work with memory blocks. - This method is slowest, but it is the only one suitable for medium trust mode. - - - - - Possible icon set types. - - - - - 3 arrows icon set. - - - - - 3 gray arrows icon set. - - - - - 3 flags icon set. - - - - - 3 traffic lights icon set (#1). - - - - - 3 traffic lights icon set with thick black border. - - - - - 3 signs icon set. - - - - - 3 symbols icon set. - - - - - 3 Symbols icon set. - - - - - 4 arrows icon set. - - - - - 4 gray arrows icon set. - - - - - 4 'red to black' icon set. - - - - - 4 ratings icon set. - - - - - 4 traffic lights icon set. - - - - - 5 arrows icon set. - - - - - 5 gray arrows icon set. - - - - - 5 rating icon set. - - - - - 5 quarters icon set. - - - - - If there is vertical text, determines what type of vertical text is going to be used. - - - - - Horizontal text. This should be default. - - - - - Determines if all of the text is vertical ("one letter on top of another"). - - - - - Determines if all of the text is vertical orientation (each line is 90 - degrees rotated clockwise, so it goes from top to bottom; each next - line is to the left from the previous one). - - - - - Determines if all of the text is vertical orientation (each line is 270 - degrees rotated clockwise, so it goes from bottom to top; each next line - is to the right from the previous one). - - - - - A special version of vertical text, where some fonts are displayed as if rotated - by 90 degrees while some fonts (mostly East Asian) are displayed vertical. - - - - - A special version of vertical text, where some fonts are displayed as if - rotated by 90 degrees while some fonts (mostly East Asian) are displayed - vertical. The difference between this and the eastAsianVertical is the - text flows top down then LEFT RIGHT, instead of RIGHT LEFT. - - - - - Specifies that vertical WordArt should be shown from right to left rather than left to right. - - - - - Enumeration to align the excel comment Horizontally. - - - - - Represents the Left comment align. - - - - - Represents the Center comment align. - - - - - Represents the Right comment align. - - - - - Represents the Justified comment align. - - - - - Represents the Distributed comment align. - - - - - This type specifies a list of available anchoring types for text. - - - - - Anchor the text at the top of the bounding rectangle. - - - - - Anchor the text at the middle of the bounding rectangle. - - - - - Anchor the text at the bottom of the bounding rectangle. - - - - - Anchor the text so that it is justified vertically. - - - - - Anchor the text so that it is distributed vertically. - - - - - Represents line style. - - - - - Represents single line style. - - - - - Represents thin thin line style. - - - - - Represents thin thick line style. - - - - - Represents thick thin line style. - - - - - Represents thick between thin line style. - - - - - Represents functions added in Excel 2007. - - - - - Returns a key performance indicator (KPI) name, property, and measure, and displays the name and property in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, used to monitor an organization's performance. - - - - - Returns a member or tuple in a cube hierarchy. Use to validate that the member or tuple exists in the cube. - - - - - Returns the value of a member property in the cube. Use to validate that a member name exists within the cube and to return the specified property for this member. - - - - - Returns the nth, or ranked, member in a set. Use to return one or more elements in a set, such as the top sales performer or top 10 students. - - - - - Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Office Excel. - - - - - Returns the number of items in a set. - - - - - Returns an aggregated value from a cube. - - - - - Returns the modified Bessel function In(x). - - - - - Returns the Bessel function Jn(x). - - - - - Returns the modified Bessel function Kn(x). - - - - - Returns the Bessel function Yn(x). - - - - - Converts a binary number to decimal. - - - - - Converts a binary number to hexadecimal. - - - - - Converts a binary number to octal. - - - - - Converts real and imaginary coefficients into a complex number. - - - - - Converts a number from one measurement system to another. - - - - - Converts a decimal number to binary. - - - - - Converts a decimal number to hexadecimal. - - - - - Converts a decimal number to octal. - - - - - Tests whether two values are equal. - - - - - Returns the error function. - - - - - Returns the complementary error function. - - - - - Tests whether a number is greater than a threshold value. - - - - - Converts a hexadecimal number to binary. - - - - - Converts a hexadecimal number to decimal. - - - - - Converts a hexadecimal number to octal. - - - - - Returns the absolute value (modulus) of a complex number. - - - - - Returns the imaginary coefficient of a complex number. - - - - - Returns the argument theta, an angle expressed in radians. - - - - - Returns the complex conjugate of a complex number. - - - - - Returns the cosine of a complex number - - - - - Returns the quotient of two complex numbers. - - - - - Returns the exponential of a complex number. - - - - - Returns the natural logarithm of a complex number. - - - - - Returns the base-10 logarithm of a complex number. - - - - - Returns the base-2 logarithm of a complex number. - - - - - Returns a complex number raised to an integer power. - - - - - Returns the product of from 2 to 29 complex numbers - - - - - Returns the real coefficient of a complex number - - - - - Returns the sine of a complex number - - - - - Returns the square root of a complex number - - - - - Returns the difference between two complex numbers - - - - - Returns the sum of complex numbers. - - - - - Converts an octal number to binary. - - - - - Converts an octal number to decimal. - - - - - Converts an octal number to hexadecimal. - - - - - Adds the cells in a range that meet multiple criteria - - - - - Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria - - - - - Returns the average (arithmetic mean) of all cells that meet multiple criteria. - - - - - Specifies the value indicates the layout modes for the chart. - - - - - Indicates the layout mode is automatic - - - - - Indicates the width or Height shall be interpreted as the - Right or Bottom of the chart element - - - - - Indicates the Width or Height shall be interpreted as the - Width or Height of the chart element - - - - - Specifies the value indicates the layout targets for the chart. - - - - - Indicates the layout target is automatic. - - - - - Indicates the plot area size shall determine the size of the plot area, - not including the tick marks and axis labels - - - - - Indicates the plot area size - shall determine the size of the plot area, the tick marks, and the axis labels - - - - - Event arguments for notifying read progress. - - - - - Current read position. - - - - - Full stream size. - - - - - Creates new instance of the event arguments. - - Current read position. - Full stream size. - - - - Current read position. - - - - - Full stream size. - - - - - Progress event handler delegate - - - - - Represents an Autofilter in an Excel worksheet. - - - - - First condition of autofilter. - - - - - Second condition of autofilter. - - - - - False indicates that this autofilter was not used; otherwise True. Read-only. - - - - - True means to use AND operation between conditions, - False to use OR. Read-only. - - - - - True if the Top 10 AutoFilter shows percentage; - False if it shows items. Read-only. - - - - - True if the first condition is a simple equality. Read-only. - - - - - True if the second condition is a simple equality. Read-only. - - - - - True if the Top 10 AutoFilter shows the top items; - False if it shows the bottom items. - - - - - True if the condition is a Top 10 AutoFilter. - - - - - Number of elements to show in Top10 mode. - - - - - Represents the autofilter conditions. - - - - - Data type. - - - - - Comparison operator. - - - - - String value. - - - - - Boolean value. Read-only. - - - - - Error code. Read-only. - - - - - Floating-point value. - - - - - Engine for parsing and creation of header/footer strings. - - - - - Parses text of header/footer part. - - Text of header/footer part. - - - - Returns string in format that is supported by Excel header/footer. - - String in format that is supported by Excel header/footer. - - - - Represents a Merged Cell. - - - - - Merges all cells in cellRange. - - - - - - - - - - If specified cell is contained in merged cell, delete that merge. - - - - - - Interface that represents single GradientStop of the gradient fill. - - - - - Gets / sets color. - - - - - Gets / sets position of the GradientStop. - - - - - Gets / sets transparency value. - - - - - Event arguments for ReadOnlyFile event. - - - - - Indicates if file should be rewritten, default - False. - - - - - Default constructor. - - - - - Indicates whether Read-only file should be rewritten. - - - - - Event arguments for PasswordRequired event. - - - - - Indicates whether we should stop parsing protected workbook. - - - - - New password to try. - - - - - Default constructor. - - - - - Indicates whether we should stop parsing protected workbook. - - - - - New password to try. - - - - - Represents the method that will handle the ReadOnlyFile event. - - - - - Represents the method that will handle the PasswordRequired event. - - - - - Represents the method that will handle the PasswordRequired event. - - - - - Each cell range address (called an ADDR structure) contains 4 16-bit values. - Cell range address, BIFF8: - - - - - Index to first row. - - - - - Index to last row. - - - - - Index to first column. - - - - - Index to last column. - - - - - Initializes new instance. - - First row. - First column. - Last row. - Last column. - - - - Initializes new instance. - - Index of the top left cell. - Index of the bottom right cell. - - - - Initializes new instance. - - Rectangle containing initialization data. - - - - Converts object to the string. - - - - - Converts structure to rectangle. - - Created rectangle. - - - - Index to first column. - - - - - Index to first row. - - - - - Index to last column. - - - - - Index to last row. - - - - - Summary description for ArrayRecord. - - - - - - - - - - - Default size of the inner collections. - - - - - Maximum size of a record. - - - - - Maximum size of a record with header. - - - - - Size of the records header. - - - - - Number of bits in byte. - - - - - Number of bits in short. - - - - - Number of bits in int. - - - - - Used to optimize reflection typed extracting. - TBiffRecord - to - ReflectionCachePair - - - - - - - - - - Skips begin - end block and sub blocks. - - Record storage. - Position in storage. - Returns index after skipping. - - - - Code of the Biff record. - - - - - Length of the Biff record data. - - - - - Indicates whether m_data array need to be Infilled before usage. - - - - - Gets value with all bits that do not correspond - to the specified mask to zero. - - Unsigned Int16 value. - Bit mask. - - Value with all bits that do not correspond - to the specified mask to zero. - - - - - Sets the value with all bits that correspond to the specified - mask of zero to the same values as in the value. - - Variable that bits of which will be set. - Bit mask. - Value from which bit values will be taken. - - - - Gets value with all bits that do not correspond - to the specified mask to zero. - - Unsigned Int32 value. - Bit mask. - - Value with all bits that do not correspond - to the specified mask to zero. - - - - - Sets the value with all bits that correspond to the specified - mask to zero to the same values as in value. - - Variable that bits of which will be set. - Bit mask. - Value from which bit values will be taken. - - - - Default constructor, gets code value using reflection and attributes. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Method which updates the fields of record which contain stream offset - or other data. This method must be called before save operation. - - Array with all records. - - When not overridden in descendant class. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Array that contains record's data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Checks offset and length of the array. - - Array to check. - Start offset. - Length of the data. - - - - Get array of bytes from internal record data. - - - Offset of first byte of data to get. - Length of required array. - Array of bytes from internal record data. - - If offset is less than zero or more than internal record data array size - or length is less than zero or more than internal record data array size - or length plus offset is more than internal record data array size. - - - - - Gets single byte from internal record data using GetBytes. - - Source byte array. - Offset of byte to get. - Single byte from internal record data. - - - - Gets ushort from internal record data using GetBytes. - - Source byte array. - Offset in bytes of ushort to get. - Ushort from internal record data. - - - - Gets short from internal record data using GetBytes. - - Source byte array. - Offset in bytes of short to get. - Short from internal record. - - - - Gets int from internal record data using GetBytes. - - Source byte array. - Offset in bytes of int to get. - Int from internal record. - - - - Gets uint from internal record data using GetBytes. - - Source byte array. - Offset in bytes of uint to get. - Uint from internal record data. - - - - Gets long from internal record data using GetBytes. - - Source byte array. - Offset in bytes of long to get. - Long from internal record data. - - - - Gets ulong from internal record data using GetBytes. - - Source byte array. - Offset in bytes of ulong to get. - Ulong from internal record data. - - - - Gets float from internal record data using GetBytes. - - Source byte array. - Offset in bytes of float to get. - Float from internal record data. - - - - Gets double from internal record data using GetBytes. - - Source byte array. - Offset in bytes of double to get. - Double from internal record data. - - - - Gets single bit from internal record data using GetBytes. - - Source byte array. - Offset of the byte that contains needed bit. - Position of bit in the byte. - True if specified bit is set to 1; otherwise False. - - bitPos argument should be not less than zero and not more than 7. - - - - - Gets single bit from internal record data using GetBytes. - - Source memory block. - Offset of the byte that contains needed bit. - Position of bit in the byte. - True if specified bit is set to 1; otherwise False. - - bitPos argument should be not less than zero and not more than 7. - - - - - Gets string from internal record data using GetBytes, - and it increases the offset by string size in bytes. - - Source byte array. - Offset of starting byte. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes - and it increases offset by string size in bytes. - - Source byte array. - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Source byte array. - Offset of starting byte. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Source byte array. - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Source byte array. - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Flags that represent is bytes count available. - Retrieved string. - - - - Detect type of string and extracts it. - - Source byte array. - Record data offset. - Position of next object. - Length of string record. - Array of rich formatting values. - Array of unknown FarEast data. - Extracted string. - - - - Gets TAddr structure from internal record data. - - Source byte array. - Offset in bytes of TAddr structure to get. - Retrieved TAddr structure. - - - - Extract the Reverse-Polish Notation formula from the data array. - - Source byte array. - Offset to the RPN data. - Length of the data. - Extracted RPN data. - - - - Searches for the next break. - - List of breaks. - Number of elements in the list. - Current break position. - Start index in the array. - Next break. - - - - Sets ushort in internal record data array using SetBytes method. - - Byte array list. - Offset to the required value. - New value for the specified ushort. - - - - Sets one bit in specified byte in internal record data array. - - Array where byte is located.. - Offset of the byte in the data array. - Bit position in the byte. - Value of bit. - - If bitPos is less than zero or more than 7. - - - - - Sets short in internal record data array using SetBytes method. - - Array where value should be placed located. - Offset to the required value. - New value for the specified short. - - - - Sets int in internal record data array using SetBytes method. - - Array where value should be placed located. - Offset to the required value. - New value for the specified int. - - - - Sets uint in internal record data array using SetBytes method. - - Array where value should be placed located. - Offset to the required value. - New value for the specified uint. - - - - Sets double in internal record data array using SetBytes method. - - Array where value should be placed. - Offset to the required value. - New value for the specified double. - - - - Sets string in internal record data array using SetBytes method - without string length, updates offset parameter (adds string length). - - Array where value should be placed located. - Offset to the string. - Value of the string. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in one byte. - - Array where value should be placed located. - Offset to the string. - Value of the string. - - - - Sets bytes in internal record data array values. - - Buffer to copy bytes into. - Offset in internal record data array to start from. - Array of bytes to set. - Position in value array to the data that will be set. - Length of the data. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets one bit in specified ushort. - - Offset of the byte in the internal record data array. - Value of bit. - Bit position in the byte. - - If bitPos is less than zero or more than 7. - - - - - Sets one bit in specified uint. - - Offset of the byte in the internal record data array. - Value of bit. - Bit position in the byte. - - If bitPos is less than zero or more than 7. - - - - - Return size in bytes for string with 16-bit length field. - - String to measure. - Indicates whether string should be compressed or not. - Size in bytes for string with 16-bit length field. - - - - Clears data. - - - - - Compares two Biff records. - - Biff record that should be compared with this Biff record. - True if this instance and extFormat contain the same data. - - - - Copies data from the current Biff record to the specified Biff record. - - Biff record that will receive data from the current record. - - When this record and parameter have different types. - - - - - Checked typeCode. - - TypeCode to check. - - - - - - - - - - - - - - - - - - - - - - - Sets record code. - - Code to set. - - - - Clone current Record. - - Returns memberwise clone on current object. - - - - Combines several byte arrays into one. - - Length of combined array. - List that contains byte arrays to combine. - Combined array. - - - - - - - - - - - - - - Copies string data into array of bytes without string length field. - - Destination array. - Offset to the string. - Value of the string. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in two bytes - - Destination array. - Offset to the string. - Value of the string. - - - - Returns value of the single bit from byte. - - Byte to get bit value from. - Bit index. - Value of the single bit from byte. - - - - Returns value of the single bit from byte. - - Int16 to get bit value from. - Bit index. - Value of the single bit from byte. - - - - Returns value of the single bit from byte. - - UInt16 to get bit value from. - Bit index. - Value of the single bit from byte. - - - - Returns value of the single bit from byte. - - Byte to get bit value from. - Bit index. - Value of the single bit from byte. - - - - Returns value of the single bit from UInt32. - - UInt32 to get bit value from. - Bit index. - Value of the single bit from byte. - - - - Sets one bit in specified Int32. - - Int32 to set bit. - Bit position in the byte - Value of bit - - If bitPos is less than zero or more than 7 - - Value after - - - - Reads data array from another data array. - - Source array. - Source offset. - Destination array. - Updated source offset. - - - - Read-only. Will get record type if known; - otherwise it will get TBIFFRecord.Unknown. - - - - - Read-only. Returns integer value which is the unique identifier - of Biff record. - - - - - Gets / sets length of internal data array. - - - - - Read-only. Returns record data. - - - - - If True, the array will automatically grow when the offset limit - is reached. This is required when the real record size is not known for an - Infill operation. Will throw exception on buffer offset overrun - when set to False. Default value is False. - - - - - Indicates record position in stream. This is a utility member of class and - is used only in the serialization process. Does not influence the data. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Maximum memory size for internal buffer. - - - - - Indicates whether record needs to infill internal data array. - - - - - Indicates whether record needs internal data array - or if it can be cleaned. Read-only. - - - - - Indicates whether record allows shorter data. Read-only. - - - - - Indicates whether record need decoding when file is encoded or not. Read-only. - - - - - Returns offset in the data array where encoded/decoded data should start. Read-only. - - - - - - - - - - Interface for shared formula and array formula. - - - - - Index to first row of the array formula range. - - - - - Index to last row of the array formula range. - - - - - Index to first column of the array formula range. - - - - - Index to last column of the array formula range. - - - - - Parsed formula. - - - - - Summary description for IFormulaRecord. - - - - - Gets/sets parsed formula tokens. - - - - - Minimum size of the record. - - - - - Offset to the formula data. - - - - - First row. - - - - - Last row. - - - - - First row. - - - - - Last row. - - - - - Option flags. - - - - - Indicates whether formula value should always be recalculated. - - - - - Indicates whether formula value should be recalculated when the file is opened. - - - - - Unused must be 0. - - - - - Length of the parsed expression. - - - - - Formula expression. - - - - - - - - - - Default Constructor. - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - When stream is not specified. - When stream does not support read or seek operations. - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Size of the required storage space. Read-only. - - - - - Serializes area that is covered by array formula. - - Object that contains dimensions data. - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Updated offset. - - - - Serializes area that is covered by array formula. - - Object that receives dimensions data. - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Updated offset. - - - - Determines whether the specified Object is equal to the current Object. - - The Object to compare with the current Object. - true if the specified Object is equal to the current Object; otherwise, false. - - - - Serves as a hash function for a particular type. - - A hash code for the current Object. - - - - - - - - - - Index to first row of the array formula range. Zero-based. - - - - - Index to last row of the array formula range. Zero-based. - - - - - Index to first column of the array formula range. Zero-based. - - - - - Index to last column of the array formula range. Zero-based. - - - - - Read-only. Size of the formula data. - - - - - Token array of the shared formula. - - - - - - - - - - Read-only. Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Indicates whether formula value should be always recalculated. - - - - - Indicates whether formula value should be recalculated when the file is opened. - - - - - Option flags. - - - - - Summary description for AutoFilterInfoRecord. - - - - - Number of AutoFilter drop-down arrows on the sheet. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - - - - - - Read-only. Maximum possible size of the record. - - - - - Read-only. Minimum possible size of the record. - - - - - Number of AutoFilter drop-down arrows on the sheet. - - - - - Summary description for AutoFilterInfoRecord. - - - - - Size of the record. - - - - - Bit mask of the number of items to show. - - - - - - - - - - - - - - - - - - - - Offset to the start of additional data in the internal data array. - - - - - Number of AutoFilter drop-down arrows on the sheet. - - - - - Option flags. - - - - - True if the custom filter conditions are ANDed; - False if the custom filter conditions are ORed. - - - - - True if the first condition is a simple equality. - - - - - True if the second condition is a simple equality. - - - - - True if the condition is a Top 10 AutoFilter. - - - - - True if the Top 10 AutoFilter shows the top items; - False if it shows the bottom items. - - - - - True if the Top 10 AutoFilter shows percentage; - False if it shows items. - - - - - Structure for the first filter condition. - - - - - Structure for the second filter condition. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - - - - - - Read-only. Minimum possible size of the record. - - - - - Number of AutoFilter drop-down arrows on the sheet. - - - - - Option flags. Read-only. - - - - - True if the first condition is a simple equality. - - - - - True if the second condition is a simple equality. - - - - - True if the condition is a Top 10 AutoFilter. - - - - - True if the Top 10 AutoFilter shows the top items; - False if it shows the bottom items. - - - - - True if the Top 10 AutoFilter shows percentage; - False if it shows items. - - - - - True if the custom filter conditions are ANDed; - False if the custom filter conditions are ORed. - - - - - Number of elements to show in Top10 mode. - - - - - First condition. - - - - - Second condition. - - - - - If filtered to blanks - true. Read-only. - - - - - If filtered to nonblanks - true. Read-only. - - - - - - - - - - Record size - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - String value if there is some. - - - - - Extracts data from data provider. - - Object that provides access to the data. - Offset in the provider to the start of the record's data. - Size of the parsed data. - - - - Extracts additional data from specified provider, if necessary. - - Object that provides access to the data. - Offset in the provider to the start of the record's data. - Size of the parsed data. - - - - Serializes record into specified data provider. - - Object that provides access to the data. - Offset in the provider to the start of the record's data. - Size of the serialized data. - - - - Serializes additional data. - - Object that provides access to the data. - Offset in the destination array to the start of the data. - Size of the additional data. - - If data is null. - - - When iOffset is too big or size of the data array is too small - and additional data can't be fit into the data array. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Data type. - - - - - Comparison sign. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets / sets length of the string (the string is stored after DOPER structures). - - - - - String value if there is some. - - - - - - - - - - DOPER data type. - - - - - Represents the FilterNotUsed data type. - - - - - Represents the RKNumber data type. - - - - - Represents the Number data type. - - - - - Represents the String data type. - - - - - Represents the BoolOrError data type. - - - - - Represents the MatchBlanks data type. - - - - - Represents the MatchNonBlanks data type. - - - - - DOPER comparison sign types. - - - - - Represents the Less comparison sign type. - - - - - Represents the Equal comparison sign type. - - - - - Represents the LessOrEqual comparison sign type. - - - - - Represents the Greater comparison sign type. - - - - - Represents the NotEqual comparison sign type. - - - - - Represents the GreaterOrEqual comparison sign type. - - - - - Boolean specifying whether the GUI should store a backup of the file while saving. - - - - - If True, then create backup file on saving. - - - - - Default constructor. Sets all fields to default values. - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - If True, then create backup file on saving. - - - - - Minimum possible record size. - - - - - Maximum possible record size. - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Summary description for BiffRecordRawWithArray. - - - - - Array that contains record data. - - - - - True if internal data array will be automatically resized - if there is not enough space for record data. - - - - - Default constructor, gets code value using reflection and attributes. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, the class must pack all of its properties into - an internal Data array: m_data. This method is called by - FillStream, when the record must be serialized into stream. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - - Get array of bytes from internal record data. - - Offset of first byte of data to get. - Length of required array. - Array of bytes from internal record data. - - If offset is less than zero or more than internal record data array size - or length is less than zero or more than internal record data array size - or length plus offset is more than internal record data array size. - - - - - Gets single byte from internal record data using GetBytes. - - Offset of byte to get. - Single byte from internal record data. - - - - Gets ushort from internal record data using GetBytes. - - Offset in bytes of ushort to get. - Ushort from internal record data. - - - - Gets short from internal record data using GetBytes. - - Offset in bytes of short to get. - Short from internal record. - - - - Gets int from internal record data using GetBytes. - - Offset in bytes of int to get. - Int from internal record. - - - - Gets uint from internal record data using GetBytes. - - Offset in bytes of uint to get. - Uint from internal record data. - - - - Gets long from internal record data using GetBytes. - - Offset in bytes of long to get. - Long from internal record data. - - - - Gets ulong from internal record data using GetBytes. - - Offset in bytes of ulong to get. - Ulong from internal record data. - - - - Gets float from internal record data using GetBytes. - - Offset in bytes of float to get. - Float from internal record data. - - - - Gets double from internal record data using GetBytes. - - Offset in bytes of double to get. - Double from internal record data. - - - - Gets single bit from internal record data using GetBytes. - - Offset of the byte that contains needed bit. - Position of bit in the byte. - True if specified bit is set to 1; otherwise False. - - bitPos argument should be not less than zero and not more than 7. - - - - - Gets string from internal record data using GetBytes, - and it increases the offset by string size in bytes. - - Offset of starting byte. - Indicates whether extracted string is ascii string (not unicode). - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes, - and it increases the offset by string size in bytes. - - Offset of starting byte. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes - and it increases offset by string size in bytes. - - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Returns size of the read data. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Retrieved string. - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Flag for is bytes count available. - Retrieved string. - - - - Detect type of string and extracts it. - - Record data offset. - Contain next position. - Number of elements in the continuePos collection. - Current index in the continuePos array. - Length of string record. - Array of rich formatting values. - Array of unknown FarEast data. - Extracted string. - - - - Gets TAddr structure from internal record data. - - Offset in bytes of TAddr structure to get. - Retrieved TAddr structure. - - - - Gets TAddr structure from internal record data. - - Offset in bytes of TAddr structure to get. - Retrieved TAddr structure. - - - - Enlarges the internal record data array to facilitate - at least offset + length of data to be placed. - - Offset to the accessed data. - Length of the needed data. - - - - Reserve memory for internal array. - - Number of bytes that should be reserved. - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - Position in value array to the data that will be set. - Length of the data. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets single byte in internal record data array using SetBytes method. - - Offset to the required byte. - New value for the byte. - - - - - - - - - - - - Sets ushort in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified ushort. - - - - Sets short in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified short. - - - - Sets int in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified int. - - - - Sets uint in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified uint. - - - - Sets long in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified long. - - - - Sets ulong in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified ulong. - - - - Sets float in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified float. - - - - Sets double in internal record data array using SetBytes method. - - Offset to the required value. - New value for the specified double. - - - - Sets one bit in specified byte in internal record data array. - - Offset of the byte in the internal record data array. - Value of bit. - Bit position in the byte. - - If bitPos is less than zero or more than 7. - - - - - Sets string in internal record data array using SetBytes method - without string length, updates offset parameter (adds string length). - - Offset to the string. - Value of the string. - Indicates whether string should be compressed or not. - - - - Sets string in internal record data array using SetBytes method - without string length. - - Offset to the string. - Value of the string. - Size of the string in bytes. - - - - Detects whether specified string contains only characters supported by ASCII encoding. - - String to check. - True if this string is fully supported by ASCII encoding. - - - - Sets string in internal record data array using SetBytes method - without string length. - - Offset to the string. - Value of the string. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method - without string length. - - Offset to the string. - Value of the string. - Indicates whether write compressed attribute for empty strings. - Indicates whether to write compressed (ascii) string or not. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in one byte. - - Offset to the string. - Value of the string. - Size of the string data. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in two bytes. - - Offset to the string. - Value of the string. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in two bytes. - - Offset to the string. - Value of the string. - Indicates whether write compressed attribute for empty strings. - Indicates whether string should be compressed or not. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in two bytes - - Offset to the string. - Value of the string. - - - - Sets string in internal record data array using SetBytes method. - The String length is saved in two bytes - - Offset to the string. - Value of the string. - Indicates whether string should be compressed or not. - - - - Sets TAddr structure in internal record data. - - Offset in bytes of TAddr structure to set. - New value of the TAddr at the specified position. - - - - Sets TAddr structure in internal record data. - - Offset in bytes of TAddr structure to set. - New value of the Rectangle at the specified position. - - - - Method extracts from class its fields which have the custom attribute: - BiffRecordPosAttribute. Method returns two arrays sorted in special - order, the order of extraction and saving from/to stream. - - Returns Sorted Fields. - - - - Algorithm extracts field values from internal data storage. - - - - - Gets value of the field by BiffRecordPosAttribute. - - BiffRecordPosAttribute that describes required field. - Value of the field. - - - - Method tries by metadata information fill internal array - of record. - - Size of the filled data. - - - - Sets the value of the specified field. - - BiffRecordPosAttribute that describes required field. - New field value. - Size of the used data. - - - - Clears internal data array. - - - - - Compares two Biff records. - - Biff record that should be compared with this Biff record. - True if this instance and extFormat contain the same data. - - - - Copies data from the current Biff record to the specified Biff record. - - Biff record that will receive data from the current record. - - When this record and parameter have different types. - - - - - - - - - - - - - - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - - - - Size of the required storage space. Read-only. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - - - - - - Read-only. Returns record data. - - - - - If True, the array will automatically grow when the offset limit - is reached. This is required when the real record size is not known for an - Infill operation. Will throw exception on buffer offset overrun - when set to False. Default value is False. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - When stream is not specified. - When stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for the data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, the class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Read-only. Maximum possible size of the record. - - - - - This record is part of the Page Settings Block. - It stores the background bitmap of a worksheet. - - - - - BifRecords container. - - - - - - - - - - - - - - - Array that contains positions of data of the continue records - in the m_data array. - - - - - - - - - - Default constructor fills all data with default values. - - - - - Read / Initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array iReserve bytes. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - This method constitutes the main part of parsing with continue records. - For inheritors this method must be called to get Continue records - which is placed after this record in the input stream. - - - - - - - - - - Creates continue record builder. - - Created builder. - - - - Extracts all continue records from the stream if needed and updates internal data array. - - True if there was extracted any continue record. - - - - Returns List with byte arrays with continue record's data. - - Full length of the additional data. - Last position in the stream. - List with byte arrays with continue record's data. - - - - Adds record data from single record to the List. - - List to add data to. - Record to add data from. - Size of the added data. - - - - OnFirstContinue event handler. - - Event sender. - Event arguments. - - - - - - - - - - Creates copy of the current object. - - A copy of the current object. - - - - - - - - - Pixel rows in bitmap are aligned to this number of bytes. - - - - - Header start. - - - - - Unknown value. - - - - - Unknown value. - - - - - Total size of the following record data, without this field (including CONTINUE records). - - - - - Header structure size. - - - - - Width of the picture, in pixel. - - - - - Height of the picture, in pixel. - - - - - Number of planes, must be 1. - - - - - Color depth, must be 24 bit true-color. - - - - - Image contained in the record. - - - - - Allocated unmanaged memory. - - - - - Default Constructor - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - When stream is not specified. - When stream does not support read or seek operations. - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, the class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Infills record header. - - Size of the record header. - - - - Unknown value. - - - - - Unknown value. - - - - - Total size of the following record data, without this field (including CONTINUE records). - - - - - Header structure size. - - - - - Width of the picture, in pixel. - - - - - Height of the picture, in pixel. - - - - - Number of planes, must be 1. - - - - - Color depth, must be 24 bit true-color. - - - - - Image. - - - - - This record represents an empty cell. - It contains the cell address and formatting information. - - - - - This is parent class for all records that have cell position elements inside. - - - - - Zero-based row index. - - - - - Zero-based column index. - - - - - Index to the cell's extended format. - - - - - Default constructor - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Row zero-based index. - - - - - Column zero-based index. - - - - - Index of extended format. - - - - - Size of the record's data. - - - - - Record size with header. - - - - - Default constructor that fills all data with default values. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Read-only. Returns minimum possible size of the record's - internal data array. - - - - - Read-only. Returns maximum possible size of the record's - internal data array. - - - - - Summary description for BOFRecord. - It is used for the beginning of a set of - records that have a particular purpose or subject. - Used in sheets and workbooks. - - - - - Represents the record size. - - - - - Version: - - - - - Type of the following data: - - - - - Build identifier: - - - - - Build year: - - - - - File history flag: - - - - - Lowest Excel version that can read all records in this file: - - - - - - - - - - Default Constructor - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - When stream is not specified. - When stream does not support read or seek operations. - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Version: - - - - - Type of the following data: - - - - - Build identifier: - - - - - Build year: - - - - - File history flag: - - - - - Lowest Excel version that can read all records in this file. - - - - - Read-only. Returns minimum possible size of record. - - - - - Read-only. Returns maximum possible size of record. - - - - - - - - - - Indicates whether record allows shorter data. Read-only. - - - - - Indicates whether record need decoding when file is encoded or not. Read-only. - - - - - This enum that describes all possible data after this BOF record. - - - - - Represents the workbook data. - - - - - Represents the vb_module data. - - - - - Represents the worksheet data. - - - - - Represents the chart data. - - - - - Represents the excel_4_macro data. - - - - - Represents the workspace file data. - - - - - Summary description for BookBoolRecord. - Saves External Links record. - Contains a flag specifying whether the GUI should save externally - linked values from other workbooks. - - - - - 0 = Save external linked values. 1 = Do not save external linked values. - - - - - Default Constructor - - - - - Read / initialize Constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - If zero, then save external linked values. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's internal - data array. - - - - - This record represents a Boolean value or error value cell. - - - - - Interface for records that have Value property. - - - - - Value of the record. - - - - - Size of the record. - - - - - Boolean or error value (type depends on the m_bIsErrorCode). - - - - - False = Boolean value; True = Error code. - - - - - Default Constructor that fills all data with default values. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version that was used to infill. - Record's value (BoolOrError and IsErrorCode). - - - - Boolean or error value (type depends on the IsError property). - - - - - False = Boolean value; True = Error code. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Value of the record. - - - - - - Summary description for BoundSheetRecord. - This record is located in the workbook globals area and represents a sheet inside - of the workbook. A record is written for each sheet. It stores the sheet name and - a stream offset to the BOF record within the workbook stream. - - - - - Absolute stream position of the BOF record of the sheet represented by this record. - - - - - Options: Visibility and sheet type. - - - - - Sheet type: - 0x00 = Worksheet - 0x02 = Chart - 0x06 = Visual Basic module - - - - - Sheet name. - - - - - Helper field of record. Value is not stored as a record structure field. - This index is used by the UpdateOffsets method for detecting the corresponding BOF - field. - - - - - BOF record that should be referenced. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - This method checks the record's internal data array for integrity. - - - If there is any internal error. - - - - - Size of the required storage space. Read-only. - - - - - Absolute stream position of the BOF record of the sheet represented by this record. - - - - - Sheet name as a unicode string. - - - - - Helper field of record. Value is not stored as a record structure field. - This index is used by the UpdateOffsets method for detecting the corresponding BOF - field. - - - - - Sheet type. - - - - - Visibility type of Bound. - - - - - Read-only. Returns minimum possible size of the record's - internal data array. - - - - - Gets / sets BOF record that should be referenced. - - - - - Returns offset in the data array where encoded/decoded data should start. Read-only. - - - - - Possible sheet types. - - - - - Represents the Worksheet sheet type. - - - - - Represents the Chart sheet type. - - - - - Represents the VisualBasicModule sheet type. - - - - - Summary description for ByteArrayDataProvider. - - - - - Summary description for DataProvider. - - - - - Default constructor. - - - - - - - - - - Returns bit value at the specified position. - - Offset to the required value. - Bit index in the byte. - Bit at the specified position. - - - - Returns byte value at the specified position. - - Offset to the required value. - Byte at the specified position. - - - - Returns boolean value at the specified position. - - Offset to the required value. - Byte at the specified position. - - - - Returns Int16 value at the specified position. - - Offset to the required value. - Int16 value at the specified position. - - - - Returns UInt16 value at the specified position. - - Offset to the required value. - Int16 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Copies data from internal storage into specified data array. - - Source offset. - Destination array. - Destination offset. - Size in bytes of the data to copy. - - - - Copies data from internal storage into specified provider. - - Source offset. - Destination provider. - Destination offset. - Size in bytes of the data to copy. - - - - Reads data from BinaryReader. - - Reader to get data from. - Offset in the internal data to start filling from. - Number of bytes to read. - Temporary buffer to use. - - - - Gets string from internal data and returns it's length in iFullLength parameter. - - Offset to the string data. - Length of the string in bytes. - Parsed string. - - When data array is smaller than the string that should be in it. - - - - - Gets string from internal data and updates offset. - - Offset to the string data. - Parsed string. - - When data array is smaller than the string that should be in it. - - - - - Gets string from byte array and returns it's length in iFullLength parameter. - - Offset to the string data. - Length of the string in bytes. - Parsed string. - - When data array is smaller than the string that should be in it. - - - - - Reads data array from another data array. - - Source offset. - Destination array. - Updated source offset. - - - - Reads data array from another data array. - - Source offset. - Destination array. - Number of bytes to read. - Updated source offset. - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Flags that represent is bytes count available. - Retrieved string. - - - - Gets string from internal record data using GetBytes - and it increases offset by string size in bytes. - - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Reads string from data provider. - - Offset to the first character. - Number of bytes in the string. - Encoding to use. - Indicates whether string is unicode. - Extracted string. - - - - Gets TAddr structure from internal data. - - Offset in bytes of TAddr structure to get. - Retrieved TAddr structure. - - - - Gets TAddr structure from internal data. - - Offset in bytes of TAddr structure to get. - Retrieved TAddr structure. - - - - Saves data into binary writer. - - Writer to save data into. - Start offset in the internal storage. - Number of bytes to save. - Temporary buffer to use. - - - - Writes byte value at the specified position. - - Offset to the required value. - Byte value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int16 value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int16 value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int32 value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int32 value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int32 value to write at the specified position. - - - - Sets one bit in specified byte in internal record data array. - - Offset of the byte in the data array. - Bit position in the byte. - Value of bit. - - If bitPos is less than zero or more than 7. - - - - - Writes Double value at the specified position. - - Offset to the required value. - Double value to write at the specified position. - - - - Sets string in internal data. The String length is saved in two bytes. - - Offset to the string. - Value of the string. - - - - Sets string in internal data. The String length is saved in two bytes. - - Offset to the string. - Value of the string. - - - - Sets string in internal data. The String length is saved in two bytes. - - Offset to the string. - Value of the string. - Indicates whether string should be stored as unicode. - - - - Sets string in internal data. The String length is saved in two bytes. - - Offset to the string. - Value of the string. - Size of the written data. - - - - Sets string in internal data. The String length is saved in two bytes. - - Offset to the string. - Value of the string. - Indicates whether string should be stored in unicode format. - Size of the written data. - - - - Sets string in internal record data without string length, - updates offset parameter (adds string length). - - Offset to the string. - Value of the string. - - - - Sets string in internal record data without string length, - updates offset parameter (adds string length). - - Offset to the string. - Value of the string. - Indicates whether string should be stored in Unicode encoding or not. - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - Position in value array to the data that will be set. - Length of the data. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets TAddr structure in internal record data. - - Offset in bytes of TAddr structure to set. - New value of the TAddr at the specified position. - - - - Sets TAddr structure in internal record data. - - Offset in bytes of TAddr structure to set. - New value of the Rectangle at the specified position. - - - - Moves memory inside internal buffer. - - Destination offset. - Source offset. - Memory size. - - - - Copies memory inside internal buffer. - - Destination offset. - Source offset. - Memory size. - - - - Resizes internal storage if necessary. - - Required size. - - - - Writes zeros inside memory block. - - - - - Clears internal storage if allowed. - - - - - Creates data provider of the same type. - - Created data provider. - - - - - - - - - - - - - - Returns size of the internal buffer. Read-only. - - - - - Indicates whether data provider was cleared. - - - - - Pointer to the data array. - - - - - Default constructor to prevent creation of items without arguments. - - - - - Creates new instance of this class. - - Array to read data from. - - - - Returns byte value at the specified position. - - Offset to the required value. - Byte at the specified position. - - - - Returns Int16 value at the specified position. - - Offset to the required value. - Int16 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Returns Int32 value at the specified position. - - Offset to the required value. - Int32 value at the specified position. - - - - Copies data from internal storage into specified - - Source offset. - Destination array. - Destination offset. - Size in bytes of the data to copy. - - - - Copies data from internal storage into specified provider. - - Source offset. - Destination provider. - Destination offset. - Size in bytes of the data to copy. - - - - Reads data from BinaryReader. - - Reader to get data from. - Offset in the internal data to start filling from. - Number of bytes to read. - Temporary buffer needed for some operations. - - - - Reads string from data provider. - - Offset to the first character. - Number of bytes in the string. - Encoding to use. - Indicates is unicode encoding. - Extracted string. - - - - Resizes internal storage if necessary. - - Required size. - - - - Writes zeros inside memory block. - - - - - Writes byte value at the specified position. - - Offset to the required value. - Byte value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int16 value to write at the specified position. - - - - Writes Int16 value at the specified position. - - Offset to the required value. - Int16 value to write at the specified position. - - - - Writes Int32 value at the specified position. - - Offset to the required value. - Int32 value to write at the specified position. - - - - Writes Int32 value at the specified position. - - Offset to the required value. - Int32 value to write at the specified position. - - - - Sets one bit in specified byte in internal record data array. - - Offset of the byte in the data array. - Bit position in the byte. - Value of bit. - - If bitPos is less than zero or more than 7. - - - - - Writes Int32 value at the specified position. - - Offset to the required value. - Double value to write at the specified position. - - - - Sets string in internal data without string length, - updates offset parameter (adds string length). - - Offset to the string. - Value of the string. - Indicates whether to use unicode encoding or not. - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - Position in value array to the data that will be set. - Length of the data. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Saves data into binary writer. - - Writer to save data into. - Start offset in the internal storage. - Number of bytes to save. - Temporary buffer to use. - - - - Updates internal buffer. - - New buffer to set. - - - - Clears internal data. - - - - - Moves memory inside internal buffer. - - Destination offset. - Source offset. - Memory size. - - - - Copies memory inside internal buffer. - - Destination offset. - Source offset. - Memory size. - - - - Creates provider of the same type. - - Created provider object. - - - - Return internal buffer. Read-only. - - - - - Returns size of the internal buffer. Read-only. - - - - - - - - - - Specifies the maximum number of times the formulas should be iteratively calculated. - This is a fail-safe against mutually recursive formulas locking up - a spreadsheet application. - - - - - Correct record size. - - - - - Maximum number of iterations allowed in circular references. - - - - - Default Constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Maximum number of iterations allowed in circular references. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Specifies whether to calculate formulas manually, automatically, or automatically - except for multiple table operations. - - - - - Specifies whether to calculate formulas manually, automatically, or automatically - except for multiple table operations. See TCalcMode for possible values. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Specifies whether to calculate formulas manually, automatically, or automatically - except for multiple table operations. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Minimum size of the record. - - - - - - A bit that specifies whether the containing record specifies a range of cells. - It MUST be one of the following. - 0 - The containing record does not specify a range of cells. - 1 - The containing record specifies a range of cells. - - - - - A bit that specifies whether to alert the user of possible problems when saving the file. - - - - - Range of cells associated with the containing record. - - - - - Type of the conditional formatting: - - 01H = Compare with current cell value - (the comparison specified below is used) - - 02H = Evaluate a formula (condition is met - if formula evaluates to a value not equal to 0) - - 03H = Color scale - 04H = Data bar - 05H = Filter - 06H = Icon set - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 03H = Equal - 04H = Not equal - 05H = Greater than - 06H = Less than - 07H = Greater or equal - 08H = Less or equal - - - - - Size of the formula data for first value or formula. - - - - - Size of the formula data for second value or formula - (sz2, used for second part of �Between� and �Not between� - comparison, this field is 0 for other comparisons). - - - - - Formula data for first value or formula (RPN token array without size field): - - - - - Formula data for second value or formula (RPN token array without size field): - - - - - - - - - - - - - - - An integer that specifies the length of the formula. - - - - - Formula data (RPN token array without size field): - - - - - - - - - - An integer that specifies the size of the structure in bytes. - If greater than zero, it MUST be the total byte count of dfxn and xfext. Otherwise it MUST be zero. - - - - - Size of the Extended Properties. - - - - - Set of properties applied to the XF format - - - - - A bit that specifies whether, when a cell fulfills the condition corresponding to this rule, - the lower priority conditional formatting rules that apply to this cell are evaluated. - - - - - An integer that specifies the priority of the rule. - Rules that apply to the same cell are evaluated in increasing order of ipriority. - - - - - An integer that specifies the template from which the rule was created. - - 0x0000 Cell value - 0x0001 Formula - 0x0002 Color scale formatting - 0x0003 Data bar formatting - 0x0004 Icon set formatting - 0x0005 Filter - 0x0007 Unique values - 0x0008 Contains text - 0x0009 Contains blanks - 0x000A Contains no blanks - 0x000B Contains errors - 0x000C Contains no errors - 0x000F Today - 0x0010 Tomorrow - 0x0011 Yesterday - 0x0012 Last 7 days - 0x0013 Last month - 0x0014 Next month - 0x0015 This week - 0x0016 Next week - 0x0017 Last week - 0x0018 This month - 0x0019 Above average - 0x001A Below Average - 0x001B Duplicate values - 0x001D Above or equal to average - 0x001E Below or equal to average - - - - - An integer that specifies the size of the rgbTemplate Parmeters field in bytes. - - - - - CFEx Default parameter. - - - - - Reserved. - - - - - DXFN structure. - - - - - CFEx filter template parameter. - - - - - CFEx Text template parameter. - - - - - CFEx Date template parameter. - - - - - CFEx Average template parameter. - - - - - Data bar. - - - - - Icon set. - - - - - Color scale. - - - - - Check whtether the record is parsed. - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Serves as a hash function for a particular type, suitable for use in - hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - A hash code for the current Object without taking cell list into account. - - The Object to compare with the current Object. - - - - - An integer that specifies the template from which the rule was created. - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 04H = Not equal - 05H = Greater than - 06H = Less than - 03H = Equal - 07H = Greater or equal - 08H = Less or equal - - - - - Size of the formula data for first value or formula. Read-only. - - - - - Size of the formula data for second value or formula - (sz2, used for second part of "Between" and "Not between" - comparison, this field is 0 for other comparisons). Read-only. - - - - - Parsed first formula string. - - - - - Parsed second formula string. - - - - - Returns bytes of the first formula. Read-only. - - - - - Returns bytes of the second formula. Read-only. - - - - - Parsed formula string. - - - - - Returns bytes of the formula. Read-only. - - - - - A bit that specifies whether, when a cell fulfills the condition corresponding to this rule, - the lower priority conditional formatting rules that apply to this cell are evaluated. - - - - - An integer that specifies the priority of the rule. - - - - - An integer that specifies the template from which the rule was created. - 0x0000 Cell value - 0x0001 Formula - 0x0002 Color scale formatting - 0x0003 Data bar formatting - 0x0004 Icon set formatting - 0x0005 Filter - 0x0007 Unique values - 0x0008 Contains text - 0x0009 Contains blanks - 0x000A Contains no blanks - 0x000B Contains errors - 0x000C Contains no errors - 0x000F Today - 0x0010 Tomorrow - 0x0011 Yesterday - 0x0012 Last 7 days - 0x0013 Last month - 0x0014 Next month - 0x0015 This week - 0x0016 Next week - 0x0017 Last week - 0x0018 This month - 0x0019 Above average - 0x001A Below Average - 0x001B Duplicate values - 0x001D Above or equal to average - 0x001E Below or equal to average - - - - - True if the record parsed. - - - - - CF12 Color Scale class. - - - - - CF12 Data bar class. - - - - - CF12 Icon set class. - - - - - Color scale. - - - - - Minimum size of the structure. - - - - - Undefined. - - - - - Interpolation point count. - - - - - Gradient point count. - - - - - Minimum or the maximum of the interpolation curve is used instead of the cell value. - - - - - Color scale formatting applies to the background of the cells. - - - - - clamp and background. - - - - - List of Conditional format interpolation curve. - - - - - List of Conditional format gradient curve. - - - - - Default constructor. - - - - - Copy color scale. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Calculate Num value. - - - - - Convert Color object to unsigned integer. - - - - - Convert unsigned integer to Color object. - - - - - Convert ARGB to RGBA. - - - - - Convert ARGB to RGBA. - - - - - Interpolation curve. - - - - - Gradient Item. - - - - - Data bar. - - - - - Minimum size of the structure. - - - - - Undefined. - - - - - Specifies whether the data bars are drawn starting from the right of the cell. - - - - - Specifies whether the numerical value of the cell appears in the cell along with the data bar. - - - - - Minimum percent length of data bar. - - - - - Maximum percent length of data bar. - - - - - Type of color. - - - - - Color value. - - - - - Tint and shade. - - - - - CFVO structure. - - - - - CFVO structure. - - - - - Default constructor. - - - - - Copy data bar. - - - - - Convert ARGB to RGBA. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Convert Color object to unsigned integer. - - - - - Convert unsigned integer to Color object. - - - - - Convert ARGB to RGBA. - - - - - Type of color. - - - - - Color value. - - - - - Tint and shade. - - - - - Min CFVO. - - - - - Max CFVO. - - - - - Icon set. - - - - - Minimum size of the structure. - - - - - Undefined. - - - - - Specifies the number of items in the icon set.. - - - - - integer that specifies the icon set that represents the cell values. - - - - - Specifies whether only the icon will be displayed in the sheet and that the cell value will be hidden. - - - - - specifies whether the order of the icons in the set is reversed. - - - - - List of CF icon MultiState. - - - - - Default constructor. - - - - - Copy IconSet. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - Calucate IsIconOnly and reverse order byte. - - - - - Size of the required storage space. Read-only. - - - - - Specifies the icon set that represents the cell values. - - - - - List of CF icon MultiState. - - - - - Default minimum structure size. - - - - - Conditional Formatting Value Object (CFVO). - - - - - Minimum size of the structure. - - - - - Specifies how the CFVO value is determined. - - - - - Specifies length of the formula. - - - - - Formula data (RPN token array without size field): - - - - - - - - - - Specifies a static value used to calculate the CFVO value. - - - - - Default constructor. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Size of the formula data. Read-only. - - - - - Parsed formula string. - - - - - Returns bytes of the formula. Read-only. - - - - - CFVO type. - - - - - CFVO value. - - - - - Specifies one control point in the interpolation curve. - - - - - Minimum size of the structure. - - - - - Specifies the numerical value of this control point. - - - - - CFVO. - - - - - Default constructor. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Specifies the numerical value of this control point. - - - - - CFVO. - - - - - Specifies one control point in the gradient curve. - - - - - The numerical value of the control point. - - - - - Type of color. - - - - - Color value. - - - - - Tint and shade. - - - - - Default constructor. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - The numerical value of the control point. - - - - - Type of color. - - - - - Color value. - - - - - Tint and shade. - - - - - Specifies the threshold value associated with an icon. - - - - - Minimum size of the structure. - - - - - cfvo. - - - - - Whether cell value equal to threshold. - - - - - Undefined. - - - - - Default constructor. - - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - CFVO. - - - - - Whether cell value equal to threshold. - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Minimum size of the record. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - Need to redraw the conditional format ON status. - - - - - Need to redraw the conditional format OFF status. - - - - - Number of following CF records. - - - - - 1 = Conditionally formatted cells need recalculation or redraw. - - - - - Index of the record. - - - - - Cell range address of the range enclosing all - conditionally formatted ranges. - - - - - Number of conditionally formatted cells. - - - - - Cell range address list of all conditionally formatted ranges. - - - - - Check whether the rule parsed. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Extracts list of cells from the internal data array. - - Data provider to extract cell list from. - Position of the list in the internal data array. - - - - Size of the required storage space. Read-only. - - - - - Adds cell to the cells list. - - Cell to add to the list. - - - - Clone current record. - - Returns clone of the current object. - - - - Number of following CF records. - - - - - 1 = Conditionally formatted cells need recalculation or redraw. - - - - - Index of this record. - - - - - Cell range address of the range enclosing all - conditionally formatted ranges. - - - - - Number of conditionally formatted cells. Read-only. - - - - - Returns list with all conditionally formatted ranges. Read-only. - - - - - Read-only. Minimum possible size of the record. - - - - - Check whether the rule is parsed or not. - - - - - Minimum size of the record. - - - - - Size of the record If the record follow CF12. - - - - - CF12 record. - - - - - Header of this record. - - - - - Specifies whether the containing record specifies a range of cells. - - - - - Specifies whether to alert the user of possible problems when saving the file. - - - - - Cell range address of the range enclosing all - conditionally formatted ranges. - - - - - A boolean that specifies the type of rule this record extends. - Must be one of the following. - 0 - This record extends a rule specified by a CF record and MUST NOT be followed by a CF12 record. - 1 - This record extends a rule specified by a CF12 record and MUST be followed by the CF12 record it extends. - - - - - An integer that specifies which CondFMTRecord record is being extended. - - - - - An integer that specifies a zero based index of CF Record. - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 03H = Equal - 04H = Not equal - 05H = Greater than - 06H = Less than - 07H = Greater or equal - 08H = Less or equal - - - - - An integer that specifies the template from which the rule was created. - 0x0000 Cell value - 0x0001 Formula - 0x0002 Color scale formatting - 0x0003 Data bar formatting - 0x0004 Icon set formatting - 0x0005 Filter - 0x0007 Unique values - 0x0008 Contains text - 0x0009 Contains blanks - 0x000A Contains no blanks - 0x000B Contains errors - 0x000C Contains no errors - 0x000F Today - 0x0010 Tomorrow - 0x0011 Yesterday - 0x0012 Last 7 days - 0x0013 Last month - 0x0014 Next month - 0x0015 This week - 0x0016 Next week - 0x0017 Last week - 0x0018 This month - 0x0019 Above average - 0x001A Below Average - 0x001B Duplicate values - 0x001D Above or equal to average - 0x001E Below or equal to average - - - - - An integer that specifies the priority of the rule. - Rules that apply to the same cell are evaluated in increasing order of ipriority. - - - - - A byte that specify the active condition and stop Iftrue option. - - - - - A Boolean that specifies whether cell formatting data is part of this record extension. - Must be one of the following - 0 - No formatting data in this record extension. - 1 - Formatting data is part of this record extension. - - - - - An integer that specifies the size of the structure in bytes. - If greater than zero, it MUST be the total byte count of dfxn and xfext. Otherwise it MUST be zero. - - - - - Size of the Extended Properties. - - - - - Set of properties applied to the XF format - - - - - An integer that specifies the size of the rgbTemplate Parmeters field in bytes. - - - - - Reserved. - - - - - CFEx Default parameter. - - - - - DXFN Structure. - - - - - CFEx filter template parameter. - - - - - CFEx Text template parameter. - - - - - CFEx Date template parameter. - - - - - CFEx Average template parameter. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parse structure of template parameter. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Serves as a hash function for a particular type, suitable for use in - hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - A hash code for the current Object without taking cell list into account. - - The Object to compare with the current Object. - - - - - Clone current Record. - - Returns memberwise clone on current object. - - - - Cell range address of the range enclosing all - conditionally formatted ranges. - - - - - A boolean that specifies the type of rule this record extends. - - - - - An integer that specifies which CondFmt record is being extended. - - - - - An integer that specifies a zero based index of CF Record. - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 04H = Not equal - 05H = Greater than - 06H = Less than - 03H = Equal - 07H = Greater or equal - 08H = Less or equal - - - - - An integer that specifies the template from which the rule was created. - 0x0000 Cell value - 0x0001 Formula - 0x0002 Color scale formatting - 0x0003 Data bar formatting - 0x0004 Icon set formatting - 0x0005 Filter - 0x0007 Unique values - 0x0008 Contains text - 0x0009 Contains blanks - 0x000A Contains no blanks - 0x000B Contains errors - 0x000C Contains no errors - 0x000F Today - 0x0010 Tomorrow - 0x0011 Yesterday - 0x0012 Last 7 days - 0x0013 Last month - 0x0014 Next month - 0x0015 This week - 0x0016 Next week - 0x0017 Last week - 0x0018 This month - 0x0019 Above average - 0x001A Below Average - 0x001B Duplicate values - 0x001D Above or equal to average - 0x001E Below or equal to average - - - - - An integer that specifies the priority of the rule. - - - - - A bit that specifies whether, when a cell fulfills the condition corresponding to this rule, - the lower priority conditional formatting rules that apply to this cell are evaluated. - - - - - A Boolean that specifies whether cell formatting data is part of this record extension. - - - - - An integer that specifies the size of the structure in bytes. - - - - - Properties count. - - - - - Set of properties applied to the XF format. - - - - - Read-only. Maximum possible size of the record. - - - - - Check whether the rule is parsed or not. - - - - - Gets/Sets CF12 record. - - - - - Specifies whether the top or bottom items are displayed with the conditional formatting. - - - - - Specifies whether a percentage of the top or bottom items are displayed with the conditional formatting, - or whether a set number of the top or bottom items are displayed with the conditional formatting. - - - - - Specifies how many values are displayed with the conditional formatting. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Top or bottom items are displayed with rule. - - - - - Percentage of the top or bottom items are displayed with the rule. - - - - - Specifies how many values are displayed with the rule. - - - - - Specifies the type of text rule. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Type of text rule. - - - - - Specifies the type of date comparison. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Type of date comparison operator. - - - - - Specifies the number of standard deviations above or below the average for the rule. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Number of standard deviations of average. - - - - - Size of the first block of reserved bytes in the font block. - - - - - Size of the second block of reserved bytes in the font block. - - - - - Size of the third block of reserved bytes in the font block. - - - - - Mask for font posture bit. - - - - - Mask for font cancellation (strikethrough) bit. - - - - - Mask for font style modification bit. - - - - - Mask for font cancellation modification bit. - - - - - Mask for left border line style bits. - - - - - Mask for right border line style bits. - - - - - Mask for top border line style bits. - - - - - Mask for bottom border line style bits. - - - - - Mask for left border color bits. - - - - - Mask for right border color bits. - - - - - Mask for top border color bits. - - - - - Mask for bottom border color bits. - - - - - Start bit of left border color bits. - - - - - Start bit of right border color bits. - - - - - Start bit of top border color bits. - - - - - Start bit of bottom border color bits. - - - - - Mask for fill pattern bits. - - - - - Mask for pattern color bits. - - - - - Mask for pattern backcolor bits. - - - - - Start bit of fill pattern bits. - - - - - Start bit of fill pattern back color bits. - - - - - Size of the font block. - - - - - Size of the border block. - - - - - Size of the pattern block. - - - - - Size of the number format block. - - - - - Default color index. - - - - - Option flags - - - - - Not used - - - - - False if left border style and color are modified. - - - - - False if right border style and color are modified. - - - - - False if top border style and color are modified. - - - - - False if bottom border style and color are modified. - - - - - False if pattern style is modified. - - - - - False if pattern color is modified. - - - - - False if pattern background color is modified. - - - - - False if the number format is modified. - - - - - True if record contains number format. - - - - - True if record contains font formatting block. - - - - - True if record contains border formatting block. - - - - - True if record contains pattern formatting block. - - - - - True if record contains the user defined number format. - - - - - Font height. - - - - - Font options. - - - - - Font weight (100-1000, only if font - style = 0). - Standard values are 0190H (400) for normal text - and 02BCH (700) for bold text. - - - - - Escapement type (only if font - esc = 0): - 0000H = None; 0001H = Superscript; 0002H = Subscript - - - - - Underline type (only if font - underl = 0): - 00H = None - 01H = Single - 02H = Double - 21H = Single accounting - 22H = Double accounting - - - - - Font color index or FFFFFFFFH to preserve the cell font color: - - - - - Option flags for modified font attributes: - - - - - 0 = Escapement type modified - - - - - 0 = Underline type modified: - - - - - Border line styles: - - - - - Border line colour indexes: - - - - - Fill pattern style: - - - - - Fill pattern color indexes: - - - - - Unused - - - - - Unsigned integer that specifies the identifier of the number format. - - - - - Unsigned integer that specifies the size of the user defined number format. - - - - - Unsigned integer that specifies character count of the number format string. - - - - - Boolean that specifies whether the characters are in double byte character or not. - - - - - Number format string value. - - - - - Constructor. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parses font block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the font block data in the internal data array. - - - - - Parses border block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the border block data in the internal data array. - - - - - Parses pattern block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the pattern block data in the internal data array. - - - - - Parses number format block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the number format block data in the internal data array. - - - - - Parses user defined number format block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the number format block data in the internal data array. - - - - - Writes font block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where font block should be written. - - - - - Writes border block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where border block should be written. - - - - - Writes pattern block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where pattern block should be written. - - - - - Writes number format block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where number format block should be written. - - - - - Writes number format block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where number format block should be written. - - - - - Size of the required storage space. Read-only. - - - - - Serves as a hash function for a particular type, suitable for use in - hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Minimum size of the record. - - - - - Size of the first block of reserved bytes in the font block. - - - - - Size of the second block of reserved bytes in the font block. - - - - - Size of the third block of reserved bytes in the font block. - - - - - Mask for font posture bit. - - - - - Mask for font cancellation (strikethrough) bit. - - - - - Mask for font style modification bit. - - - - - Mask for font cancellation modification bit. - - - - - Mask for left border line style bits. - - - - - Mask for right border line style bits. - - - - - Mask for top border line style bits. - - - - - Mask for bottom border line style bits. - - - - - Mask for left border color bits. - - - - - Mask for right border color bits. - - - - - Mask for top border color bits. - - - - - Mask for bottom border color bits. - - - - - Start bit of left border color bits. - - - - - Start bit of right border color bits. - - - - - Start bit of top border color bits. - - - - - Start bit of bottom border color bits. - - - - - Mask for fill pattern bits. - - - - - Mask for pattern color bits. - - - - - Mask for pattern backcolor bits. - - - - - Start bit of fill pattern bits. - - - - - Start bit of fill pattern back color bits. - - - - - Size of the font block. - - - - - Size of the border block. - - - - - Size of the pattern block. - - - - - Size of the number format block. - - - - - Default color index. - - - - - Type of the conditional formatting: - - 01H = Compare with current cell value - (the comparison specified below is used) - - 02H = Evaluate a formula (condition is met - if formula evaluates to a value not equal to 0) - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 03H = Equal - 04H = Not equal - 05H = Greater than - 06H = Less than - 07H = Greater or equal - 08H = Less or equal - - - - - Size of the formula data for first value or formula. - - - - - Size of the formula data for second value or formula - (sz2, used for second part of �Between� and �Not between� - comparison, this field is 0 for other comparisons). - - - - - Option flags - - - - - Not used - - - - - False if left border style and color are modified. - - - - - False if right border style and color are modified. - - - - - False if top border style and color are modified. - - - - - False if bottom border style and color are modified. - - - - - False if pattern style is modified. - - - - - False if pattern color is modified. - - - - - False if pattern background color is modified. - - - - - False if the number format is modified. - - - - - True if record contains number format. - - - - - True if record contains font formatting block. - - - - - True if record contains border formatting block. - - - - - True if record contains pattern formatting block. - - - - - True if record contains the user defined number format. - - - - - Font height. - - - - - Font options. - - - - - Font weight (100-1000, only if font - style = 0). - Standard values are 0190H (400) for normal text - and 02BCH (700) for bold text. - - - - - Escapement type (only if font - esc = 0): - 0000H = None; 0001H = Superscript; 0002H = Subscript - - - - - Underline type (only if font - underl = 0): - 00H = None - 01H = Single - 02H = Double - 21H = Single accounting - 22H = Double accounting - - - - - Font color index or FFFFFFFFH to preserve the cell font color: - - - - - Option flags for modified font attributes: - - - - - 0 = Escapement type modified - - - - - 0 = Underline type modified: - - - - - Border line styles: - - - - - Border line colour indexes: - - - - - Fill pattern style: - - - - - Fill pattern color indexes: - - - - - Unused - - - - - Unsigned integer that specifies the identifier of the number format. - - - - - - Formula data for second value or formula (RPN token array without size field): - - - - - - - - - - - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parses font block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the font block data in the internal data array. - - - - - Parses border block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the border block data in the internal data array. - - - - - Parses pattern block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the pattern block data in the internal data array. - - - - - Parses number format block if it is present in the conditional format. - - Object that provides access to the data. - - Offset to the number format block data in the internal data array. - - - - - Writes font block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where font block should be written. - - - - - Writes border block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where border block should be written. - - - - - Writes pattern block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where pattern block should be written. - - - - - Writes number format block into internal data array - if it is present in the conditional format. - - Object that provides access to the data. - - Offset where number format block should be written. - - - - - Size of the required storage space. Read-only. - - - - - Clones current instance. - - Returns new instance. - - - - Serves as a hash function for a particular type, suitable for use in - hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - A hash code for the current Object without taking cell list into account. - - The Object to compare with the current Object. - - - - - Type of the conditional formatting: - - 01H = Compare with current cell value - (the comparison specified below is used) - - 02H = Evaluate a formula (condition is met - if formula evaluates to a value not equal to 0) - - - - - Comparison operator: - 00H = No comparison (only valid for formula type, see above) - 01H = Between - 02H = Not between - 04H = Not equal - 05H = Greater than - 06H = Less than - 03H = Equal - 07H = Greater or equal - 08H = Less or equal - - - - - Size of the formula data for first value or formula. Read-only. - - - - - Size of the formula data for second value or formula - (sz2, used for second part of "Between" and "Not between" - comparison, this field is 0 for other comparisons). Read-only. - - - - - Option flags. - - - - - Not used. - - - - - True if left border style and color are modified. - - - - - True if right border style and color modified. - - - - - True if top border style and color are modified. - - - - - True if bottom border style and color are modified. - - - - - True if pattern style is modified. - - - - - True if pattern color is modified. - - - - - False if pattern background color is modified. - - - - - False if Number format is modified. - - - - - True if record contains font formatting block. - - - - - True if record contains border formatting block. - - - - - True if record contains pattern formatting block. - - - - - True if record contains Number format. - - - - - Read-only. Maximum possible size of the record. - - - - - Font height (in twips = 1/20 of a point); - or FFFFFFFFH to preserve the cell font height. - - - - - Posture: 0 = Normal; 1 = Italic - - - - - Cancellation: 0 = Off; 1 = On - - - - - Font weight (400 - Normal text, 700 - Bold text). - - - - - Escapement type. - - - - - Underline type. - - - - - Font color index; or FFFFFFFFH to preserve the cell font color. - - - - - Indicates whether font style (posture or boldness) was modified. - - - - - Indicates whether font cancellation was modified. - - - - - Indicates whether font escapment was modified. - - - - - Indicates whether font underline was modified. - - - - - True if number format is user defined. - - - - - - Left border line style. - - - - - Right border line style. - - - - - Top border line style. - - - - - Bottom border line style. - - - - - Color index for left line. - - - - - Color index for right line. - - - - - Color index for top line. - - - - - Color index for bottom line. - - - - - Fill pattern style. - - - - - Color index for pattern. - - - - - Color index for pattern background. - - - - - Parsed first formula string. - - - - - Parsed second formula string. - - - - - Returns bytes of the first formula. Read-only. - - - - - Returns bytes of the second formula. Read-only. - - - - - - - - - - - - - - - - - - - - - - - - - Default constructor, sets all fields default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - - - - - - - - - - This record defines a 3D chart group and also contains generic formatting information. - - - - - Correct record size. - - - - - Rotation angle (0 to 360 degrees). - - - - - Elevation angle (�90 to +90 degrees). - - - - - Distance from eye to chart (0 to 100). - - - - - Height of plot volume relative to width and depth. - - - - - Depth of points relative to width. - - - - - Space between series. - - - - - Option flags. - - - - - Whether to use perspective transform. - - - - - 3-D columns are clustered or stacked. - - - - - Use auto scaling. - - - - - Reserved; must be one. - - - - - Use 2D walls and gridlines. - - - - - Indicates whether elevation has default value. - - - - - Indicates whether rotation has default value. - - - - - Default constructor, sets all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Rotation angle (0 to 360 degrees). - - - - - Elevation angle (�90 to +90 degrees). - - - - - Indicates whether rotation has default value. - - - - - Indicates whether elevation has default value. - - - - - Distance from eye to chart (0 to 100). - - - - - Height of plot volume relative to width and depth. - - - - - Depth of points relative to width. - - - - - Space between series. - - - - - Holder of flags. - - - - - Whether to use perspective transform. - - - - - 3D columns are clustered or stacked. - - - - - Use auto scaling. - - - - - Use 2D walls and gridlines. - - - - - This record specifies linked series data or text. - - - - - Link index identifier. - - - - - Reference type. - - - - - Option flags holder. - - - - - Index to number format record. - - - - - Size of parsed formula of link array. - - - - - True if this object has a custom number format; False if number format - is linked to data source. - - - - - - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Clones current record. - - Returns cloned object. - - - - Link index identifier. - - - - - Reference type. - - - - - Option flags holder. - - - - - Index to number format record. - - - - - Size of parsed formula of link array. - - - - - True if this object has a custom number format; False if number format - is linked to data source. - - - - - - - - - - Link index options. - - - - - Represents the LinkToTitleOrText link index option. - - - - - Represents the LinkToValues link index option. - - - - - Represents the LinkToCategories link index option. - - - - - Represents the LinkToBubbles link index option. - - - - - - - - - - Use default categories. - - - - - Text or value entered directly into the formula bar. - - - - - Linked to worksheet. - - - - - Not used. - - - - - Error reported. - - - - - This record specifies rich-text formatting (bold, italic, font changes, - etc.) within chart titles and data labels. - - - - - Number of rich-text runs. - - - - - - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Clones current record. - - Returns cloned object. - - - - Number of rich-text runs. - - - - - - - - - - - - - - - Size of the TRun item. - - - - - First char index. - - - - - Font index. - - - - - Creates new instance of TRuns. - - Base first char. - Base font index. - - - - Clones current object. - - Returns cloned object. - - - - Gets or sets first char index. - - - - - Gets or sets font index. - - - - - This record describes the patterns and colors used in a filled area. - - - - - Correct size of the record. - - - - - Foreground color (RGB). - - - - - Background color (RGB). - - - - - Pattern. - - - - - Storage for record bit flags. - - - - - Automatic format. - - - - - Foreground and background are swapped when the data value is negative. - - - - - Index of foreground color. - - - - - Background color index. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Foreground color (RGB). - - - - - Background color (RGB). - - - - - Pattern. - - - - - Holder of record flags. - - - - - Index of foreground color. - - - - - Background color index. - - - - - Automatic format or not. - - - - - Foreground and background are swapped when the data value is negative. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record defines an area chart group. - - - - - Contains information about chart type. - - - - - Indicates whether values should be stacked. - - - - - Indicates whether values should be shown as percents. - - - - - Record size. - - - - - Holder of all flags. - - - - - Series in this group are stacked. - - - - - Each category is broken down as a percentage. - - - - - This area has a shadow. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Holder of all flags. - - - - - Series in this group are stacked. - - - - - Each category is broken down as a percentage. - - - - - This area has a shadow. - - - - - - - - - - - - - - - This record specifies the layout information for attached label - - - - - Correct record size. - - - - - Specifies the future record type header - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - If the checksum is incorrect, the layout information specified in this record must be ignored - - - - - - The ATTACHEDLABEL record defines the data label type. The ATTACHEDLABEL - record applies to the label data identified in the associated - DATAFORMAT record. - - - - - Correct record size. - - - - - Holder of all record flags. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Holder of all record flags... changes of record setting does not - influence on this property value till serialization. - - - - - - - - - - Show value as a percent of the total. This bit applies only to pie charts. - - - - - Show category label and value as a percentage (pie charts only). - - - - - Show smoothed line. - - - - - Show category label. - - - - - Show bubble sizes. - - - - - Possible option flags - - - - - No option flag set. - - - - - Show the actual value of the data point. - - - - - Show value as a percent of the total. This bit applies only to pie charts. - - - - - Show category label and value as a percentage (pie charts only). - - - - - Show smoothed line. - - - - - Show category label. - - - - - Show bubble sizes. - - - - - This record defines axis options. - - - - - Correct record size. - - - - - Minimum category on axis. - - - - - Maximum category on axis. - - - - - Value of major unit. - - - - - Units of major unit. - - - - - Value of minor unit. - - - - - Units of minor unit. - - - - - Base unit of axis. - - - - - Crossing point of value axis (date). - - - - - Option flags. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Minimum category on axis. - - - - - Maximum category on axis. - - - - - Value of major unit. - - - - - Units of major unit. - - - - - Value of minor unit. - - - - - Units of minor unit. - - - - - Base unit of axis. - - - - - Crossing point of value axis (date). - - - - - Holder of record flags. - - - - - Use default minimum. - - - - - Use default maximum. - - - - - Use default major unit. - - - - - Use default minor unit. - - - - - Date axis. - - - - - Use default base. - - - - - Use default crossing point. - - - - - Use default date settings for axis. - - - - - Option flags. - - - - - None. - - - - - Use default minimum. - - - - - Use default maximum. - - - - - Use default major unit. - - - - - Use default minor unit. - - - - - This a date axis. - - - - - Use default base. - - - - - Use default crossing point. - - - - - Use default date settings for axis. - - - - - This record specifies the number of axes sets (1 = primary - only, 2 = primary and secondary) used on the chart (3D charts - can only have primary axes). - - - - - Number of axes sets. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Size of the required storage space. Read-only. - - - - - Number of axes sets. - - - - - Represents DisplayUnits option. - - - - - Record size constant. - - - - - Represents display units in axis. - - - - - Represents display units value. - - - - - Indicates is show display unit label. - - - - - Reserved value. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Represents display units in axis. - - - - - Represents display units value. - - - - - Indicates is show display unit label. - - - - - Represents reserved byte. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record usually follows an AXIS record to define the axis line - as it appears on the chart. - - - - - Correct size of the record. - - - - - Axis line identifier: - 0 = the axis line itself - 1 = major grid line along the axis - 2 = minor grid line along the axis - 3 = walls or floor -- walls if parent axis is type 0 or 2; floor if parent axis is type 1. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Axis line identifier. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Represents chart category axis offset record. - - - - - Minimum record size constant (generated by some version of MS Excel (probably 2007 Beta). - - - - - Record size constant. - - - - - Represents display units in axis. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Indicates is show display unit label. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record specifies the location and size of the chart axes, - in units of 1/4000 of the chart area. - - - - - Correct record size. - - - - - Axis index (0 = main, 1 = secondary). - - - - - X coordinate of top left corner. - - - - - Y coordinate of top left corner. - - - - - Length of x axis. - - - - - Length of y axis. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Axis index (0 = main, 1 = secondary). - - - - - X coordinate of top left corner. - - - - - Y coordinate of top left corner. - - - - - Length of x axis. - - - - - Length of y axis. - - - - - This record defines the axis type. - - - - - Correct record size. - - - - - Axis type: - 0 = category axis or x axis on a scatter chart - 1 = value axis - 2 = series axis - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Axis type: - 0 = category axis or x axis on a scatter chart - 1 = value axis - 2 = series axis - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Field reserved by Microsoft. Read-only. - - - - - Represents the Chart axis type. - - - - - Represents the CategoryAxis chart axis type. - - - - - Represents the ValueAxis chart axis type. - - - - - Represents the SeriesAxis chart axis type. - - - - - This record defines a bar or column chart group. - - - - - Correct record size. - - - - - Space between bars (percent of bar width), default = 0. - - - - - Space between categories (percent of bar width), default = 50. - - - - - Holder of all flags. - - - - - True for horizontal bars (bar chart). - False for vertical bars (column chart). - - - - - Stack the displayed values. - - - - - Each category is displayed as a percentage. - - - - - True if this bar has a shadow; otherwise False. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Space between bars. - - - - - Space between categories (percent of bar width), default = 50. - - - - - Holder of all flags. - - - - - True for horizontal bars (bar chart). - False for vertical bars (column chart). - - - - - Stack the displayed values. - - - - - Each category is displayed as a percentage. - - - - - True if this bar has a shadow; otherwise False. - - - - - Represents begin display axis unit label record. - - - - - Record size constant. - - - - - Represents display units in axis. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Indicates is show display unit label. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record stores options for a custom bar of pie or pie of - pie chart; these are two of the pie chart subtypes. - - - - - Count of pie slices in the bar of pie or pie of pie chart. - - - - - Array of bytes; each byte contains a bit field that describes the - individual point positioning in the series. If a slice is on the - secondary pie or bar chart, the corresponding bit is set to 1 (one); - otherwise the bit is 0 (zero). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Clones current record. - - Returns cloned record. - - - - Count of pie slices in the bar of pie or pie of pie chart. - - - - - Array of bytes; each byte contains a bit field that describes the - individual point positioning in the series. If a slice is on the - secondary pie or bar chart, the corresponding bit is set to 1 (one); - otherwise the bit is 0 (zero). - - - - - This record stores options for a bar of pie or pie of pie chart; - these are two of the pie chart subtypes. - - - - - Record size. - - - - - 0 = normal pie chart - 1 = pie of pie chart - 2 = bar of pie chart - - - - - Holder of DefaultSplitValue property flag. - - - - - True to use default split value; otherwise False. - - - - - Split type: - 0 = Position - 1 = Value - 2 = Percent - 3 = Custom - - - - - For split = 0, which positions should go to the other pie / bar. - - - - - For split = 2, what percentage should go to the other pie / bar. - - - - - Size of the second pie as a percentage of the first. - - - - - Space between the first pie and the second. - - - - - For split = 1, what values should go to the other pie / bar. - - - - - Holder of HasShadow property. - - - - - True if the second bar / pie has a shadow; otherwise False. - - - - - Represents LeaderLines of datalabels - This property is included as the support in enabled after 2003 formats - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - 0 = normal pie chart - 1 = pie of pie chart - 2 = bar of pie chart - - - - - True to use default split value; otherwise False. - - - - - Split type: - 0 = Position - 1 = Value - 2 = Percent - 3 = Custom - - - - - For split = 0, which positions should go to the other pie / bar. - - - - - For split = 2, what percentage should go to the other pie / bar. - - - - - Size of the second pie as a percentage of the first. - - - - - Space between the first pie and the second. - - - - - For split = 1, what values should go to the other pie / bar. - - - - - 1 = the second pie / bar has a shadow. - - - - - True to show leader lines to data labels. - - - - - This record defines the scaling options for a category or series axis. - - - - - IMaxCross interface. - - - - - Gets or sets IsMaxCross property. - - - - - Minimum value for CrossingPoint, LabelsFrequency, and TickMarksFrequency properties. - - - - - Maximum value for CrossingPoint, LabelsFrequency, and TickMarksFrequency properties. - - - - - Correct record size. - - - - - Value axis / category crossing point (2D charts only). - - - - - Frequency of labels. - - - - - Frequency of tick marks. - - - - - Record flags holder. - - - - - Value axis crossing: - False if axis crosses mid-category. - True if axis crosses between categories. - - - - - Value axis crosses at the far right category (in a line, bar, - column, scatter, or area chart; 2D charts only). - - - - - Display categories in reverse order. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Value axis / category crossing point (2D charts only). - - - - - Frequency of labels. - - - - - Frequency of tick marks. - - - - - Holder of record flags. - - - - - Value axis crossing: - False if axis crosses mid-category. - True if axis crosses between categories. - - - - - Value axis crosses at the far right category (in a line, bar, - column, scatter, or area chart; 2D charts only). - - - - - Display categories in reverse order. - - - - - This record is the parent record for the chart group format - description. Each chart group will have a separate CHARTFORMAT - record, followed by a BEGIN record, the chart-group description, - and an END record. - - - - - Correct size of the record. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Holder of record options. - - - - - Vary color for each data point. - - - - - Drawing order (0 = bottom of the z-order). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - Field reserved by Microsoft for own use. Read-only. - - - - - - - - - - Vary color for each data point. - - - - - Drawing order (0 = bottom of the z-order). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record specifies drop lines, hi-lo lines, or series lines - on a line chart. If the chart has both drop lines and hi-lo - lines, two CHARTLINE records will be present. - - - - - Record size. - - - - - Drop lines / hi-lo lines: - 0 = drop lines - 1 = hi-lo lines - 2 = series lines (the lines that connect the columns in a stacked column chart) - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Drop lines / hi-lo lines: - 0 = drop lines - 1 = hi-lo lines - 2 = series lines (the lines that connect the columns in a stacked column chart) - - - - - The CHART record marks the start of the chart data substream in the - workbook BIFF stream. This record defines the location of the chart - on the display and its overall size. The X and Y fields define the - position of the upper-left corner of the bounding rectangle that - encompasses the chart. The position of the chart is referenced to the page. - The Width and Height fields define the overall size (the bounding rectangle) of - the chart, including title, pointing arrows, axis labels, etc. - The position and size are specified in points (1/72 inch), using a fixed - point format (two bytes integer, two bytes fraction). - - - - - Correct size of the record. - - - - - X-position of upper-left corner. - - - - - Y-position of upper-left corner. - - - - - X-size. - - - - - Y-size. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - X-position of upper-left corner. - - - - - Y-position of upper-left corner. - - - - - X-size. - (1/72 inch), used a fixed point format (two bytes integer, two bytes fraction). - - - - - Y-size. - (1/72 inch), used a fixed point format (two bytes integer, two bytes fraction). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - The DATAFORMAT record contains the zero-based numbers of the data - point and series. The subordinate records determine the format of - the series or point defined by the DATAFORMAT record. - - - - - Correct size of the record. - - - - - Point number (FFFFh means entire series). - - - - - Series index (file relative). - - - - - Series number (as shown in name box -- S1, S2, etc.). This can - be different from yi if the series order has been changed. - - - - - Holder of record flags. - - - - - True to use Microsoft Excel 4.0 colors for automatic formatting. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Point number (FFFFh means entire series). - - - - - Series index (file relative). - - - - - Series number (as shown in name box -- S1, S2, etc.). This can - be different from yi if the series order has been changed. - - - - - Options holder. - - - - - True to use Microsoft Excel 4.0 colors for automatic formatting. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Summary description for ChartDataLabelsRecord. - - - - - - - - - - Option flags. - - - - - Indicates whether series name is in data labels. - - - - - Indicates whether category name is in data labels. - - - - - Indicates whether value is in data labels. - - - - - Indicates whether percentage is in data labels. - - - - - Indicates whether bubble size is in data labels. - - - - - Length of the delimiter. - - - - - Delimiter. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Option flags. Read-only. - - - - - Indicates whether series name is in data labels. - - - - - Indicates whether category name is in data labels. - - - - - Indicates whether value is in data labels. - - - - - Indicates whether percentage is in data labels. - - - - - Indicates whether bubble size is in data labels. - - - - - Length of the delimiter. - - - - - Delimiter. - - - - - This record stores options for the chart data table. - - - - - Record size. - - - - - Holder of record options. - - - - - True if data table has horizontal borders. - - - - - True if data table has vertical borders. - - - - - True if data table has a border. - - - - - True if data table shows series keys. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Holds record flags. - - - - - True if data table has horizontal borders. - - - - - True if data table has vertical borders. - - - - - True if data table has a border. - - - - - True if data table shows series keys. - - - - - The DEFAULTTEXT record precedes a TEXT record to identify the text - defined in the TEXT record as the default properties for certain chart items. - - - - - Correct record size. - - - - - Object identifier for the text: - 0 = default text characteristics for "show labels" data labels - 1 = default text characteristics for value and percentage data labels - 2 = default text characteristics for all text in the chart - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Object identifier for the text: - TextDefaults.ShowLabels = default text characteristics for "show labels" data labels. - TextDefaults.ValueAndPercents = default text characteristics for value and percentage data labels. - TextDefaults.All = default text characteristics for all text in the chart. - - - - - Represents the text defaults options. - - - - - Represents the ShowLabels text defaults option. - - - - - Represents the ValueAndPercents text defaults option. - - - - - Represents the All text defaults option. - - - - - This record defines drop bars on a line chart. If the chart contains - drop bars, the chart BIFF will contain two DROPBAR records. The first - DROPBAR record corresponds to the up bar and the second DROPBAR record - corresponds to the down bar. - - - - - Record size. - - - - - Drop bar gap width (0 to 100%). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Drop bar gap width (0 to 100%). - - - - - Represents end display axis unit label record. - - - - - Minimum record size constant (generated by some version of MS Excel (probably 2007 Beta). - - - - - Record size constant. - - - - - Represents display units in axis. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Indicates is show display unit label. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - The FBI record stores font metrics. - - - - - Correct record size. - - - - - Width of basis when font was applied. - - - - - Height of basis when font was applied. - - - - - Font height applied. - - - - - Scale basis. - - - - - Index number into the font table. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Width of basis when font was applied. - - - - - Height of basis when font was applied. - - - - - Font height applied. - - - - - Scale basis. - - - - - Index number into the font table. - - - - - This record is the child of a TEXT record and defines a text - font by indexing the appropriate font in the font table. The - font table is built from FONT records. - - - - - Correct record size. - - - - - Index number into the font table. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Index number into the font table. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - This record is written by Microsoft Excel but it is ignored. - Applications writing chart BIFF do not need to write this - record and applications reading chart BIFF can ignore it. - - - - - Default record size. - - - - - - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Returns size of the required storage space. - - - - - The FRAME record defines the border that is present around a - displayed label as a rectangle. A displayed label can include - the chart title, the legend (if not a regular rectangle), a - category name, or a value amount. - - - - - Correct size of the record. - - - - - 0 = regular rectangle/no border - 1�3 (reserved) - 4 = rectangle with shadow - - - - - Record flags holder. - - - - - Microsoft Excel calculates size. - - - - - Microsoft Excel calculates position. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Record flags holder. - - - - - 0 = regular rectangle/no border - 1�3 (reserved) - 4 = rectangle with shadow - - - - - Microsoft Excel calculates size. - - - - - Microsoft Excel calculates position. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record stores fill effects such as gradient fills, patterns, - textures, and so on. The record data is obtained from the - Microsoft Office Drawing DLL. - - - - - Represents start mso index. - - - - - Represents last mso index. - - - - - Represents default offset. - - - - - Represents first bytes in record. - - - - - Represents last bytes. - - - - - Represents option list; - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - Parses data from stream. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Infill internal data. - - - - - Updates gel record to adds to stream. - - Returns array list with updated gel frame records. - - - - Clones current record. - - Returns cloned object. - - - - Updates record to serialize in biff stream. - - - - - Indicates whether record needs internal data array or if it can be cleaned. - - - - - Represents list of fill options. - - - - - This record specifies the number-format index for an axis. - - - - - Record size. - - - - - Number-format index (number of the FORMAT record in the BIFF, begins at zero). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Number-format index (number of the FORMAT record in the BIFF, begins at zero). - - - - - The LEGEND record defines the location of the legend on the - display and its overall size. The displayed legend contains - all series on the chart. - - - - - Record size. - - - - - X-position of upper-left corner. - - - - - Y-position of upper-left corner. - - - - - X-size. - - - - - Y-size. - - - - - Type: - 0 = bottom - 1 = corner - 2 = top - 3 = right - 4 = left - 7 = not docked or inside the plot area - - - - - Spacing: - 0 = close - 1 = medium - 2 = open - - - - - Holder of record flags. - - - - - Automatic positioning (True if legend is docked). - - - - - Automatic series distribution (True in Microsoft Excel 5.0). - - - - - X positioning is automatic. - - - - - Y positioning is automatic. - - - - - True if vertical legend (a single column of entries); - False if horizontal legend (multiple columns of entries). - Manual-sized legends always have this bit set to False. - - - - - True if the chart contains a data table. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - X-position of upper-left corner. - - - - - Y-position of upper-left corner. - - - - - X-size. - - - - - Y-size. - - - - - Type: - 0 = bottom - 1 = corner - 2 = top - 3 = right - 4 = left - 7 = not docked or inside the plot area - - - - - Spacing: - 0 = close - 1 = medium - 2 = open - - - - - Automatic positioning (True if legend is docked). - - - - - Automatic series distribution (True in Microsoft Excel 5.0). - - - - - X positioning is automatic. - - - - - Y positioning is automatic. - - - - - True if vertical legend (a single column of entries); - False if horizontal legend (multiple columns of entries). - Manual-sized legends always have this bit set to False. - - - - - True if chart contains data table. - - - - - This record specifies information about a legend entry which has - been changed from the default legend-entry settings. - - - - - Record size. - - - - - Legend-entry index. - - - - - Record flags holder. - - - - - True if the legend entry has been deleted. - - - - - True if the legend entry has been formatted. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Legend-entry index. - - - - - Options bit flags holder. - - - - - True if the legend entry has been deleted. - - - - - True if the legend entry has been formatted. - - - - - This record defines the appearance of a line, such as an axis line or border. - - - - - Correct size of the record. - - - - - Color of line; RGB value high byte must be set to zero. - - - - - Pattern of line: - 0 = solid - 1 = dash - 2 = dot - 3 = dash-dot - 4 = dash dot-dot - 5 = none - 6 = dark gray pattern - 7 = medium gray pattern - 8 = light gray pattern - - - - - Weight of line: - �1 or 0xffff = hairline - 0 = narrow (single) - 1 = medium (double) - 2 = wide (triple) - - - - - Format flags holder. - - - - - Automatic format. - - - - - True to draw tick labels on this axis. - - - - - True to draw line by custom style. - - - - - Index to color of line. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Color of line; RGB value high byte must be set to zero. - - - - - Line pattern. - - - - - Weight of line. - - - - - Holder of record flags. - - - - - If true - default format; otherwise custom. - - - - - True to draw tick labels on this axis. - - - - - Custom format for line color. - - - - - Line color index.. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record defines a line chart group. - - - - - Record size. - - - - - Holder of record flags. - - - - - Stack the displayed values. - - - - - Each category is broken down as a percentage. - - - - - True if this line has a shadow. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Holder of record flags. - - - - - Stack the displayed values. - - - - - Each category is broken down as a percentage. - - - - - True if this line has a shadow. - - - - - This record defines the color and shape of the line - markers that appear on scatter and line charts. - - - - - Correct size of the record. - - - - - Foreground color: RGB value (high byte = 0). - - - - - Background color: RGB value (high byte = 0). - - - - - Type of marker. - - - - - Format flags. - - - - - Index to color of marker border. - - - - - Index to color of marker fill. - - - - - Size of line markers. - - - - - Automatic color. - - - - - True = "background = none". - - - - - True = "foreground = none". - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Foreground color: RGB value (high byte = 0). - - - - - Background color: RGB value (high byte = 0). - - - - - Type of marker. - - - - - Format flags. Read-only. - - - - - Index to color of marker border. - - - - - Index to color of marker fill. - - - - - Size of line markers. - - - - - Automatic color. - - - - - True = "background = none". - - - - - True = "foreground = none". - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Indicates whether the Marker has the line properties. - - - - - Type of marker. - - - - - Represents the NoMarker marker type. - - - - - Represents the Square marker type. - - - - - Represents the Diamond marker type. - - - - - Represents the Triangle marker type. - - - - - Represents the X marker type. - - - - - Represents the Star marker type. - - - - - Represents the DowJones marker type. - - - - - Represents the StandardDeviation marker type. - - - - - Represents the Circle marker type. - - - - - Represents the PlusSign marker type. - - - - - This record links a TEXT record to an object on - the chart or to the entire chart. - - - - - Correct size of the record. - - - - - Object text is linked to. - - - - - Link index 1, series number. - - - - - Link index 2, data point number. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Object text is linked to. - - - - - Link index 1, series number. - - - - - Link index 2, data point number. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines the format for a picture attached - to a data series or point. - - - - - Correct size of the record. - - - - - Picture type. - - - - - Image format. - - - - - Environment from which the file was written. - - - - - Option flags. - - - - - Formatting only; no picture attached. - - - - - Picture is attached to top and bottom of column. - - - - - Picture is attached to back and front of column. - - - - - Picture is attached to sides of column. - - - - - Scaling value for pictures, units/picture - (IEEE floating-point number). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Picture type. - - - - - Image format. - - - - - Environment from which the file was written. - - - - - Option flags. Read-only. - - - - - Formatting only; no picture attached. - - - - - Picture is attached to top and bottom of column. - - - - - Picture is attached to back and front of column. - - - - - Picture is attached to sides of column. - - - - - Scaling value for pictures, units/picture - (IEEE floating-point number). - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Picture type. - - - - - Represents the Stretched picture type. - - - - - Represents the Stacked picture type. - - - - - Image format. - - - - - Represents the WindowsMetafile image format. - - - - - Represents the MacintoshPICT image format. - - - - - Represents the WindowsBitmap image format. - - - - - Environment from which the file was written. - - - - - Represents the Windows environment option. - - - - - Represents the Macintosh environment option. - - - - - The distance of an open pie slice from the center of the pie - chart expressed as a percentage of the pie diameter. - For example, if the percent = 33 (21h), the pie slice is - one-third of the pie diameter away from the pie center. - - - - - Correct size of the record. - - - - - Distance of pie slice from center of pie. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Distance of pie slice from center of pie. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines a pie chart group and specifies pie chart options. - - - - - Correct size of the record. - - - - - Angle of the first pie slice expressed in degrees. - - - - - 0 = True pie chart - Non-zero = size of center hole in a donut chart (as a percentage). - - - - - Option flags. - - - - - True if this pie has a shadow. - - - - - True to show leader lines to data labels. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Angle of the first pie slice expressed in degrees. - - - - - 0 = True pie chart - Non-zero = size of center hole in a donut chart (as a percentage). - - - - - Option flags. Read-only. - - - - - True if this pie has a shadow. - - - - - True to show leader lines to data labels. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record specifies the plot area layout information for attached label - - - - - Correct record size. - - - - - Specifies the future record type header - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - If the checksum is incorrect, the layout information specified in this record must be ignored - - - - - - - - - - - Correct size of the record. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record stores scale factors for font scaling. - - - - - Correct size of the record. - - - - - Horizontal growth of plot area for font scaling. - - - - - Vertical growth of plot area for font scaling. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Horizontal growth of plot area for font scaling. - - - - - Vertical growth of plot area for font scaling. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record defines manual position information for the main-axis - plot area, legend, and attached text (data labels, axis labels, - and chart title). The record data depends on the record's use, - as shown in the following sections. - - - - - Correct size of the record. - - - - - For plot area and text must be 2, - For legend must be 5. - - - - - - - - - - X coordinate of the top left corner. - - - - - Y coordinate of the top left corner. - - - - - X coordinate of the bottom right corner. - - - - - Y coordinate of the bottom right corner. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / Initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - - - - - - - - - - X coordinate of the top left corner. - - - - - Y coordinate of the top left corner. - - - - - X coordinate of the bottom right corner. - - - - - Y coordinate of the bottom right corner. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - - - - - - Correct size of the record. - - - - - Option flags. - - - - - True if the chart contains radar axis labels. - - - - - Not used. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Option flags. Read-only. - - - - - True if the chart contains radar axis labels. - - - - - Field reserved by Microsoft. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines a radar chart group. - - - - - Correct size of the record. - - - - - Option flags. - - - - - True if the chart contains radar axis labels. - - - - - True if this radar series has a shadow. - - - - - Not used. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Option flags. Read-only. - - - - - True if the chart contains radar axis labels. - - - - - True if this radar series has a shadow. - - - - - Field reserved by Microsoft. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record specifies the PivotTable reference used for the chart. - - - - - Correct size of the record. - - - - - First PivotTable row. - - - - - Last PivotTable row. - - - - - First PivotTable column. - - - - - Last PivotTable column. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - First PivotTable row. - - - - - Last PivotTable row. - - - - - First PivotTable column. - - - - - Last PivotTable column. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record stores the scatter chart properties. - - - - - Correct size of the record. - - - - - Percent of largest bubble compared to chart in general. - - - - - Bubble size. - - - - - Option flags. - - - - - True if this a bubble series. - - - - - True to show negative bubbles. - - - - - True if bubble series has a shadow. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Percent of largest bubble compared to chart in general. - - - - - Bubble size. - - - - - Option flags. Read-only. - - - - - True if this a bubble series. - - - - - True to show negative bubbles. - - - - - True if bubble series has a shadow. - - - - - This record defines the series error bars. - - - - - Correct size of the record. - - - - - Error-bar type. - - - - - Error-bar value source. - - - - - True if the error bars are T-shaped (have a line on the top and bottom). - - - - - Reserved; must be 1. - - - - - IEEE number; specifies the fixed value, percentage, - or number of standard deviations for the error bars. - - - - - Number of values or cell references used for custom error bars. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Error-bar type. - - - - - Error-bar value source. - - - - - True if the error bars are T-shaped (have a line on the top and bottom). - - - - - Reserved; must be 1. Read-only. - - - - - IEEE number; specifies the fixed value, percentage, - or number of standard deviations for the error bars. - - - - - Number of values or cell references used for custom error bars. - - - - - Error-bar type. - - - - - Represents the XDirectionPlus error-bar type. - - - - - Represents the XDirectionMinus error-bar type. - - - - - Represents the YDirectionPlus error-bar type. - - - - - Represents the YDirectionMinus error-bar type. - - - - - This record defines a series trend line. - - - - - Correct size of the record. - - - - - Represents default byte array for NaN value. - - - - - Represents default NaN value; - - - - - Regression type. - - - - - Polynomial order or moving average period. - - - - - IEEE number; specifies forced intercept. - (#NA if no intercept is specified) - - - - - True if the equation is displayed. - - - - - True if the R-squared value is displayed. - - - - - IEEE number; specifies number of periods to forecast forward. - - - - - IEEE number; specifies number of periods to forecast backward. - - - - - Updates trend line type on serialize. - - Represents trend line type. - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Regression type. - - - - - Polynomial order or moving average period. - - - - - IEEE number; specifies forced intercept. - (#NA if no intercept is specified) - - - - - True if the equation is displayed. - - - - - True if the R-squared value is displayed. - - - - - IEEE number; specifies number of periods to forecast forward. - - - - - IEEE number; specifies number of periods to forecast backward. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Regression type. - - - - - Represents the Polynomial regression type. - - - - - Represents the Exponential regression type. - - - - - Represents the Logarithmic regression type. - - - - - Represents the Power regression type. - - - - - Represents the MovingAverage regression type. - - - - - This record specifies series formatting information. - - - - - Correct size of the record. - - - - - Flags. - - - - - True if the line series has a smoothed line. - - - - - True to draw bubbles with 3D effects. - - - - - True if this series has a shadow. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Flags. Read-only. - - - - - True if the line series has a smoothed line. - - - - - True to draw bubbles with 3D effects. - - - - - True if this series has a shadow. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record is subordinate to the second CHARTFORMAT (overlay) - record in a file and defines the series that are displayed as - the overlay to the main chart. The first CHARTFORMAT (main chart) - record in a file does not require a SERIESLIST record because all - series, except those specified for the overlay, are included in - the main chart. - - - - - Minimum size of the record. - - - - - Count of series. - - - - - List of series numbers (words). - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Clones current record. - - Returns cloned record. - - - - Count of series. Read-only. - - - - - List of series numbers (words). - - - - - Minimum possible size of the record. - - - - - This record describes the series of the chart and contains the - type of data and number of data fields that make up the series. - Series can contain 4000 points in Microsoft Excel version 5. The - sdtX and sdtY fields define the type of data that is contained in - this series. At present, the two types of data used in the Microsoft - Excel chart series are numeric and text (date and sequence - information is not used). The cValx and cValy fields contain the - number of cell records in the series. - - - - - Correct size of the record. - - - - - Type of data in categories. - - - - - Type of data in values. - - - - - Count of categories. - - - - - Count of values. - - - - - Type of data in Bubble size series. - - - - - Count of Bubble series values. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Type of data in categories. - - - - - Type of data in values. - - - - - Count of categories. - - - - - Count of values. - - - - - Type of data in Bubble size series. - - - - - Count of Bubble series values. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Type of data. - - - - - Represents the Date data format. - - - - - Represents the Numeric data format. - - - - - Represents the Sequence data format. - - - - - Represents the Text data format. - - - - - The value of the ID field determines the assignment of the text field. - - - - - Minimum size of the record. - - - - - Text identifier: 0 = series name or text. - - - - - The series text string. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Text identifier: 0 = series name or text. - - - - - The series text string. - - - - - Minimum possible size of the record. - - - - - This record indicates the series index for the series that - the trend line or error bar is attached to. The series index - is the number of the series in the BIFF (starting with series one). - - - - - Correct size of the record. - - - - - Series index for the series that the trend line - or error bar is attached to. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Series index for the series that the trend line - or error bar is attached to. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record is part of the series specifications and indicates - the chart-group index for the series. The chart-group index - specifies the number of the chart group (specified by a - CHARTFORMAT record) in the BIFF, starting with chart group zero. - - - - - Correct size of the record. - - - - - Chart-group index. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Chart-group index. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record specifies chart sheet properties. - - - - - Correct size of the record. - - - - - Represents minimum record size. - - - - - Property flags. - - - - - True if chart type has been manually formatted (changed from the default). - - - - - True to plot only visible cells. - - - - - True not to size chart with window. - - - - - False to use default plot area dimensions; - True if POS record describes plot-area dimensions. - - - - - True if user has modified chart enough that fManPlotArea should be set to 0. - - - - - Empty cells plotted as: - 0 = not plotted - 1 = zero - 2 = interpolated - - - - - This field is not used. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Property flags. Read-only. - - - - - True if chart type has been manually formatted (changed from the default). - - - - - True to plot visible cells only. - - - - - True not to size chart with window. - - - - - False to use default plot area dimensions; - True if POS record describes plot-area dimensions. - - - - - True if user has modified chart enough that fManPlotArea should be set to 0. - - - - - Empty cells plotted as: - 0 = not plotted - 1 = zero - 2 = interpolated - - - - - Reserved by Microsoft. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines where a series appears in the list of series. - - - - - Correct size of the record. - - - - - Index into series list. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Index into series list. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines a surface chart group. - - - - - Correct size of the record. - - - - - Option flags. - - - - - True if chart contains color fill for surface. - - - - - True if this surface chart has shading. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Option flags. Read-only. - - - - - True if chart contains color fill for surface. - - - - - True if this surface chart has shading. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record is used in conjunction with several child records - (which further define the text displayed on the chart) to define - the alignment, color, position, size, and so on of text fields - that appear on the chart. The fields in this record have meaning - according to the TEXT record's parent (CHART, LEGEND, or DEFAULTTEXT). - - - - - Mask for the rotation value. - - - - - First bit of the rotation value. - - - - - Mask for data label placement. - - - - - First bit of the data label placement value. - - - - - Correct size of the record. - - - - - Horizontal alignment of the text. - - - - - Vertical alignment of the text. - - - - - Display mode of the background. - - - - - Text color. - - - - - X-position of the text in 1/4000 of chart area. - - - - - Y-position of the text in 1/4000 of chart area. - - - - - X-size of the text in 1/4000 of chart area. - - - - - Y-size of the text in 1/4000 of chart area. - - - - - Option flags. - - - - - Index to color value of text. - - - - - Option flags. - - - - - True for automatic color; False for user-selected color. - - - - - If text is an attached data label: - True to draw legend key with data label; - False for no legend key. - - - - - True if text of label is the value of the data point; - False if text is the category label. - - - - - True if text is not horizontal; - False if text is horizontal. - - - - - True to use automatically generated text string; - False to use user-created text string. - Must be one for fShowValue to be meaningful. - - - - - True if default or unmodified; - False if modified. - - - - - True if an automatic text label has been deleted by the user. - - - - - True if background is set to automatic. - - - - - True to show category label and value as a percentage. - (pie charts only) - - - - - True to show value as a percent. - This bit applies only to pie charts. - - - - - True to show bubble sizes. - - - - - True to show label. - - - - - Text rotation. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Horizontal alignment of the text. - - - - - Vertical alignment of the text. - - - - - Display mode of the background. - - - - - Text color. - - - - - X-position of the text in 1/4000 of chart area. - - - - - Y-position of the text in 1/4000 of chart area. - - - - - X-size of the text in 1/4000 of chart area. - - - - - Y-size of the text in 1/4000 of chart area. - - - - - Option flags. Read-only. - - - - - Index to color value of text. - - - - - Option flags. Read-only. - - - - - True if automatic color; False if user-selected color. - - - - - If text is an attached data label: - True to draw legend key with data label; - False if no legend key. - - - - - True if text of label is the value of the data point; - False if text is the category label. - - - - - True if text is not horizontal; - False if text is horizontal. - - - - - True to use automatically generated text string; - False to use user-created text string. - Must be one for fShowValue to be meaningful. - - - - - True if default or unmodified; - False if modified. - - - - - True if an automatic text label has been deleted by the user. - - - - - True if background is set to automatic. - - - - - True to show category label and value as a percentage - (pie charts only). - - - - - True to show value as a percent. - This bit applies only to pie charts. - - - - - True to show bubble sizes. - - - - - True to show label. - - - - - Rotation. - - - - - Data label placement. - - - - - Text rotation. - - - - - Text rotation. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines tick mark and tick label formatting. - - - - - Mask for the rotation value. - - - - - First bit of the rotation value. - - - - - Correct size of the record. - - - - - Maximum possible angle. - - - - - Size of the first reserved field. - - - - - Type of major tick mark. - - - - - Type of minor tick mark. - - - - - Tick label position relative to axis line. - - - - - Background mode. - - - - - Tick-label text color; RGB value, high byte = 0. - - - - - Automatic text color. - - - - - Display flags. - - - - - Automatic text background. - - - - - Automatic rotation. - - - - - Index to color of tick label. - - - - - Text rotation angle. - - - - - Indicates if axis label is left to right. - - - - - Indicates if axis label is right to left. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Type of major tick mark. - - - - - Type of minor tick mark. - - - - - Tick label position relative to axis line. - - - - - Background mode. - - - - - Tick-label text color; RGB value, high byte = 0. - - - - - Display flags. Read-only. - - - - - Index to color of tick label. - - - - - Reserved; must be zero. - - - - - Automatic text color. - - - - - Automatic text background. - - - - - Automatic rotation. - - - - - Indicates is axis label is left to right. - - - - - Indicates is axis label is right to left. - - - - - Rotation. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Microsoft Excel writes this record, but its value is always zero. - Applications writing BIFF do not need to write this record. - If the application writes this record, the wUnits field must be zero. - - - - - Correct size of the record. - - - - - Always zero. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Always zero. Read-only. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This record defines the value axis. - - - - - Record size constant. - - - - - Maximum value on axis. - - - - - Maximum value on axis. - - - - - Value of major increment. - - - - - Value of minor increment. - - - - - Value where category axis crosses. - - - - - Format flags. - - - - - Automatic minimum selected. - - - - - Automatic maximum selected. - - - - - Automatic major selected. - - - - - Automatic minor selected. - - - - - Automatic category crossing point selected. - - - - - Logarithmic scale. - - - - - Values in reverse order. - - - - - Category axis to cross at maximum value. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Maximum value on axis. - - - - - Maximum value on axis. - - - - - Value of major increment. - - - - - Value of minor increment. - - - - - Value where category axis crosses. - - - - - Format flags. Read-only. - - - - - Automatic minimum selected. - - - - - Automatic maximum selected. - - - - - Automatic major selected. - - - - - Automatic minor selected. - - - - - Automatic category crossing point selected. - - - - - Logarithmic scale. - - - - - Values in reverse order. - - - - - Category axis to cross at maximum value. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - This class wraps single record. Used in charts for DataLabels settings. - - - - - Offset to the wrapped record data. - - - - - Wrapped record. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Gets / sets wrapped record. Read-only. - - - - - Represents wrapper for gel frame record. - - - - - Represents interface, that implement mso option and fopte option wrapper classes. - - - - - Replaces option with specified value. - - Option to set. - - - - Removes current option by id. - - Represents option id to remove. - - - - Represents option storage. - - - - - Creates new instance of object. - - - - - Creates new instance of object. - - Represents option storage. - - - - Replaces option with specified value. - - Option to set. - - - - Removes current option by id. - - Represents option id to remove. - - - - Returns option list. Read-only. - - - - - Summary description for PrintedChartSizeRecord. - - - - - Correct size of the record. - - - - - Information on how chart should be printed. - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Information on how chart should be printed. - - - - - Minimum possible size of the record. - - - - - Maximum possible size of the record. - - - - - Rotation type. - - - - - Represents the LeftToRight rotation type. - - - - - Represents the TopToBottom rotation type. - - - - - Represents the CounterClockwise rotation type. - - - - - Represents the Clockwise rotation type. - - - - - - Contains utility methods for object cloning. - - - - - Clones int array. - - Array to clone - Returns cloned array. - - - - Clones ushort array. - - Array to clone. - Returns cloned array. - - - - Clones string array. - - Array to clone. - Returns cloned array. - - - - Clones object array. - - Array to clone. - Returns cloned array. - - - - Clones object that implements ICloneable interface. - - Object to clone. - A clone of the object. - - - - Clones object that implements ICloneable interface. - - Object to clone. - A clone of the object. - - - - Clones List with objects that implement ICloneable interface. - - List with objects to clone. - List with clone of the objects. - - - - Clones List with objects that implement ICloneable interface. - - List with objects to clone. - List with clone of the objects. - - - - Clones SortedList with objects that implement ICloneable interface. - - SortedList with objects to clone. - SortedList with clone of the objects. - - - - Clone SortedList. - - SortedList to clone - Returns a copy of the SortedList. - - - - Clones List with objects that implement ICloneable interface. - - List with objects to clone. - Parent object for the new items. - List with clone of the objects. - - - - Clones object that implements ICloneable interface. - - Object to clone. - Parent object for the new object. - A clone of the object. - - - - Clones MsoBase record. - - Object to clone. - Parent object. - A clone of the object. - - - - Clones byte array. - - Array to clone. - Return cloned array. - - - - Clones formula tokens array. - - Array to clone. - Return cloned array. - - - - Clones ColumnInfo array. - - Array to clone. - Return cloned array. - - - - Clone Dictionary. - - Dictionary to clone - Returns a copy of the Dictionary. - - - - Clone Dictionary. - - Dictionary to clone - Returns a copy of the Dictionary. - - - - Clone Dictionary. - - Dictionary to clone - Returns a copy of the Dictionary. - - - - Clone Dictionary. - - Dictionary to clone - Returns a copy of the Dictionary. - - - - Clone Dictionary. - - Dictionary to clone. - Parent object for the new objects. - Returns a copy of the Dictionary. - - - - Creates copy of the stream. - - Stream to copy. - Created stream. - - - - Creates a copy of the array of boolean values. - - Array to clone. - Created object. - - - - Summary description for CodeNameRecord. - - - - - - - - - - Default constructor - - - - - Read / initialize constructor - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, the class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - - - - - - Stores the text encoding (code page) used to encode byte strings. - In BIFF8, it always contains the Unicode code page 1200. - - - - - Correct size of the record. - - - - - Stores the text encoding (code page) used to encode byte strings. - In BIFF8, it always contains the Unicode code page 1200. - - - - - Default Constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Stores the text encoding (code page) used to encode byte strings. - In BIFF8 it always contains the Unicode code page 1200. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Defines the formatting information for a range of columns including width, - outline, and collapsed options. - - - - - Bit mask for the outlevel value. - - - - - Maximum and correct record size. - - - - - Index of first column in the range. - - - - - Index of the last column in the range. - - - - - Width of the columns in 1/256 of the width of zero character, - using default font (first font record in the file). - - - - - Index of extended format record for default column formatting. - - - - - Options: Use bit fields instead of using this field. - - - - - Columns are hidden. - - - - - Columns are collapsed. - - - - - Not used. - - - - - Default Constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Compares this record with another ColumnInfoRecord. - - Object to compare with. - 0 if specified record is equal to the current record; otherwise -1. - - - - Sets options into default state without setting extended format index. - - - - - Read-only. Reserved value. - - - - - Index of first column in the range. - - - - - Index of the last column in the range. - - - - - Width of the columns in 1/256 of the width of the zero character, - using default font (first font record in the file). - - - - - Index of extended format record for default column formatting. - - - - - Columns are hidden. - - - - - Gets or sets a value indicating whether this instance is best fit. - - - true if this instance is best fit; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is user set. - - - true if this instance is user set; otherwise, false. - - - - - Gets or sets a value indicating if the phonetic information should be displayed by default for the affected column(s) of the worksheet. - - - true if this instance is phenotic; otherwise, false. - - - - - Outline level of the columns (0 = no outline). - This property changes bits of private m_usOptions field. - Set method would raise ArgumentOutOfRange exception - if value is more than 7. - - - - - If 1, then columns are collapsed. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's internal data array. - - - - - Row or column index. - - - - - Specifies the Header structure of this record - - - - - Specifies wheather the workbook checks the Compability of earlier version - - - - - Specifies wheather the workbook checks the Compability of earlier version - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Minimum size of the record. - - - - - Subitem size. - - - - - Need to redraw the conditional format ON status. - - - - - Need to redraw the conditional format OFF status. - - - - - Future Header - - - - - Future header attribute. - - - - - Cell range address of the range enclosing all - conditionally formatted ranges. - - - - - Number of following CF12 records. - - - - - 1 = Conditionally formatted cells need recalculation or redraw. - - - - - Index of condFMT12 record - - - - - Number of conditionally formatted cells. - - - - - Cell range address list of all conditionally formatted ranges. - - - - - Check whether the rule parsed. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Extracts list of cells from the internal data array. - - Data provider to extract cell list from. - Position of the list in the internal data array. - - - - Size of the required storage space. Read-only. - - - - - Adds cell to the cells list. - - Cell to add to the list. - - - - Clone current record. - - Returns clone of the current object. - - - - Number of following CF12 records. - - - - - 1 = Conditionally formatted cells need recalculation or redraw. - - - - - Index of the record. - - - - - Bounds of the set of cells to which the rules are applied. - - - - - Number of conditionally formatted cells. Read-only. - - - - - Returns list with all conditionally formatted ranges. Read-only. - - - - - Check whether the rule is parsed or not. - - - - - Whenever the content of the record exceeds the given limits, - the record must be split. Several Continue Records containing - the additional data are added after the parent record. - - - - - Summary description for ILengthSetter. - - - - - Sets length of the internal data. - - New length to set. - - - - - - - - - - Sets internal data array. - - Data array to set. - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack its own properties into - an internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - - - - - - This record stores two Windows country identifiers. - The first represents the user interface language of the Excel version - that saved this file, and second represents the system regional settings - at the time the file was saved. - - - - - Correct size of the record. - - - - - Represents the user interface language of the Excel version - that saved this file. - - - - - Represents the system regional settings - at the time the file was saved. - - - - - Default constructor - - - - - Read/Initialize constructor - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Represents the user interface language of the Excel version - that saved this file. - - - - - Represents the system regional settings - at the time the file was saved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record stores the contents of an external cell or cell range. - An external cell range has only one row. If a cell range spans over more than - one row, several CRN records will be created. - - - - - Offset to the values. - - - - - Error message. - - - - - Default subitem size (boolean, error and number). - - - - - Unused bytes for boolean and error cell values. - - - - - Index to last column inside of the referenced sheet. - - - - - Index to first column inside of the referenced sheet. - - - - - Index to row inside of the referenced sheet. - - - - - Array of cell values. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Data provider that contains record's data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - - - - - - - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Creates copy of the current object. - - A copy of the current object. - - - - - - - - - Index to last column inside of the referenced sheet. - - - - - Index to first column inside of the referenced sheet. - - - - - Index to row inside of the referenced sheet. - - - - - Read-only. Minimum possible size of the record. - - - - - Array of cell values. - - - - - - - - - - Summary description for CustomPropertyRecord. - - - - - Size of fixed data. - - - - - Max length of name string. - - - - - Unknown record header. - - - - - Property name. - - - - - Property value. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Returns size of the required data array. - - Size of the required data array. - - - - Gets / sets property name. - - - - - Gets / sets property value. - - - - - This record specifies the base date for displaying date values. - All dates are stored as count of days past this base date. - - - - - Two bytes which used for storing boolean value: - 0 = Base date is 1899-Dec-31 (the cell value 1 represents 1900-Jan-01) - 1 = Base date is 1904-Jan-01 (the cell value 1 represents 1904-Jan-0) - - - - - Use first bit of m_usWindow to store boolean flag: - False = Base date is 1899-Dec-31 (the cell value 1 represents 1900-Jan-01) - True = Base date is 1904-Jan-01 (the cell value 1 represents 1904-Jan-0) - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Two bytes which are used for storing boolean value. - - - - - Boolean value specifying whether 1904 date windowing is used. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Contains relative offsets to calculate the stream position of - the first cell record for each row. - This record is written once in a row block. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - Relative offset to first row record in the row block - (difference between record position of this record and the row record; - positive offset for an earlier stream position). - - - - - Relative offset to first row record in the row block - (difference between record position of this record and the row record; - positive offset for an earlier stream position). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array iReserve bytes. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - This method checks the record's internal data array for integrity. - - If there is any internal error. - - - - Size of the required storage space. Read-only. - - - - - Relative offset to first row record in the row block - (difference between record position of this record and the row record; - positive offset for an earlier stream position). - - - - - Relative offset to first row record in the row block - (difference between record position of this record and the row record; - positive offset for an earlier stream position). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - This record stores a data consolidation reference. DConBin is identical to - DConName, except that DConBin is used when the data consolidation reference - refers to a built-in name (as described by a Name record). - - - - - Named range of the source area for consolidation. - - - - - Workbook name. - - - - - Used for preserving the Record. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack its own properties into - an internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Named range of the source area for consolidation. - - - - - Workbook name. - - - - - The DConName record contains the complete description of a named range of - cells for the Consolidate command (Data menu). - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Summary description for DCON. - - - - - Correct size of the record. - - - - - Index to the data consolidation function. - - - - - 1 indicates that the left column option is turned on. - - - - - 1 indicates that the top row option is turned on. - - - - - 1 indicates that the create links to source data option is turned on. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Index to the data consolidation function. - - - - - True means that the left column option is turned on. - - - - - True means that the top row option is turned on. - - - - - True means that the create links to source data option is turned on. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Summary description for DConRefRecord. - - - - - First row of the source area for consolidation. - - - - - Last row of the source area for consolidation. - - - - - First column of the source area for consolidation. - - - - - Last column of the source area for consolidation. - - - - - Workbook name. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - First row of the source area for consolidation. - - - - - Last row of the source area for consolidation. - - - - - First column of the source area for consolidation. - - - - - Last column of the source area for consolidation. - - - - - Workbook name. - - - - - Specifies the default width for columns that have no specific width set. - - - - - Correct size of the record. - - - - - Column width in characters, using the width of the zero character - with default font (first font record in the file). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Column width in characters, using the width of the zero character - with default font (first font record in the file). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Row height for rows with undefined or inexplicitly defined heights. - - - - - Correct record size. - - - - - Option flags. - - - - - Default row height for undefined rows / rows with undefined height. - - - - - Specifies whether the default settings for the row height have been changed.. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Option flags. - - - - - Default row height for undefined rows / rows with undefined height. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Returns a boolean value which specifies whether the default settings for the row height have been changed. - - - - - Stores the maximum change of the result to the exit of an iteration. - - - - - Default value of the maximum change in iteration. - - - - - Correct record size. - - - - - Maximum change in iteration (IEEE floating-point value). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Maximum change in iteration (IEEE floating-point value). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Contains the range address of the used area in the current sheet. - - - - - Correct record size. - - - - - Index to first used row. Zero base. - - - - - Index to last used row. One base. - - - - - Index to first used column. Zero base. - - - - - Index to last used column. One base. - - - - - Not used. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Read-only. Not used. - - - - - Index to first used row. - - - - - Index to last used row. - - - - - Index to first used column. - - - - - Index to last used column. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Double Stream Flag Record indicating if this is a double stream file. - Double Stream files contain both BIFF8 and BIFF7 workbooks. - - - - - Correct size of the record. - - - - - Indicates if this is a double stream file. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Indicates if this is a double stream file. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record is the list header of the Data Validity Table in the current sheet. - - - - - Option flags. - - - - - False if the prompt box is not visible. - True if the prompt box is currently visible. - - - - - False if the prompt box has a fixed position. - True if the prompt box appears at a cell. - - - - - True if cell validity data is cached in DV records. - - - - - Horizontal position of the prompt box, if it has a fixed position, in pixels. - - - - - Vertical position of the prompt box, if it has a fixed position, in pixels. - - - - - Object identifier of the drop-down arrow object for a list box, - If a list box is visible at the current cursor position; otherwise FFFFFFFFH. - - - - - Number of DV records. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - - - - - - - - Read-only. Option flags. - - - - - False if prompt box is invisible. - True if prompt box is currently visible. - - - - - False if prompt box has fixed position. - True if prompt box appears at cell. - - - - - True if cell validity data is cached in DV records. - - - - - Horizontal position of the prompt box, if it has a fixed position, in pixels. - - - - - Vertical position of the prompt box, if it has a fixed position, in pixels. - - - - - Object identifier of the drop-down arrow object for a list box, - if a list box is visible at the current cursor position; otherwise FFFFFFFFH. - - - - - Number of DV records. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - This record is part of the Data Validity Table. It stores data validity settings - and a list of cell ranges which contain these settings. The "prompt box" appears - while editing such a cell. The "error box" appears if the entered value does not - fit the conditions. The data validity settings of a sheet are stored in a sequential - list of DV records. This list is preluded by a DVAL record. If a string is empty - and the default text should appear in the prompt box or error box, the string - must contain a single zero character (string length will be 1). - - - - - Bit mask for data type. - - - - - Bit mask for error style. - - - - - Bit mask for condition. - - - - - Start bit of the error style in options. - - - - - Start bit of the condition in options. - - - - - - - - - - Size of the fixed part. - - - - - Option flags. - - - - - True if in list type validity, the string list is explicitly given in the formula. - - - - - True if empty cells are allowed. - - - - - True to suppress the drop-down arrow in list type validity. - - - - - True to show prompt box if cell selected. - - - - - True to show error box if invalid values are entered. - - - - - Title of the prompt box (Unicode string, 16-bit string length). - - - - - Title of the error box (Unicode string, 16-bit string length). - - - - - Text of the prompt box (Unicode string, 16-bit string length). - - - - - Text of the error box (Unicode string, 16-bit string length) - - - - - Number of cell range addresses. - - - - - Cell range address list with all affected ranges. - - - - - Tokens of the first formula. - - - - - Tokens of the second formula. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - When last byte of read data is not the last byte of data after parsing. - - - - - In this method, a class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Adds new range to the list of validation ranges. - - Range to add. - - - - Adds new ranges to the list of validation ranges. - - Array of ranges to add. - - - - Adds new ranges to the list of validation ranges. - - Collection of ranges to add. - - - - Clears the Address. - - - - - Evaluates size of the formula in bytes. - - Tokens to get size from. - Excel version that should be used to infill data. - Indicates whether we should add size of the additional data. - Formula size in bytes. - - - - Size of the required storage space. Read-only. - - - - - Returns StringEmpty if income string is empty or null. - - String to modify. - - - - - Returns empty string is income string is StringEmpty. - - String to modify. - - - - - Clone current record. - - Returns clone of the current object. - - - - - - - - - - - - - - - - - Option flags. - - - - - True if in list type validity, the string list is explicitly given in the formula. - - - - - True if empty cells are allowed. - - - - - True to suppress the drop-down arrow in list type validity. - - - - - True to show prompt box if cell is selected. - - - - - True to show error box if invalid values are entered. - - - - - Data type: - Changes bits of m_uiOptions private member. - - - - - Error style: - Changes bits of m_uiOptions private member. - - - - - Condition operator: - Changes bits of m_uiOptions private member. - - - - - Title of the prompt box (Unicode string, 16-bit string length). - - - - - Title of the error box (Unicode string, 16-bit string length). - - - - - Text of the prompt box (Unicode string, 16-bit string length). - - - - - Text of the error box (Unicode string, 16-bit string length). - - - - - Formula data for the first condition (RPN token array without size field). - - - - - Formula data for the second condition (RPN token array without size field). - - - - - Read-only. Number of cell range addresses. - - - - - Cell range address list with all the affected ranges. - - - - - Read-only. Minimum possible size of the record. - - - - - Specifies the default width for columns that have no specific width set. - - - - - Correct size of the record. - - - - - Column width in characters, using the width of the zero character - with default font (first font record in the file). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Column width in characters, using the width of the zero character - with default font (first font record in the file). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - The end record defines the end of a block of records for a (Graphing) - data object. This record is matched with a corresponding BeginRecord. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - It indicates the end of a record block with leading BOF record. - This could be the end of the workbook globals, a worksheet, a chart, etc. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record specifies the number of XF records contained in this file and that contains a checksum of the data in those records. - This record MUST exist if and only if there are XFExt records in the file. - - - - - Header of this record - - - - - Specifies the number of XF records - - - - - Specifies the Checksum of the record - This checksum is used to detect whether the XF records in the file were modified by an - application that does not support the formatting feature extensions in XFExt records. - - - - - current parent workbook - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Get the size - - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Clone current Record. - - Returns memberwise clone on current object. - - - - Specifies the number of XF records - - - - - CRC checksum - - - - - One of the most complex records. There are two types: - Style and Cell. It should be noted that fields in the extended format record are - somewhat arbitrary. Almost all of the fields are bit-level, but - we name them as best as possible by functional group. In some - places, this is more conducive than others. - - - - - Indent bit mask: - - - - - Read order bit mask: - - - - - Start bit for read order value. - - - - - Parent index bit mask: - - - - - Rotation bit mask: - - - - - Top border palette bit mask: - - - - - Bottom border palette bit mask: - - - - - Diagonal bit mask: - - - - - Diagonal line bit mask: - - - - - Fill pattern bit mask: - - - - - Left border bit mask: - - - - - Right border bit mask: - - - - - Top border bit mask: - - - - - Bottom border bit mask: - - - - - Horizontal alignment bit mask: - - - - - Vertical alignment bit mask: - - - - - Background bit mask: - - - - - Foreground border bit mask: - - - - - Left border palette bit mask: - - - - - Right border palette bit mask: - - - - - Start bit for the right border bit mask: - - - - - - - - - - Mask for FillForeground property. - - - - - Default color index. - - - - - Default pattern color index. - - - - - Maximum possible index in the extended format, means that there is no parent. - - - - - Default value for HAlignJustify - - - - - Default value for VAlignJustify - - - - - Index to font record. - - - - - Index to FORMAT record. - - - - - Cell options. - - - - - True if cell is locked. - - - - - True if formula is hidden. - - - - - Type of extended format record, False = Cell XF; True = Style XF. - - - - - - - - - - Alignment options of the extended format. - - - - - True indicates that text is wrapped at right border. - - - - - For far east languages. Supported only for format, always 0 for US. - - - - - Indent options of the extended format. - - - - - True indicates shrinking content to fit into cell. - - - - - True indicates that XF contains merged cells. - - - - - Flag for number format, if False, then an attribute of the parent style is used. - - - - - Flag for font, if False, then an attribute of the parent style is used. - - - - - Flag for horizontal and vertical alignment, text wrap, indentation, - orientation, rotation, and text direction. If False, then an attribute - of the parent style is used. - - - - - Flag for border lines. - If False, then an attribute of the parent style is used. - - - - - Flag for background area style. - If False, then an attribute of the parent style is used. - - - - - Flag for cell protection (cell locked and formula hidden). - If False, then an attribute of the parent style is used. - - - - - Indent value. - - - - - Border options: - - - - - Palette options: - - - - - True if diagonal line runs from top left to right bottom. - - - - - True if diagonal line runs from bottom left to right top. - - - - - Additional palette options: - - - - - Fill options: - - - - - Indicates whether hash is valid. - - - - - Current hash value. - - - - - Index to the parent extended format. - - - - - Extended format fill pattern type. - - - - - Index of Fill. - - - - - Index of Border. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Compares with Extended format record. - - Param to compare. - Returns compare results. - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Swaps colors if necessary. - - - - - Copies border settings from another extended format record. - - Source record to copy data from. - - - - Copies alignment settings from another extended format record. - - Source record to copy data from. - - - - Copies pattern settings from another extended format record. - - Source record to copy data from. - - - - Copies protection / cells settings from another extended format record. - - Source record to copy data from. - - - - Copies data from the current ExtendedFormat record to the specified - ExtendedFormat record. - - ExtendedFormat record that will receive data from - the current record. - - - - Copies data from the current Biff record to the specified Biff record. - - Biff record that will receive data from the current record. - - - - Cell options bits in one location. Read-only. - - - - - Border options bits in one location. Read-only. - - - - - Alignment options bits in one location. Read-only. - - - - - Index to font record. - - - - - Represent the fill index - - - - - Represent the Border Index - - - - - Index to FORMAT record: - - - - - True if cell is locked. - - - - - True if formula is hidden. - - - - - Type of extended format record. - - - - - - - - - - Gets /sets index to parent style XF (always FFFH in style XFs in Excel 97). - - - - - True means that text is wrapped at right border. - - - - - For far east languages supported only for format, always use False for US. - - - - - Gets or sets indent level. - - - - - True means to shrink content to fit into cell. - - - - - True if extended format contains merged cells. - - - - - Text direction, the reading order for far east versions. - - - - - Text rotation angle: - 0- Not rotated - 1-90- 1 to 90 degrees counterclockwise - 91-180- 1 to 90 degrees clockwise - 255- Letters are stacked top-to-bottom, but not rotated. - - - Thrown when value is more than 0xFF. - - - - - Flag for number format, if False, then an attribute of the parent style is used. - - - - - Flag for font, if False, then an attribute of the parent style is used. - - - - - Flag for horizontal and vertical alignment, text wrap, indentation, - orientation, rotation, and text direction. If False, then an attribute - of the parent style is used. - - - - - Flag for border lines. - If False, then an attribute of the parent style is used. - - - - - Flag for background area style. - If False, then an attribute of the parent style is used. - - - - - Flag for cell protection (cell locked and formula hidden). - If False, then attributes of the parent style is used. - - - - - Color index for top line color. - This property changes bits of the m_uiAddPaletteOptions class member. - - - Thrown when value is more than 0x7F. - - - - - Color index for bottom line color. - This property changes bits of the m_uiAddPaletteOptions class member. - - - Thrown when value is more than 0x7F. - - - - - Color index for left line color - This property changes bits of the m_usPaletteOptions class member. - - - Thrown when value is more than 0x7F. - - - - - Color index for right line color. - This property changes bits of the m_usPaletteOptions class member. - - - Thrown when value is more than 0x7F. - - - - - Color index for diagonal line color. - This property changes bits of the m_uiAddPaletteOptions class member. - - - Thrown when value is more than 0x7F. - - - - - Diagonal line style. - This property changes bits of the m_uiAddPaletteOptions class member. - - - Thrown when value is more than 0x0F. - - - - - Diagonal line is drawing from top left to bottom right corner of cell. - - - - - Diagonal line is drawing from bottom left to top right corner of cell. - - - - - Fill pattern: - This property changes bits of the m_uiAddPaletteOptions class member. - - - Thrown when value is more than 0x3F. - - - - - Left line style: - This property changes bits of the m_usBorderOptions class member. - - - - - Right line style: - This property changes bits of the m_usBorderOptions class member. - - - - - Top line style: - This property changes bits of the m_usBorderOptions class member. - - - - - Bottom line style: - This property changes bits of the m_usBorderOptions class member. - - - - - Horizontal alignment. - - - - - Vertical alignment. - - - - - Color index for pattern color - This property changes bits of m_usFillPaletteOptions. - - - Thrown when value is more than 0x7F. - - - - - Color index for pattern background. - This property changes bits of m_usFillPaletteOptions. - - - Thrown when value is more than 0x7F. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Type of extended format. - - - - - Represents the XF_CELL extended format type. - - - - - Represents the XF_STYLE extended format type. - - - - - Header of this record - - - - - Specifies the index of XF record which is extended - - - - - Property count - - - - - Set of properties applied to the XF format - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for the record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Initialize the variables - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Get the size - - - - - Serves as a hash function for a particular type, suitable for use - in hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Compares with Extended XF format record. - - Param to compare. - Returns compare results. - - - - Copies data from the current Biff record to the specified Biff record. - - Biff record that will receive data from the current record. - - - - Copies data from the current ExtendedXF record to the specified - ExtendedXF record. - - ExtendedXF record that will receive data from - the current record. - - - - Clone current Record. - - Returns memberwise clone on current object. - - - - - - - - - Specifies the index of XF record which is extended - - - - - Properties count - - - - - Set of properties applied to the XF format - - - - - Maximum tint value. - - - - - Type of the Extended property - - - - - Size of the Extended property - - - - - Type of the stored color. - - - - - Color value. - - - - - Tint and shade. - - - - - Reserved. - - - - - Font Scheme. - - - - - Text indentation level. - - - - - Gradient type. - - - - - Gradient angle. - - - - - Left coordinate of the inner rectangle. - - - - - Right coordinate of the inner rectangle. - - - - - Top coordinate of the inner rectangle. - - - - - Bottom coordinate of the inner rectangle. - - - - - No. of items in the gradstops. - - - - - Gradient color value. - - - - - Gradient position. - - - - - Gradient tint. - - - - - List of gradient stops. - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Parse the gradient. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - Serialize the gradient. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Type of the Extended property - - - - - Size of the color Record - - - - - Color type - - - - - Color value - - - - - Tint value - - - - - Reserved must be ignored. - - - - - Font Sheme. - - - - - Text Indentation level. - - - - - Set of gradstops. - - - - - Type of the stored color. - - - - - Gradient color value. - - - - - Gradient position. - - - - - Gradient tint. - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - This record contains the number of additional EXTERNSHEET records. - In BIFF8, this is omitted because there is only one EXTERNSHEET record. - - - - - Correct size of the record. - - - - - Number of additional EXTERNSHEET records. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Number of additional EXTERNSHEET records. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - - - - - - Option flags. - - - - - One-based index to sheet in preceding SUPBOOK record, 0 - for global defined names (for external names), or - Not used (for add-in functions). - - - - - Not used. - - - - - External name (Unicode string, 8-bit string length) or - Add-in function name (Unicode string, 8-bit string length). - - - - - Size of the formula data. - - - - - Formula data or - 02H 00H 1CH 17H (formula representing the #REF! error code). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Infills internal data in the case of DDE link extern name. - - - - - Read-only. Option flags. - - - - - Read-only. One-based index to sheet in preceding SUPBOOK - record, 0 for global defined names (for external names), or - Not used (for add-in functions). - - - - - Read-only. Not used. - - - - - Read-only. Formula data or - 02H 00H 1CH 17H (formula representing the #REF! error code). - - - - - External name (Unicode string, 8-bit string length) or - Add-in function name (Unicode string, 8-bit string length). - - - - - Read-only. Minimum possible size of the record. - - - - - - - - - - Indicates whether data array is needed to store record data. Read-only. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Possible options flags. - - - - - The record stores a list with indexes to SUPBOOK records. - - - - - Size of the fixed part. - - - - - Maximum references in one record. - - - - - Number of following REF structures. - - - - - List of REF structures. - - - - - Represents the number of elements in rgXTI array - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserves for record's internal data array iReserve bytes. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - This method adds one TREF structure to the list. - - SUPBOOK index. - Index to first SUPBOOK sheet. - Index to last SUPBOOK sheet. - - Index of the old REF structure (if there was one) - or new REF structure. - - - - - - - - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - Number of following REF structures. - - - - - List of REF structures. - - - - - Gets list of references. - - - - - Read-only. Minimum possible size of the record. - - - - - Stores index to SUPBOOK record. - - - - - Size of the TREF. - - - - - Index to SUPBOOK record. - - - - - Index to first SUPBOOK sheet. - - - - - Index to last SUPBOOK sheet. - - - - - Constructs reference by SUPBOOK index and its start and end sheet. - - SUPBOOK index. - Index to first SUPBOOK sheet. - Index to last SUPBOOK sheet. - - - - Index to SUPBOOK record. - - - - - Index to first SUPBOOK sheet. - - - - - Index to last SUPBOOK sheet. - - - - - Extended SST table info subrecord - contains the elements of "info" in the SST's array field. - - - - - Correct size of the record. - - - - - Absolute stream position of first string of the portion. - - - - - Position of first string of the portion inside the current record, - including record header. This counter restarts at zero, if the SST - record is continued with a CONTINUE record. - - - - - Not used. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Absolute stream position of first string of the portion. - - - - - Position of first string of the portion inside of current record, - including record header. This counter restarts at zero, if the SST - record is continued with a CONTINUE record. - - - - - Read-only. Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - It is used by Excel to create a hash table with stream - offsets to the SST record to optimize string search operations. Excel - may not shorten this record if strings are deleted from the shared - string table, so the last part might contain invalid data. The stream - indexes in this record divide the SST into portions containing a - constant number of strings. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - Number of strings in a portion, this number is >=8. - - - - - Array that contains all portions. - - - - - Indicates and of workbook in some cases. - - - - - Reference to the SST record. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into an - internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Method updates fields of record which must contain stream offset - or other data. This method must be called before save operation - when all records placed in array in its positions and offsets can - be freely calculated. - - - - - Size of the required storage space. Read-only. - - - - - Number of strings in a portion, this number is >=8. - - - - - Array that contains all portions. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Indicates and of workbook in some cases. Read-only. - - - - - Gets / sets reference to the SST record. - - - - - This record is part of the file protection. It contains information about - the read/write password of the file. All record contents following this - record will be encrypted. - - - - - Value of hash field indicating that standard encryption algorithm was used. - - - - - Value of hash field indicating that strong encryption algorithm was used. - - - - - Indicates whether weak (xor) or not weak encryption was used. - 0 - BIFF2-BIFF7 weak XOR encryption, - 1 - BIFF8 standard encryption or BIFF8X strong encryption. - - - - - Encryption key calculated from the read/write password. - - - - - Hash value calculated from the read/write password. - - - - - Record content for BIFF8 standard encryption. - - - - - Record content for BIFF8X strong encryption. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Creates internal standard encryption block. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether weak encryption is used. - - - - - Encryption key calculated from the read/write password. - - - - - Hash value calculated from the read/write password. - - - - - Returns content for BIFF8 standard encryption. Read-only. - - - - - - - - - - Summary description for FilePassStandardBlock. - - - - - Correct record size. - - - - - Unique document identifier used to initialize the encryption algorithm. - - - - - Encrypted document identifier used to verify the entered password. - - - - - Digest used to verify the entered password. - - - - - Default constructor. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Buffer length. - - - - - - - - - - Unique document identifier used to initialize the encryption algorithm. Read-only. - - - - - Encrypted document identifier used to verify the entered password. Read-only. - - - - - Digest used to verify the entered password. Read-only. - - - - - Summary description for FilePassStrongBlock. - - - - - Option flags. - - - - - Unknown value. - - - - - Stream encryption algorithm identifier. - 00006801H = RC4 (Ron's Code 4) - 00006802H = SEAL (Secure Encryption Algorithm) - - - - - Password hashing algorithm identifier: - 00008001H = MD2 (Message Digest 2) - 00008002H = MD4 (Message Digest 4) - 00008003H = MD5 (Message Digest 5) - 00008004H = SHA-1 (Secure Hash Algorithm) - - - - - Hash key length (bits). - - - - - Cryptographic provider type: - 00000001H = RSA - 0000000CH = RSA SChannel - 0000000DH = DSS and Diffie-Hellman - 00000012H = DH SChannel - 00000018H = RSA and AES - - - - - Unknown or not used. - - - - - Cryptographic provider name, Unicode character array with trailing null character. - - - - - Unique document identifier used to initialize the encryption algorithm. - - - - - Encrypted document identifier used to verify the entered password. - - - - - Digest used to verify the entered password. - - - - - Default constructor. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - - - - Option flags. - - - - - Unknown value. - - - - - Stream encryption algorithm identifier. - 00006801H = RC4 (Ron's Code 4) - 00006802H = SEAL (Secure Encryption Algorithm) - - - - - Password hashing algorithm identifier: - 00008001H = MD2 (Message Digest 2) - 00008002H = MD4 (Message Digest 4) - 00008003H = MD5 (Message Digest 5) - 00008004H = SHA-1 (Secure Hash Algorithm) - - - - - Hash key length (bits). - - - - - Cryptographic provider type: - 00000001H = RSA - 0000000CH = RSA SChannel - 0000000DH = DSS and Diffie-Hellman - 00000012H = DH SChannel - 00000018H = RSA and AES - - - - - Unknown or not used. Read-only. - - - - - Cryptographic provider name, Unicode character array with trailing null character. - - - - - Returns digest used to verify the entered password. Read-only. - - - - - The record represents an empty cell. - It contains the cell address and formatting information. - - - - - 1 = Recommend Read-only state while loading the file. - - - - - Hash value calculated from the Read-only password. - - - - - User name of the file creator. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - 1 = Recommend Read-only state while loading the file. - - - - - Hash value calculated from the Read-only password. - - - - - Index to XF (extended format) record. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - If the sheet contains a filtered list, the file will contain FilterModeRecord. - This record has no record data field. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream when the record must be serialized into a stream. - - - - - Read-only. Maximum possible size of the record. - - - - - Function Group Count Record - Number of built in function groups in the current version of the - spreadsheet (probably only used in Windows). - - - - - Correct size of the record. - - - - - Number of built in function groups in the current version of the spreadsheet. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Number of built in function groups in the current version of the spreadsheet. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Font Record describes a font in the workbook (index = 0-3,5-infinity - skip 4) - An element in the Font Table contains information about a used font, - including character formatting. - - - - - Incorrect hash value. - - - - - Offset to the byte that indicates whether string is unicode. - - - - - Default font color. - - - - - Height of the font (in twips = 1/20 of a point). - - - - - Font attributes. - - - - - Palette color index. - - - - - Boldness (100-1000). Standard values are 0190H (400) for normal text - and 02BCH (700) for bold text. - - - - - Escapement: - - - - - Underline type: - - - - - Font family: - - - - - Character set: - - - - - Not used. - - - - - Font name: Unicode string, 8-bit string length. - - - - - Cached hash code value. - - - - - Represents the baseline value which indicates whether superscript or subscript - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Determines whether the specified object is equal to the current object. - - The object to compare with the current object. - - True if the specified object is equal to the current object; - otherwise False. - - - - - Serves as a hash function for a particular type, suitable for - use in hashing algorithms and data structures like a hash table. - - A hash code for the current object. - - - - - - - - - - - - - - - - - Read-only. Font attributes. - - - - - Height of the font (in twips = 1/20 of a point). - - - - - Palette color index. - - - - - Boldness (100-1000). Standard values are 0190H (400) for normal text - and 02BCH (700) for bold text. - - - - - Escapement: - - - - - Gets or sets the baseline value which indicates whether superscript or subscript - - - - - Underline type: - - - - - Font family: - - - - - Character set: - - - - - Font name: Unicode string, 8-bit string length. - - - - - True if characters are italic. - - - - - True if characters are strikeout. - - - - - Whether to use the Mac outline font style (Mac only). - - - - - Whether to use the Mac shadow font style thing (Mac only). - - - - - Not used. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Font attributes. - - - - - Indicates whether this font is in italics. - - - - - Indicates whether characters are strikeout. - - - - - Whether to use the Mac outline font style (Mac only). - - - - - Whether to use the Mac shadow font style (Mac only). - - - - - All known flags. - - - - - Record contains information about a number format. - - - - - Format index used in other records: - - - - - Length of format string: - - - - - Format string: - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Format index used in other records: - - - - - Length of format string: - - - - - Read-only. Minimum possible size of record. - - - - - Contains the token array and the result of a formula cell. - - - - - This interface supports DoubleValue property. - - - - - Returns double value. Read-only. - - - - - Returns type code. Read-only. - - - - - Represents first mask - - - - - Represents boolean mask. - - - - - Represents error mask. - - - - - Represents error mask. - - - - - String mask. - - - - - String mask. - - - - - Size of the fixed part. - - - - - Formula value in the case of string value. - - - - - Formula value in the case of blank value. - - - - - Offset to the formula value. - - - - - Size of the data before expression that belongs only to formula (without row, column, xf indexes). - - - - - - - - - - - - - - - - - - - - The calculated value of the formula. - - - - - The option flags. - - - - - True to always recalculate. - - - - - True to calculate on open. - - - - - True if part of a shared formula. - - - - - Reserved. - - - - - Size of the following formula data. - - - - - Formula data (RPN token array). - - - - - Array that contains all parsed tokens. - - - - - - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Parses formula expression and fill and provides internal integrity data check. - - Object that provides access to the data. - Record's data offset. - Excel version that was used to infill data provider. - - If there is any internal error. - - - - - Prepares expression field. - - - - - Sets bool or error value. - - Represents bool or error byte value. - Indicates if this is error. - - - - Size of the required storage space. Read-only. - - - - - Converts error or bool value to formula double value. - - Represents error or bool value. - Indicates is error or bool. - Returns formula value. - - - - Sets flags so MS Excel understands that formula returns string. - - Object that provides access to the data. - Offset to the FormulaRecord.. - - - - Sets flags so MS Excel understands that formula returns string. - - Object that provides access to the data. - Offset to the FormulaRecord.. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version used to infill data. - Record's value. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version used to infill data. - Record's value. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version used to infill data. - Record's value. - - - - Writes record's value into the data provider. - - Provider to write data into. - Offset to the record's start. - Excel version used to infill data. - Record's value. - - - - - - - - - - - - - - - - Converts formula tokens from Excel97to2003 to Excel2007 version and vice versa. - - Formula tokens. - Defines what conversion must be applied. - - - - Converts formula GOTO and IF token from Excel97to2003 to Excel2007 version and vice versa. - - Formula tokens. - GOTO token index. - Defines what conversion must be applied. - - - - The calculated value of the formula. - - - - - Option flags of the formula. - - - - - True to always recalculate. - - - - - True to calculate on open. - - - - - True if part of a shared formula. - - - - - Array that contains all parsed tokens. - - - - - Read-only. Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - - - - - - The calculated value of the formula. - - - - - Indicates if formula record contain bool value. Read-only. - - - - - Indicates if formula record contain error value. Read-only. - - - - - - - - - - The calculated boolean value of the formula. - - - - - The calculated error value of the formula. - - - - - Array that contains all parsed tokens. - - - - - This token contains a 3D reference or an external reference to a cell range. - - - - - This token contains the reference to a cell range in the same sheet. - - - - - This class is the base class for each token of a formula. - - - - - Code of the token. - - - - - Default constructor. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Gets string from byte array, length of string is set in 16 bit value. - - Data array which contains string. - Offset to the string data. - Parsed string. - - - - Gets string from byte array and returns it's length in iFullLength parameter. - - Data array which contains string. - Offset to the string data. - Length of the string in bytes. - Parsed string. - - When data array is smaller than the string that should be in it. - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Returns size of the tokens array. - - Excel version - defines resulting size. - Size of the tokens array. - - - - Converts token to byte array. - - Excel version - defines resulting array format and size. - Array of bytes representing this token. - - - - Converts token to a string. - - String representation of the token. - - - - Converts token to the string. - - Formula util. - String representation of the token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to a string. - - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - - - - - - - - - Indicates whether R1C1 notation must be used. - Formula util. - - - - - - - - - - Indicates whether R1C1 notation must be used. - Formula util. - - - - - - Moves token by iRowOffset to the right and iColumnOffset to the left. - (Updates formula token after copy operation.) - - Row offset. - Column offset. - Parent workbook. - Updated token. - - - - Adjusts the location of the token by the specified amount. - Returns adjusted token. (Updates formula token after move operation.) - - Index of the sheet where formula is located. - Zero-based row index which this token is located. - Zero-based column index where this token is located. - Index of the source worksheet in move range operation. - Index of the destination worksheet in move range operation. - Rectangle that was moved. - Location were range was moved. - Indicates whether token was changed during move operation. - Parent workbook. - Adjusted token. - - - - - - - - - - - - - - - - - - - - - - Converts tokens from regular formula into tokens from shared formula. - - Represents parent workbook. - Represents row index. - Represents column index. - Formula token. - - - - Compares this token to the specified one. - - Token to compare with. - 0 if tokens are equal. - - - - Compares tokens content. - - Token to compare with this one. - 0 if tokens are equal. - - - - Compares two token arrays. - - The first array to compare. - The second array to compare. - True if arrays are equal; otherwise false. - - - - - - - - - - Converts index to token code. - - - - - - - - Read-only. True if this ptg represents operation ptg. - - - - - Gets / sets. Code of the token. - - - - - This interface should be implemented by those tokens - that can be converted to IRange. - - - - - This interface should be implemented by those tokens - that can be converted to IRange. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - This interface is implemented by formula tokens that can provide corresponding rectangle object. - - - - - Returns rectangle represented by the token that implements this interface. - All coordinates are zero-based. - - Rectangle represented by the token. - - - - Updates token using data from specified rectangle. - - Rectangle with new token coordinates. - Updated token. - - - - Converts current token into error token. - - Created token. - - - - Summary description for IToken3D. - - - - - Converts current token to the 3D token. - - Reference to the worksheet. - Created token. - - - - Index of first row (0..65535) or row offset (-32768..32767). - - - - - Index of last row (0..65535) or row offset (-32768..32767). - - - - - Index of first column (0..255) or column offset (-128..127). - - - - - Option flags of first row and first column. - - - - - Index of last column (0..255) or column offset (-128..127). - - - - - Option flags of last row and last column. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token by its string representation. - - String representation of the formula. - Parent workbook. - - When specified string is not valid token string. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates copy of the token. - - Token to clone. - - - - - - - - - - - - - - - Creates token using strings that represents cell addresses. - - Row index of the cell that contains this token. - Column index of the cell that contains this token. - String representation of the first row. - String representation of the first column. - String representation of the last row. - String representation of the last column. - - Parent workbook. - - - - Parses specified column and row values and fills token - fields with appropriate values. - - Row index of the cell that contains this token. - Column index of the cell that contains this token. - String representing left column of the area. - String representing top row of the area. - String representing right column of the area. - String representing bottom row of the area. - Indicates whether R1C1 notation is used. - Parent workbook. - - - - Converts token code to index (inverse operation to IndexToCode). - - Reference index. - - - - Gets corresponding error code. - - Corresponding error code. - - - - Indicates whether area covers whole single row. Read-only. - - - - - Indicates whether area covers whole rows. Read-only. - - - - - - - Indicates whether area covers whole columns. Read-only. - - - - - - - Indicates whether area covers whole single column. Read-only. - - - - - Converts incorrect area range to corresponding error ptg. - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Converts specified index to token code. - - Index of the needed token. - Token that corresponds to the index. - - When index is less than one or greater than 3. - - - - - Converts specified token code to index. - - Token code for which index is required. - Index that corresponds to the code. - - When index is not one of tArea1, tArea2, tArea3. - - - - - Read-only. Size of the record. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to byte array. - - Array of bytes representing token. - - - - Moves row by iRowOffset, iColumnOffset. - - Row offset. - Column offset. - Parent workbook. - Updated token. - - - - - - - - - - - - - - Parent workbook. - - - - - Converts tokens from regular formula into tokens from shared formula. - - Parent workbook. - Represents first row from cells range of shared formula.Zero-base. - Represents first column from cells range of shared formula.Zero-based. - New token for shared formula. - - - - Converts full row or column ptg from Excel2007 to Excel97to03 version and vice versa. - - Returns converted Ptg. - Defines what conversion must be applied. - - - - - - - - - - - - - - - - Returns True if referenced cell was moved. - - - - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - Checks if while moving rectSource full top row was moved. - - Rectangle that was moved. - True if whole top row was moved. - - - - Checks if while moving rectSource full bottom row was moved. - - Rectangle that was moved. - True if whole bottom row was moved. - - - - Checks if while moving rectSource full left row was moved. - - Rectangle that was moved. - True if whole left row was moved. - - - - Checks if while moving rectSource full right row was moved. - - Rectangle that was moved. - True if whole right row was moved. - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - Checks whether one rectangle is outside of another one. - - First rectangle to check. - Second rectangle to check. - True if toCheck rectangle is outside of owner rectangle. - - - - Checks whether one rectangle is inside of another one. - - Rectangle that could contain another one. - Rectangle that could be contained by another one. - True if toCheck rectangle is contained by owner rectangle. - - - - - - - - - - - Parent workbook. - - - - - - - - - - - - Parent workbook. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - Returns rectangle represented by the token that implements this interface. - All coordinates are zero-based. - - Rectangle represented by the token. - - - - - - - - - - - Converts current token into error token. - - Created token. - - - - Converts current token to the 3D token. - - Reference to the worksheet. - Created token. - - - - Index of the first row (0..65535) or row offset (-32768..32767). - - - - - True if the first row index is relative. - - - - - True if the first column index is relative. - - - - - Index to column (0..255) or column offset (-128..127). - - - - - Index of the last row (0..65535) or row offset (-32768..32767). - - - - - True if the last row index is relative. - - - - - True if the last column index is relative. - - - - - Index to column (0..255) or column offset (-128..127). - - - - - Options for the top left cell of the range. - - - - - Options for the bottom right cell of the range. - - - - - Represents tokens that contains reference to worksheet. - - - - - This interface should be implemented by those tokens which contains 3D references. - - - - - Index to ExternSheetRecord. - - - - - Calls ToString method of the base (not 3d) class. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Index to REF entry in EXTERNSHEET record. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Constructs token by string value and parent workbook. - - String representation of the token. - Workbook containing the token. - - When specified formula string is not valid Area3D string. - - - - - Creates new token based on another Area3D token. - - Token to copy. - - - - Initializes new token. - - Worksheet reference index. - Zero-based first row index. - Zero-based first column index. - Zero-based last row index. - Zero-based last column index. - First cell options. - Second cell options. - - - - Initializes new token. - - Zero-based row index of the cell that will contain new token. - Zero-based column index of the cell that will contain new token. - Worksheet reference index. - String representation of the first row of the area. - String representation of the first column of the area. - String representation of the last row of the area. - String representation of the last column of the area. - Indicates whether strings are in R1C1 notation. - Parent workbook. - - - - Read-only. Size of the token. - - - - - Converts token to array of bytes. - - Array of bytes that represents this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - To check the sheet name it's having any special charecter or not - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Parent workbook. - - - - - Converts incorrect area range to corresponding error ptg. - - - - - Calls ToString method of the base (not 3d) class. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Sets index of the sheet in the correct value, - taking information from the specified workbook. - - Name of the worksheet that is referenced. - - Workbook that contains this record and must contain specified worksheet. - - - Unable to find specified worksheet in the workbook, - possibly because wasn't loaded yet. - - - - - Set area values such as reference indexes, first and last columns, and rows. - - Match that contains such groups SheetName, Column1, Column2, Row1, Row2. - Workbook that contains this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Converts specified index to the token code. - - Function parameter index. - Token code that corresponds to the specified index. - - When index is less than 1 or greater than 3. - - - - - Converts specified token code to index. - - Token code for which index is required. - Index that corresponds to the code. - - When index is not one of tArea1, tArea2, tArea3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - Reference to the worksheet. Read-only. - - - - - Summary description for AreaError3dPtg. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - - - - - - - - - - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token code to index (inverse operation to IndexToCode). - - Reference index. - - - - Converts specified index to the token code. - - Function parameter index. - Token code that corresponds to the specified index. - - When index is less than 1 or greater than 3. - - - - - Converts specified token code to index. - - Token code for which index is required. - Index that corresponds to the code. - - When index is not one of tAreaErr3d1, tAreaErr3d2, tAreaErr3d3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - This token contains the last reference to a deleted cell range in the same sheet. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - - - - - - - - - - Parent workbook. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token code to index (inverse operation to IndexToCode). - - Reference index. - - - - Converts specified index to token code. - - Index of the needed token. - Token that corresponds to the index. - - When index is less than one or greater than 3. - - - - - Converts specified token code to index. - - Token code for which index is required. - Index that corresponds to the code. - - When index is not one of tAreaErr1, tAreaErr2, tAreaErr3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - This token contains the reference to a cell range in the same sheet. - - - - - Default constructor. To prevent user from creating tokens without - parameters and to allow descendants. - - - - - Creates token by its string representation. - - String representation of the formula. - Parent workbook. - - When specified string is not a valid token string. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Converts token from shared formula into token from regular formula. - - Parent workbook. - Row index. - Column index. - New token for regular formula. - - - - Converts token code to index (inverse operation to IndexToCode). - - Token code (should be one of tAreaN1, tAreaN2, tAreaN3). - Reference index. - - - - Converts reference index to token code. - - Reference index. - Token code. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Gets the index of the updated row. - - The i row. - The row. - if set to true [is first]. - - - - - Gets the index of the updated column. - - The i column. - The column. - if set to true [is first]. - - - - - First column offset (-128..127). - - - - - Column offset (-128..127). - - - - - This token contains an array constant. The values of the array constant do not follow - the token identifier but are stored behind the complete token array. - - - - - This interface should be implemented by all token classes that - needs some additional data to be read after all formula tokens. - - - - - Reads additional token data that is placed after all formula tokens. - - Object that provides access to the data. - Offset to the additional token data. - Final offset in the data array. - - - - Returns size of the additional data. Read-only. - - - - - Constant that indicates that there is double value in the array. - - - - - Constant that indicates that there is string value in the array. - - - - - Constant that indicates that there is boolean value in the array. - - - - - Constant that indicates that there is error code in the array. - - - - - Constant that indicates that there is null code in the array. - - - - - Separators between rows of the array. - - - - - Separators between columns of the array. - - - - - Number of columns decreased by 1. - - - - - Number of rows decreased by 1. - - - - - Array of cached values. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs array token using string representation. - - Formula string. - Formula parser. - - - - Constructs array but does not read any data. ReadArray should be called for - this purpose because array data is placed just after all other tokens. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Reads array from byte array. - - Object that provides access to the data. - Starting position of array data. - Offset if the first byte after array. - - When data array is too small for tArray data. - - - - - Fills tArray token with data from byte array. - - Object that provides access to the data. - Offset in data array. - Number of columns in this array. - Number of rows in this array. - Returns final offset in data array. - - - - Fills tArray token with data from byte array. - - Data array. - Offset in data array. - Number of columns in this array. - Number of rows in this array. - Returns final offset in data array. - - - - Fills tArray token getting data from array of strings. - - Array of string that contains array data. - Formula parser object that should assist in array items parsing. - - When one of the specified arguments is empty. - - - - - Tries to parse string value as double, bool, or string and returns resulting object. - - String constant that will be parsed. - Formula parser object that should assist in array items parsing. - Parsed constant (double, bool, or string). - - - - Returns all values in data array. Must be written after formula data. - - Array of bytes of all constants stored in the array. - - - - Returns an array representation of boolean value. - - Boolean value that will be converted. - Array of bytes representing boolean value. - - - - Returns an array representation of the error code value. - - Error code. - Array of bytes representing the error code. - - - - Returns an array representation of the null code value. - - Array of bytes representing the null code. - - - - Returns an array representation of double value. - - Double value that will be converted. - Array of bytes representing double value. - - - - Returns an array representation of the string value. - - String value that will be converted. - Array of bytes representing the string value. - - - - Sets token code in accordance with referenceIndex. - - Index that corresponds to the token code. - - When index is less than 1 or larger than 3. - - - - - Read-only. Size of the array token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts tArray token to byte array. - - Excel version - defines resulting array format and size. - Array of bytes representing this token. - - - - Returns token code by index. - - Index of the needed token. - - - When index is less than 1 or larger than 3. - - - - - - - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - - - - - - A special attribute control token - typically either a SUM function or an IF function. - - - - - This class represents function with variable arguments number in a formula. - - - - - This class represents function token of a formula. - - - - - This class is the base class for all operation tokens in the formula. - - - - - Default arguments separator. - - - - - String representation of the operation. - - - - - Position of the operand (before (if it is set to False) or after (if it is set to True) operand) for unary operations. - - - - - Default constructor. - - - - - Creates operation from byte array and offset in this array. - - Object that provides access to the data. - Offset to token data. - Excel version that was used to infill data provider. - - - - Converts the operation and its operands to the string. - Gets all needed operands from the Stack parameter and pushes the result into the Stack. - - - Stack that contains all operands and receives result of the operation. - - - - - Converts the operation and its operands to the string. - Gets all needed operands from the Stack parameter and pushes the result into the Stack. - - Object used for formula parsing. - - Stack that contains all operands and receives result of the operation. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Returns array of string where each member corresponds to one argument. - - String representation of the formula. - Index of the operation. - Formula parser. - Array of strings containing operation operands. - - - - Updates parse formula options if necessary. - - Options to update. - Updated value. - - - - Returns arguments separator. - - FormulaUtil object, to get separator from. - Arguments separator. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Read-only. True if this class represents operation (always True for this class). - - - - - Read-only. Type of the operation. - - - - - Read-only. Number of operands this operation needs. - - - - - Gets / sets string representation of the operation. - - - - - Gets / sets True if operation sign should be placed after operand and False otherwise. - - - - - Array of all token attributes applied to the object. - This property is used to increase performance. - - - - - Delimiter between function arguments. - - - - - Index to built-in sheet function. - - - - - Number of arguments. - - - - - Default constructor - - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to token data. - Excel version that was used to infill data provider. - - - - Constructs token by function index. - - Function index. - - - - Constructs function token by function name. - - Valid function name. - - - - Gets operands from string and returns array of string representation of the operands. - - Formula string. - Index to built-in function. - True if function should check operands count. - Formula parser. - Array of strings that contain function operands. - - if checkParamCount = True and actual parameter count does not equal expected - - - - - - - - - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts the operation and its operands to the string. - Gets all needed operands from the Stack parameter and pushes the result into the Stack. - - Object used for formula parsing. - - Stack that contains all operands and receives result of the operation. - - - - - Gets operands from string and returns array of string representation of the operands. - - Formula string. - Index of the function in the formula string. - Formula parser. - Array of strings that contains function operands. - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Returns built-in function index. - - - - - Number of function arguments. - - - - - Read-only. Type of operation (TYPE_FUNCTION for all functions). - - - - - Array of all token attributes applied to the object. - This property is used to increase performance. - - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Constructs token by built-in function index. - - Built-in function index. - - - - Constructs function token by function name. - - Valid function name. - - - - Default constructor - - - - - Read-only. Size of the token. - - - - - Gets operands from string and returns array of string representation of the operands. - - Formula string. - Index of function in the string. - Formula parser. - Array of strings containing function parameters. - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Takes all needed operands from the stack and pushes the result of the function. - - Object used for formula parsing. - - Stack that contains all operands and will receive result of the operation. - - - - - - - - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Size of the token. - - - - - Size of word in bytes. - - - - - Sum function name. - - - - - If function name. - - - - - Goto function name. - - - - - Choose function name. - - - - - Not implemented message. - - - - - - - - - - The options used by the attribute. - - - - - The word contained in this attribute. - - - - - Offsets to the CHOOSE cases. Must be valid only if HasOptimizedChoose is true. - - - - - Default constructor for this token. - - - - - Constructs token and fills it with data from the byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Constructs token by options value and data. - - Attribute options. - Attribute data. - - - - Constructs token by options value and data. - - Attribute options. - Attribute data. - - - - Read-only. Size of the token. - - - - - Takes all needed operands from the stack and pushes the result of the function. - - Object used for formula parsing. - - Stack that contains all operands that receive result of the operation. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes representing this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Read-only. Options used by the attribute. - - - - - The word contained in this attribute. - - - - - - - - - - Gets / sets number of spaces in the case of space token. - - - - - - - - - - True when following function has semivolatile value, - that can change without user interaction (such as NOW, TODAY, etc.). - - - - - Returns True if this is an IF; otherwise False. - - - - - Returns True if this is a CHOOSE; otherwise False. - - - - - Returns True if this is a goto; otherwise False. - - - - - Returns True if this is SUM; otherwise False. - - - - - - - - - - Returns True if space exist; otherwise False. - - - - - - This class represents every binary operation. - - - - - Dictionary that allows to convert operation name to the token code. - - - - - Dictionary that allows to convert operation token code to its string representation. - - - - - Contains all token attributes. - - - - - Static constructor. Fills hashtable that allows us to get - token code by token string. - - - - - Returns token code by string representation of the operation. - - String representation of the operation. - Token code. - - - - Returns token code by string representation of the operation. - - Token to get string representation for. - String representation of the token. - - - - Default constructor. - - - - - Constructs BinaryOperation using string that contains the sign of operation. - - String representation of the operation. - - - - Constructs BinaryOperation using string that contains the sign of operation. - - Token code of the operation to create. - - - - Constructs token using array with data and offset. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Takes all needed operands from the stack and pushes the result of the operation. - - Object used for formula parsing. - - Stack that contains all operands and will receive result of the operation. - - - - - Gets operands from string and returns array of string representation of the operands. - - String representation of the formula. - Index of operation in the string. - Formula parser. - Array of strings with operation operands. - - - - - - - - - Read-only. Number of operands (always 2 for binary operations). - - - - - Read-only. Type of the operation ( TYPE_BINARY for binary operations). - - - - - Array of all token attributes applied to the object. - This property is used to increase performance. - - - - - This token represents a boolean operand in a formula. - - - - - Boolean value. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token by boolean value. - - Boolean value that will be placed into this token. - - - - Constructs token by string value. - - String value, should be valid boolean string. - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Read-only. Size of this token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets / sets boolean value that is represented by this class. - - - - - Summary description for CellIntersectionPtg. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Intersections cell ptg. - - - - - - Intersections cell ptg. - - Object that provides access to the data. - Current index. - Excel version that was used to infill data provider. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Gets size. Override. - - - - - Represents CellRangeList formula token. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs BinaryOperation using string that contains the sign of operation. - - String representation of the operation. - - - - Constructs token using array with data and offset. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Converts token to a string. - - Object used for formula parsing. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - This class represents the control token (this can be tExp or tTbl). - - - - - This token contains an unsigned 16-bit integer value in the range from 0 to 65535. - - - - - Bit mask for row options. - - - - - Bit mask for column options. - - - - - Opening bracket for relative cell coordinates in R1C1 notation. - - - - - Closing bracket for relative cell coordinates in R1C1 notation. - - - - - Starting row character in R1C1 notation. - - - - - Starting column character in R1C1 notation. - - - - - Opening bracket for relative indexes in R1C1 notation. - - - - - Closing bracket for relative indexes in R1C1 notation. - - - - - Index to row (0..65535) or row offset (-32768..32767). - - - - - Index to column (0..255) or column offset (-128..127). - - - - - Option flags. - - - - - Default constructor: - To prevent user from creating tokens without arguments - and to allow descendants to do this. - - - - - Constructs reference by its string representation. - - String representation of the reference. - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates token by coordinates and options. - - Row index. - Column index. - Options. - - - - Constructs reference by its string representation. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - String representation of the row. - String representation of the column. - Indicates whether R1C1 notation was used. - - - - - - - - - - Read-only. Size of the record. - - - - - Converts token to a string. - - String representation of the token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes that represents the token. - - - - Sets internal fields appropriate to specified row and column. - - Row index of the cell that contains this token. - Column index of the cell that contains this token. - String that contains column name. - String that contains row name. - Indicates whether R1C1 notation is used. - - - - Sets internal fields appropriate to specified row and column. - - String that contains column name. - String that contains row name. - - - - Sets internal fields appropriate to specified row and column. - - Row index of the cell that contains this token. - Column index of the cell that contains this token. - String that contains column name. - String that contains row name. - - - - Parses row or column index in R1C1 notation. - - Row or column index of the cell that contains reference. - String to parse. - Indicates whether index is relative. - - - - - Creates token and modifies it row and column indexes. - - Row offset. - Column offset. - Parent workbook. - Modified token. - - - - Returns modified token after move operation. - - Current sheet index. - Parent cell row index. - Parent cell column index. - Source sheet index. - Source rectangle. - Destination sheet index. - Destination rectangle. - Indicates whether token was changed. - Parent workbook. - - - - - Moves token into different worksheet. - - Token to move - Source sheet index. - Source rectangle. - Destination sheet index. - Row offset. - Column offset. - Parent workbook. - Modified token. - - - - Returns True if referenced cell was moved. - - - - - - - Converts token code to index (inverse operation to IndexToCode). - - Reference index. - - - - Gets corresponding error code. - - Corresponding error code. - - - - Updates token after move operation. - - Current sheet index. - Destination sheet index. - Row index. - Column index. - Indicates whether token was changed. - Parent workbook. - Updated token. - - - - Converts tokens from regular formula into tokens from shared formula. - - Parent workbook. - Represents first row from cells range of shared formula.Zero-base. - Represents first column from cells range of shared formula.Zero-based. - New token for shared formula. - - - - Returns True if bit specified by mask is set to 1; otherwise False. - - Options byte where bits will be checked. - Bit mask that should be used for checking. - True if bit specified by mask is set to 1. - - - - If value is True, then it sets all bits specified by mask in Options to 1; - otherwise clears them, return new value. - - Options byte where bits will be set. - Bit mask that should be used for checking. - Flag for operation. - Return Options with bit specified by mask set to value. - - - - Returns string representation of the cell. - - Row index of the cell that contains token. - Column index of the cell that contains token. - Index of cell row. - Index of cell column. - True if row is relative. - True if column is relative. - Indicates whether R1C1 notation must be used for string conversion. - String representation of the cell address. - - - - Returns string representation of the cell using A1 notation. - - Index of cell column. - Index of cell row. - True if column is relative. - True if row is relative. - String representation of the cell address. - - - - Return string representation of the cell in RC format. - RC format is format in which set only shifts from start row to other one. - - Index of cell column. - Index of cell row. - String representation of the cell address. - - - - Returns column index of the cell. - - Column index of the cell that contains token. - String representation of the column. - Column index. - Indicates whether R1C1 notation is used. - Indicates whether resulting column index is relative. - - When parsed column index is greater than 255. - - - - - Returns column index of the cell. - - String representation of the column. - Column index. - Indicates whether resulting column index is relative. - - When parsed column index is greater than 255. - - - - - Returns row index of the cell. - - Row index of the cell that contains token. - String representation of the row. - Indicates whether R1C1 notation is used. - Indicates whether row index is relative. - Row index. - - - - Returns row index of the cell. - - String representation of the row. - Indicates whether row index is relative. - Row index. - - - - Converts reference index to token code. - - Reference index. - Token code. - - - - Converts token code to index (inverse operation to IndexToCode). - - Token code (should be one of tRef1, tRef2, tRef3). - Reference index. - - - - Gets string representation of the cell in R1C1 notation. - - Row index of the cell that contains token. - Column index of the cell that contains token. - Cell row index. - Cell column index. - Indicates whether row is relative. - Indicates whether column is relative. - String representation of the cell in R1C1 notation. - - - - Converts row or column index into string representation using R1C1 notation. - - - Row or column index of a cell that contains reference to convert. - - Starting character. - End index. - Indicates whether index is relative. - String representation of row or column index using R1C1 notation. - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - Returns rectangle represented by the token that implements this interface. - All coordinates are zero-based. - - Rectangle represented by the token. - - - - - - - - - - - Converts current token to the 3D token. - - Reference to the worksheet. - Created token. - - - - Converts current token into error token. - - Created token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets / sets. Index to row (0..65535) or row offset (-32768..32767). - - - - - Gets / sets True if row index is relative. - - - - - Gets / sets True if column index is relative. - - - - - Gets / sets index to column (0..255) or column offset (-128..127). - - - - - Options. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token from byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - - - - - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to byte array. - - Array of bytes that represents this token. - - - - - - - - - Moves token into different worksheet. - - Token to move - Source sheet index. - Source rectangle. - Destination sheet index. - Row offset. - Column offset. - Parent workbook. - Modified token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - - - - - - - - - - - - This token contains an error code. - - - - - Default error name - used when unknown error code was used. - - - - - Dictionary that allows to get error code by error name. - - - - - Dictionary that allows to get error name by error code. - - - - - Error code. - - - - - Static constructor. Fills hashtables which allow to convert - error code to error string and vice versa. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token using byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Constructs token using error code. - - - String representation of the error that must be created. - - - When the specified error name is unknown. - - - - - Constructs token using error name. - - Name of the error. - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets / sets error code value. - - - - - This token contains an IEEE floating-point number. - - - - - Floating-point value. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token by double value. - - Double value. - - - - Constructs token by string value that represents number. - - String value that will be converted to double. - - - - Constructs token by string value that represents number. - - String value that will be converted to double. - Represents culture for parsing from string. - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to token data. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - Represents current number info. - String representation of this token. - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets or sets the value that is represented by the token. - - - - - This class represents an integer token in formula. - - - - - Contains an unsigned 16-bit integer value in the range from 0 to 65535. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token by integer value. - - Integer value that will be placed into token. - - - - Constructs token by string value. - - String value that will be parsed into unsigned short. - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes corresponding to the token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Get or sets the value contained by this token. - - - - - Summary description for MemAreaPtg. - - - - - Size of the one rectangle data. - - - - - Size of the header block. - - - - - Reserved. - - - - - The length of the reference subexpression. - - - - - Subexpression. - - - - - - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - - - - - Excel version that was used to infill data provider. - - - - - - - - - - Size of the ptg token. Read-only. - - - - - Converts token to byte array. - - Array of bytes representing this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Extracts additional data. - - Object that provides access to the data. - Offset to the additional data. - Offset after extracting all required data. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Returns the length of the reference subexpression. Read-only. - - - - - Returns the reference subexpression. Read-only. - - - - - Rectangles. - - - - - Returns size of the additional data. Read-only. - - - - - Not fully implemented because of lack of documentation. - - - - - Size of the token. - - - - - Token data. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data in the data array. - Excel version that was used to infill data provider. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to the array of bytes. - - - - - - Read-only. Size of the token. - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Not fully implemented because of lack of documentation. - - - - - Size of the token. - - - - - The length of the reference subexpression. - - - - - Token data. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Create new instance of MemFuncPtg. - - Size of new instance. - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data in the data array. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to the array of bytes. - - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - The length of the reference subexpression. - - - - - A missing argument in a function argument list that is stored as a tMissArg token. - This token does not contain any additional data. - - - - - Default constructor - - - - - Constructs token using data from byte array. - - Object that provides access to the data. - Offset to token data. - Excel version that was used to infill data provider. - - - - Almost the same as default constructor. - - Must be equal to string.Empty. - - When specified string is not empty. - - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - This token contains the one-based index to a NAME record. - - - - - One-based Index of ExternNameRecord. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token using data from a byte array. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates token by its string representation. - - String representation of the token. - Workbook that contains this reference. - - - - Creates token by its string representation. - - String representation of the token. - Workbook that contains this reference. - Worksheet that contains this reference. - - - - Creates token by name index. - - Name index. - - - - Read-only. Size of the token. - - - - - Converts token to string. - - String representation of the token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes representing this token. - - - - Returns token code by index. - - Index of the token code. - Required token code. - - When index is less than 1 or greater than 3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Parent sheet. - Range represented by the token. - - - - Returns rectangle represented by the token that implements this interface. - - Rectangle represented by the token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets / sets one-based index of ExternNameRecord. - - - - - This token contains the index to a NAME or EXTERNNAME record. It occurs by using - internal or external names, add-in functions, DDE links, or linked OLE objects. - - - - - Index to a REF entry in an EXTERNSHEET record in the Link Table. - - - - - One-based index to a NAME record or EXTERNNAME record. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates token by its string representation. - - String representation of the token. - Workbook that contains this reference. - - - - Creates new instance of NameX token by extern workbook index and name index in the workbook. - - Zero-based book index. - Zero-based name index. - - - - Read-only. Size of the record. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Calls ToString method of the base (not 3d) class. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes corresponding to the token. - - - - Returns token code by index - - Index of the token code. - Required token code. - - When index is less than 1 or greater than 3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Parent worksheet - Range represented by the token. - - - - Returns rectangle represented by the token that implements this interface. - - Rectangle represented by the token. - - - - - - - - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets / sets one-based index of ExternNameRecord or NameRecord. - - - - - Gets / sets index to REF entry in EXTERNSHEET record in the Link Table. - - - - - Parentheses. This token is for display purposes only, it does not affect the result - of the token array. If it follows an operator, the parentheses will enclose - the operator and its operand(s), which is the result of the enclosed - operation. This operator does not modify the token class of its operand. - - - - - This class represents all unary operations. - - - - - Contains all token attributes. - - - - - Dictionary that allows to get token code by unary operation name. - - - - - Static constructor. Fills hashtable that allows us to get - token code by token string. - - - - - Gets token code using unary operation string representation. - - String representation of the unary operation. - Token code. - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs unary operation token by its string representation. - - - String representation of the operation that will be created. - - - - - Creates unary operation from the data array and offset of the first byte in it. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Takes all needed operands from the stack and pushes the result of the operation. - - Object used for formula parsing. - - Stack that contains all operands and will receive the result of the operation. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Returns array of operands. - - Formula string. - Index of unary operation in the formula string. - Formula parser. - Array of strings that contain unary operation operands. - - - - Read-only. Type of operation. - - - - - Array of all token attributes applied to the object. - This property is used to increase performance. - - - - - Contains all token attributes. - - - - - Static constructor. - - - - - Default constructor - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates token by string representation. - - String should be equal to "(". - - When strFormula is not equal to "(". - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Gets all needed operands from the Stack parameter and pushes result into the Stack. - - Object used for formula parsing. - - Stack that contains all operands and will receive operation result as string. - - - - - Returns array of string where each member corresponds to one argument. - - Formula string. - Index of opening bracket. - Formula parser. - Array of strings that contain operation parameters. - - - - Updates parse formula options if necessary. - - Options to update. - Updated value. - - - - Returns all TokenAttributes applied to the token. Read-only. - - - - - This token contains a 3D reference or an external reference to a cell. - - - - - Index to a REF entry in an EXTERNSHEET record in the Link Table. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Creates token by its string representation. - - String representation of the token. - Workbook that contains this reference. - - - - - - - - - - - - - - - Creates token. - - Sheet reference. - Row index. - Column index. - Options. - - - - - - - - - - Read-only. Size of the record. - - - - - Converts token to the string. - - String representation of the token. - - - - Converts token to the array of bytes. - - Array of bytes that represents this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Calls ToString method of the base (not 3d) class. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - - - - - - - - - - - Parent workbook. - - - - - Converts token code to index (inverse operation to IndexToCode). - - Reference index. - - - - Gets corresponding error code. - - Corresponding error code. - - - - Returns referenced worksheet name. - - Parent workbook. - Sheet reference index - Referenced worksheet name. - - - - Sets index of the sheet in correct value - by getting the information from specified workbook. - - Name of the worksheet that is referenced. - - Workbook that contains this record. It must contain specified worksheet. - - - - - Returns token code by index. - - Index of the token code. - Required token code. - - When index is less than 1 or greater than 3. - - - - - Converts token code to index (inverse operation to IndexToCode). - - Token code (should be one of tRef1, tRef2, tRef3). - Reference index. - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - - - - - - This token contains the last 3D reference or external reference to a cell in a - deleted row or column. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to token data. - Excel version that was used to infill data provider. - - - - Creates token by its string representation. - - String representation of the token. - Workbook that contains this reference. - - - - Creates error token based on Ref3D token. - - Token to get data from. - - - - Converts token to string. - - String representation of this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - - - - - - - - - - - Parent workbook. - - - - - Returns token code by index. - - Index of the token code. - Required token code. - - When index is less than 1 or greater than 3. - - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - This token contains the last reference to a deleted cell in the same sheet. - - - - - - - - - - Static constructor. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - - - - - - - - - - - - - - Creates error token based on specified ref token. - - Token to take data from. - - - - Converts token to a string. - - String representation of this token. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - - - - - - - - - - - Parent workbook. - - - - - Converts reference index to token code. - - Reference index. - Token code. - - - - Converts tokens from regular formula into tokens from shared formula. - - Parent workbook. - Represents first row from cells range of shared formula.Zero-base. - Represents first column from cells range of shared formula.Zero-based. - New token for shared formula. - - - - Returns range represented by the token that implements this interface. - - Workbook that contains range. - Worksheet that contains range. - Range represented by the token. - - - - This token contains the reference to a cell in the same sheet. It stores relative - components as signed offsets and is used in shared formulas, conditional formatting, - and data validity. - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Creates token using data from an array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Constructs reference by its string representation. - - Row index of the cell that contains formula to parse. - Column index of the cell that contains formula to parse. - String representation of the row. - String representation of the column. - Indicates whether R1C1 notation was used. - - - - Converts token from shared formula into token from regular formula. - - Parent workbook. - Row index. - Column index. - New token for regular formula. - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts current token to the 3D token. - - Reference to the worksheet. - Created token. - - - - Converts token code to index (inverse operation to IndexToCode). - - Token code (should be one of tRefN1, tRefN2, tRefN3). - Reference index. - - - - Converts reference index to token code. - - Reference index. - Token code. - - - - This token contains a string constant. - The maximum length of the string is 255 characters in BIFF8. - - - - - String value. - - - - - 1 - 2 bytes per character, 0 - 1 byte per character (compressed unicode). - - - - - Default constructor. To prevent user from creating a token without - parameters and to allow descendants do this. - - - - - Constructs token by string value. - - Value that will contain this token. - - - - Creates token using data from array of bytes. - - Object that provides access to the data. - Offset to the token data. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Converts token to a string. - - Formula util. - Zero-based row index of the cell that contains this token. - Zero-based row index of the cell that contains this token. - Indicates whether R1C1 notation should be used. - String representation of this token. - - - - Converts token to array of bytes. - - Array of bytes that correspond to the token. - - - - Infill PTG structure. - - Represents storage. - Offset in storage. - Excel version that was used to infill data provider. - - - - Gets or sets the value of this token (its string constant). - - - - - This class represents the unknown token of a formula. - - - - - Default constructor - - - - - Creates token from an array of bytes. - - Object that provides access to the data. - Offset to the token data in data array. - Excel version that was used to infill data provider. - - - - Read-only. Size of the token. - - - - - Converts token to string. - - Converts token to the string. - - - - Summary description for _FormulaConstants. - - - - - - - - - - Represents the tAdd binary token. - - - - - Represents the tSub binary token. - - - - - Represents the tMul binary token. - - - - - Represents the tDiv binary token. - - - - - Represents the tPower binary token. - - - - - Represents the tConcat binary token. - - - - - Represents the tLessThan binary token. - - - - - Represents the tLessEqual binary token. - - - - - Represents the tEqual binary token. - - - - - Represents the tGreaterEqual binary token. - - - - - Represents the tGreater binary token. - - - - - Represents the tNotEqual binary token. - - - - - Represents the tCellRangeIntersection binary token. - - - - - Represents the tCellRangeList binary token. - - - - - Represents the tCellRange binary token. - - - - - Represents the tUnaryPlus unary token. - - - - - Represents the tUnaryMinus unary token. - - - - - Represents the tPercent unary token. - - - - - Represents the tParentheses unary token. - - - - - Represents the tFunction1 function token. - - - - - Represents the tFunction2 function token. - - - - - Represents the tFunction3 function token. - - - - - Represents the tFunctionVar1 function token. - - - - - Represents the tFunctionVar2 function token. - - - - - Represents the tFunctionVar3 function token. - - - - - Represents the tFunctionCE1 function token. - - - - - Represents the tFunctionCE2 function token. - - - - - Represents the tFunctionCE3 function token. - - - - - Represents the tMissingArgument constant token. - - - - - Represents the tStringConstant constant token. - - - - - Represents the tError constant token. - - - - - Represents the tBoolean constant token. - - - - - Represents the tInteger constant token. - - - - - Represents the tNumber constant token. - - - - - Represents the tExp control token. - - - - - Represents the tTbl control token. - - - - - Represents the tExtended control token. - - - - - Represents the tAttr control token. - - - - - Represents the tSheet control token. - - - - - Represents the tEndSheet control token. - - - - - Represents the tArray1 operand token. - - - - - Represents the tArray2 operand token. - - - - - Represents the tArray3 operand token. - - - - - Represents the tName1 operand token. - - - - - Represents the tName2 operand token. - - - - - Represents the tName3 operand token. - - - - - Represents the tRef1 operand token. - - - - - Represents the tRef2 operand token. - - - - - Represents the tRef3 operand token. - - - - - Represents the tArea1 operand token. - - - - - Represents the tArea2 operand token. - - - - - Represents the tArea3 operand token. - - - - - Represents the tMemArea1 operand token. - - - - - Represents the tMemArea2 operand token. - - - - - Represents the tMemArea3 operand token. - - - - - Represents the tMemErr1 operand token. - - - - - Represents the tMemErr2 operand token. - - - - - Represents the tMemErr3 operand token. - - - - - Represents the tMemNoMem1 operand token. - - - - - Represents the tMemNoMem2 operand token. - - - - - Represents the tMemNoMem3 operand token. - - - - - Represents the tMemFunc1 operand token. - - - - - Represents the tMemFunc2 operand token. - - - - - Represents the tMemFunc3 operand token. - - - - - Represents the tRefErr1 operand token. - - - - - Represents the tRefErr2 operand token. - - - - - Represents the tRefErr3 operand token. - - - - - Represents the tAreaErr1 operand token. - - - - - Represents the tAreaErr2 operand token. - - - - - Represents the tAreaErr3 operand token. - - - - - Represents the tRefN1 operand token. - - - - - Represents the tRefN2 operand token. - - - - - Represents the tRefN3 operand token. - - - - - Represents the tAreaN1 operand token. - - - - - Represents the tAreaN2 operand token. - - - - - Represents the tAreaN3 operand token. - - - - - Represents the tMemAreaN1 operand token. - - - - - Represents the tMemAreaN2 operand token. - - - - - Represents the tMemAreaN3 operand token. - - - - - Represents the tMemNoMemN1 operand token. - - - - - Represents the tMemNoMemN2 operand token. - - - - - Represents the tMemNoMemN3 operand token. - - - - - Represents the tNameX1 operand token. - - - - - Represents the tNameX2 operand token. - - - - - Represents the tNameX3 operand token. - - - - - Represents the tRef3d1 operand token. - - - - - Represents the tRef3d2 operand token. - - - - - Represents the tRef3d3 operand token. - - - - - Represents the tArea3d1 operand token. - - - - - Represents the tArea3d2 operand token. - - - - - Represents the tArea3d3 operand token. - - - - - Represents the tRefErr3d1 operand token. - - - - - Represents the tRefErr3d2 operand token. - - - - - Represents the tRefErr3d3 operand token. - - - - - Represents the tAreaErr3d1 operand token. - - - - - Represents the tAreaErr3d2 operand token. - - - - - Represents the tAreaErr3d3 operand token. - - - - - Indicates end of formula token. This token is used only for parser - internal purposes and shouldn't appear in the resulting formula. - - - - - Indicates closing parenthesis. This token is used only for parser - internal purposes and shouldn't appear in the resulting formula. - - - - - Indicates delimiter between arguments. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates open bracket. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates close bracket. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates boolean value - true. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates boolean value - false. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates space token. This token is used only for parser - internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates identifier token. This token can be range, named range, function call, etc. - This token is used only for parser internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates identifier token that contains DDE link. - This token is used only for parser internal purpose and shouldn't appear in the resulting formula. - - - - - Indicates 3D identifier token. This token can be range, named range. - This token is used only for parser internal purpose and shouldn't appear in the resulting formula. - - - - - Represents the operation type. - - - - - Represents the TYPE_UNARY operation type. - - - - - Represents the TYPE_BINARY operation type. - - - - - Represents the TYPE_FUNCTION operation type. - - - - - - - - - - None priority. - - - - - Logical equality priority. - - - - - Concatenation priority. - - - - - Plus and minus operation priority. - - - - - Multiplication and divide operations priority. - - - - - Priority of the power operation. - - - - - Unary operation priority (-,+,%). - - - - - Cell Range operator (:). - - - - - Attribute provides link information between formula token and - formula token class. - - - - - Type of the formula token. - - - - - String representation of the operation (if this is attribute for - operation), otherwise string.Empty. - - - - - True if operation symbol should be placed after operand - (only for unary operands). - - - - - Cannot create without parameters. - - - - - Creates token attribute by Formula code. - - Code of the token that will be created. - - - - Creates token attribute by formula code and operation sign. - - Token code. - String representation of the operation. - - - - Creates token attribute by formula code, operation sign, and position of - placement (before the False or after the True operand - this is only for unary operations, - default value is False). - - Code of the operation. - String representation of the operation. - True if operation is placed after operands; False if before. - - - - Read-only. Type of the formula token. - - - - - Read-only. String representation of the operation (if this is attribute for - operation); otherwise string.Empty. - - - - - Read-only. True if operation symbol should be placed after operand - (only for unary operands). - - - - - There can be multiple token codes that correspond to one class, - i.e. tRef1, tRef2, tRef3 correspond to class RefPtg. - This attribute is used to help FormulaUtil choose the token code to use. - - - - - Index of the reference type (for tokens that can have several types). - - - - - Array of indexes, first correspond to first parameter, - second for the second parameter and so on. - - - - - Expected token type. - - - - - To prevent construction without arguments. - - - - - Creates attribute that describes the function that has - the same token index index for all arguments. - - Index of the token. - - - - Creates attribute for function with specified token indexes order. - First member of the array corresponds to the first argument of the function, - second member for the second argument and so on. - - Array of token indexes. - - - - Creates attribute for specified token type with specified token indexes. - - Target token class. - Array of token indexes. - - - - Creates attribute for specified token type with specified token indexes. - - Target token class. - Token index for all function parameters. - - - - Returns index of the reference. - - - - - Returns token index for the specified argument number. - - - - - Target token class - - - - - - - - - - This attribute describes error code. Used for converting error messages from - and to string. - - - - - String that represents error. - - - - - Code of the error. - - - - - To prevent creation without arguments. - - - - - Creates attribute for error with specified string value and error code. - - String representation of the error. - Error code. - - - - - - - - - - - - - - This structure specifies a future record type header. - - - - - Type of the following data: - - - - - Option Attribute Flags - - - - - Type of the following data: - - - - - This record specifies if the option to print sheet grid lines - (PrintGridlinesRecord) has ever been changed. - - - - - Correct size of the record. - - - - - Flag denoting whether the user has modified the grid lines. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - This flag specifies if the option to print sheet grid lines - (PrintGridlinesRecord) has ever been changed. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Contains information about the layout of outline symbols. - - - - - Width of the area to display row outlines (left of the sheet), in pixels. - - - - - Height of the area to display column outlines (above the sheet), in pixels. - - - - - Number of visible row outline levels (used row levels + 1; - or 0, if not used). - - - - - Number of visible column outline levels (used column levels + 1; - or 0, if not used). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Width of the area to display row outlines (left of the sheet), in pixels. - - - - - Height of the area to display column outlines (above the sheet), in pixels. - - - - - Number of visible row outline levels (used row levels + 1; - or 0, if not used). - - - - - Number of visible column outline levels (used column levels + 1; - or 0, if not used). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - If this record exists in the stream, then Excel contains Visual Basic macros. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Maximum possible size of the record. Read-only. - - - - - Summary description for HeaderFooterImageRecord. - - - - - This record contains a drawing object provided by the Drawing tool. - - - - - Data offset. - - - - - - - - - - - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - - - - - - Parses data. - - - - - - - - - - Creates List for all data. - - First free index in the resulting List. - Created List. - - - - Fills array list with structures data. - - Stream to put resulting data into. - Start index in List. - - - - Size of the required storage space. Read-only. - - - - - - - - - - - - - - - - - Returns array with all mso structures. Read-only. - - - - - Returns List with all mso structures. Read-only. - - - - - Indicates whether record needs internal data array - or if it can be cleaned. Read-only. - - - - - Offset to the structures data. - - - - - Record header in workbook part. - - - - - Record header in worksheet part. - - - - - Record header in workbook when it is not first record - (when it is used instead of Continue record). - - - - - Data offset. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Creates List for all data. - - First free index in the resulting List. - Created List. - - - - Adds record data from single record to the List. - - List to add data to. - Record to add data from. - Size of the added data. - - - - Creates continue record builder. - - Created builder. - - - - Sets length of the internal data. - - Length to set. - - - - Offset to the structures data. - - - - - Special class for building Continue Records. - - - - - - Special class for building Continue Records. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Type of additional records. - - - - - - - - - - - - - - - - - - - - - - Write array of data into output stream. - - Array of data. - Start index of an array. - Length of data to copy. - Quantity of created Continue Records. - - - - - - - - - - Method that checks if Continue Record is needed. - - Length of data that needs to be stored. - True if Continue Record will be needed for data storage; - otherwise False. - - - - - - - - - - - - - - - - - - - - Returns the unused bytes. - - - - - - - - - - - - - - - Return maximum size of record. - - - - - Type of the first additional record. - - - - - Type of additional records. - - - - - Maximum size of the continue record data. - - - - - - - - - - - - - - - - Write array of data into output stream. - - Array of data. - Start index of an array. - Length of data to copy. - Quantity of created Continue Records. - - - - Maximum size of the continue record data. - - - - - Excel 2003 record length - - - - - Excel 2010 record length - - - - - Type of data in categories. - - - - - Type of data in categories. - - - - - Type of data in categories. - - - - - Type of data in categories. - - - - - Record databytes. - - - - - HeaderFooter Record Code - - - - - Default constructor, initializes all fields with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Specifies a header for a sheet. - - - - - Header string. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Header string. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Flag defines whether to hide placeholders and object. - - - - - Correct size of the record. - - - - - Flag that defines whether to hide placeholders and object. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Flag that defines whether to hide placeholders and object. - - - - - Read-only. Returns minimum possible size of record's internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - The record represents an empty cell. - It contains the cell address and formatting information. - - - - - GUID size. - - - - - Start byte of the standard link GUID. - - - - - Start byte of the URL moniker GUID. - - - - - Start byte of the file moniker GUID. - - - - - Standard link GUID. - - - - - URL moniker GUID. - - - - - File moniker GUID. - - - - - Standard link GUID bytes. - - - - - URL moniker GUID bytes. - - - - - File moniker GUID bytes. - - - - - Unknown block in the file link. - - - - - Another unknown block in the file link. - - - - - Index to first row. - - - - - Index to last row. - - - - - Index to first column. - - - - - Index to last column. - - - - - Unknown value: 00000002H. - - - - - Option flags. - - - - - True if file link or URL. - False if no link. - - - - - True if absolute path or URL. - False if relative file path. - - - - - If this field and other description bits are - True, then there is a description. - False if there is no description. - - - - - True if there is a text mark. - False if there is no text mark. - - - - - If this field and other description bits are - True, then there is description. - False if there is no description. - - - - - True if there is a target frame. - False if there is no target frame. - - - - - True if UNC path (incl. server name). - False if file link or URL. - - - - - (optional, see option flags) Character count of description text, - including trailing zero word. - - - - - (optional, see option flags) Character array of description text, - no Unicode string header, always 16-bit characters, zero-terminated. - - - - - (optional, see option flags) Character count of target frame, - including trailing zero word. - - - - - (optional, see option flags) Character array of target frame, - no Unicode string header, always 16-bit characters, zero-terminated. - - - - - (optional, see option flags) Character count of the text mark, - including trailing zero word. - - - - - (optional, see option flags) Character array of the text - mark without "#" sign, no Unicode string header, always - 16-bit characters, zero-terminated. - - - - - HyperLink type. - - - - - URL length. - - - - - URL string. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Parses description. - - Offset to the description data. - - - - Parses target frame. - - Offset to the target frame data. - - - - Parses special data block. - - Offset to the data. - - - - Parses text mark. - - Offset to the data. - - - - Checks whether it is ULR link. - - Offset to the GUID to check. - True if it is URL link. - - - - Checks whether it is link to a local file. - - Offset to the GUID to check. - True if it is link to the local file. - - - - Checks whether it is link to a UNC. - - Offset to the GUID to check. - True if it is link to the UNC. - - - - Parses URL. - - Offset to the URL data. - - - - Parses link to a file. - - Offset to the data. - - - - Parses UNC link. - - Offset to the data. - - - - Parses link to the workbook. - - Offset to the data. - - - - Infill's length and string value. - - String length. - String value. - Indicates whether length is one byte. - - - - Infills special data. - - - - - Infills file special data. - - - - - Infills UNC special data. - - - - - Infills URL special data. - - - - - Infills workbook special data. - - - - - Sets options according to the link type. - - - - - Index to first row. - - - - - Index to first column. - - - - - Index to last row. - - - - - Index to last column. - - - - - Unknown value: 00000002H. Read-only. - - - - - Option flags. Read-only. - - - - - True if file link or URL. - False if no link. - - - - - True if absolute path or URL. - False if relative file path. - - - - - True if there is description. - False if there is no description. - - - - - True if there is a text mark. - False if there is no text mark. - - - - - True if there is a target frame. - False if there is no target frame. - - - - - True if UNC path (incl. server name). - False if file link or URL. - - - - - - - - - - - - - - - - - - - - - - - - - (optional, see option flags) Character count of description text, - including trailing zero word. Read-only. - - - - - (optional, see option flags) Character array of description text, - no Unicode string header, always 16-bit characters, zero-terminated. - - - - - (optional, see option flags) Character count of target frame, - including trailing zero word. Read-only. - - - - - (optional, see option flags) Character array of target frame, - no Unicode string header, always 16-bit characters, zero-terminated. - - - - - (optional, see option flags) Character count of the text mark, - including trailing zero word. - - - - - (optional, see option flags) Character array of the text - mark without the "#" sign, no Unicode string header, always - 16-bit characters, zero-terminated. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Read-only. - - - - - - - - - - Contains a list of explicit column page breaks. - - - - - Size of the fixed part. - - - - - Size of the subitem. - - - - - Size of the fixed part. - - - - - Number of page breaks. - - - - - Array of HorizontalPageBreaks. - - - - - Default constructor, sets all fields' default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - When data array does not fit to the page breaks array. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - Array of HorizontalPageBreaks. - - - - - Read-only. Minimum possible size of the record. - - - - - This class contains information about single page break. - - - - - The row of the break. - - - - - The starting column of the break. - - - - - The ending column of the break. - - - - - Default constructor - - - - - Constructs class instance and fills fields with values. - - Row of the break. - Starting column of the break. - Ending column of the break. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - The row of the break. - - - - - The starting column of the break. - - - - - The ending column of the break. - - - - - This record contains the complete description of a bitmapped graphic object, - such as a drawing created by a graphic tool. - - - - - Summary description for BiffRecordWithContinue. - - - - - Summary description for BiffRecordRawWithDataProvider. - - - - - Object that gives access to the record's data. - - - - - Default constructor. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, the class must pack all of its properties into - an internal Data array: m_data. This method is called by - FillStream, when the record must be serialized into stream. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Retrieved string. - - if Offset + iStrLen is out of data array - - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Retrieved string. - - - - Gets string from internal record data using GetBytes. - - Offset of starting byte. - Length of the string. - Gets bytes count that this string occupies in the data array. - Flag for is bytes count available. - Retrieved string. - - - - Detect type of string and extracts it. - - Record data offset. - Contain next position. - Number of elements in the continuePos collection. - Current index in the continuePos array. - Length of string record. - Array of rich formatting values. - Array of unknown FarEast data. - Extracted string. - - - - Sets byte in internal record data array values. - - Offset in internal record data array to start from. - Byte value to set. - - - - Sets ushort in internal record data array values. - - Offset in internal record data array to start from. - Value to set. - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - Position in value array to the data that will be set. - Length of the data. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets bytes in internal record data array values. - - Offset in internal record data array to start from. - Array of bytes to set. - If value array is NULL. - - If pos or length would be less than zero or their sum would be more - than size of value array. - - - If internal record data array is too small for receiving value array - and AutoGrowData is False. - - - - - Sets string in internal record data array using SetBytes method - without string length. - - Offset to the string. - Value of the string. - Size of the string in bytes. - - - - Sets string in internal record data array using SetBytes method - without string length. - - Offset to the string. - Value of the string. - Indicates whether write compressed attribute for empty strings. - Size of the string in bytes. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Mask to get two bytes value. - - - - - Array that contains positions of data of the continue records - in the m_data array. - - - - - Size of the first record length. - - - - - Default constructor. - - - - - Creates copy of the current object. - - A copy of the current object. - - - - Type of the first continue record. Read-only. - - - - - Indicates whether we should add header of continue records to the internal data provider. Read-only. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - - - - In this method, the class must pack all of its properties into - an internal Data array: m_data. This method is called by - FillStream, when the record must be serialized into stream. - - - - - - Occurs right after BOF, gives information where the DBCELL records are for a sheet. - Important for locating cells. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - Not used. - - - - - Index to first used row. - - - - - Index to first row of unused tail of sheet. - - - - - Not used. - - - - - Array of absolute stream positions to the DBCELL record. - - - - - Array with DBCell records that must be referenced by this record. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - This method checks record's internal data array for integrity. - - - If there is any internal error. - - - - - Method update fields of record which must contain stream offset - or other data. This method must be called before save operation - when all records placed in array on own positions and offsets can - be freely calculated. - - - - - Size of the required storage space. Read-only. - - - - - Index to first used row. - - - - - Index to first row of unused tail of sheet. - - - - - Array of nm absolute stream positions to the DBCELL record. - - - - - Read-only. Not used. - - - - - Read-only. Not used. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Gets / sets array with DBCell records that must be referenced by this record. - - - - - Shows where the Interface Records end (MMS) (has no fields). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's internal data array. - - - - - Defines the beginning of Interface records (MMS). - - - - - Correct size of the record. - - - - - The codepage for the file. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - The codepage for the file. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Tells whether to iterate over formula calculations or not - (if a formula is dependent upon another formula's result) - (odd feature for something that can only have 32 elements in a formula). - - - - - Correct record size. - - - - - 0 = Iterations off; 1 = Iterations on - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - 0 = Iterations off; 1 = Iterations on - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record contains the addresses of all row and column label ranges - in the current sheet. - - - - - Number of ranges in row ranges array. - - - - - Cell range address list with all row label ranges. - - - - - Number of ranges in column ranges array. - - - - - Cell range address list with all column label ranges. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - If last byte of the parsed data won't be the last byte of read data. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Read-only. Number of ranges in row ranges array. - - - - - Cell range address list with all row label ranges. - - - - - Read-only. Number of ranges in column ranges array. - - - - - Cell range address list with all column label ranges. - - - - - Read-only. Minimum possible size of the record. - - - - - This record represents a cell that contains a string. - In BIFF8, it is replaced by the LABELSST record. - Nevertheless, Excel can import a LABEL record contained in a BIFF8 file. - - - - - This interface supports StringValue property. - - - - - Returns string value. Read-only. - - - - - Size of fixed part. 6 bytes - row, column and xf index, 2 bytes string len, 1 byte string type. - - - - - Label - Unicode string - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Size of the required storage space. Read-only. - - - - - Label - Unicode string - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Returns string value. Read-only. - - - - - Value of the record. - - - - - Represents a cell that contains a string. - Refers to a string in the shared string table and is a column value. - - - - - Correct size of the record. - - - - - Index offset. - - - - - Index into SST record. - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Sets new index. - - Object that provides access to the data. - Offset to the start of the record data. - New SST index. - Excel version of the used data storage. - - - - Sets new index. - - Object that provides access to the data. - Offset to the start of the record data. - Excel version of the used data storage. - Index in the SST table. - - - - Index into SST record. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - This record is part of the Page Settings block. - It contains the margin of the current worksheet. - - - - - Default value of top margin. - - - - - Correct record size. - - - - - It contains the top page margin of the current worksheet - (IEEE floating-point value). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Maximum change in iteration (IEEE floating-point value). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's internal data array. - - - - - Contains all merged cell ranges of the current sheet. - Optional record defining a square area of cells to "merge" into one cell. - - - - - Maximum possible number of regions in the single MergeCells record. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - Number of ranges. - - - - - All merged cell ranges of the current sheet. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - This method checks a record's internal data array for integrity. - - - If there is any internal error. - - - - - Size of the required storage space. Read-only. - - - - - Copies regions to the internal array. - - First region to copy. - Regions count. - Array with regions to copy. - - - - Returns number of ranges. - - - - - All merged cell ranges of the current sheet. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - This class contains information about the region of merged cells. - - - - - First row of the region. - - - - - Last row of the region. - - - - - First column of the region. - - - - - Last column of the region. - - - - - To prevent creation without parameters. - - - - - Creates copy of region. - - Region to copy. - - - - Creates region by specified first and last rows and first and last columns. - - First row of the region. - Last row of the region. - First column of the region. - Last row of the region. - - - - Moves region. - - Row delta. - Column delta. - - - - Converts region into Rectangle. - - Rectangle corresponding to this region. - - - - Creates a copy of the current object. - - A copy of the current object. - - - - Compares two merged regions. - - First region to compare. - Second region to compare. - - - - - Determines whether the specified object is equal to the current object. - - The object to compare with the current object. - True if the specified object is equal to the current object; otherwise, false. - - - - Serves as a hash function for a MergedRegion object. - - A hash code for the current object. - - - - Read-only. First row of the region. - - - - - Gets/sets last row of the region. - - - - - Read-only. First column of the region. - - - - - Gets/sets last column of the region. - - - - - Returns number of cells used by - - - - - Defines how many add menu and delete menu options are stored in the file. - - - - - Correct size of the record. - - - - - Count of add menu options that are stored in the file. - - - - - Count of delete menu options that are stored in the file. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Evaluates size of the required storage space. - - Size of the required storage space. - - - - Count of add menu options that are stored in the file. - - - - - Count of delete menu options that are stored in the file. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record contains a drawing object provided by the Microsoft - Office Drawing tool. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - - - - - - - - Sets length of the internal data. - - Length to set. - - - - Size of the required storage space. Read-only. - - - - - - - - - - - - - - - Summary description for ArrayWrapper. - - - - - Wrapped byte array. - - - - - Hash value. - - - - - Default constructor. To prevent user from creation without arguments. - - - - - Initializes new instance of the wrapper. - - Buffer to wrap. - - - - Determines whether the specified Object is equal to the current Object. - - The Object to compare with the current Object. - - True if the specified Object is equal to the current Object; otherwise, false. - - - - - Serves as a hash function for a particular type, suitable for use in - hashing algorithms and data structures like a hash table. - - A hash code for the current Object. - - - - Evaluates hash value. - - - - - Summary description for Attributes. - - - - - - - - - - - - - - - Creates new instance. - - Type of new instance - - - - - - - - - Summary description for MsoBase. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dictionary key - Type of the MsoBase class, Value - its code. - - - - - Static constructor. - - - - - Default constructor. - - - - - - - - - - - - - - - - - - - - - - - - - Fills record from the data array. - - Array that contains record data. - Offset to the record data. - Size of the extracted data. - - - - Fills internal data array. - - - - - Fills internal data array. - - Stream to write record data into. - Offset index. - List with breaks indexes in arrRecords. - List with records. - Returns array of bytes. - - - - Infills internal data array. - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Clone current instance. - - Parent object to create instance. - Returns cloned instance. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Updates NextMsoDrawingData. - - - - - Extracts record from the stream. - - Stream to get data from. - - - - - - - - - Converts from fixed point integer value into double. - - Value to convert. - Converted double value. - - - - Writes Int32 value int stream. - - Stream to write value into. - Value to write. - - - - Writes UInt32 value int stream. - - Stream to write value into. - Value to write. - - - - Writes Int16 value int stream. - - Stream to write value into. - Value to write. - - - - Writes UInt16 value int stream. - - Stream to write value into. - Value to write. - - - - Reads Int32 value from stream. - - Stream to read value from. - Value extracted from the stream. - - - - Reads UInt32 value from stream. - - Stream to read value from. - Value extracted from the stream. - - - - Reads Int16 value from stream. - - Stream to read value from. - Value extracted from the stream. - - - - Reads UInt16 value from stream. - - Stream to read value from. - Value extracted from the stream. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns maximum record size. Read-only. - - - - - Summary description for MsoPicture. - - - - - Common interface for all records that contains picture. - - - - - Picture that is contained by the record. - - - - - Picture id. - - - - - Size of the bitmap header. - - - - - Number of used colors. - - - - - Size of each color definition in the palette. - - - - - To specify two UIDs. - - - - - To specify BlipPNG's two UIDs. - - - - - To specify BlipJPEG's two UIDs. - - - - - Dib identifier. ("BM"). - - - - - Reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates new instance of object. - - Parent object. - Base data. - Index of offset. - - - - Creates new instance of object. - - Parent object. - Stream to get data from. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - - - - - - - Clone current instance. - - Returns cloned instance. - - - - Creates image stream and fills it with necessary data. - - Stream to read image data from. - Offset to the image data. - - - - Indicates whether Art Blip contains Two Unique Id's. - - - - - - Returns number of used colors in the dib image. - - Number of used colors in the dib image. - - - - Evaluates hash value for the stored picture. - - - - - Adds bitmap header to stream. - - - - - - - - - - Gets or sets picture of that is contained in the record. - - - - - - - - - - - - - - - - - - - - Indicates whether this is dib bitmap. - - - - - Summary description for MsoContainerBase. - - - - - - - - - - Creates new instance of object. - - Parent object. - - - - Creates new instance of object. - - Parent object. - Base data. - Offset index. - - - - Creates new instance of object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Clone current instance. - - Returns cloned instance. - - - - Array of items. Read-only. - - - - - Internal list of items (to increase performance). Read-only. - - - - - Summary description for MsoFactory. - - - - - Represents new hashtable - key - code; value - mso record. - - - - - - - - - - - - - - - Create Mso Record. - - Parent object. - Type of created record. - Base data. - Offset index. - Returns new instance of MsoBase record. - - - - Create Mso Record. - - Parent object. - Type of created record. - Base data. - Offset index. - Data getter. - Returns new instance of Mso Base. - - - - Creates Mso record. - - Parent object. - Base data. - Offset index. - Returns new instance of Mso record. - - - - Creates Mso record. - - Parent object. - Base data. - Offset index. - Data getter. - Returns new instance of Mso record. - - - - Creates Mso record. - - Parent object. - Stream to get data from. - Returns new instance of Mso record. - - - - Create Mso Record. - - Parent object. - Type of created record. - Stream with record's data. - Returns new instance of MsoBase record. - - - - Creates Mso record. - - Parent object. - Stream to get data from. - Data getter. - Returns new instance of Mso record. - - - - Create Mso Record. - - Parent object. - Type of created record. - Stream to get data from. - Data getter. - Returns new instance of Mso Base. - - - - - - - - - - - - - - - - - - Registers all known mso record types inside internal collections. - - - - - Summary description for MsofbtSpgr. - - - - - Correct record size. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates new instance of object. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Size of the required storage space. Read-only. - - - - - - - - - - - - - - - - - - - - - - - - - Summary description for MsofbtBSE. - - - - - - - - - - - - - - - - - - - - Required type on Win32. - - - - - Required type on Mac. - - - - - Blip size in stream. - - - - - Reference count on the blip. - - - - - File offset in the delay stream. - - - - - How this blip is used. - - - - - Length of the blip name. - - - - - For the future. - - - - - For the future. - - - - - - - - - - - - - - - Index of the record in the collection. - - - - - Path to the picture item (used in Excel 2007). - - - - - Creates new instance. - - Parent object. - - - - Creates new instance. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Clone current instance. - - Returns cloned instance. - - - - - - - - - - - Required type on Win32. - - - - - Required type on Mac. - - - - - - - - - - Blip size in stream. - - - - - Reference count on the blip. - - - - - File offset in the delay stream. - - - - - How this blip is used. - - - - - Length of the blip name. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets / sets index of the bse in the collection. - - - - - Gets / sets path to the picture zip item. Used in Excel 2007 format. - - - - - Summary description for MsofbtBstoreContainer. - - - - - Default version of container. - - - - - Default instance of container. - - - - - - - - - - - - - - - - - - - - - - - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Summary description for MsofbtSpgr. - - - - - Correct record size. - - - - - - - - - - - - - - - - - - - - - - - - - Creates new instance. - - Parent object. - - - - Creates new instance. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Summary description for MsofbtClientAnchor. - - - - - Mask for column / row index. - - - - - Mask for offset index. - - - - - - - - - - Length for short data. - - - - - Correct record size. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether it is short version of client anchor. Used in headers/footers. - - - - - Zero-based top row index. - - - - - Top row offset. - - - - - Zero-based bottom row index. - - - - - Bottom row offset. - - - - - Indicates whether this anchor is oneCellAnchor (used in Excel 2007 format). - - - - - - - - - - - - - - - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Size of the required storage space. Read-only. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates whether it is short version of client anchor. Used in headers/footers. - - - - - Indicates whether parent shape should be stored as oneCellAnchor or not. - Default value false. - - - - - Summary description for MsofbtSpgr. - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Clone current instance. - - Returns cloned instance. - - - - Updates NextMsoDrawingData. - - - - - Adds single record to the AdditionalData array. - - Record to add. - - - - Adds range of records to the AdditionalData array. - - Collection to add. - - - - Adds range of records to the AdditionalData array. - - Collection to add. - - - - - - - - - - - - - - Summary description for MsofbtSpgr. - - - - - - - - - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Clone current instance. - - Returns cloned instance. - - - - Updates NextMsoDrawingData. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Summary description for MsofbtDg. - - - - - Default instance. - - - - - Correct record size. - - - - - The number of shapes in this drawing. - - - - - The last MSOSPID given to an SP in this Drawing Group. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Size of the required storage space. Read-only. - - - - - The number of shapes in this drawing. - - - - - The last MSOSPID given to an SP in this Drawing Group. - - - - - Summary description for MsofbtDgContainer. - - - - - Default container version. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Represents MsofbtDgg in MsoDrawing. - - - - - Default offset to the array. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Parse Structure of record. Convert Data buffer to special - values according to record specification. - - - - - In this method, the class must pack all of it's properties into - an internal Data array: m_data. This method is called by - FillStream, when the record must be serialized into stream. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Clone current instance. - - Returns cloned instance. - - - - Adds cluster. - - Group id. - Number. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cluster Id. - - - - - Size of the record. - - - - - DG owning the SPIDs in this cluster. - - - - - Number of SPIDs used so far. - - - - - - - - - - - - - - - - - - - - - - - - - Converts record to the bytes array. - - Array of bytes with record's data. - - - - - - - - - - Clone current instance. - - Return shallow copy of current instance. - - - - DG owning the SPIDs in this cluster. - - - - - Number of SPIDs used so far. - - - - - Record's size. - - - - - Summary description for MsofbtDggContainer. - - - - - Default container version. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Summary description for MsofbtOPT. - - - - - Minimum option index. - - - - - List with shape properties. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Clone current instance. - - Returns cloned instance. - - - - Clone current instance. - - Returns cloned instance. - - - - - - - - - - - - - - - - - - Option to set - - - - Replaces option with specified value. - - Option to set. - - - - Searches for option in the record. - - Option to find. - Index of the option. - - - - Removes some option by index. - - Index of option to remove. - - - - Returns index of option index. - - - - - - - Array with shape properties. Read-only. - - - - - Returns singe option from the collection. Read-only. - - - - - Gets property list with all properties. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Property ID. - - - - - Value is a blip ID � only valid if fComplex is FALSE. - - - - - Complex property, value is length. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clone current instance. - - Return Clone of current object. - - - - Property ID. - - - - - Value is a blip ID � only valid if fComplex is FALSE. - - - - - Complex property, value is length. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Summary description for MsofbtSpgr. - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - - - - - - - Summary description for MsofbtSp. - - - - - Default record version. - - - - - Record size. - - - - - - - - - - - - - - - This shape is a GroupShape. - - - - - Not a top-level shape. - - - - - This is the topmost GroupShape. Exactly one of these per drawing. - - - - - The shape has been deleted. - - - - - The shape is an OLE object. - - - - - Shape has a hspMaster property. - - - - - Shape is flipped horizontally. - - - - - Shape is flipped vertically. - - - - - Connector type of shape. - - - - - Shape has an anchor of some kind. - - - - - Background shape. - - - - - Shape has a shape type property. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - Size of the required storage space. Read-only. - - - - - - - - - - - - - - - This shape is a GroupShape. - - - - - Not a top-level shape. - - - - - This is the topmost GroupShape. Exactly one of these per drawing. - - - - - The shape has been deleted. - - - - - The shape is an OLE object. - - - - - Shape has a hspMaster property. - - - - - Shape is flipped horizontally. - - - - - Shape is flipped vertically. - - - - - Connector type of shape. - - - - - Shape has an anchor of some kind. - - - - - Background shape. - - - - - Shape has a shape type property. - - - - - Summary description for MsofbtSpgrContainer. - - - - - Default version of container. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Summary description for MsofbtSpgr. - - - - - Default record version. - - - - - Correct record size. - - - - - - - - - - - - - - - - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Summary description for MsofbtSpgrContainer. - - - - - Default container version. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - Data getter. - - - - Summary description for MsofbtSplitMenuColors. - - - - - Correct record size. - - - - - - - - - - - - - - - - - - - - - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Represents metafile picture in the workbook. - - - - - Default buffer size. - - - - - Offset to UID. - - - - - Offset to metafile size. - - - - - Offset to compressed size. - - - - - To specify BlipEMF's two UIDs. - - - - - To specify BlipWMF's two UIDs. - - - - - To specify BlipPICT's two UIDs. - - - - - To specify BlipTIFF's two UIDs. - - - - - Memory stream with picture data. - - - - - Array with compressed picture. - - - - - UID of the picture. - - - - - Primary UID. - - - - - Cache of the metafile size. - - - - - Boundary of metafile drawing commands. - - - - - Size of metafile in EMUs. - - - - - Cache of saved size (size of m_pvBits). - - - - - Compression type. - - - - - Applied filter. - - - - - Inner picture. - - - - - Creates new instance of the picture. - - Parent record. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - Creates new object. - - Parent object. - Stream to get data from. - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Parses structure. - - - - - Indicates whether Art Blip contains Two Unique Id's. - - - - - - Loads primary UID. - - Stream to get primary UID from if necessary. - Offset after reading primary uid. - - - - Saves metafile into MemoryStream. - - Picture to serialize. - Memory stream with metafile data. - - - - Converts GraphicsUnit into MetafileFrameUnit. - - Value to convert. - Converted value. - - - - Compresses metafile picture. - - Stream with metafile. - Offset to the metafile. - Compressed picture. - - - - Clone current instance. - - Returns cloned instance. - - - - Frees all unmanaged resources. - - - - - Destructor. - - - - - Picture. - - - - - - - - - - Summary description for MsoUnknown. - - - - - Creates new object. - - Parent object. - - - - Creates new object. - - Parent object. - Base data. - Offset index. - - - - - - - - - Infills internal data array. - - Stream to serialize into. - Offset. - List with breaks indexes in arrRecords. - List with records. - - - - Indicates whether record needs internal data array or if it can be cleaned. - - - - - Summary description for _MsoEnums. - - - - - Represents the msofbtDggContainer MsoRecord type. - - - - - Represents the Dgg type. - - - - - Represents the CLSID type. - - - - - Represents the OPT type. - - - - - Represents the ColorMRU type. - - - - - Represents the SplitMenuColors type. - - - - - Represents the BstoreContainer type. - - - - - Represents the BSE type. - - - - - Represents the DgContainer type. - - - - - Represents the Dg type. - - - - - Represents the RegroupItems type. - - - - - Represents the ColorScheme type. - - - - - Represents the SpgrContainer type. - - - - - Represents the SpContainer type. - - - - - Represents the Spgr type. - - - - - Represents the Sp type. - - - - - Represents the Textbox type. - - - - - Represents the ClientTextbox type. - - - - - Represents the Anchor type. - - - - - Represents the ChildAnchor type. - - - - - Represents the ClientAnchor type. - - - - - Represents the ClientData type. - - - - - Represents the OleObject type. - - - - - Represents the DeletedPspl type. - - - - - Represents the SolverContainer type. - - - - - Represents the ConnectorRule type. - - - - - Represents the AlignRule type. - - - - - Represents the ArcRule type. - - - - - Represents the ClientRule type. - - - - - Represents the CalloutRule type. - - - - - Represents the Selection type. - - - - - Represents the Unknown type. - - - - - Represents the MsoBlipUsage options. - - - - - Represents the Default option. - - - - - Represents the Texture option. - - - - - Represents the UsageMax option. - - - - - Represents the MsoBlipType options. - - - - - Represents the ERROR option. - - - - - Represents the UNKNOWN option. - - - - - Represents the EMF option. - - - - - Represents the WMF option. - - - - - Represents the PICT option. - - - - - Represents the JPEG option. - - - - - Represents the PNG option. - - - - - Represents the DIB option. - - - - - Represents the FirstClient option. - - - - - Represents the LastClient option. - - - - - Represents the MsoBlipCompression options. - - - - - Represents the Deflate option. - - - - - Represents the None option. - - - - - Represents the Test option. - - - - - Represents the MsoBlipFilter options. - - - - - Represents the Adaptive option. - - - - - Represents the None option. - - - - - Represents the Test option. - - - - - Represents the Mso options. - - - - - Do not group this shape. - - - - - Represents the TextId options. - - - - - Represents the wrap text options . - - - - - Represents the TextDirection options. - - - - - Represents the SizeTextToFitShape options. - - - - - Represents the BlipId options. - - - - - Represents the BlipName options. - - - - - Represents fill type. - - - - - Represents the location of the top of the crop rectangle - - - - - Represents the location of the bottom of the crop rectangle. - - - - - Represents the location of the left side of the crop rectangle. - - - - - Represents the location of the right side of the crop rectangle. - - - - - Host-defined ID for OLE objects (usually a pointer). - - - - - Represents the ForeColor options. - - - - - Represents the transparency. - - - - - Represents the BackColor options. - - - - - Represents the gradient transparency options. - - - - - Represents shape pattern. - - - - - Represents shape pattern, texture name. - - - - - Represents shape gradient shading style. - - - - - Represents shape gradient shading variants. - - - - - Represents first record for shape gradient shading style. - - - - - Represents second record for shape gradient shading style. - - - - - Represents third record for shape gradient shading style. - - - - - Represents fourth record for shape gradient shading style. - - - - - Represents preset gradient data. - - - - - Represents gradient color type. - - - - - Hit test a shape as though filled. - - - - - Line color. - - - - - Line color. - - - - - Line Weight. - - - - - Line color. - - - - - Contain line pattern. - - - - - Line pattern. - - - - - Line style - - - - - Line dash style - - - - - Line start arrow. - - - - - Line end arrow. - - - - - Start arrow width. - - - - - Start arrow len. - - - - - End arrow width. - - - - - End arrow len. - - - - - Represents if dot value is round. - - - - - Represents the NoLineDrawDash options. - - - - - Represents the ForeShadowColor options. - - - - - Excel5-style shadow. - - - - - Name of the shape (only if explicitly set). - - - - - Alternative text. - - - - - Represents in comment shape show always property. - - - - - Represents a range of empty cells. All cells are located in the same row. - - - - - - - - - - Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. - - - - - Inserts cell inside this record. - - Cell to insert. - - - - Removes information about specified column from the record and splits record into two. - \ - Zero-based index of the column to remove. - Split records. - - - - Splits record into subrecords. - - Indicates whether styles must be ignored. - Array with all subrecords. - - - - Zero-based index of the first column. - - - - - Zero-based index of the last column. - - - - - Returns size of the sub record. Read-only. - - - - - Returns type of the subrecord. Read-only. - - - - - Size of the fixed part. - - - - - Minimum record size. - - - - - Size of the subitem. - - - - - List of 16-bit indexes to XF records. - - - - - Index to last column. - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - This method checks the record's internal data array for integrity. - - If there is any internal error. - - - - Creates BlankRecord corresponding to the specified column. - - Column index. - Corresponding BlankRecord. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Increases last column of the record. - - Object that provides access to the data. - Offset to the record start (record code). - Record data length. - Value that must be added to the column width. - Excel version used to fill data. - - - - Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. - - - - - Inserts cell inside this record. - - Cell to insert. - - - - Removes information about specified column from the record and splits record into two. - - Zero-based index of the column to remove. - Splitted records. - - - - Creates record based in the information from this record. - - The first column index in the resulting record. - The last column index in the resulting record. - Created record. - - - - Creates blank record with specified column index. - - Zero-based column index of the created record. - Created record. - - - - Splits record into subrecords. - - Indicates whether styles must be ignored. - Array with all subrecords. - - - - Index to first column. - - - - - List of 16-bit indexes to XF records. - - - - - Index to last column. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Returns size of the subrecord. Read-only. - - - - - Returns type of the subrecord. Read-only. - - - - - Represents a cell range containing RK value cells. - All cells are located in the same row. - - - - - Size of the fixed part. - - - - - Size of the subitem. - - - - - List of RkRec structures. - - - - - Index to last column. - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Returns size of the subrecord if it was placed as separate record (including BiffRecord header). Read-only. - - - - - Inserts cell inside this record. - - Cell to insert. - - - - Merges this and specified records. - - Record to merge with. - - - - - - - - - - Creates subrecord corresponding to the specified record. - - - - - - - Removes information about specified column from the record and splits record into two. - - Zero-based index of the column to remove. - Splitted records. - - - - Creates record based in the information from this record. - - The first column index in the resulting record. - The last column index in the resulting record. - Created record. - - - - Creates blank record with specified column index. - - Zero-based column index of the created record. - Created record. - - - - Splits record into subrecords. - - Indicates whether styles must be ignored. - Array with all subrecords. - - - - Index to the first column. - - - - - Index to last column. - - - - - List of RkRec structures. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Returns size of the subrecord. Read-only. - - - - - Returns type of the subrecord. Read-only. - - - - - Contains information about single RK entry in MulRKRecord. - - - - - Index of ExtendedFormat of the RK entry. - - - - - RK number of the RK entry. - - - - - Default constructor. To prevent user creating class - instance without parameters. - - - - - Constructs RkRec and sets its ExtendedFormat and Rk number values. - - Value of ExtendedFormat index. - Value of RkNumber. - - - - Index of ExtendedFormatRecord for this Rk number. - - - - - Read-only. 32-bit value contained by the record. - - - - - Read-only. Returns double value stored as Rk. - - - - - The begin record defines the start of a block of records for a (Graphing) - data object. This record is matched with a corresponding EndRecord. - - - - - Bit mask of the Function group. - - - - - Size of the fixed part. - - - - - Predefined names: - - - - - Option flags. - - - - - True if name is hidden. - - - - - True if name is a function. - - - - - True if name is a command. - - - - - True if function macro or command macro. - - - - - True if complex function (array formula or user defined). - - - - - True if built-in name. - - - - - True if name contains binary data. - - - - - Keyboard shortcut. - - - - - Length of the name. - - - - - Size of the formula data. - - - - - Reserved. - - - - - 0 if global name; otherwise index to sheet (one-based). - - - - - Length of menu text. - - - - - Length of description text. - - - - - Length of help topic text. - - - - - Length of status bar text. - - - - - Name (Unicode string without length field). - - - - - Formula data (RPN token array without size field). - - - - - Optional. Menu text (Unicode string without length field). - - - - - Optional. Description text (Unicode string without length field). - - - - - Optional. Help topic text (Unicode string without length field). - - - - - Optional. Status bar text (Unicode string without length field). - - - - - Parsed formula expression. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Infill fixed part of the record. - - Object that provides access to the data. - Starting offset. - - - - Infill fixed part of the record. - - Object that provides access to the data. - Offset to the fixed part data. - - - - Size of the required storage space. Read-only. - - - - - Determines number of bytes needed to store string without length field. - - Value to measure. - Number of bytes needed to store string without length field. - - - - Method checks name of NameRecord and determines whether it is a default or not. - - Name to check. - True if name is Predefined name; otherwise False. - - - - Looks for name in the predefined names table. - - Value to look for. - Index in the predefined names array. - - - - - - - - - - True if name is hidden. - - - - - True if name is a function. - - - - - True if name is a command. - - - - - True if function macro or command macro. - - - - - True if complex function (array formula or user defined). - - - - - True if built-in name. - - - - - True if name contains binary data. - - - - - Index to function group. - Changes bits of m_usOptions member. - - - - - Keyboard shortcut. - - - - - Read-only. Length of the name. - - - - - Read-only. Size of the formula data. - - - - - 0 if global name; otherwise index to sheet (one-based). - - - - - Read-only. Length of menu text. - - - - - Read-only. Length of description text. - - - - - Read-only. Length of help topic text. - - - - - Read-only. Length of status bar text. - - - - - Name (Unicode string without length field). - - - - - Formula data (RPN token array without size field). - - - - - Optional. Menu text (Unicode string without length field). - - - - - Optional. Description text (Unicode string without length field). - - - - - Optional. Help topic text (Unicode string without length field). - - - - - Optional. Status bar text (Unicode string without length field). - - - - - Read-only. Reserved (not used). - - - - - Read-only. Minimum possible size of the record. - - - - - The NOTE record specifies a comment associated with a particular cell. - - - - - Size of the fixed part of the record. - - - - - Row of the comment. - - - - - Column of the comment. - - - - - Options flag. - - - - - Whether the comment is visible. - - - - - Object ID for OBJ record that contains the comment. - - - - - Length of the name of the original comment author. - - - - - Name of the original comment author. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Size of the required storage space. Read-only. - - - - - Index to row. - - - - - Index to column. - - - - - Name of the original comment author. - - - - - Object ID for OBJ record that contains the comment. - - - - - Indicates whether the comment is visible. - Changes one bit in m_usOptions field. - - - - - Read-only. Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Represents a cell that contains a floating-point value. - - - - - Correct record size. - - - - - IEEE floating-point value. - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version that was used to infill. - Record's value. - - - - IEEE floating-point value. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - Returns double value. Read-only. - - - - - Value of the record. - - - - - This record is part of the worksheet / workbook protection. It determines whether - the objects of the current sheet are protected. Object protection is not active - if this record is omitted. - - - - - Default record size. - - - - - 0 = Objects not protected; 1 = Objects protected - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - 0 = Objects not protected; 1 = Objects protected - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - The OBJ record contains a partial description of a drawing object - and the MSODRAWING, MSODRAWINGGROUP, and MSODRAWINGSELECTION records contain - the remaining drawing object data. - - - - - Array that contain all subrecords. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Get subrecord by its offset. - - Object that provides access to the data. - Offset to the subrecord. - Start offset of the OBJRecord. - Parsed subrecord from internal data array. - - - - Adds new subrecord. - - Record to add. - - - - Searches for the subrecord of the specified type. - - Record type to search for. - Found subrecord or null if not found. - - - - Searches for the index of the subrecord with the specified type. - - Record type to search for. - Index of the found subrecord or -1 if not found. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - Read-only. Returns array of subrecords. - - - - - Read-only. Returns array of subrecords. - - - - - Indicates whether this record needs a data array after parsing - is complete. Read-only. - - - - - To store an OBJ record in BIFF8, Microsoft Excel writes a collection - of sub-records. The structure of a sub-record is identical to the - structure of a BIFF record. Each sub-record begins with a 2-byte - ID number ft (see the following table). Next a 2-byte length field, - cb, specifies the length of the sub-record data field. The sub-record - data field follows the length field. The first sub-record is always - ftCmo (common object data) and the last sub-record is always ftEnd. - - - - - Represents the ftEnd subrecord type. - - - - - Represents the Reserved0 subrecord type. - - - - - Represents the Reserved1 subrecord type. - - - - - Represents the Reserved2 subrecord type. - - - - - Represents the ftMacro subrecord type. - - - - - Represents the ftButton subrecord type. - - - - - Represents the ftGmo subrecord type. - - - - - Represents the ftCf subrecord type. - - - - - Represents the ftPioGrbit subrecord type. - - - - - Represents the ftPictFmla subrecord type. - - - - - Represents the ftCbls subrecord type. - - - - - Represents the ftRbo subrecord type. - - - - - Represents the ftSbs subrecord type. - - - - - Represents the ftNts subrecord type. - - - - - Represents the ftSbsFmla subrecord type. - - - - - Represents the ftGboData subrecord type. - - - - - Represents the ftEdoData subrecord type. - - - - - Represents the ftRboData subrecord type. - - - - - Represents the ftCblsData subrecord type. - - - - - Represents the ftLbsData subrecord type. - - - - - Represents the ftCblsFmla subrecord type. - - - - - Represents the ftCmo subrecord type. - - - - - Possible object types: - - - - - Represents the otGroup object type. - - - - - Represents the otLine object type. - - - - - Represents the otRectangle object type. - - - - - Represents the otOval object type. - - - - - Represents the otArc object type. - - - - - Represents the otChart object type. - - - - - Represents the otText object type. - - - - - Represents the otButton object type. - - - - - Represents the otPicture object type. - - - - - Represents the otPolygon object type. - - - - - Represents the otReserved0 object type. - - - - - Represents the otCheckBox object type. - - - - - Represents the otOptionBtn object type. - - - - - Represents the otEditBox object type. - - - - - Represents the otLabel object type. - - - - - Represents the otDialogBox object type. - - - - - Represents the otSpinner object type. - - - - - Represents the otScrollBar object type. - - - - - Represents the otGroupBox object type. - - - - - Represents the otGroupBox object type. - - - - - Represents the otComboBox object type. - - - - - Represents the otReserved1 object type. - - - - - Represents the otReserved2 object type. - - - - - Represents the otReserved3 object type. - - - - - Represents the otReserved4 object type. - - - - - Represents the otComment object type. - - - - - Represents the otReserved5 object type. - - - - - Represents the otReserved6 object type. - - - - - Represents the otReserved7 object type. - - - - - Represents the otReserved8 object type. - - - - - Represents the otMSODrawing object type. - - - - - Common object data. - - - - - Base class for all obj subrecords. - - - - - Size of the header data. - - - - - Type of the subrecord. - - - - - Length of the subrecord's data. - - - - - Private constructor. To prevent creation without parameters. - - - - - Initializes new instance. - - Type of the subrecord. - - - - Initializes new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Serializes record's data. - - Provider to serialize into. - Offset to start serialization from. - - - - Size of the required storage space. Read-only. - - - - - Clones current objects. - - Returns instance of cloned object. - - - - Type of the subrecord. - - - - - Length of the subrecord's data. - - - - - Type of the object. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether object is locked. - - - - - Common object data. - - - - - Type of the object. - - - - - Indicates whether combo box has 3D shadow. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether object is Checked. - - - - - Indicates whether object is locked. - - - - - this class parse and serialize check box Linked cell - - - - - Formula tokens. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Gets/sets parsed formula tokens. - - - - - This structure specifies the clipboard format of the picture-type. - - - - - Correct record size. - - - - - Represents the windows clipboard format of the data associated with the picture. - - - - - Internal data array. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - - Returns instance of cloned object. - - - - - Size of the required storage space. Read-only. - - - - - Represents the windows clipboard format of the data associated with the picture. - - - - - Common object data. - - - - - Bit mask for ChangeColor property. - - - - - Type of the object. - - - - - Object's id. - - - - - Option flags. - - - - - Reserved. - - - - - Indicates that record length is zero. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether object is locked. - - - - - Indicates whether object is printable. - - - - - Indicates whether auto fill is turned on. - - - - - Indicates whether auto line option is turned on. - - - - - Indicates whether excel is allowed to change color of combo box (used in autofilters). - - - - - Object's ID. - - - - - Object type. - - - - - Reserved. - - - - - Returns record options. Read-only. - - - - - End of OBJ record. - - - - - Correct record size. - - - - - Default constructor. - - - - - Creates new instance of the subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses array of bytes. - - Array to parse. - - - - Size of the required storage space. Read-only. - - - - - Note structure. - - - - - Size of the record. - - - - - Bit position for value that defines arrow color. - - - - - Index to the byte that defines arrow color. - - - - - Bitmask for TypeValid property. - - - - - Bitmask for combo box Type property. - - - - - Starting bit for the combo box Type property. - - - - - Defoult record data. - - - - - Internal data array. - - - - - Number of lines in the list box. - - - - - Formula holding referenced area. - - - - - Selected item index. - - - - - Option flags. - - - - - Edit id. - - - - - Array indicating whether so item was selected or not. - - - - - Indicates whether this record is short representation of the list box data record - (without options, and any additional data). - - - - - Shape's type. - - - - - Default constructor. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - Type of the object this record is part of. - - - - Parses selected items in the case of multiple selection enabled. - - Buffer to get data from. - Offset to the selection data start. - Offset after extracting necessary data. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Serializes - - - - - - - - Returns internal data array. Read-only. - - - - - Indicates whether arrow has default or selected color. - - - - - Number of items in the list. - - - - - Formula token specifying referenced area. - - - - - One-based selected index. 0 - no item is selected. - - - - - Options. - - - - - An ObjId that specifies the edit box associated with this list. - - - - - List box drop data. - - - - - Gets or sets the value indicating whether combo box type has valid value. - - - - - Gets or sets combo box type. - - - - - Gets or sets the value indicates whether control has 3-D effect. - - - - - Gets or sets list selection type. - - - - - Gets value indicating whether we have multi selection or not. - - - - - Enum contains possible list selection type. - - - - - The list control is only allowed to have one selected item. - - - - - The list control is allowed to have multiple items selected by clicking on each item. - - - - - The list control is allowed to have multiple items selected by holding the CTRL key - and clicking on each item. - - - - - Formula tokens that identifies associated macro. - - - - - Default constructor. - - - - - Default constructor. - - - - - Clones current objects. - - Returns instance of cloned object. - - - - Gets or sets formula tokens with associated macro. - - - - - Note structure. - - - - - Correct record size. - - - - - Internal data array. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Returns internal data array. Read-only. - - - - - Note structure. - - - - - Start of the string data. - - - - - Default header (data is unknown for us). - - - - - Default footer (data is unknown for us). - - - - - Internal data array. - - - - - Internal data array. - - - - - - - - - - Default constructor. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Formula value. - - - - - ActiveX control Structure. - - - - - Correct record size. - - - - - Indicates whether this control is an ActiveX control. - - - - - Internal data array. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether this control is an ActiveX control. - - - - - Common object data. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Size of the required storage space. Read-only. - - - - - Common object data. - - - - - Type of the object. - - - - - Type of the object. - - - - - Reserved object 1 - - - - - Reserved object 2; - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Size of the required storage space. Read-only. - - - - - Indicates whether object is First Button in the group. - - - - - Indicates Next Button in the Group. - - - - - Note structure. - - - - - Size of the record. - - - - - Default record data. - - - - - Internal data array. - - - - - Default constructor. - - - - - Initializes new instance of subrecord. - - Type of the subrecord. - Length of the subrecord's data. - Buffer that contains subrecord's data. - - - - Parses byte array. - - Array to parse. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Returns internal data array. Read-only. - - - - - - - - Subrecord's internal data. - - - - - Initializes new subrecord. - - Type of the new subrecord. - Length of the subrecord. - Array that contains subrecord's data. - - - - Parses bye array. - - Array to parse. - - - - Fills array with binary representation of the subrecord. - - Object that provides access to the data. - Offset in the buffer to copy data to. - - - - Clones current objects. - - Returns instance of cloned object. - - - - Size of the required storage space. Read-only. - - - - - Returns internal data array. Read-only. - - - - - Option flags. - - - - - An unsigned integer that specifies the number of lines to be displayed - in the dropdown. If there are more lines than that in the list, - a scrollbar can appear. - - - - - An unsigned integer that specifies the smallest width in pixels allowed for the dropdown window. - - - - - Current string value in the dropdown. - - - - - Serializes object inside specified data provider. - - Data provider to serialize into. - Offset to start serialization from. - - - - Extracts object from specified data provider. - - Data provider to get data from. - Offset to start getting data from. - - - - Gets - - - - - - Creates a copy of the current object. - - A copy of the current object. - - - - Option flags. - - - - - An unsigned integer that specifies the number of lines to be displayed - in the dropdown. If there are more lines than that in the list, - a scrollbar can appear. - - - - - An unsigned integer that specifies the smallest width in pixels allowed for the dropdown window. - - - - - Current string value in the dropdown. - - - - - Offset to the row index. - - - - - Offset to the column index. - - - - - Formula tokens. - - - - - Default constructor. - - - - - Initialize new instance. - - Type of the subrecord. - Length of the subrecord's data. - Array that contains subrecord's data. - - - - Gets/sets parsed formula tokens. - - - - - This record stores the size of an embedded OLE object - (when Microsoft Excel is a server). - - - - - Default record size. - - - - - Reserved. - - - - - First row of the object. - - - - - Last row of the object. - - - - - First column of the object. - - - - - Last column of the object. - - - - - Default constructor, sets all fields' default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Read-only. Get reserved field value. - - - - - First row of the object. - - - - - Last row of the object. - - - - - First column of the object. - - - - - Last column of the object. - - - - - Read-only. Return minimum possible size of the record. - - - - - Read-only. Returns maximum possible size of the record. - - - - - Size of the record. - - - - - Specifies the future record. - - - - - Specifies the zoom value in percentage for layout view. - - - - - Specifies whether sheet is in page layout view. - - - - - Specifies whether application displays 'Ruler' - - - - - Specifies whether the margins between pages are hidden in the Page Layout view. - - - - - Default constructor - - - - - Parse the pagelayout view. - - - - - Serialize the page layout view. - - - - - Size of the required storage space. Read-only. - - - - - Specified the zoom value in percentage for layout view. - - - - - Secifies whether sheet is in page layout view. - - - - - Specifies whether the margins between pages are hidden in the Page Layout view. - - - - - Specifies whether application displays 'Ruler' - - - - - This record contains the definition of all user-defined colors available - for cell and object formatting. - - - - - Number of colors (nm). Contains 16 in BIFF3-BIFF4 - and 56 in BIFF5-BIFF8. - - - - - Array of colors. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Read-only. Number of colors (nm). Contains 16 - in BIFF3-BIFF4 and 56 in BIFF5-BIFF8. - - - - - Array of colors. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Structure describing color entry. - - - - - Value of the red part of the color. - - - - - Value of the green part of the color. - - - - - Value of the blue part of the color. - - - - - Not used. - - - - - Converts object to string. - - String representation of the object. - - - - - - - - - Correct record size. - - - - - Position of the vertical split (px, 0 = No vertical split). - Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point). - Frozen pane: Number of visible columns in left pane(s). - - - - - Position of the horizontal split (py, 0 = No horizontal split). - Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point). - Frozen pane: Number of visible rows in top pane(s). - - - - - Index to first visible row in bottom pane(s). - - - - - Index to first visible column in right pane(s). - - - - - Identifier of pane with active cell cursor (see below). The last field - specifying the active pane has a size of 1 byte in BIFF2-BIFF4 and 2 - bytes in BIFF5-BIFF8. The correct identifiers for all possible - combinations of visible panes are shown in the following pictures: - px=0, py=0 -> 3 - px=0, py>0 -> 3 - 2 - px>0, py=0 -> 3 1 - px>0, py>0 -> 3 1 - 2 0 - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Position of the vertical split (px, 0 = No vertical split). - Unfrozen pane: Width of the left pane(s) (in twips = 1/20 of a point). - Frozen pane: Number of visible columns in left pane(s). - - - - - Position of the horizontal split (py, 0 = No horizontal split). - Unfrozen pane: Height of the top pane(s) (in twips = 1/20 of a point). - Frozen pane: Number of visible rows in top pane(s). - - - - - Index to first visible row in bottom pane(s). - - - - - Index to first visible column in right pane(s). - - - - - Identifier of pane with active cell cursor (see below). The last field - specifying the active pane has a size of 1 byte in BIFF2-BIFF4 and 2 - bytes in BIFF5-BIFF8. The correct identifiers for all possible - combinations of visible panes are shown in the following pictures: - px=0, py=0 -> 3 - px=0, py>0 -> 3 - 2 - px>0, py=0 -> 3 1 - px>0, py>0 -> 3 1 - 2 0 - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Stores the encrypted password for a sheet or workbook. - - - - - 16-bit hash value of the password. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - 16-bit hash value of the password. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Stores the (2 byte) encrypted password for a shared workbook. - - - - - Default record size. - - - - - Encrypted password for a shared workbook. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Encrypted password for a shared workbook. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Defines whether to store with full precision or what is displayed the GUI. - - - - - Default record size. - - - - - Whether to use full precision or just skew some of the figures; - 1 = full precision. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Whether to use full precision or just skew some of the figures; - 1 = full precision. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record saves printer settings and printer driver information. - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - When string's length does not fit to internal data length or - when last string ends before data (some extra data at the - end of m_data array). - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Creates copy of the current object. - - A copy of the current object. - - - - - - - - - Indicates whether we should add header of continue records to the internal data provider. Read-only. - - - - - Indicates whether record needs internal data array - or if it can be cleaned. Read-only. - - - - - Defines whether or not to print the gridlines when you - print your spreadsheet on paper. - - - - - Default record size. - - - - - Whether or not to print the gridline. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Whether or not to print the gridline. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Whether or not to print the row / column headers - of the spreadsheet in the physical form. - - - - - Default record size. - - - - - Print headers or not. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Print headers or not. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Stores print setup options. - - - - - Bit mask for error print options. - - - - - Start bit of error print options in m_usOptions. - - - - - Correct record size. - - - - - Paper size. - - - - - Scaling factor in percent. - - - - - Start page number. - - - - - Fit worksheet width to this number of pages (0 = use as many as needed). - - - - - Fit worksheet height to this number of pages (0 = use as many as needed). - - - - - Options flag. - - - - - False to print pages in columns; - True to print pages in rows. - - - - - False for landscape; True for portrait. - - - - - True if paper size, scaling factor, paper orientation (portrait / landscape), - print resolution, and number of copies are not initialized. - - - - - False to print in color; True to print in black and white. - - - - - False for default print quality; True for draft quality. - - - - - Indicates whether to print cell notes. - - - - - False if paper orientation setting is valid; - True if paper orientation setting is not initialized. - - - - - False for automatic page numbers; - True to use starting page number. - - - - - False if print notes are displayed; - True if print notes are at the end of sheet. - - - - - Print resolution in dpi. - - - - - Vertical print resolution in dpi. - - - - - Header margin (IEEE floating-point value). - - - - - Footer margin (IEEE floating-point value). - - - - - Number of copies to print. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Paper size. - - - - - Scaling factor in percent. - - - - - Start page number. - - - - - Fit worksheet width to this number of pages (0 = use as many as needed). - - - - - Fit worksheet height to this number of pages (0 = use as many as needed). - - - - - Print resolution in dpi. - - - - - Vertical print resolution in dpi. - - - - - Header margin (IEEE floating-point value). - - - - - Footer margin (IEEE floating-point value). - - - - - Number of copies to print. - - - - - False to print pages in columns; - True to print pages in rows. - - - - - False if landscape; True if portrait. - - - - - True if paper size, scaling factor, paper orientation (portrait / landscape), - print resolution, and number of copies are not initialized. - - - - - False to print in color; True to print in black and white. - - - - - False for default print quality; True for draft quality. - - - - - Indicates whether to print cell notes. - - - - - False if paper orientation setting is valid; - True if paper orientation setting is not initialized. - - - - - False for automatic page numbers; - True to use starting page number. - - - - - False if print notes as displayed; - True if print notes are at the end of sheet. - - - - - Indicates how to print errors. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Describes whether this is a protected shared / tracked workbook. - - - - - Default record size. - - - - - Whether or not this is protected shared / tracked workbook. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Whether or not this is protected shared / tracked workbook. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Whether a worksheet or a workbook is protected against modification. - Protection is not active if this record is omitted. - - - - - Whether a worksheet or a workbook is protected against modification. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Whether a worksheet or a workbook is protected against modification. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record contains the cell range and text for a ToolTip. - It occurs in conjunction with the HLINK record for hyperlinks in the Hyperlink Table. - - - - - Size of the fixed part. - - - - - 0x0800 (repeated record identifier). - - - - - Cell range address of all cells containing the ToolTip. - - - - - ToolTip string. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - If the last symbol of string (it is also last symbol of the data array) is not zero. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - Cell range address of all cells containing the ToolTip. - - - - - ToolTip string. - - - - - Read-only. Returns minimum possible size of the record. - - - - - Represents range protection and error indicators. - - - - - Represents length offset. - - - - - Represents data offset. - - - - - Represents default subrecord size. - - - - - Represents record end unknown bytes count. - - - - - Represents default subrecords size. - - - - - Represents first unknown bytes. - - - - - Represents second unknown bytes. - - - - - Represents error indicator hide options. - - - - - Preserves range protection record - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Gets the default record store size. Read-only. - - - - - Tries to reduce number of ranges. - - - - - Represents hide options. - - - - - Read-only. Minimum possible size of the record. - - - - - This record stores RecalcId identifiers. - - - - - Represents the Record Type - - - - - Represents Calc Identifier. - - - - - Default constructor - - - - - Read/Initialize constructor - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Represents the user interface language of the Excel version - that saved this file. - - - - - Represents the system regional settings - at the time the file was saved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Describes which reference mode to use. - - - - - Correct record size. - - - - - Stores which method is used to show cell addresses in formulas. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Stores which method is used to show cell addresses in formulas: - 1 = A1 mode - 0 = RC mode - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Flag whether to refresh all external data when loading a sheet. - - - - - Default record size. - - - - - Flag whether to refresh all external data when loading a sheet. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Flag whether to refresh all external data when loading a sheet. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Represents a cell that contains an RK value - (encoded integer or floating-point value). - - - - - Correct record size. - - - - - Record size with header. - - - - - Offset to the number from the start of the record's data. - - - - - Offset to the number from the start of the record's data. - - - - - Represents rk mask. - - - - - Maximum number that is possible to store as rk record. - - - - - Minimum number that is possible to store as rk record. - - - - - RK value. - - - - - True if value is multiplied by 100. - - - - - True if signed integer; False if floating-point value. - - - - - Default constructor - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset to the record's data. - Excel version used to fill data. - - - - Returns size of the required storage space. - - Excel version. - Size of the required storage space. - - - - Converts string to the Rk number. - - String to convert. - - - - Sets RkNumber to the specified value. - - Double value to set. - - - - Sets integer value to the specified value. - - Value to set. - - - - Sets RkRecord values from MulRKRecord.RkRec - - MulRKRecord.RkRec with needed values. - - - - Converts RKRecord into MulRKRecord.RkRec. - - Converted record. - - - - Converts string to RK number. - - String to parse. - Parsed RK number. If returns int.MaxValue - cannot parse RK number. - - - - Converts double to RK number. - - Value to convert. - Converted RK number. If returns int.MaxValue - cannot parse RK number. - - - - Converts Rk number to double. - - Rk number to convert. - Converted double value. - - - - Converts double value to integer. Value as IEEE double or IEEE / 100 double. - - Value to convert. - Indicates is convert to IEEE / 100. - Int value corresponding to the double value. - - - - Encodes rk number. - - Represents value to encode. - Returns encoded value. - - - - Gets double value using safe code. - - Represents value. - Returns double value. - - - - Reads record's value from the data provider. - - Provider to read data from. - Offset to the record's start. - Excel version that was used to infill. - Record's value. - - - - Read-only. RK value. - - - - - RK value converted to double. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - True if this is not a floating point value. - - - - - True if value was multiplied by 100. - - - - - Returns double value. Read-only. - - - - - Value of the record. - - - - - Stores the row information for the sheet. - - - - - Bit mask for outline level. - - - - - Maximum row height in points. - - - - - - - - - - Index of this row. - - - - - Index to column of the first cell which is described by a cell record. - - - - - Index to column of the last cell which is described by a cell record, - increased by 1. - - - - - Height of the row, in twips = 1/20 of a point. - - - - - Not used. - - - - - Options flag. - - - - - Worksheet object. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - - - - - - Index of this row. - - - - - Index to column of the first cell which is described by a cell record. - - - - - Index to column of the last cell which is described by a cell record, - increased by 1. - - - - - Height of the row, in twips = 1/20 of a point. - - - - - If the row is formatted, then this is the index to - the extended format record. - - - - - The outline level of this row. - Changes some bits of m_usOptionFlags private member. - - - When value is more than 7. - - - - - Whether or not to collapse this row. - - - - - Whether or not to display this row with 0 height. - - - - - Whether the font and row height are not compatible. - True if they aren't compatible. - - - - - Whether the row has been formatted (even if it has all blank cells). - - - - - True if there is additional space above the row. - - - - - True if there is additional space below the row. - - - - - Undocumented bit flag. If it is set to False, then Excel will - not show row groups. Default value is True. - - - - - Read-only. Not used. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - Row or column index. - - - - - Gets or sets the worksheet. - - The worksheet. - - - - Possible option flags. - - - - - Whether or not to collapse this row. - - - - - Whether or not to display this row with 0 height. - - - - - Whether the font and row height are not compatible. - True if they aren't compatible. - - - - - Whether the row has been formatted (even if its got all blank cells) or - row has explicit default format. - - - - - If this value is set to False, then Excel will not show row outline - groups. - - - - - Additional space above the row. - - - - - Additional space below the row. - - - - - This record stores a formatted text cell (Rich-Text). - In BIFF8 it is replaced by the LABELSST record. - Nevertheless, Excel uses this record if it copies formatted - text cells to the clipboard. - - - - - Index to row. - - - - - Index to column. - - - - - Index to XF (Extended Format) record. - - - - - Unformatted Unicode string, 16-bit string length. - - - - - Number of rich text formatting runs. - - - - - Array of formatting runs. - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Excel version used for infill. - Size of the record data. - - - - Index to row. - - - - - Index to column. - - - - - Index to XF (Extended Format) record. - - - - - Unformatted Unicode string, 16-bit string length. - - - - - Array of formatting runs. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Returns string value. Read-only. - - - - - Rich text formatting run. - - - - - First formatted character (zero-based). - - - - - Index to FONT record. - - - - - Defines whether to recalculate before saving (set to 1). - - - - - Correct record size. - - - - - Defines whether to recalculate before saving (set to 1). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Defines whether to recalculate before saving (set to 1). - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record is part of the worksheet / workbook protection. - It determines whether the scenarios of the current sheet - are protected. Scenario protection is not active - if this record is omitted. - - - - - Default record size. - - - - - 0 = Objects not protected; 1 = Objects protected - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - 0 = Scenarios not protected; 1 = Scenarios protected - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - Shows the user's selection on the sheet - for write set num refs to 0. - - - - - Size of the fixed part. - - - - - Subitem size. - - - - - The window pane for the record. - - - - - The active cell's row. - - - - - The active cell's column. - - - - - The active cell's reference number. - - - - - The number of cell refs. - - - - - List of ADDR structures. - - - - - Sets selection range. - - Ref index. - Addr to set. - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Size of the required storage space. Read-only. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - The window pane for the record. - - - - - The active cell's row. - - - - - The active cell's column. - - - - - The active cell's reference number. - - - - - The number of cell refs. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - List of ADDR structures. - - - - - Each cell range address (called an ADDR structure) contains 4 16-bit values. - Cell range address, BIFF8. - - - - - Index to first row. - - - - - Index to last row. - - - - - Index to first column. - - - - - Index to last column. - - - - - Creates TAddr by specified first and last rows and first and last columns. - - First row of the cell range. - Last row of the cell range. - First column of the cell range. - Last column of the cell range. - - - - Converts object to the string. - - String representation of the object. - - - - This record stores the token array of a shared formula. - Shared formulas are similar to array formulas in that they store - a formula used in a range of cells. The SharedFormula record - is not a real cell record but follows the first FORMULA - record of the cell range. - - - - - Size of the record's fixed part. - - - - - Index to first row of the shared formula range. - - - - - Index to last row of the shared formula range. - - - - - Index to first column of the shared formula range. - - - - - Index to last column of the shared formula range. - - - - - Not used. - - - - - Size of the formula data. - - - - - Token array of the shared formula. - - - - - - - - - - Default constructor fills all data with default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Index to first row of the shared formula range. - - - - - Index to last row of the shared formula range. - - - - - Index to first column of the shared formula range. - - - - - Index to last column of the shared formula range. - - - - - Read-only. Size of the formula data. - - - - - Token array of the shared formula. - - - - - Gets/sets formula into/from shared formula record. - - - - - Read-only. Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Whether to center between horizontal margins. - - - - - Whether or not to horizontally or vertically (depending on the record code) center this sheet. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Whether or not to horizontally or vertically (depending on record code) center this sheet. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record stores the colour of the tab below the sheet containing the sheet name. - - - - - Record size. - - - - - Repeated record identifier. - - - - - Reserved. - - - - - Reserved. - - - - - Reserved. - - - - - Unknown data. - - - - - Color index for sheet name tab. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. - - - - - Repeated record identifier. - - - - - Reserved. - - - - - Reserved. - - - - - Reserved. - - - - - Unknown data. - - - - - Color index for sheet name tab. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Maximum memory size for internal buffer. - - - - - Summary description for SheetProtection. - - - - - Represents the Error Indicator sheet protection id. - - - - - Represents option offset. - - - - - Represents default record store size. - - - - - Represents default embedded record data. - - - - - Options flag. - - - - - Indicates is contain sheet protection. - - - - - Represents the Protection type. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Gets the default record store size. Read-only. - - - - - Represents protected options. - - - - - Indicates is record contain sheet protection. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - Represents the protection type. - - - - - This record stores the last settings from the "Sort" dialog - for each sheet. These settings are not attached to a cell range - in the sheet, so it is not possible to determine - the cell range sorted with the settings of this record. - - - - - Bit mask for the table index. - - - - - Start bit for the table index. - - - - - Size of the fixed part size. - - - - - Option flags. - - - - - False to sort rows (top to bottom); - True to sort columns (left to right). - - - - - False to sort first key in ascending order; - True to sort first key in descending order. - - - - - False to sort second key in ascending order; - True to sort second key in descending order. - - - - - False to sort third key in ascending order; - True to sort third key in descending order. - - - - - False to sort case-insensitive; - True to sort case-sensitive. - - - - - Length of first sort key. - - - - - Length of second sort key. - - - - - Length of third sort key. - - - - - First sort key. - - - - - Second sort key. - - - - - Third sort key. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Returns size of the string - - - - - - - Size of the required storage space. Read-only. - - - - - False to sort rows (top to bottom); - True to sort columns (left to right). - - - - - False to sort first key in ascending order; - True to sort first key in descending order. - - - - - False to sort second key in ascending order; - True to sort second key in descending order. - - - - - False to sort third key in ascending order; - True to sort third key in descending order. - - - - - False to sort case-insensitive; - True to sort case-sensitive. - - - - - One-based index into the table of defined sort lists, - or 0 for sorting without a list. - This property changes some bits of m_usOptions. - - - - - Read-only. Length of first sort key. - - - - - Read-only. Length of second sort key. - - - - - Read-only. Length of third sort key. - - - - - First sort key. - - - - - Second sort key. - - - - - Third sort key. - - - - - Read-only. Minimum possible size of the record. - - - - - Static String Table Record: - This holds all the strings for LabelSSTRecords. - - - - - Options byte offset in the string. - - - - - Number of string in workbook. - - - - - Number of unique strings in workbook. - - - - - Array of workbook's strings. - - - - - Array that stores positions of the strings in the m_data array. - - - - - Array that stores offsets of the strings starting from the beginning - of the record (Continue or SST). - - - - - - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - If any internal error occurred. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Tries to prognose records size and prepare data storage so it won't require resize operation. - - - - - Resizes buffer if necessary. - - Buffer to check. - Desired buffer size. - - - - This method checks record's internal data array for integrity. - - If there is any internal error. - - - - Size of the required storage space. Read-only. - - - - - Number of string in workbook. - - - - - Number of unique strings in workbook. - - - - - Array of workbook's strings. - - - - - Array that stores positions of the strings in the m_data array. - - - - - Array that stores offsets of the strings starting from the beginning - of the record (Continue or SST). - - - - - Configuration property. If value is True, then on detection of dataless - record, the class will try to continue to get records from the stream. - - - - - - - - - - This record stores the result of a string formula. - It occurs directly after a string formula. - - - - - Size of the fixed part. - - - - - String length. - - - - - Non-empty Unicode string. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Non-empty Unicode string. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Header of this record - - - - - Whether the style is built in or user-defined. - - - - - Whether the style is hidden in user interface or not. - - - - - Whether the style is custom or not. - - - - - Reserved data. - - - - - Specify the type of style - - - - - Buid in data - - - - - The style's name (if user-defined). - - - - - The row or column level of the style. - - - - - If this is a built in style, then it is the number of the built in style. - If this is user-defined style, then it is length of style's name. - - - - - Default constructor - - - - - Initialize the variables - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Whether the style is built in or user-defined. - - - - - Whether the style is hidden in user interface or not - - - - - Whether the style is custom or not. - - - - - The style's name (if user-defined). - - - - - Specify the type of style - - - - - Style Record: - Describes a built-in style in the GUI or user defined style. - - - - - Extended format index bit mask. - - - - - The actual index of the style extended format record. - - - - - Whether the style is built in or user-defined. - - - - - If this is a built in style, then it is the number of the built in style. - If this is user-defined style, then it is length of style's name. - - - - - The row or column level of the style. - - - - - The style's name (if user-defined). - - - - - The style's name (if user-defined and greater than 256 symbols). - - - - - Represents the default external format index based on workbook version - - - - - /Represents if the stylename is encoded, when style name is greater than 256 symbols - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Copies this record into another StyleRecord. - - - - - - Whether the style is built in or user-defined. - - - - - - The actual index of the style extended format record. - - - - - The row or column level of the style. - - - - - The row or column level of the style. - - - - - The style's name (if user-defined). - - - - - Represents actual style name in case of AsciiConversion - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Returns style name. Read-only. - - - - - Gets or sets the default external format index based on workbook version - - - - - This record stores the URL of an external document - and a list of sheet names inside this document. Furthermore, - it is used to store DDE and OLE object links or to indicate - an internal 3D reference or an add-in function. - - - - - This constant indicates that the sup book record contains internal references. - - - - - This constant indicates that the sup book record contains add-in functions. - - - - - Indicates whether this record is used for internal references or external references. - - - - - Indicates whether add-in function names are stored - in EXTERNNAME records following this SUPBOOK record. - - - - - Number of sheet names (if external references) or - number of sheets in this document (if internal references). - - - - - Length of encoded URL without sheet name (if external references). - 0401h (if internal references) - - - - - Encoded URL without sheet name. - - - - - List of sheet names. - - - - - Original URL value. - - - - - Default constructor - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - When string's length does not fit to internal data length or - when last string ends before data (some extra data at the - end of m_data array). - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - - - - - - Size of the required storage space. Read-only. - - - - - Whether the record is used for internal references or external references. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - Encoded URL without sheet name (for external references). - - - - - Gets / sets original url value. - - - - - List of sheet names. - - - - - Number of sheet names (if external references) or - number of sheets in this document (if internal references). - - - - - - - - - - Sheet Tab Index Array Record: - Contains an array of sheet ID's. Sheets always keep their ID - regardless of what their name is. - - - - - Array of tab IDs. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - This method checks a record's internal data array for integrity. - - - If there is any internal error. - - - - - Size of the required storage space. Read-only. - - - - - Array of tab IDs. - - - - - This record stores information about a multiple operation - table in the sheet. It follows the first FORMULA record - of the cell range containing the operation table. - - - - - Bit mask for the operation mode. - - - - - First bit of the operation mode. - - - - - Index to first row of the multiple operation table range. - - - - - Index to last row of the multiple operation table range. - - - - - Index to first column of the multiple operation table range. - - - - - Index to last column of the multiple operation table range. - - - - - Option flags. - - - - - True to always recalculate array formula. - - - - - True to calculate array formula on open. - - - - - Index to row of input cell (in mode 1x2 index to row of - input cell for row input). - - - - - Index to column of input cell (in mode 1x2 index to column - of input cell for row input). - - - - - In mode 1x2 index to row of input cell for column input; - else not used. - - - - - In mode 1x2 index to column of input cell for column input; - else not used. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Index to first row of the multiple operation table range. - - - - - Index to last row of the multiple operation table range. - - - - - Index to first column of the multiple operation table range. - - - - - Index to last column of the multiple operation table range. - - - - - True to always recalculate array formula. - - - - - True to calculate array formula on open. - - - - - Whether to display outline symbols (in the gutters). - Changes bits of m_usOptions. - - - When value is more than 4. - - - - - Index to row of input cell (in mode 1x2 index to row of - input cell for row input). - - - - - Index to column of input cell (in mode 1x2 index to column - of input cell for row input). - - - - - In mode 1x2 index to row of input cell for column input; - else not used. - - - - - In mode 1x2 index to column of input cell for column input; - else not used. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - If stream is not specified. - If stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Read-only. Maximum possible size of the record. - - - - - This record stores a text object. The TXO record is followed - by two CONTINUE records. The first CONTINUE record contains the text - data and the second CONTINUE contains the formatting runs. - If the text box contains no text, these CONTINUE records - are not written to the file. - - - - - Bit mask for horizontal alignment. - - - - - Bit mask for vertical alignment. - - - - - Option flags. - - - - - Whether the Lock Text option is on. - - - - - Orientation of text within the object boundary. - - - - - Reserved, must be zero. - - - - - Reserved, must be zero. - - - - - Length of text (in first CONTINUE record). - - - - - Length of formatting runs (in second CONTINUE record). - - - - - Reserved, must be zero. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Horizontal text alignment. - This property changes bits of m_usOptions private field. - - - - - Vertical text alignment: - This property changes bits of m_usOptions private field. - - - - - Whether the Lock Text option is on. - - - - - Orientation of text within the object boundary. - - - - - Length of text (in first CONTINUE record). - - - - - Length of formatting runs (in second CONTINUE record). - - - - - Not used. - - - - - Not used. - - - - - Not used. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - Summary description for TextFormat. - - - - - - - - - - - - - - - Size of a single formatting run. - - - - - - - - - - - - - - - Formatting runs, key - position, value - font index. - - - - - String value. - - - - - Default font index. - - - - - Options. - - - - - Indicates whether string was changed and possibly needs defragmentation. - - - - - Number of references to this object. - - - - - Reprsents the Rich Text. - - - - - Indicates the string is preserverd type or not - - - - - Default constructor. - - - - - Creates instance with specified default font index. - - Index of the default font. - - - - Converts TextWithFormat to string. - - Object to convert to string. - String value of the object. - - - - Converts string to TextWithFormat. - - String value. - Converted TextWithFormat. - - - - Sets font index for specified range of characters. - - Start character of the range. - End character of the range. - Font index to set. - - - - Returns font index for the specified character. - - Character index to get font index. - Font index for the specified character. - - - - Returns font index for the specified character. - - Character index to get font index. - Font index for the specified character. - - - - Returns font index at the specified position in the formatting runs array. - - Index of the formatting run. - Font index. - - - - Returns character position at the specified position in the formatting runs array. - - Index of the formatting run. - Character position. - - - - Sets font index at the specified position in the formatting runs array. - - Index of the formatting run. - Font index to set. - - - - Clears formatting. - - - - - Compares the current instance with another object of the same type. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the comparands. - - - - - Compares formatting runs. - - First formatting runs to compare. - Second formatting runs to compare. - - 0 if they are equal, - -1 if first formatting run is less then second; - otherwise 1. - - - - - - - - - - Returns starting position for formatting block which contains specified position. - - Position to which formatting is applied. - Starting position for formatting block which contains specified position. - - - - Removes all formatting within specified range. - - Start position of the range. - End position of specified range. - - - - Defragments text formatting. - - - - - Checks if specified offset is correct. - - Length of the array. - Offset in the array. - - When iOffset is out of range. - - - - - Copies formatting runs into another TextWithFormat object. - - TextWithFormat to copy data into. - - - - Converts this object to string. - - String representation of this object. - - - - Determines whether the specified object is equal to the current object. - - The object to compare with the current object. - - True if the specified object is equal to the current object; - otherwise False. - - - - - Returns hashcode for the object. - - A hash code for the current object. - - - - Parses byte array. - - Array of bytes to parse. - Offset of the object's data in the array. - Size of the object in the data array. - - - - Evaluates size of the text in bytes. - - Returns text size in bytes. - - - - Returns size of the formatting runs. - - Size of the formatting runs. - - - - Serializes formatting. - - Returns array of bytes that contains formatting data. - - - - Serializes formatting. - - Buffer for formatting data. - Offset in the buffer where to serialize formatting. - Indicates whether defragmentation is needed. - Size of formatting data. - - - - Returns string options. - - Options byte. - - - - Converts byte array to string. - - Byte array with string data. - Desired number of charts. - Indicates whether string is in unicode format. - Offset of the string data. - Extracted string. - - - - Parses formatting runs. - - Array with formatting runs data. - Offset to formatting runs. - Number of formatting runs to parse. - - - - Parses formatting runs. - - Array with formatting runs. - - - - Parses Far East data. - - - - - - - - Serializes formatting runs. - - Array with formatting runs. - - - - Serializes formatting runs into specified array. - - Destination array. - Offset to the data. - Indicates whether defragmentation is needed. - Size of the serialized data. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - Creates a new object that is a copy of the current instance. - - Dictionary with new font indexes. - A new object that is a copy of this instance. - - - - Updates font indexes. - - Dictionary with new font indexes. - - - - Reprsents the Rich Text - - - - - Text string. - - - - - Formatting runs, key - position, value - font index. - - - - - List of formatting runs. Read-only. - - - - - Gets / sets default font index. - - - - - Returns number of formatting runs. Read-only. - - - - - Returns true if string is preserved type. - - - - - Possible string flags. - - - - - The string is saved as double-byte characters. - - - - - Extended string follows (Far East versions). - - - - - Rich string follows. - - - - - - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Read-only. Returns maximum possible size of record. - - - - - Default record size. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Gets / sets first unknown int value. - - - - - Gets / sets second unknown int value. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Summary description for UnkMacrosDisable. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Maximum possible size of the record. Read-only. - - - - - - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - If there is any internal error. - - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Reserved. - - - - - Reserved. - - - - - Reserved. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - This record describes all unknown information in records. - - - - - - - - - - - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Read / initialize constructor. - - Reader from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - - - - Size of the required storage space. Read-only. - - - - - Clones current instance. - - Returns cloned object. - - - - - - - - - - - - - - - - - - - Gets / sets length of the data array. - - - - - Informs the GUI if this was written by something that can use - "natural language" formulas. - - - - - Default record size. - - - - - Whether or not to use natural language formulas. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Whether or not to use natural language formulas. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Contains a list of explicit column page breaks. - - - - - Size of the fixed part. - - - - - Size of the subitem. - - - - - Number of page breaks. - - - - - Array of VerticalPageBreaks. - - - - - Default constructor, sets all fields default values. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Size of the required storage space. Read-only. - - - - - Array of VerticalPageBreaks. - - - - - Read-only. Maximum possible size of the record. - - - - - Structure that contains information about a vertical page break. - - - - - The column of the break. - - - - - The starting row of the break. - - - - - The ending row of the break. - - - - - Default constructor - - - - - Constructs class instance and fills it with specified values. - - Column of the break. - Starting row of the break. - Ending row of the break. - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - - - - The column of the break. - - - - - The starting row of the break. - - - - - The ending row of the break. - - - - - Stores the attributes of the workbook window. This is basically - so that the GUI is aware of the size of the window holding the spreadsheet - document. - - - - - Correct record size. - - - - - Horizontal position. - - - - - Vertical position. - - - - - The width of the window. - - - - - The height of the window. - - - - - The option's bitmask (see bit setters). - - - - - The selected tab number. - - - - - The displayed tab number. - - - - - The number of selected tabs. - - - - - Ratio of the width of the tabs to the horizontal scrollbar. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Horizontal position of the window. - - - - - Vertical position of the window. - - - - - The width of the window. - - - - - The height of the window. - - - - - The selected tab number. - - - - - The displayed tab number. - - - - - The number of selected tabs. - - - - - Ratio of the width of the tabs to the horizontal scrollbar. - - - - - Indicates whether window is hidden. - - - - - Indicates whether window is icon. - - - - - Indicates whether to display horizontal scrollbar. - - - - - Indicates whether to display vertical scrollbar. - - - - - Display tabs at the bottom. - - - - - Property value reserved by Microsoft for own values. - - - - - Read-only. Options flag. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Possible option flags. - - - - - Indicates whether window is hidden. - - - - - Indicates whether window is icon. - - - - - Reserved. - - - - - Indicates whether to display horizontal scrollbar. - - - - - Indicates whether to display vertical scrollbar. - - - - - Display tabs at the bottom. - - - - - Flags indicating whether workbook windows are protected. - - - - - Size of the record data. - - - - - Whether workbook windows are protected. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Converts data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - Size of the record data. - - - - Whether workbook windows are protected. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Sheet window settings. - - - - - Maximum record size. - - - - - Indicates the size when this record is in Chart Sheet. - - - - - The option's bitmask (you should use the bit setters). - - - - - The top row visible in the window. - - - - - The leftmost column displayed in the window. - - - - - The palette index for the header color. - - - - - Zoom magification in page break view. - - - - - The zoom magnification in normal view. - - - - - Reserved. - - - - - Length of the original record. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - The top row visible in the window. - - - - - The leftmost column displayed in the window. - - - - - The palette index for the header color. - - - - - Whether the window should display formulas. - - - - - Whether the window should display gridlines. - - - - - Whether the window should display row and column headings. - - - - - Whether the window should freeze panes. - - - - - Whether the window should display zero values. - - - - - Whether the window should display a default header. - - - - - Is this Arabic? - - - - - Whether the outline symbols are displayed. - - - - - Freeze unsplit panes or not. - - - - - Sheet tab is selected. - - - - - Is the sheet currently displayed in the window? - - - - - Was the sheet saved in page break view? - - - - - Read-only. Option flags. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Length of the original record. - - - - - Possible option flags. - - - - - Indicates whether the window should display formulas. - - - - - Indicates whether the window should display gridlines. - - - - - Indicates whether the window should display row and column headings. - - - - - Indicates whether the window should freeze panes. - - - - - Indicates whether the window should display zero values. - - - - - Indicates whether the window should display a default header. - - - - - Indicates whether this is Arabic. - - - - - Indicates whether the outline symbols are displayed. - - - - - Indicates whether freeze panes are unsplit or not. - - - - - Indicates whether sheet tab is selected. - - - - - Indicates whether sheet is currently displayed in the window. - - - - - Indicates whether sheet was saved in page break view. - - - - - This record stores the magnification of the active view of the current worksheet. - In BIFF8 this can be either the normal view or the page break preview. - This is determined in the WINDOW2 record. - The magnification is stored as reduced fraction. The magnification results - from nscl / dscl. - - - - - Correct size of the record. - - - - - Numerator of the view magnification fraction. - - - - - Denominator of the view magnification fraction. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Numerator of the view magnification fraction. - The magnification results from NumMagnification / DenumMagnification. - - - - - Denominator of the view magnification fraction. - The magnification results from NumMagnification / DenumMagnification. - - - - - - - - - - Stores the Username of the owner of the spreadsheet generator - (on UNIX, it's the user's login; on Windows, it is the name you typed during - installation). - - - - - Default user name. - - - - - Minimum record size. - - - - - Maximum record size. - - - - - Space character value. - - - - - User name, Unicode string, 16-bit string length, 109 characters. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, a class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Size of the record data. - Offset in the buffer. - Excel version used for infill. - - - - User name, Unicode string, 16-bit string length, 109 characters. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - Indicates whether record allows shorter data. Read-only. - - - - - This record indicates that write protection is used and read-only mode is recommended. - - - - - Correct record size. - - - - - Default constructor. - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - When stream is not specified. - When stream does not support read or seek operations. - - - - Reserved for record's internal data array. - - Amount of bytes for the data array. - If amount of bytes requested is less than zero. - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Size of the required storage space. Read-only. - - - - - Read-only. Maximum possible size of the record. - - - - - This record stores a 16-bit value with Boolean options - for the current sheet. - - - - - Bit mask for DisplayGuts property. - - - - - First bit of the DispayGuts value. - - - - - - - - - - Option flags (you should use bit fields). - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Indicates if automatic breaks are visible. - - - - - Indicates if this is a sheet dialog sheet. - - - - - Whether to apply automatic styles to outlines. - - - - - Whether summary rows will appear below detail in outlines. - - - - - Whether summary rows will appear right of the detail in outlines. - - - - - Whether to fit stuff to the page. - - - - - Whether to display outline symbols (in the gutters). - Changes bits of m_usOptions. - - - When value is more than 3. - - - - - Whether to use alternate expression eval. - - - - - Whether to use alternate formula entry. - - - - - Read-only. Returns minimum possible size of record's - internal data array. - - - - - Read-only. Returns maximum possible size of record's - internal data array. - - - - - - - - - - - - - - - Indicates whether automatic breaks are visible. - - - - - Indicates whether sheet is a dialog sheet. - - - - - Indicates whether to apply automatic styles to outlines. - - - - - Indicates whether summary rows will appear below detail in outlines. - - - - - Indicates whether summary rows will appear right of the detail in outlines. - - - - - Indicates whether to fit stuff to the page. - - - - - Indicates whether to use alternate expression eval. - - - - - Indicates whether to use alternate formula entry. - - - - - XCT � CRN Count: - This record stores the number of immediately following CRN records. - These records are used to store the cell contents of external references. - - - - - Correct record size. - - - - - Number of following CRN records. - - - - - Index into sheet table of the involved SUPBOOK record. - - - - - Default constructor - - - - - Read / initialize constructor. - - Stream from which record data should be read. - Size of read item. - - If stream is not specified. - - - If stream does not support read or seek operations. - - - - - Reserved for record's internal data array. - - Amount of bytes for data array. - - If amount of bytes requested is less than zero. - - - - - Parse structure of record. Convert Data buffer to special - values according to record specification. - - Object that provides access to the data. - Offset to the record's data. - Length of the record's data. - Excel version used for infill. - - - - In this method, class must pack all of its properties into - an internal data array, m_data. This method is called by - FillStream, when the record must be serialized into a stream. - - Object that provides access to the data. - Offset in the buffer. - Excel version used for infill. - - - - Number of following CRN records. - - - - - Index into sheet table of the SUPBOOK record. - - - - - Read-only. Minimum possible size of the record. - - - - - Read-only. Maximum possible size of the record. - - - - - Attribute provides link information between class and Biff8. - record types - - - - - Biff record code. - - - - - Default constructor. To prevent creation of attribute without attributes. - - - - - Creates attribute by record code. - - Biff record code. - - - - Read-only. Returns code of record. - - - - - Known field types to parser. - - - - - Represents the Integer field type. - - - - - Represents the Bit field type. - - - - - Represents the String field type. - - - - - Represents the String16Bit field type. - - - - - Represents the OEMString field type. - - - - - Represents the OEMString16Bit field type. - - - - - Represents the Float field type. - - - - - Attribute of records class members that provide information - about location of the variable in binary data. It also indicates - type to which the data must be converted to. - - - - - Position of the field in the record. - - - - - Size of the field. - - - - - True if attribute describes bit field. - - - - - True if attribute describes string field. - - - - - Indicates whether attribute describes string field with 16 bit length. - - - - - True if attribute describes OEM string field. - - - - - True if attribute describes OEM string field. - - - - - True if attribute describes float field. - - - - - True if attribute describes signed field. - - - - - Creates attribute by field position, size, signed flag, and field type. - - - Position of the filed data in the record data array. - - - Size of the field data or position of the bit in the byte. - - Is field signed or not? - Type of the field. - - - - Creates attribute for integer field by its position, - size, and signed flag. - - - Position of the filed data in the record data array. - - - Size of the field data or position of the bit in the byte. - - Is field signed or not? - - - - Creates attribute for unsigned field by field position, - size, and field type. - - - Position of the filed data in the record data array. - - - Size of the field data or position of the bit in the byte. - - Type of the field. - - - - Creates attribute by field position and field type. - Field size is zero and field is unsigned. - - - Position of the filed data in the record data array. - - Type of the field. - - - - Creates attribute for unsigned field by field position and size. - - - Position of the filed data in the record data array. - - - Size of the field data or position of the bit in the byte. - - - - - Read-only. Returns position of the field in the record data. - - - - - Read-only. Returns size of the filed or bit position (for bit fields). - - - - - Read-only. Returns True if attribute describes bit field. - - - - - Read-only. Returns True if attribute describes signed field. - - - - - Read-only. Returns True if attribute describes string field. - - - - - Indicates whether attribute describes string field with 16 bit length. - - - - - Read-only. Returns True if attribute describes float field. - - - - - Read-only. Returns True if this attribute describes OEM string. - - - - - Read-only. Returns True if this attribute describes OEM string with 16 bit length field. - - - - - Existence of such attribute in class metadata indicates to the Excel writer that - the record class contains offset field which can be calculated only after - all records are saved into an array and are in place. - - - - - Type of the Biff record. - - - - - No public default constructor. - - - - - Constructs attribute for specified Biff record type. - - Type of the Biff record. - - - - Get type of records used for offset calculations. - - - - - This attribute tells the Excel Writer the order in which order offsets should be calculated. - - - - - Array that stores the Biff records order. - - - - - Default constructor. Prevents creating attribute without parameters. - - - - - Constructs attribute and fills array of records - order with specified values. - - Order of the biff records. - - - - Read-only. Returns the array of Biff records order. - - - - - Class used for sorting. Compare method organizes the array in special - order: first the large fields, followed by one bit, and then the bit fields. - Such an order is required by the auto extraction algorithm. - - - - - Compares two objects and returns a value indicating whether - one is less than, equal to, or greater than the other. - - First object to compare. - Second object to compare. - - Value less than zero if x is less than y, - zero if x equals y, - greater than zero if x is greater than y - - - - - This internal class that is used for automatic extraction and - save of the Biff records. - - - - - Key value of the pair. - - - - - Tag value of the pair. - - - - - This method is called when key value is changed. - - - - - This method is called when tag value is changed. - - - - - Default constructor. To prevent construction without parameters. - - - - - Constructs pair by key and tag values. - - Key value. - Tag value. - - - - Event that will be raised after key value changes. - - - - - Event that will be raised after tag value changes. - - - - - Gets / sets key value. - - - - - Gets / sets tag value. - - - - - Helper class which allows extract continue records from stream. - - - - - - - - - - Reference on reader. - - - - - Reference on start position in stream. - - - - - Current record extracted from stream. - - - - - Indicate whether the Reset method needs to be called. - - - - - - - - - - - - - - - - - - - - Disable access to default constructor for users. - - - - - Peek at one record from stream. - - Peeked Biff record. - - - - Class to store current stream position as start point. - - New position which stored as start point. - - - - - - - - - - Return stream to the start position and reset enumerator. - - - - - Move to the next item in stream. - - True if record was extracted successfully; otherwise False. - - - - Check if is the end of stream. - - - - - Type safe Current record. - - - - - Get current extracted record from stream. - - - - - Special class for data publishing as Continue Records. - - - - - Reference to writer - - - - - Constructs class and sets reference to a writer. - - - Writer for which utility class will be constructed. - - - - - Publish / save data as Continue Records into writer stream. - - Data which must be published as Continue Records. - Start point in an array. - Size of records and data in bytes. - - - - Publish / save data as Continue Records into writer stream. - - Data which must be published as Continue Records. - Start point in an array. - Length of data from start point. - Size of records and data in bytes. - - - - Publish / save data as Continue Records into writer stream. - - Data which must be published as Continue Records. - Start point in an array. - Length of data from start point. - Maximum size of Continue Record size. - Size of records and data in bytes. - - - - Publish Continue Record into internal data array of destination record. - - Data to publish. - Start point. - Destination. - Offset in the destination's data array. - Size of the published data. - - - - Publish Continue Record into internal data array of destination record. - - Data to publish. - Start point. - Length of data to publish. - Destination. - Offset in the destination's data array. - Size of the published data. - - - - Publish Continue Record into internal data array of destination record. - - Data to publish. - Start point. - Length of data to publish. - Max size for continue record. - Destination. - Offset in the destination's data array. - Size of the published data. - - - - Summary description for BytesList. - - - - - - - - - - - - - - - Default size of the internal array. - - - - - - - - - - First free position. - - - - - Indicates whether list can reserve some space. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Contains outline information about. - - - - - First Index of the row/column. - - - - - Last index of the row/column. - - - - - Indicates the Outline object - - - - - Indicates the Grouped range - - - - - Indicates the OfficeGroupBy type - - - - - Enum that defines constants for all known Biff records. - - - - - Represents the Array Biff record. - - - - - Represents the AutoFilter Biff record. - - - - - Represents the AutoFilterInfo Biff record. - - - - - Represents the BOF Biff record. - - - - - Represents the BOF2 Biff record. - - - - - Represents the Backup Biff record. - - - - - Represents the Begin Biff record. - - - - - It stores the background bitmap of a worksheet. - - - - - Represents the Blank Biff record. - - - - - Represents the BookBool Biff record. - - - - - Represents the BoolErr Biff record. - - - - - Represents the BottomMargin Biff record. - - - - - Represents the BoundSheet Biff record. - - - - - Represents the CF Biff record. - - - - - Represents the CF12 Biff record. - - - - - Represents the CFEx Biff record. - - - - - Represents the CRN Biff record. - - - - - Represents the CalCount Biff record. - - - - - Represents the CalcMode Biff record. - - - - - Represents the CodeName Biff record. - - - - - Represents the Codepage Biff record. - - - - - Represents the ColumnInfo Biff record. - - - - - Represents the CondFMT Biff record. - - - - - Represents the CondFMT12 Biff record. - - - - - Represents the Continue Biff record. - - - - - Represents the Continue Frt record. - - - - - Represents the Country Biff record. - - - - - Represents custom property record. - - - - - Represents the DBCell Biff record. - - - - - Represents the DCON Biff record. - - - - - Represents the DCONBIN Biff record. - - - - - Represents the DCONNAME Biff record. - - - - - Represents the DCONRef Biff record. - - - - - Represents the DSF Biff record. - - - - - Represents the DV Biff record. - - - - - Represents the DVal Biff record. - - - - - Represents the DateWindow1904 Biff record. - - - - - Represents the DefaultColWidth Biff record. - - - - - Represents the DefaultRowHeight Biff record. - - - - - Represents the Delta Biff record. - - - - - Represents the Dimensions Biff record. - - - - - Represents the EOF Biff record. - - - - - Represents the End Biff record. - - - - - Represents the ExtSST Biff record. - - - - - Represents the ExtSSTInfoSub Biff record. - - - - - Represents the ExtendedFormat Biff record. - - - - - Represents the ExtendedFormatCRC Biff record. - - - - - Represents the Extension of ExtendedFormat Biff record. - - - - - Represents the ExternCount Biff record. - - - - - Represents the ExternName Biff record. - - - - - Represents the ExternSheet Biff record. - - - - - Represents the FilePass Biff record. - - - - - Represents the FileSharing Biff record. - - - - - Represents the FilterMode Biff record. - - - - - Represents the FnGroupCount Biff record. - - - - - Represents the Font Biff record. - - - - - Represents the Footer Biff record. - - - - - Represents the Format Biff record. - - - - - Represents the Formula Biff record. - - - - - Represents the Gridset Biff record. - - - - - Represents the Guts Biff record. - - - - - Represents the HasBasic Biff record. - - - - - Represents the HCenter Biff record. - - - - - Represents the HLink Biff record. - - - - - Represents the Header Biff record. - - - - - Represents image in header or footer. - - - - - This record specifies the even page header and footer text, and the first page - header and footer text of the current sheet. - - - - - Represents the HideObj Biff record. - - - - - Represents the HorizontalPageBreaks Biff record. - - - - - Represents ImageData biff record. - - - - - Represents the Index Biff record. - - - - - Represents the InterfaceEnd Biff record. - - - - - Represents the InterfaceHdr Biff record. - - - - - Represents the Iteration Biff record. - - - - - Represents the Label Biff record. - - - - - Represents the LabelRanges Biff record. - - - - - Represents the LabelSST Biff record. - - - - - Represents the LeftMargin Biff record. - - - - - Represents the MMS Biff record. - - - - - Represents the MergeCells Biff record. - - - - - Represents the MSODrawing Biff record. - - - - - Represents the MSODrawingGroup Biff record. - - - - - Represents the MulBlank Biff record. - - - - - Represents the MulRK Biff record. - - - - - Represents the Name Biff record. - - - - - Represents the Note Biff record. - - - - - Represents the Number Biff record. - - - - - Represents the OBJ Biff record. - - - - - Represents the ObjectProtect Biff record. - - - - - Represents the OleSize Biff record. - - - - - Represents the Palette Biff record. - - - - - Represents the Pane Biff record. - - - - - Represents the Password Biff record. - - - - - Represents the PasswordRev4 Biff record. - - - - - Represents the Precision Biff record. - - - - - Represents the PrintedChartSize Biff record. - - - - - THis records saves settings and printer driver information. - - - - - Represents the PrintGridlines Biff record. - - - - - Represents the PrintHeaders Biff record. - - - - - Represents the PrintSetup Biff record. - - - - - Represents the Protect Biff record. - - - - - Represents the ProtectionRev4 Biff record. - - - - - Represents the QuickTip Biff record. - - - - - Represents the RefMode Biff record. - - - - - Represents the RefreshAll Biff record. - - - - - Represents the RightMargin Biff record. - - - - - Represents the RK Biff record. - - - - - Represents the Row Biff record. - - - - - Represents the RString Biff record. - - - - - Represents the SaveRecalc Biff record. - - - - - Represents the ScenProtect Biff record. - - - - - Represents the Selection Biff record. - - - - - Represents the default column width for all sheet columns. - - - - - Represents the Setup Biff record. - - - - - Represents the beginning of a collection of records - - - - - Represents the shape formatting properties for chart elements - - - - - Represents the end of a collection of records - - - - - Represents the SharedFormula Biff record. - - - - - Represents the SharedFormula2 Biff record. - - - - - This record stores the colour of the tab below the sheet containing the sheet name. - - - - - Represents the Sort Biff record. - - - - - Represents the SST Biff record. - - - - - Represents the String Biff record. - - - - - Represents the Style Biff record. - - - - - Represents the Extension of Style Biff record. - - - - - Represents the SupBook Biff record. - - - - - Represents the TabId Biff record. - - - - - Represents the Table Biff record. - - - - - Represents the Template Biff record. - - - - - Represents the TextObject Biff record. - - - - - Represents the TopMargin Biff record. - - - - - Represents the UseSelFS Biff record. - - - - - Represents the VCenter Biff record. - - - - - Represents the VerticalPageBreaks Biff record. - - - - - Represents the WSBool Biff record. - - - - - Represents the WindowOne Biff record. - - - - - Represents the WindowProtect Biff record. - - - - - Represents the WindowTwo Biff record. - - - - - Represents the WindowZoom Biff record. - - - - - Represents the WriteAccess Biff record. - - - - - Represents the WriteProtection record. - - - - - Represents the XCT Biff record. - - - - - Represents the Unknown Biff record. - - - - - Represents the UnkBegin Biff record. - - - - - Represents the UnkEnd Biff record. - - - - - Represents the UnkMarker Biff record. - - - - - Represents the UnkMacrosDisable Biff record. - - - - - This record contains workbook-specific information. - - - - - Represents the ChartDataLabels Biff record. - - - - - Represents the ChartChart Biff record. - - - - - Represents the ChartSeries Biff record. - - - - - Represents the ChartDataFormat Biff record. - - - - - Represents the ChartLineFormat Biff record. - - - - - Represents the ChartMarkerFormat Biff record. - - - - - Represents the ChartAreaFormat Biff record. - - - - - Represents the ChartPieFormat Biff record. - - - - - Represents the ChartAttachedLabel Biff record. - - - - - Represents the ChartAttachedLabelLayout Biff record. - - - - - Represents the ChartAttachedLabelPlotArea Biff record - - - - - Represents the ChartSeriesText Biff record. - - - - - Represents the ChartChartFormat Biff record. - - - - - Represents the ChartLegend Biff record. - - - - - Represents the ChartSeriesList Biff record. - - - - - Represents the ChartBar Biff record. - - - - - Represents the ChartLine Biff record. - - - - - Represents the ChartPie Biff record. - - - - - Represents the ChartArea Biff record. - - - - - Represents the ChartScatter Biff record. - - - - - Represents the ChartChartLine Biff record. - - - - - Represents the ChartAxis Biff record. - - - - - Represents the ChartTick Biff record. - - - - - Represents the ChartValueRange Biff record. - - - - - Represents the ChartCatserRange Biff record. - - - - - Represents the ChartAxisLineFormat Biff record. - - - - - Represents the ChartFormatLink Biff record. - - - - - Represents the ChartDefaultText Biff record. - - - - - Represents the ChartText Biff record. - - - - - Represents the ChartFontx Biff record. - - - - - Represents the ChartObjectLink Biff record. - - - - - Represents the ChartFrame Biff record. - - - - - Represents the ChartPlotArea Biff record. - - - - - Represents the Chart3D Biff record. - - - - - Represents the ChartPicf Biff record. - - - - - Represents the ChartDropBar Biff record. - - - - - Represents the ChartRadar Biff record. - - - - - Represents the ChartSurface Biff record. - - - - - Represents the ChartRadarArea Biff record. - - - - - Represents the ChartAxisParent Biff record. - - - - - Represents the ChartLegendxn Biff record. - - - - - Represents the ChartShtprops Biff record. - - - - - Represents the ChartSertocrt Biff record. - - - - - Represents the ChartAxesUsed Biff record. - - - - - Represents the ChartSbaseref Biff record. - - - - - Represents the ChartSerParent Biff record. - - - - - Represents the ChartSerAuxTrend Biff record. - - - - - Represents the ChartIfmt Biff record. - - - - - Represents the ChartPos Biff record. - - - - - Represents the ChartAlruns Biff record. - - - - - Represents the ChartAI Biff record. - - - - - Represents the chart text properties stream - - - - - Represents the ChartSerAuxErrBar Biff record. - - - - - Represents the ChartSerFmt Biff record. - - - - - Represents the Chart3DDataFormat Biff record. - - - - - Represents the ChartFbi Biff record. - - - - - Represents the ChartBoppop Biff record. - - - - - Represents the ChartAxcext Biff record. - - - - - Represents the ChartDat Biff record. - - - - - Represents the ChartPlotGrowth Biff record. - - - - - Represents the ChartSiIndex Biff record. - - - - - Represents the ChartGelFrame Biff record. - - - - - Represents the ChartBoppCustom Biff record. - - - - - Represents the ChartShadow Biff record. - - - - - Represents the ChartUnits Biff record. - - - - - Represents the ChartWrapper Biff record. - - - - - Represents the ChartAxisDisplayUnits biff record. - - - - - Represents the ChartBegDispUnitRecord biff record. - - - - - Represents the ChartEndDispUnitRecord biff record. - - - - - Represents the ChartAxisOffsetRecord biff record. - - - - - Represents the CacheData Biff record. - - - - - Represents the CacheDataEx Biff record. - - - - - Represents the DataItem Biff record. - - - - - Represents the ViewExtendedInfo Biff record. - - - - - Represents the ExternalSourceInfo Biff record. - - - - - Represents the SQLDataTypeId Biff record. - - - - - Represents the RuleFilter Biff record. - - - - - Represents the ParsedExpression Biff record. - - - - - Represents the PivotFormat Biff record. - - - - - Represents the PivotFormula Biff record. - - - - - Represents the StreamId Biff record. - - - - - Represents the RowColumnFieldId Biff record. - - - - - Represents the LineItemArray Biff record. - - - - - Represents the PivotName Biff record. - - - - - Represents the PivotNamePair Biff record. - - - - - Represents the PageItem Biff record. - - - - - Represents the RuleData Biff record. - - - - - Represents the SelectionInfo Biff record. - - - - - Represents the sheet protection biff record. - - - - - Represents range protection and error indicators. - - - - - Represents the PivotString Biff record. - - - - - Represents the PivotSourceInfo Biff record. - - - - - Represents the PageItemIndexes Biff record. - - - - - Represents the PageItemNameCount Biff record. - - - - - Represents the PivotViewFields Biff record. - - - - - Represents the PivotViewFieldsEx Biff record. - - - - - Represents the PivotViewItem Biff record. - - - - - Represents the PivotViewDefinition Biff record. - - - - - Represents the PivotViewSource Biff record. - - - - - Represents the PivotDateTime Biff record. - - - - - Represents the PivotDouble Biff record. - - - - - Represents the PivotEmpty Biff record. - - - - - Represents the PivotBoolean Biff record. - - - - - Represents the PivotError Biff record. - - - - - Represents the PivotField Biff record. - - - - - Represents the PivotIndexList Biff record. - - - - - Represents pivot view additional info record. - - - - - - Rerpresents the External connection record. - - - - - Represents properties for a query table. - - - - - Represents the properties for a query table field. - - - - - Represents a DbQuery or ParamQry record depending on the record. - - - - - Represents the name and refresh information for a query table or a PivotTable view. - - - - - Represents shared feature data that is used to describe a table in a worksheet - - - - - Represents the properties related to the formatting of a query table. - - - - - Represents the additional properties - - - - - Represents the DataBaseConnection - - - - - Represents the oledbconnection - - - - - Represents the Externalconnectioncollection - - - - - Represents the Feature record for query table - - - - - Represents the pagelayout view record - - - - - - - - - - Storage of all records. - - - - - Removes the item at the specified index from the list. - - Index of the item to removed. - - - - Inserts an item to the list at the specified position. - - Index at which value should be inserted. - The record to insert into list. - - - - Removes the first occurrence of a specific record from the list. - - Value to remove. - - - - Determines whether the list contains a specific value. - - The record to locate in the list. - True if the value is found in the list; otherwise False. - - - - Removes all items from the list. - - - - - Determines the index of a specific item in the list. - - Record to locate in the list. - The index of the value if found in the list; otherwise -1. - - - - Adds an item to the list. - - The item to add to the list. - The position into which the new element was inserted. - - - - Adds an item to the list. - - The item to add to the list. - The position into which the new element was inserted. - - - - Adds a range of items to the list. - - - Collection of the records that should be added to the list. - - - - - Adds a range of items to the list. - - - Collection of the records that should be added to the list. - - - - - Adds a range of items to the list. - - - Collection of the records that should be added to the list. - - - - - Inserts an item to the list at the specified position. - - Index at which value should be inserted. - The record to insert into list. - - - - Removes the first occurrence of a specific record from the list. - - Value to remove. - - - - Determines whether the list contains a specific value. - - The record to locate in the list. - True if the value is found in the list; otherwise False. - - - - Determines the index of a specific item in the list. - - Record to locate in the list. - The index of the value if found in the list; otherwise -1. - - - - Adds an item to the list. - - The item to add to the list. - The position into which the new element was inserted. - - - - Copies the elements of the ICollection to an array, - starting at a particular array index. - - - The one dimensional array that is the destination of the - elements copied from ICollection. The array must have - zero-based indexing. - - - The zero-based index in an array at which copying begins. - - - - - Returns an enumerator that can iterate through a collection. - - - An IEnumerator that can be used to iterate through the collection. - - - - - Returns an enumerator that can iterate through a collection. - - - An IEnumerator that can be used to iterate through the collection. - - - - - Updates offsets to the Biff records. - - - - - Method that updates StreamPos field in records stored in this collection. - - - - - Read-only. True if list has fixed size. - - - - - Read-only. True if list is Read-only. - - - - - Gets / sets record in the list at the specified index. - - - - - Gets / sets record in the list at the specified index. - - - - - Read-only. Gets a value indicating whether access to the - ICollection is synchronized (thread-safe). - - - - - Read-only. Gets the number of elements contained in the ICollection. - - - - - Read-only. Gets an object that can be used to synchronize - access to the ICollection. - - - - - Class for extracting Biff records from the stream. - - - - - Default size of the buffer - - - - - Version number that stands for BIFF8 - - - - - Stream of data which will be used by reader - - - - - Internal binary reader. - - - - - TRUE - indicate that object was disposed and cannot be used, - otherwise FALSE - - - - - TRUE - destroy stream on own dispose, otherwise false. - - - - - Minimal version that is accepted by the reader - - - - - Buffer for records data. - - - - - Object that provides access to the data. - - - - - To prevent construct of object by default constructor. - - - - - Open stream for reading. - - Input stream which contains data. - - - - Open stream for reading and control stream live time. - - Input stream which contains data - TRUE - reader will dispose stream on own - destroy, otherwise FALSE - - - - Free all resources used by this class - - - - - Gets next record from the stream. - - Extracted biff record. - - - - Gets record from the stream without changing stream position. - - Extracted biff record. - - - - Gets record type from the stream without changing stream position. - - Extracted record type. - - - - Extract Record from stream. This method used by IsEOF property - to optimize its performance. - - Extracted record. - - - - Base stream. - - - - - Returns base BinaryReader. Read-only. - - - - - Get / Set minimal version accepted by the reader - - - - - Returns reference to the internal buffer. Read-only. - - - - - Returns object that provides access to the data. Read-only. - - - - - Read-only. Property return TRUE when reader cannot - extract no more records from stream. - - - - - This class contains information about all known biff records. - Used for registering the biff record type, creating new biff records - and extracting them from a stream. - - - - - Default size for the internal dictionaries - - - - - code-to-constructor pair - - - - - Initialize internal dictionary by Records - - - - - Fills factory without using reflection. - - - - - Create empty record by specified type. - - Type of the record that should be created. - Created record if succeeded, null otherwise. - - - - Create empty record by specified type. - - Type of the record that should be created. - Created record if succeeded, null otherwise. - - - - Extracts unknown record from the stream - - Stream that contains needed record - Extracted unknown record - - - - Extracts unknown record from the stream - - Reader that contains record - Extracted unknown record - - - - Extracts specified record from the reader. - - Type of the record to be extracted. - Reader that contains record. - Temporary buffer needed for some operations. - Extracted record. - - When specified reader is null. - - - - - Extracts specified record from the reader. - - Type of the record to be extracted. - Reader that contains record. - Temporary buffer needed for some operations. - Extracted record. - - When specified reader is null. - - - - - Extracts record from array of bytes. - - Object that provides access to the data. - Offset to the record's start. - Excel version used for infill. - Extracted record. - - - - Extracts from the BinaryReader type of the next record. - - BinaryReader that contains record to extract. - Type of the next record in the BinaryReader. - When reader is null. - - When code of the extracted record is zero. - - - - - Extract from stream Next Record type. - - Stream that contains record to extract. - Extracted record. - - - - - - - - - Size of the buffer. - - - - - Stream of data which will be used by reader. - - - - - True indicates that the object was disposed and cannot be used; - otherwise False. - - - - - TRUE to destroy stream on own dispose; otherwise False. - - - - - - - - - - Buffer for record data. - - - - - Object that provides access to internal data. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns internal buffer. Read-only. - - - - - Class that encapsulates pointer to unmanaged memory block - and used to convert managed memory block (byte array) - into managed object. - - - - - Default memory block size. - - - - - Minimum memory block size. - - - - - Maximum memory block size. - - - - - Exception message for OutOfMemoryException. - - - - - Pointer to the memory block. - - - - - Size of the memory block. - - - - - Default constructor. - - - - - Initializes new instance of MemoryConverter with specified memory block size. - - Size of the memory block. - - - - Ensures that memory block will be able to accept iDesiredSize bytes. - - Bytes that memory block should be able to accept. - - If iDesiredSize is larger than maximum possible memory block size. - - - When was unable to allocate desired memory block size. - - - - - Copies data from arrData into internal memory block. - - Data to copy. - - - - Copies data from arrData into internal memory block starting - from specified index to the end of the array. - - Data to copy. - Start index of the data to copy. - - - - Copies specified number of bytes from arrData into internal memory block starting - from specified index to the end of the array. - - Data to copy. - Start index of the data to copy. - Number of bytes to copy. - - - - Copies data from internal memory block into object. - - Destination object. - - - - Copies data from internal memory block into object. - - Destination object. - - - - Copies data from byte array into specified object. - - Data to copy. - Destination object. - - - - Copies data from byte array into specified object. - - Data to copy. - Start index of the data to copy. - Destination object. - - - - Copies data from byte array into specified object. - - Data to copy. - Start index of the data to copy. - Number of bytes to copy. - Destination object. - - - - - - - - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to 0 #825600;8520f #ffa800;18350f #825600;28180f #ffa800;38011f #825600;47186f #ffa800;57016f #825600;1 #ffa800. - - - - - Looks up a localized string similar to 0 #ccf;11796f #9cf;23593f #96f;39977f #c9f;53740f #9cf;1 #ccf. - - - - - Looks up a localized string similar to 0 white;10486f #1f1f1f;11796f white;27525f #636363;34734f #cfcfcf;43254f #cfcfcf;49807f #1f1f1f;51773f white;1 #7f7f7f. - - - - - Looks up a localized string similar to 0 #cbcbcb;8520f #5f5f5f;13763f #5f5f5f;41288f white;43909f #b2b2b2;45220f #292929;53740f #777;1 #eaeaea. - - - - - Looks up a localized string similar to 0 #5e9eff;26214f #85c2ff;45875f #c4d6eb;1 #ffebfa. - - - - - Looks up a localized string similar to 0 #fc9fcb;8520f #f8b049;13763f #f8b049;41288f #fee7f2;43909f #f952a0;45220f #c50849;53740f #b43e85;1 #f8b049. - - - - - Looks up a localized string similar to 0 #000082;19661f #66008f;42598f #ba0066;58982f red;1 #ff8200. - - - - - Looks up a localized string similar to 0 #fff200;29491f #ff7a00;45875f #ff0300;1 #4d0808. - - - - - Looks up a localized string similar to 0 #8488c4;34734f #d4deff;54395f #d4deff;1 #96ab94. - - - - - Looks up a localized string similar to 0 #e6dcac;7864f #e6d78a;19661f #c7ac4c;29491f #e6d78a;50463f #c7ac4c;1 #e6dcac. - - - - - Looks up a localized string similar to 0 #fbe4ae;8520f #bd922a;13763f #bd922a;41288f #fbe4ae;43909f #bd922a;45220f #835e17;53740f #a28949;1 #fae3b7. - - - - - Looks up a localized string similar to 0 #dcebf5;5243f #83a7c3;8520f #768fb9;13763f #83a7c3;34079f white;36700f #9c6563;38011f #80302d;46531f #c0524e;61604f #ebdad4;1 #55261c. - - - - - Looks up a localized string similar to 0 black;13107f #000040;.5 #400040;.75 #8f0040;58982f #f27300;1 #ffbf00. - - - - - Looks up a localized string similar to 0 #d6b19c;19661f #d49e6c;45875f #a65528;1 #663012. - - - - - Looks up a localized string similar to 0 #ddebcf;.5 #9cb86e;1 #156b13. - - - - - Looks up a localized string similar to 0 black;26214f #0a128c;45875f #181cc7;57672f #7005d4;1 #8c3d91. - - - - - Looks up a localized string similar to 0 #03d4a8;.25 #21d6e0;.75 #0087e6;1 #005cbf. - - - - - Looks up a localized string similar to 0 #ffefd1;42598f #f0ebd5;1 #d1c39f. - - - - - Looks up a localized string similar to 0 #39f;10486f #0cc;30802f #99f;39322f #2e6792;46531f #33c;53084f #1170ff;1 #069. - - - - - Looks up a localized string similar to 0 #a603ab;13763f #0819fb;22938f #1a8d48;34079f yellow;47841f #ee3f17;57672f #e81766;1 #a603ab. - - - - - Looks up a localized string similar to 0 #f39;.25 #f63;.5 yellow;.75 #01a78f;1 #36f. - - - - - Looks up a localized string similar to 0 #000082;8520f #0047ff;18350f #000082;28180f #0047ff;38011f #000082;47186f #0047ff;57016f #000082;1 #0047ff. - - - - - Looks up a localized string similar to 0 white;4588f #e6e6e6;20972f #7d8496;30802f #e6e6e6;55706f #7d8496;1 #e6e6e6. - - - - - Looks up a localized string similar to 0 #fbeac7;11796f #fee7f2;23593f #fac77d;39977f #fba97d;53740f #fbd49c;1 #fee7f2. - - - - - - This class holds the name of the Syncfusion.OfficeChart.Base assembly and provides a helper - routine that helps with resolving types when loading a serialization stream and when - the framework probes for assemblies by reflection. - - - - - The full name of this assembly without version information: "Syncfusion.OfficeChart" - - - - - A reference to the for the XlsIO assembly. - - - - - The root namespace of this assembly. Used internally for locating resources within the assembly. - - -
-
diff --git a/3rdPackage/Syncfusion.Pdf.Base.dll b/3rdPackage/Syncfusion.Pdf.Base.dll deleted file mode 100644 index b1f0b3a..0000000 Binary files a/3rdPackage/Syncfusion.Pdf.Base.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.Pdf.Base.xml b/3rdPackage/Syncfusion.Pdf.Base.xml deleted file mode 100644 index 6e4881c..0000000 --- a/3rdPackage/Syncfusion.Pdf.Base.xml +++ /dev/null @@ -1,128665 +0,0 @@ - - - - Syncfusion.Pdf.Base - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode(); - //Sets the barcode text. - codaBarcode.Text = "0123"; - //Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode() - 'Sets the barcode text. - codaBarcode.Text = "0123" - 'Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - Indicates the region of the barcode. - - - - - Indicates the backColor of the barcode. - - - - - Indicates the barcolor of the barcode. - - - - - Indicates the textcolor of the barcode. - - - - - Indicates the narrow bar width. - - - - - Indicates the wide bar width. - - - - - Indicates the location on where to draw the barcode in the PDF Document. - - - - - Indicates the size of the the barcode to draw in the PDF Document. - - - - - Indicates the data string which is to be encoded. - - - - - Indicates the free area around the barcode label. - - - - - Indicates the actual width of the barcode. - - - - - Indicates the actual height of the barcode. - - - - - Indicates the bar height of the barcode. - - - - - Indicates the extended text; - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode(); - //Sets the barcode text. - codaBarcode.Text = "0123"; - //Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode() - 'Sets the barcode text. - codaBarcode.Text = "0123" - 'Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - Initializes a new instance of the class. - - Set the barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode("0123"); - //Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode("0123") - 'Draws a barcode on the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - Internal method which validates whether the given text is acceptable by the current barcode - specification or not. - - The Text. - True if Valid, Otherwise False - - - - Internal method which calculates the size of the barcode which is going to rendered. - - - - - - Initializes this instance. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode back color. - code93.BackColor = new PdfColor(Color.Green); - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode back color. - code93.BackColor = new PdfColor(Color.Green) - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode color. - code93.BarColor = new PdfColor(Color.Green); - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode color. - code93.BarColor = new PdfColor(Color.Green) - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode text color. - code93.TextColor = new PdfColor(Color.Green); - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode text color. - code93.TextColor = new PdfColor(Color.Green) - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode narrow width. - code93.NarrowBarWidth =1f; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode narrow width. - code93.NarrowBarWidth = 1f - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode(); - //Sets the barcode text. - code93.Text ="CODE93"; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode() - 'Sets the barcode back color. - code93.Text ="CODE93" - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - Gets or sets the location to render barcode in the PDF Document. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode location. - code93.Location = new PointF(50, 50); - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code93 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode location. - code93.Location = new PointF(50, 50) - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.All = 0f; - //Sets the barcode quiet zone. - code93QuietZone = quietZones; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.All = 0f - 'Sets the barcode quiet zone. - code93QuietZone = quietZones - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode height. - code93.BarHeight = 50f; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Sets the barcode height. - code93.BarHeight = 50f - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode size - SizeF size=code93.Size; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Get the barcode size. - SizeF size=code93.Size - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Sets the barcode bounds. - RectangleF bounds=code39.Bounds; - //Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("PdfBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Get the barcode bounds. - RectangleF bounds=code39.Bounds - 'Draws a barcode on the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save document to disk. - document.Save("PdfBarcode.pdf") - - - - - - Gets or sets the barcode text. - - - - - Represents the general barcode exception class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - User defined error message. - - - - Initializes a new instance of the class. - - User defined error message. - The inner exception. - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Represets the Utility class for storing barcode symbols. - - - - - Indicates the symbol. - - - - - Indicates the check character. - - - - - Indicates the Data. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The symbol. - The check digit. - The bars. - - - - Gets or sets the Symbol. - - - - - Gets or sets the check digit. - - - - - Gets or sets the bar information. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.All = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.All = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - Internal variable to store margin. - - - - - Internal variable to store right margin. - - - - - Internal variable to store top margin. - - - - - Internal variable to store left margin. - - - - - Internal variable to store bottom margin. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.Right = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.Right = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.Top = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.Top = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.Left = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.Left = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.Bottom = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.Bottom = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.All = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.All = 0f; - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones(); - quietZones.All = 0f; - //Set the barcode quiet zone. - code93.QuietZone = quietZones; - bool isAll=code93.QuietZone.IsAll; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("code93.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Creates a new PdfBarcodeQuietZones. - PdfBarcodeQuietZones quietZones = new PdfBarcodeQuietZones() - quietZones.All = 0f - code39.QuietZone=quietZones - Dim isAll As bool = code39.QuietZone.IsAll - 'Set the barcode quiet zone. - code93.QuietZone = quietZones - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("code93.pdf") - - - - - - Base class for all two dimensional barcodes. - - - - - Holds data of barcode. - - - - - Indicates the backColor of the barcode. - - - - - Stores the location of the barcode - - - - - Holds the quietzone. - - - - - Holds the dimension of the barcode. - - - - - Holds the Size of the barcode. - - - - - Initializes two dimensional barcode. - - - - - Returns the data as byte array. - - - - - - Gets or sets the data. - - - - - Gets or sets BackColor for the barcode. - - - - - Gets or sets Quietzone for the barcode. - - - - - Gets or sets the dimension for the barcode. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode(); - //Set the font to codabarcode. - codaBarcode.Font = font; - //Set the barcode text. - codaBarcode.Text = "0123"; - //Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("CodaBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode() - 'Set the font.. - codaBarcode.Font = font - 'Set the barcode text. - codaBarcode.Text = "0123" - 'Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("CodaBarcode.pdf") - - - This symbology allows the encoding of strings of up to 16 digits, 10 numeric digits (0 through 9) and - 6 special non alpha characters ("+", "-", "$", "/", ":", "."). - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Represents the Base class for all the Single dimensional barcodes - - - - - Initializes a defalut DPI - - - - - Indicates whether the Checkdigit is already added to the barcode text or not. - Used with the barcodes which involves multiple checksum calculations. - - - - - To check whether Barcode is Continuous Barcode or discrete - - - - - Automatically adds the check digit to the barcode when true. - - - - - Indicates barcode pattern. - - - - - Indicates the barcode text display location. - - - - - Indicates the font used to draw the text. - - - - - Indicates the start symbol. - - - - - Indicates the stop symbol. - - - - - Indicates the validation expression which is used to validate the input text. - - - - - Indicates the validation expression. - - - - - Indicates whether to show check digit or not. - - - - - Indicates whether to enable / disable the check digits. - - - - - Indicates the intercharcter gap between bars. - - - - - Indicates the gap between barcode and the text. - - - - - Indicates the text alignment. - - - - - Indicates whether to encode start and stop symbols or not. - - - - - returns true when the Font property is set. - - - - - Initializes the new instance of - - - - - Draws the barcode on the at the specified location. - - The pdf page. - The barcode location. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode(); - //Set the font to code11. - code11.Font = font; - //Set the barcode text. - code11.Text = "012345678"; - //Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code11.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode() - 'Set the font to code11. - code11.Font = font - 'Set the barcode text. - code11.Text = "012345678" - 'Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code11.pdf") - - - - - - Draw one dimensional barcode based on location and size value. - - - - - - - - Draw one dimensional barcode based on rectangle input values. - - - - - - - Draw one dimensional barcode based on float input values. - - - - - - - - - - Draws the barcode on the at the specified location. - - The pdf page. - /// - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode(); - //Set the font to code11. - code11.Font = font; - //Set the barcode text. - code11.Text = "012345678"; - code11.Location = new PointF(100,100); - //Draw a barcode in the new Page. - code11.Draw(page); - //Save the document to disk. - document.Save("Code11.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode() - 'Set the font to code11. - code11.Font = font - 'Set the barcode text. - code11.Text = "012345678" - code11.Location = new PointF(100,100); - 'Draw a barcode in the new Page. - code11.Draw(page) - 'Save the document to disk. - document.Save("Code11.pdf") - - - - - - Exports the barcode as image. - The barcode image. - - - - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode(); - //Set the barcode text. - code11.Text = "012345678"; - //Get the image for Code32 Barcode. - Image image= code32.ToImage(); - //Save the image into Disk - image.Save("Code32.png", ImageFormat.Png); - - - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode() - 'Set the barcode text. - code11.Text = "012345678" - 'Get the image for Code32 Barcode. - Image image= code32.ToImage() - 'Save the image into Disk - image.Save("Code32.png", ImageFormat.Png) - - - - - - Internal method used to validate the given barcode text. - - The Text. - True if valid, Otherwise False. - - - - Returns the size of the barcode. - - The Size. - - - - Returns the Width of the barcode. - - - - - - To get the Extended Text - - - - - Calculates the check digit based on the barcode specification. - - Char array containing Check digits - - - - Returns the Character width. - - - The width. - - - - Returns the Actual text to encode. - - The Actual Text. - - - - Internal method used to paint bars on the page. - - The Page. - The Rectangle. - Returns the right margin. - - - - Returns the width of the barcode. - - The Width. - - - - Returns the height of the barcode. - - The Height. - - - - Internal method used to paint bars on the image. - - The graphics to draw. - The Rectangle. - Returns the right margin. - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Set the barcode font. - code93.Font = font; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code93 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Set the barcode font. - code93.Font = font - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("code93.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Set the barcode text display location. - code93.TextDisplayLocation = TextLocation.Bottom; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code93 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Set the barcode text display location. - code93.TextDisplayLocation = TextLocation.Bottom - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("code93.pdf") - - - - - The Default value is false. - - - The Default value is True. - - - - - - Default value is Center. - - - - - true if [encode start stop symbols]; otherwise, false. - - - - - Gets or sets the barcode symbols. - - - - - Gets or sets the barcode symbols. - - - - - Gets or sets the start symbol for the current barcode specification. - - - - - Gets or sets the stop symbol for the current barcode specification. - - - - - Gets or sets the validation expression to validate the given text. - - - - - Gets or sets the IntercharacterGap. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode(); - //Set the font to codabarcode. - codaBarcode.Font = font; - //Set the barcode text. - codaBarcode.Text = "0123"; - //Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("CodaBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode() - 'Set the font.. - codaBarcode.Font = font - 'Set the barcode text. - codaBarcode.Text = "0123" - 'Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("CodaBarcode.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode Text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodabarBarcode. - PdfCodabarBarcode codaBarcode = new PdfCodabarBarcode("0123"); - //Set the font to codabarcode. - codaBarcode.Font = font; - //Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("CodaBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodabarBarcode. - Dim codaBarcode As PdfCodabarBarcode = New PdfCodabarBarcode("0123") - 'Set the font.. - codaBarcode.Font = font - 'Draw a barcode in the new Page. - codaBarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("CodaBarcode.pdf") - - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create pdfFont and pdfFont style. - PdfFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode(); - //Set the pdffont to code11 barcode. - code11.Font = pdfFont; - //Set the barcode text. - code11.Text = "012345678"; - //Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code11.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create pdfFont and pdfFont style. - Dim pdfFont As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode() - 'Set the pdffont to code11 barcode. - code11.Font = pdfFont; - 'Set the barcode text. - code11.Text = "012345678" - 'Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code11.pdf") - - - Only the following symbols are allowed in a Code 11 barcode: 0 1 2 3 4 5 6 7 8 9 - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create pdfFont and pdfFont style. - PdfFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode(); - //Set the pdffont to code11 barcode. - code11.Font = pdfFont; - //Set the barcode text. - code11.Text = "012345678"; - //Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code11.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create pdfFont and pdfFont style. - Dim pdfFont As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode() - 'Set the pdffont to code11 barcode. - code11.Font = pdfFont; - 'Set the barcode text. - code11.Text = "012345678" - 'Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code11.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode Text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create pdfFont and pdfFont style. - PdfFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode11Barcode. - PdfCode11Barcode code11 = new PdfCode11Barcode("012345678"); - //Set the pdffont to code11 barcode. - code11.Font = pdfFont; - //Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code11.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create pdfFont and pdfFont style. - Dim pdfFont As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode11Barcode. - Dim code11 As PdfCode11Barcode = New PdfCode11Barcode("012345678") - 'Set the pdffont to code11 barcode. - code11.Font = pdfFont - 'Draw a barcode in the new Page. - code11.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code11.pdf") - - - The Barcode Text. - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Initializes the internal barcode symbol table - - - - - Gets the symbol. - - The check value. - Symbol - - - - Gets the symbol row. - - The check value. - barcode symbol table - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128ABarcode. - PdfCode128ABarcode code128A = new PdfCode128ABarcode(); - //Set the font to code128A. - code128A.Font = font; - //Set the barcode text. - code128A.Text = "CODE128A"; - //Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128A.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128ABarcode. - Dim code32 As PdfCode128ABarcode = New PdfCode128ABarcode() - 'Set the font to code128A. - code128A.Font = font - 'Set the barcode text. - code128A.Text = "Code128A" - 'Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128A.pdf") - - - Only the following symbols are allowed in a Code 128 A barcode: NUL (\x00) SOH (\x01) STX (\x02) ETX (\x03) EOT (\x04) ENQ (\x05) ACK (\x06) BEL (\x07) BS (\x08) HT (\x09) LF (\x0A) VT (\x0B) FF (\x0C) CR (\x0D) SO (\x0E) SI (\x0F) DLE (\x10) DC1 (\x11) DC2 (\x12) DC3 (\x13) DC4 (\x14) NAK (\x15) SYN (\x16) ETB (\x17) CAN (\x18) EM (\x19) SUB (\x1A) ESC (\x1B) FS (\x1C) GS (\x1D) RS (\x1E) US (\x1F) SPACE ! # $ % ' * + , - . 0 1 2 3 4 5 6 7 8 9 : ; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ]^ _ FNC1 (\xF0) FNC2 (\xF1) FNC3 (\xF2) FNC4 - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128ABarcode. - PdfCode128ABarcode code128A = new PdfCode128ABarcode(); - //Set the font to code128A. - code128A.Font = font; - //Set the barcode text. - code128A.Text = "CODE128A"; - //Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128A.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128ABarcode. - Dim code32 As PdfCode128ABarcode = New PdfCode128ABarcode() - 'Set the font to code128A. - code128A.Font = font - 'Set the barcode text. - code128A.Text = "Code128A" - 'Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128A.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode Text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128ABarcode. - PdfCode128ABarcode code128A = new PdfCode128ABarcode("Code128A"); - //Set the font to code128A. - code128A.Font = font; - //Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128A.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128ABarcode. - Dim code32 As PdfCode128ABarcode = New PdfCode128ABarcode("Code128A") - 'Set the font to code128A. - code128A.Font = font - 'Draw a barcode in the new Page. - code128A.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128A.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Internal method used to validate the given barcode text. - - The Text. - True if valid, Otherwise False. - - - - Initializes the internal barcode symbol table - - - - - Gets the symbol. - - The check value. - symbol - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - Only the following symbols are allowed in a Code 128C barcode: 0 1 2 3 4 5 6 7 8 9 FNC1 (\xF0). Code 128 C encodes only numeric symbols at double density, each pair of digits is encoded using a single symbol. - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode("Code128C"); - //Set the font to code128C. - code128C.Font = font; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode("Code128C") - 'Set the font to code128C. - code128C.Font = font - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Returns the Actual text to encode. - - The Actual Text. - - - - Gets the data to encode. - - The original data. - Encoded string. - - - - Initializes the internal barcode symbol table - - - - - Internal method used for reading a symbol from barcode symbol table. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128BBarcode. - PdfCode128BBarcode code128B = new PdfCode128BBarcode(); - //Set the font to code128B. - code128B.Font = font; - //Set the barcode text. - code128B.Text = "CODE128B"; - //Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128B.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128BBarcode. - Dim code32 As PdfCode128BBarcode = New PdfCode128BBarcode() - 'Set the font to code128B. - code128B.Font = font; - 'Set the barcode text. - code128B.Text = "Code128B" - 'Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128B.pdf") - - - Only the following symbols are allowed in a Code 128 B barcode:SPACE ! " # $ % ' ( ) * + , - . / 0 12 3 4 5 6 7 8 9 : ; ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ]^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL (\x7F) FNC1 (\xF0) FNC2 (\xF1) FNC3 (\xF2) FNC4 (\xF3) SHIFT (\xF4). - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128BBarcode. - PdfCode128BBarcode code128B = new PdfCode128BBarcode(); - //Set the font to code128B. - code128B.Font = font; - //Set the barcode text. - code128B.Text = "CODE128B"; - //Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128B.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128BBarcode. - Dim code32 As PdfCode128BBarcode = New PdfCode128BBarcode() - 'Set the font to code128B. - code128B.Font = font; - 'Set the barcode text. - code128B.Text = "Code128B" - 'Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128B.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128BBarcode. - PdfCode128BBarcode code128B = new PdfCode128BBarcode("Code128B"); - //Set the font to code128B. - code128B.Font = font; - //Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128B.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128BBarcode. - Dim code32 As PdfCode128BBarcode = New PdfCode128BBarcode("Code128B") - 'Set the font to code128B. - code128B.Font = font; - 'Draw a barcode in the new Page. - code128B.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128B.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Initializes the internal barcode symbol table - - - - - Gets the symbol. - - The check value. - symbol - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - Only the following symbols are allowed in a Code 128C barcode: 0 1 2 3 4 5 6 7 8 9 FNC1 (\xF0). Code 128 C encodes only numeric symbols at double density, each pair of digits is encoded using a single symbol. - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode("Code128C"); - //Set the font to code128C. - code128C.Font = font; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode("Code128C") - 'Set the font to code128C. - code128C.Font = font - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Internal method used to validate the given barcode text. - - The Text. - True if valid, Otherwise False. - - - - Returns the Actual text to encode. - - The Actual Text. - - - - Gets the data to encode. - - The original data. - Encoded string. - - - - Initializes the internal barcode symbol table - - - - - Internal method used for reading a symbol from barcode symbol table. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode32Barcode. - PdfCode32Barcode code32 = new PdfCode32Barcode(); - //Set the font to code32. - code32.Font = font; - //Set the barcode text. - code32.Text = "01234567"; - //Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code32.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode32Barcode. - Dim code32 As PdfCode32Barcode = New PdfCode32Barcode() - 'Set the font to code32. - code32.Font = font - 'Set the barcode text. - code32.Text = "01234567" - 'Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code32.pdf") - - - Only the following symbols are allowed in a Code 32 barcode: 1 2 3 4 5 6 7 8 9 0. The barcode length is 9 digits (8 user defined digits + 1 check digit). - Code 32 barcodes are also known as Italian Pharmacode barcodes. - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39Barcode. - PdfCode39Barcode code39 = new PdfCode39Barcode(); - //Set the font to code39. - code32.Font = font; - //Set the barcode text. - code39.Text = "CODE39"; - //Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39Barcode. - Dim code39 As PdfCode39Barcode = New PdfCode39Barcode() - 'Set the font to code39. - code39.Font = font - 'Set the barcode text. - code39.Text = "CODE39" - 'Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39.pdf") - - - Only the following symbols are allowed in a Code 39 barcode:Only the following symbols are allowed in a Code 39 barcode: 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - . $ / + % SPACE - All alphabetic characters are uppercase. If lowercase characters are required, then a Code 39 Extended barcode must be used. - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39Barcode. - PdfCode39Barcode code39 = new PdfCode39Barcode(); - //Set the font to code39. - code32.Font = font; - //Set the barcode text. - code39.Text = "CODE39"; - //Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39Barcode. - Dim code39 As PdfCode39Barcode = New PdfCode39Barcode() - 'Set the font to code39. - code39.Font = font - 'Set the barcode text. - code39.Text = "CODE39" - 'Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39Barcode. - PdfCode39Barcode code39 = new PdfCode39Barcode("CODE39"); - //Set the font to code39. - code32.Font = font; - //Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39Barcode. - Dim code39 As PdfCode39Barcode = New PdfCode39Barcode("CODE39") - 'Set the font to code39. - code39.Font = font - 'Draw a barcode in the new Page. - code39.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39.pdf") - - - - - - Initializes this instance. - - - - - Internal method to calculate the check-digit - - - - - - Internal method which retrieves the specified symbol from the symbol table. - - - - - Local variable to store the Checksum character value. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode32Barcode. - PdfCode32Barcode code32 = new PdfCode32Barcode(); - //Set the font to code32. - code32.Font = font; - //Set the barcode text. - code32.Text = "01234567"; - //Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code32.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode32Barcode. - Dim code32 As PdfCode32Barcode = New PdfCode32Barcode() - 'Set the font to code32. - code32.Font = font - 'Set the barcode text. - code32.Text = "01234567" - 'Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code32.pdf") - - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode32Barcode. - PdfCode32Barcode code32 = new PdfCode32Barcode("01234567"); - //Set the font to code32. - code32.Font = font; - //Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code32.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode32Barcode. - Dim code32 As PdfCode32Barcode = New PdfCode32Barcode("01234567") - 'Set the font to code32. - code32.Font = font - 'Draw a barcode in the new Page. - code32.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code32.pdf") - - - The Barcode Text. - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Gets the barcode symbols. - - Encoded data - - - - To get the Actual Encoded Text from from original Text.. - - The original data. - original Data - - - - Returns the Actual text to encode. - - The Actual Text. - - - - Initializes the internal barcode symbol table - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39ExtendedBarcode. - PdfCode39ExtendedBarcode code39Ext = new PdfCode39ExtendedBarcode(); - //Set the font to code39Ext. - code39Ext.Font = font; - //Set the barcode text. - code39Ext.Text = "Code39Ext"; - //Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39ExtendedBarcode. - Dim code39Ext As PdfCode39ExtendedBarcode = New PdfCode39ExtendedBarcode() - 'Set the font to code39Ext. - code39Ext.Font = font - 'Set the barcode text. - code39Ext.Text = "Code39Ext" - 'Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39Ext.pdf") - - - All 128 ASCII characters can be encoded in an extended Code 39 barcode - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39ExtendedBarcode. - PdfCode39ExtendedBarcode code39Ext = new PdfCode39ExtendedBarcode(); - //Set the font to code39Ext. - code39Ext.Font = font; - //Set the barcode text. - code39Ext.Text = "Code39Ext"; - //Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39ExtendedBarcode. - Dim code39Ext As PdfCode39ExtendedBarcode = New PdfCode39ExtendedBarcode() - 'Set the font to code39Ext. - code39Ext.Font = font - 'Set the barcode text. - code39Ext.Text = "Code39Ext" - 'Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39Ext.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode39ExtendedBarcode. - PdfCode39ExtendedBarcode code39Ext = new PdfCode39ExtendedBarcode("Code39Ext"); - //Set the font to code39Ext. - code39Ext.Font = font; - //Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code39Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode39ExtendedBarcode. - Dim code39Ext As PdfCode39ExtendedBarcode = New PdfCode39ExtendedBarcode("Code39Ext") - 'Set the font to code39Ext. - code39Ext.Font = font - 'Draw a barcode in the new Page. - code39Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code39Ext.pdf") - - - - - - Internal method to calculate the check-digit - - check digit - - - - Initializes this instance. - - - - - Internal method which retrieves the specified symbol from the symbol table. - - - symbol - - - - Internal method to get the extended text. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode(); - //Set the font to code93. - code93.Font = font; - //Set the barcode text. - code93.Text = "CODE93"; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode() - 'Set the font to code93. - code93.Font = font - 'Set the barcode text. - code93.Text = "CODE93" - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("code93.pdf") - - - Only the following symbols are allowed in a Code 93 barcode: 1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z - . $ / + % SPACE - All alphabetic characters are uppercase. If lowercase characters are required, then a Code 93 Extended barcode must be used. - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode(); - //Set the font to code93. - code93.Font = font; - //Set the barcode text. - code93.Text = "CODE93"; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode() - 'Set the font to code93. - code93.Font = font - 'Set the barcode text. - code93.Text = "CODE93" - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("code93.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode("CODE93"); - //Set the font to code93. - code93.Font = font; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode("CODE93") - 'Set the font to code93. - code93.Font = font - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("code93.pdf") - - - - - - Initializes the internal barcode symbol table - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Internal method to calculate the check-digit - - symbols - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93ExtendedBarcode. - PdfCode93ExtendedBarcode code93 = new PdfCode93ExtendedBarcode(); - //Set the font to code93Ext. - code93Ext.Font = font; - //Set the barcode text. - code93Ext.Text = "CODE39Ext"; - //Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93ExtendedBarcode. - Dim code93Ext As PdfCode93ExtendedBarcode = New PdfCode93ExtendedBarcode() - 'Set the font to code93Ext. - code93Ext.Font = font - 'Set the barcode text. - code93Ext.Text = "CODE39Ext" - 'Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code93Ext.pdf") - - - All 128 ASCII characters can be encoded in an extended Code 93 barcode. - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93ExtendedBarcode. - PdfCode93ExtendedBarcode code93 = new PdfCode93ExtendedBarcode(); - //Set the font to code93Ext. - code93Ext.Font = font; - //Set the barcode text. - code93Ext.Text = "CODE39Ext"; - //Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93ExtendedBarcode. - Dim code93Ext As PdfCode93ExtendedBarcode = New PdfCode93ExtendedBarcode() - 'Set the font to code93Ext. - code93Ext.Font = font - 'Set the barcode text. - code93Ext.Text = "CODE39Ext" - 'Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code93Ext.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode93ExtendedBarcode. - PdfCode93ExtendedBarcode code93 = new PdfCode93ExtendedBarcode("Code93Ext"); - //Set the font to code93Ext. - code93Ext.Font = font; - //Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code93Ext.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode93ExtendedBarcode. - Dim code93Ext As PdfCode93ExtendedBarcode = New PdfCode93ExtendedBarcode("Code93Ext") - 'Set the font to code93Ext. - code93Ext.Font = font - 'Draw a barcode in the new Page. - code93Ext.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code93Ext.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - To get the Checksum value - - checksum symbols - - - - Initializes the internal barcode symbol table - - - - - Gets the symbol. - - The check value. - symbol - - - - To get the Extended Text. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodeUpcBarcode. - PdfCodeUpcBarcode upcbarcode = new PdfCodeUpcBarcode(); - //Set the font to upc. - upcbarcode.Font = font; - //Set the barcode text. - upcbarcode.Text = "UPC"; - //Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("UPC.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodeUpcBarcode. - Dim code32 As PdfCodeUpcBarcode = New PdfCodeUpcBarcode() - 'Set the font to upc. - upcbarcode.Font = font; - 'Set the barcode text. - upcbarcode.Text = "UPC" - 'Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("UPC.pdf") - - - Only the following symbols are allowed in a UPC-A barcode: 0 1 2 3 4 5 6 7 8 9 B. - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodeUPCBarcode. - PdfCodeUpcBarcode upcbarcode = new PdfCodeUpcBarcode(); - //Set the font to upc. - upcbarcode.Font = font; - //Set the barcode text. - upcbarcode.Text = "UPC"; - //Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("UPC.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodeUPCBarcode. - Dim code32 As PdfCodeUpcBarcode = New PdfCodeUpcBarcode() - 'Set the font to upc. - upcbarcode.Font = font; - 'Set the barcode text. - upcbarcode.Text = "UPC" - 'Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("UPC.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCodeUPCBarcode. - PdfCodeUpcBarcode upcbarcode = new PdfCodeUpcBarcode("UPC"); - //Set the font to upc. - upcbarcode.Font = font; - //Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("UPC.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCodeUPCBarcode. - Dim code32 As PdfCodeUpcBarcode = New PdfCodeUpcBarcode("UPC") - 'Set the font to upc. - upcbarcode.Font = font; - 'Draw a barcode in the new Page. - upcbarcode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("UPC.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Initializes the internal barcode symbol table - - - - - Initializes a defalut DPI - - - - - Holds the encoding. - - - - - Holds the data matrix size. - - - - - Holds the final array. - - - - - Array containing all possible datamatrix symbol attributes. - - - - - Holds the suitable symbol attribute based on input text. - - - - - Holds log array. - - - - - Holds ALog array. - - - - - Internal variable for RS polynomial. - - - - - Internal variable for block length. - - - - - Initializes PdfDataMatrixBarcode class. - - - - - Initializes PdfDataMatrixBarcode class. - - Data to be converted as barcode. - - - - Initializes properties and calculation array for DataMatrix barcode. - - - - - Create log and alog arrays. - - - - - Creates factors for polynomial based on the data. - - Number of correction codewords required. - - - - Create matrix. - - Input data matrix. - - - - Builds data matrix. - - - - - Prepares data codeword by encoding and appending error correction codes. - - Data in bytes. - Final codeword ready for generating matrix. - - - - Encodes the data using Base256 encoder. - - Data to be encoded. - Encoded data. - - - - Compute codeword using 255 state algorithm. - - Codeword to compute. - Index of the codeword. - Encoded codeword. - - - - Encodes the data using Numeric encoder. - - Data to be encoded. - Encoded data. - - - - Encodes the data using ASCII encoder. - - Data to be encoded. - Encoded data. - - - - Compute error correction codewords. - - Data codewords. - Correction codeword array. - - - - Data codeword is padded to match the chosen symbol attribute. - - Length of data codeword. - Codeword without padding. - Codeword with padding. - - - - Special field multiplication. - - - - - - - - Choose suitable encoding. - - Data codeword. - Encoded codeword. - - - - Adds quietzone on all sides of the data matrix. - - Input data matrix. - - - - - Convert the data matrix barcode to image - - - - - - - - Draw DataMatrix barcode on Pdf Document. - - - - - - - - Draw DataMatrix Barcode in pdf document. - - - - - - - Draw DataMatrix barcode in pdf document. - - - - - - - - - - Draws datamatrix in the PdfPage. - - PdfPage. - - - - Gets or sets the encoding. - - - - - Gets or sets the size. - - - - - Returns the actual number of rows (including quietzones). - - - - - Returns the actual number of columns (including quietzones). - - - - - Symbol attribute structure for the DataMatrix. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - Only the following symbols are allowed in a Code 128C barcode: 0 1 2 3 4 5 6 7 8 9 FNC1 (\xF0). Code 128 C encodes only numeric symbols at double density, each pair of digits is encoded using a single symbol. - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode(); - //Set the font to code128C. - code128C.Font = font; - //Set the barcode text. - code128C.Text = "Code128C"; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode() - 'Set the font to code128C. - code128C.Font = font - 'Set the barcode text. - code128C.Text = "Code128C" - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Initializes a new instance of the class. - - The Barcode text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfCode128CBarcode. - PdfCode128CBarcode code128C = new PdfCode128CBarcode("Code128C"); - //Set the font to code128C. - code128C.Font = font; - //Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("Code128C.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Creates a new PdfCode128CBarcode. - Dim code128C As PdfCode128CBarcode = New PdfCode128CBarcode("Code128C") - 'Set the font to code128C. - code128C.Font = font - 'Draw a barcode in the new Page. - code128C.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("Code128C.pdf") - - - - - - Calculates the check digit for this barcode specification. - - The Check digits. - - - - Returns the Actual text to encode. - - The Actual Text. - - - - Gets the data to encode. - - The original data. - Encoded string. - - - - Initializes the internal barcode symbol table - - - - - Internal method used for reading a symbol from barcode symbol table. - - - - - Initializes a defalut DPI - - - - - Holds the Version Information. - - - - - Holds the Number of Modules. - - - - - Holds the data of Function Pattern. - - - - - Holds the Data in the Encoding Region. - - - - - Holds the Input Mode. - - - - - Holds the Error correction level. - - - - - Holds the Data Bit value. - - - - - Holds the Number of Blocks. - - - - - Holds the Image. - - - - - Check if User Mentioned Mode. - - - - - Check if User Mentioned Version. - - - - - Check if User Mentioned Error Correction Level. - - - - - Check if ECI. - - - - - Holds the ECI Assignment Number. - - - - - Variable to hold the QR Barcode Values. - - - - - Exports the barcode as image. - The barcode image. - - - - //Creates a new PdfQRBarcode. - PdfQRBarcode qrCode = new PdfQRBarcode(); - //Set the barcode text. - qrCode.Text = "012345678"; - //Get the image for QR Barcode. - Image image= qrCode.ToImage(); - //Save the image into Disk - image.Save("QRCode.png", ImageFormat.Png); - - - 'Creates a new PdfQRBarcode. - Dim qrCode As PdfQRBarcode = New PdfQRBarcode() - 'Set the barcode text. - qrCode.Text = "012345678" - 'Get the image for Code32 Barcode. - Image image= qrCode.ToImage() - 'Save the image into Disk - image.Save("QRCode.png", ImageFormat.Png) - - - - - - Convert the QR Barcode into image based on size value. - - - - - - - Draws the barcode on the at the specified location. - - The pdf page. - The barcode location. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfQRBarcode. - PdfQRBarcode qrCode = new PdfQRBarcode(); - //Set the barcode text. - qrCode.Text = "012345678"; - //Draw a barcode in the new Page. - qrCode.Draw(page, new PointF(25, 500)); - //Save the document to disk. - document.Save("QRBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfQRBarcode. - Dim qrCode As PdfQRBarcode = New PdfQRBarcode() - 'Set the barcode text. - qrCode.Text = "012345678" - 'Draw a barcode in the new Page. - qrCode.Draw(page, new PointF(25, 500)) - 'Save the document to disk. - document.Save("QRBarcode.pdf") - - - - - - Draw QR Barcode based on location and size values. - - - - - - - - Draw QR Barcode based on rectangle input values. - - - - - - - Draw QR Barcode based on float input values. - - - - - - - - - - Draws the barcode on the at the specified location. - - The pdf page. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Creates a new PdfQRBarcode. - PdfQRBarcode qrCode = new PdfQRBarcode(); - //Set the barcode text. - qrCode.Text = "012345678"; - qrCode.Location = new PointF(100,100); - //Draw a barcode in the new Page. - qrCode.Draw(page); - //Save the document to disk. - document.Save("QRBarcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfQRBarcode. - Dim qrCode As PdfQRBarcode = New PdfQRBarcode() - 'Set the barcode text. - qrCode.Text = "012345678" - qrCode.Location = new PointF(100,100); - 'Draw a barcode in the new Page. - qrCode.Draw(page) - 'Save the document to disk. - document.Save("QRBarcode.pdf") - - - - - - Generates the values of the QR Barcode - - - - - Adds quietzone to the QR Barcode. - - - - - Draw the PDP in the given location - - The x co-ordinate. - The y co-ordinate. - - - - Draw the Timing Pattern - - - - - Draw the Alignment Pattern in the given location - - The x co-ordinate. - The y co-ordinate. - - - - Encode the Input Data - - - - - Allocates the Encoded Data and then Mask - - Encoded Data. - - - - Draw the Format Information - - - - - Initializes the Version, Error correction level, Input Mode. - - - - - Splits the Code words - - The Encoded value Blocks. - Index of Block Number. - Length of the Block. - - - - Creates the Blocks - - The Encoded value. - Number of Blocks. - - - - Converts Integer value to Boolean - - The Integer value. - Number of Bits. - - - - Converts string value to Boolean - - The String value. - Number of Bits. - - - - Gets the Allignment pattern coordinates of the current version. - - - - - Allocates Format and Version Information - - - - - Gets or sets the QR Barcode Version. - - - - - Gets or sets the Error correction level. - - - - - Gets or sets the Mode of the input text. - - - - - Struct to hold the value of each dots in Barcode. - - - - - Specifies if the Dot is black. - - - - - Specifies if the Dot is already filled. - - - - - Specifies if the Dot is PDP. - - - - - Holds the Version Information. - - - - - Holds the Error Correction Level. - - - - - Holds the Number of Data code word. - - - - - Holds the Number of Error correcting code words. - - - - - Holds the Number of Error correction Blocks. - - - - - Holds the End value of the version. - - - - - Holds the Data copacity of the version. - - - - - Holds the Format Information. - - - - - Holds the Version Information. - - - - - Holds all the values of Error correcting code words. - - - - - Holds all the end values. - - - - - Holds all the Data capacity values. - - - - - Holds all the Numeric Data capacity of the Error correction level Low. - - - - - Holds all the Numeric Data capacity of the Error correction level Medium. - - - - - Holds all the Numeric Data capacity of the Error correction level Quartile. - - - - - Holds all the Numeric Data capacity of the Error correction level High. - - - - - Holds all the Alphaumeric Data capacity of the Error correction level Low. - - - - - Holds all the Alphaumeric Data capacity of the Error correction level Medium. - - - - - Holds all the Alphaumeric Data capacity of the Error correction level Quartile. - - - - - Holds all the Alphaumeric Data capacity of the Error correction level High. - - - - - Holds all the Binary Data capacity of the Error correction level Low. - - - - - Holds all the Binary Data capacity of the Error correction level Medium. - - - - - Holds all the Binary Data capacity of the Error correction level Quartile. - - - - - Holds all the Binary Data capacity of the Error correction level High. - - - - - Initializes the Values. - - - - - Gets the Alphanumeric values. - - - - - Gets number of Data code words. - - - - - Get number of Error correction code words. - - - - - Gets number of Error correction Blocks. - - - - - Gets the End of the version. - - - - - Gets Data capacity. - - - - - Gets Format Information. - - - - - Gets Version Information. - - - - - Gets equivalent Number of the Character. - - - - - Gets Numeric Data capacity. - - - - - Gets Alphanumeric data capacity. - - - - - Get or Private set the Number of Data code words. - - - - - Get or Private set the Number of Error correction code words. - - - - - Get or Private set the Number of Error correction Blocks. - - - - - Get or Private set the End value of the Current Version. - - - - - Get or Private set the Data capacity. - - - - - Get or Private set the Format Information. - - - - - Get or Private set the Version Information. - - - - - Holds the Length - - - - - Holds the Error Correction Code Word - - - - - Holds the DataBits - - - - - Holds the Data Code word - - - - - Holds G(x) - - - - - Holds all the values of Alpha - - - - - Holds the Decimal value - - - - - Holds the values of QR Barcode - - - - - Initializes Error correction code word - - Version. - Error correction level. - - - - Gets the Error correction code word - Error correction code word. - - - - - Convert to Decimal - - Binary values. - - - - Convert decimal to Binary value - Binary Representation. - - Decimal Representation. - - - - Polynomial division - Polynomial coefficient. - - - - - Find the element in the alpha - Index of the element. - - Element. - Alpha. - - - - Gets g(x) of the element - g(x) - - Element. - Alpha. - - - - Sets and Gets the Data code word - - - - - Sets and Gets the DataBits - - - - - Sets and Gets the Error Correction Code Words - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode(); - //Set the barcode text location. - code93.TextDisplayLocation = TextLocation.Bottom; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("Barcode.pdf"); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode() - 'Set the barcode text location. - code93.TextDisplayLocation = TextLocation.Bottom - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("Barcode.pdf") - - - - - - Displays, no text. - - - - - Displays text, above the barcode. - - - - - Displays text, at the bottom of the barcode. - - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Creates a new PdfCode93Barcode. - PdfCode93Barcode code93 = new PdfCode93Barcode(); - //Set the barcode text alignment - code93.TextAlignment = PdfBarcodeTextAlignment.Center; - //Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)); - //Save document to disk. - document.Save("Barcode.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creates a new PdfCode93Barcode. - Dim code39 As PdfCode93Barcode = New PdfCode93Barcode() - 'Set the barcode text alignment - code93.TextAlignment = PdfBarcodeTextAlignment.Center - 'Draw a barcode in the new Page. - code93.Draw(page, new PointF(25, 500)) - 'Save the document. - document.Save("Barcode.pdf") - - - - - - Displays the readable text on the left side of the barcode. - - - - - Displays the readable text at the center of the barcode. - - - - - Displays the readable text on the right side of the barcode. - - - - - Encoding is choosen based on the data. - - - - - Encoding is done by ASCII encoder. - - - - - Encoding is done by Numeric encoder. - - - - - Encoding is done by Base256 encode. - - - - - Size is choosen based on the data. - - - - - Square matrix with 10 rows and 10 columns. - - - - - Square matrix with 12 rows and 12 columns. - - - - - Square matrix with 14 rows and 14 columns. - - - - - Square matrix with 16 rows and 16 columns. - - - - - Square matrix with 18 rows and 18 columns. - - - - - Square matrix with 20 rows and 20 columns. - - - - - Square matrix with 22 rows and 22 columns. - - - - - Square matrix with 24 rows and 24 columns. - - - - - Square matrix with 26 rows and 26 columns. - - - - - Square matrix with 32 rows and 32 columns. - - - - - Square matrix with 36 rows and 36 columns. - - - - - Square matrix with 40 rows and 40 columns. - - - - - Square matrix with 44 rows and 44 columns. - - - - - Square matrix with 48 rows and 48 columns. - - - - - Square matrix with 52 rows and 52 columns. - - - - - Square matrix with 64 rows and 64 columns. - - - - - Square matrix with 72 rows and 72 columns. - - - - - Square matrix with 80 rows and 80 columns. - - - - - Square matrix with 88 rows and 88 columns. - - - - - Square matrix with 96 rows and 96 columns. - - - - - Square matrix with 104 rows and 104 columns. - - - - - Square matrix with 120 rows and 120 columns. - - - - - Square matrix with 132 rows and 132 columns. - - - - - Square matrix with 144 rows and 144 columns. - - - - - Rectangular matrix with 8 rows and 18 columns. - - - - - Rectangular matrix with 8 rows and 32 columns. - - - - - Rectangular matrix with 12 rows and 26 columns. - - - - - Rectangular matrix with 12 rows and 36 columns. - - - - - Rectangular matrix with 16 rows and 36 columns. - - - - - Rectangular matrix with 16 rows and 48 columns. - - - - - Specifies the Barcode Version. - - - - - Specifies the Barcode Error correction level. - - - - - The Recovery capacity is 7%(approx.) - - - - - The Recovery capacity is 15%(approx.) - - - - - The Recovery capacity is 25%(approx.) - - - - - The Recovery capacity is 30%(approx.) - - - - - Specifies the Barcode Input Mode. - - - - - The Input only contains the Numeric Values(0,1,2,3,4,5,6,7,8,9). - - - - - The Input may contain Numeric Values, Alphabets(Upper case only), SPACE, $, %, *, +, -, ., /, : - - - - - The Input may contain all the ASCII values - - - - - - This class holds the name of the Syncfusion.Pdf.Base assembly and provides a helper - routine that helps with resolving types when loading a serialization stream and when - the framework probes for assemblies by reflection. - - - - - - - The root namespace of this assembly. Used internally for - locating resources within the assembly. - - - - - - - The full name of this assembly without version information: "Syncfusion.Pdf.Base". - - - - - - - A reference to the - for the grid assembly. - - - - - - - This delegate helps with resolving types and can be used as - an event handler for a - event. - - The source of the event. - The event data with information about - the type. - - A reference to the assembly where the type is located. - - - Use this handler when reading back types from a serialization - stream saved with an earlier version of this assembly. - - - - public static GridModel LoadSoap(Stream s) - { - try - { - AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(GridAssembly.AssemblyResolver); - SoapFormatter b = new SoapFormatter(); - b.AssemblyFormat = FormatterAssemblyStyle.Simple; - GridModel t = b.Deserialize(s) as GridModel; - t.Modified = false; - return t; - } - finally - { - AppDomain.CurrentDomain.AssemblyResolve -= new ResolveEventHandler(GridAssembly.AssemblyResolver); - } - } - - - - - - - - - - Configuration class for the PDF library. In the current - version, there are no explicit settings. Adding this - component from the toolbar allows you to configure your - project for PDF support easily. - - - - - Initializes a new instance of the class. - - - - - - - Copyright notice for the library. - - - - - Exception of this type is raised when annotation object is used incorrectly. - - - - - The class represents general PDF document level exceptions. - The inherited from the class - - - - - The class represents general PDF exceptions. - The inherited from the class - - - - - - Initializes object by default error message. - - - - - - Initializes object by specified error message. - - User defined error message. - - - - Initializes object by specified error message and inner - exception object. - - User defined error message. - The inner exception. - - - - - Default exception message. - - - - - - Initializes object by default error message. - - - - - Initializes object by default error message and inner - exception object. - - The inner exception. - - - - - Initializes object by specified error message. - - User defined error message. - - - - Initializes object by specified error message and inner - exception object. - - User defined error message. - The inner exception. - - - - Default exception message. - - - - - Initializes object with default error message. - - - - - Initializes object with default error message and inner - exception object. - - The inner exception. - - - - Initializes object by specified error message. - - User defined error message. - - - - Initializes object with specified error message and inner - exception object. - - User defined error message. - The inner exception. - - - - Exception of this type is raised when the document contains object which are not - supported by current document standard.Inherited from - - - - - Default exception message. - - - - - Initializes object with default error message. - - - - - Initializes object with default error message and inner - exception object. - - The inner exception. - - - - Initializes object by specified error message. - - User defined error message. - - - - Initializes object with specified error message and inner - exception object. - - User defined error message. - The inner exception. - - - - Represents base class for all action types. - - Interface - - - - Defines the basic interace of the various Wrapper.. - - - - - Gets the element. - - - - - Next action to perform. - - - - - Internal variable to store dictionary; - - - - - Initializes a new instance of the class. - - - - - Initializes an instance. - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - The Syncfusion.Pdf.Interactive namespace contains classes used to create interactive elements. - - - - - Represents collection of actions. - - /// - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Font = font; - submitButton.Text = "Goto"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new page and adds it as the last page of the document - PdfPage pdfPages = document.Pages.Add(); - //Create a new PdfGoToAction - PdfGoToAction gotoAction = new PdfGoToAction(pdfPages); - //Add the gotoAction - submitButton.Actions.GotFocus = gotoAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("GoToAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Font = font - submitButton.Text = "Goto" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new page and adds it as the last page of the document - Dim pdfPages As PdfPage = document.Pages.Add() - 'Create a new PdfGoToAction - Dim gotoAction As New PdfGoToAction(pdfPages) - 'Add the gotoAction - submitButton.Actions.GotFocus = gotoAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("GoToAction.pdf") - document.Close(True) - - - Class. - - - - The class used to handle the collection of PdF objects - - - - - List of the collection. - - - - - Initializes a new instance of the class. - - - - - Copies the elements of the ICollection to an Array, starting at a particular Array index. - - The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing. - The zero-based index in array at which copying begins. - - - - Returns an enumerator that iterates through a collection. - - Returns an enumerator that iterates through a collection. - - - - Gets number of the elements in the collection. - - The total number of elements in the collection. - - - - Gets internal list of the collection. - - - - - Array of actions. - - - - - Adds the specified action to the collection - - The - The index of the action in the collection - - - - Inserts the action at the specified position. - - The index in the collection where the action to be inserted - The - - - - Gets the index of the action. - - The . - Index of the action - - - - Determines whether the action is contained within collection. - - The . - - Value, indicating the presents of the action in collection. - - - - - Clears the action collection. - - - - - Removes the specified action from the collection - - The . - - - - Removes the action at the specified index from the collection - - The index. - - - - Initializes a new instance of the class. - - - - - Adds the action. - - The action. - Index of the inserted action. - - - - Inserts the action. - - The index. - The action. - - - - Clear the collection. - - - - - Removes the action. - - The action. - - - - Removes the action at the specified position. - - The index. - - - - Gets the at the specified index. - - the - - - - Represents the action on form fields - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the bounds - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Set the submitButton Font. - submitButton.Font = font; - //Set the submit button text - submitButton.Text = "Apply"; - //Set the submit button back color - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfFormAction. - PdfFormAction formAction = new PdfFormAction(); - formAction.Include = true; - //Set the submit button action. - submitButton.Actions.GotFocus = formAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save and close the document - document.Save("FormAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField. - Dim submitButton As New PdfButtonField(page, "submitButton") - 'Set the bounds - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Set the submitButton Font. - submitButton.Font = font - 'Set the submit button text - submitButton.Text = "Apply" - 'Set the submit button back color - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfFormAction. - Dim formAction As New PdfFormAction() - formAction.Include = True - 'Set the submit button action. - submitButton.Actions.GotFocus = formAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save and close the document - document.Save("FormAction.pdf") - document.Close(True) - - - - - - - Internal variable to store value indicating whether to include - or exclude fields for resetting process. - - - - - Internal variable to store fields affected by the action. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the bounds - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Set the submitButton Font. - submitButton.Font = font; - //Set the submit button text - submitButton.Text = "Apply"; - //Set the submit button back color - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfFormAction. - PdfFormAction formAction = new PdfFormAction(); - formAction.Include = true; - //Set the submit button action. - submitButton.Actions.GotFocus = formAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save and close the document - document.Save("FormAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField. - Dim submitButton As New PdfButtonField(page, "submitButton") - 'Set the bounds - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Set the submitButton Font. - submitButton.Font = font - 'Set the submit button text - submitButton.Text = "Apply" - 'Set the submit button back color - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfFormAction. - Dim formAction As New PdfFormAction() - formAction.Include = True - 'Set the submit button action. - submitButton.Actions.GotFocus = formAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save and close the document - document.Save("FormAction.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether fields contained in - collection will be included for resetting or submitting. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the bounds - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Set the submitButton Font. - submitButton.Font = font; - //Set the submit button text - submitButton.Text = "Apply"; - //Set the submit button back color - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfFormAction. - PdfFormAction formAction = new PdfFormAction(); - formAction.Include = true; - //Set the submit button action. - submitButton.Actions.GotFocus = formAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save and close the document - document.Save("FormAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField. - Dim submitButton As New PdfButtonField(page, "submitButton") - 'Set the bounds - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Set the submitButton Font. - submitButton.Font = font - 'Set the submit button text - submitButton.Text = "Apply" - 'Set the submit button back color - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfFormAction. - Dim formAction As New PdfFormAction() - formAction.Include = True - 'Set the submit button action. - submitButton.Actions.GotFocus = formAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save and close the document - document.Save("FormAction.pdf") - document.Close(True) - - - - If Include property is true, only the fields in this collection will be reset or submitted. - If Include property is false, the fields in this collection are not reset or submitted - and only the remaining form fields are reset or submitted. - If the collection is null or empty, then all the form fields are reset - and the Include property is ignored. - - true if include; otherwise, false. - - - - Gets the fields. - - The fields. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the submitButton Bounds. - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Create a new PdfFormAction. - PdfFormAction formAction = new PdfFormAction(); - //Gets the FieldCollection from formAction - PdfFieldCollection fields = formAction.Fields; - //Set actions to submit button - submitButton.Actions.GotFocus = formAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save document - document.Save("FormAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField. - Dim submitButton As New PdfButtonField(page, "submitButton") - 'Set the submitButton Bounds. - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Create a new PdfFormAction. - Dim formAction As New PdfFormAction() - 'Gets the FieldCollection from formAction - Dim fields As PdfFieldCollection = formAction.Fields - 'Set actions to submit button - submitButton.Actions.GotFocus = formAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save document - document.Save("FormAction.pdf") - document.Close(True) - - - - - - Represents an action which goes to a destination in the current document. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Font = font; - submitButton.Text = "Goto"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new page and adds it as the last page of the document - PdfPage pdfPages = document.Pages.Add(); - //Create a new PdfGoToAction - PdfGoToAction gotoAction = new PdfGoToAction(pdfPages); - //Add the gotoAction - submitButton.Actions.GotFocus = gotoAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("GoToAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Font = font - submitButton.Text = "Goto" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new page and adds it as the last page of the document - Dim pdfPages As PdfPage = document.Pages.Add() - 'Create a new PdfGoToAction - Dim gotoAction As New PdfGoToAction(pdfPages) - 'Add the gotoAction - submitButton.Actions.GotFocus = gotoAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("GoToAction.pdf") - document.Close(True) - - - Class - - - - Internal variable to store action's destination. - - - - - Initializes a new instance of the class with specified destination page. - - The destination to jump to. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Font = font; - submitButton.Text = "Goto"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new page and adds it as the last page of the document - PdfPage pdfPages = document.Pages.Add(); - //Create a new PdfDestination - PdfDestination destination = new PdfDestination(pdfPages); - //Set the PdfDestinationMode - destination.Mode = PdfDestinationMode.FitToPage; - //Create a new PdfGoToAction - PdfGoToAction gotoAction = new PdfGoToAction(destination); - //Add the gotoAction - submitButton.Actions.GotFocus = gotoAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("GoToAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Font = font - submitButton.Text = "Goto" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new page and adds it as the last page of the document - Dim pdfPages As PdfPage = document.Pages.Add() - 'Create a new PdfDestination - Dim destination As New PdfDestination(pdfPages) - 'Set the PdfDestinationMode - destination.Mode = PdfDestinationMode.FitToPage - 'Create a new PdfGoToAction - Dim gotoAction As New PdfGoToAction(destination) - 'Add the gotoAction - submitButton.Actions.GotFocus = gotoAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("GoToAction.pdf") - document.Close(True) - - - - - - Initializes a new instance of the class with specified page. - - The page to navigate. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Font = font; - submitButton.Text = "Goto"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new page and adds it as the last page of the document - PdfPage pdfPages = document.Pages.Add(); - //Create a new PdfGoToAction - PdfGoToAction gotoAction = new PdfGoToAction(pdfPages); - //Add the gotoAction - submitButton.Actions.GotFocus = gotoAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("GoToAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Font = font - submitButton.Text = "Goto" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new page and adds it as the last page of the document - Dim pdfPages As PdfPage = document.Pages.Add() - 'Create a new PdfGoToAction - Dim gotoAction As New PdfGoToAction(pdfPages) - 'Add the gotoAction - submitButton.Actions.GotFocus = gotoAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("GoToAction.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the destination to be navigated. - - The to navigate. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Font = font; - submitButton.Text = "Goto"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new page and adds it as the last page of the document - PdfPage pdfPages = document.Pages.Add(); - //Create a new PdfDestination - PdfDestination destination = new PdfDestination(pdfPages); - //Set the PdfDestinationMode - destination.Mode = PdfDestinationMode.FitToPage; - //Create a new PdfGoToAction - PdfGoToAction gotoAction = new PdfGoToAction(pdfPages); - //Set the destination - gotoAction.Destination = destination; - //Add the gotoAction - submitButton.Actions.GotFocus = gotoAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("GoToAction.pdf"); - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Font = font - submitButton.Text = "Goto" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new page and adds it as the last page of the document - Dim pdfPages As PdfPage = document.Pages.Add() - 'Create a new PdfDestination - Dim destination As New PdfDestination(pdfPages) - 'Set the PdfDestinationMode - destination.Mode = PdfDestinationMode.FitToPage - 'Create a new PdfGoToAction - Dim gotoAction As New PdfGoToAction(pdfPages) - 'Set the destination - gotoAction.Destination = destination - 'Add the gotoAction - submitButton.Actions.GotFocus = gotoAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("GoToAction.pdf") - document.Close(True) - - - - - - Represents an java script action in PDF document. - - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store java script code. - - - - - Initializes a new instance of the class with java script code - - The java script code. - A string value representing valid javascript code to be executed. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Gets or sets the javascript code to be executed when this action is executed. - - A string value representing valid javascript code to be executed. - /// - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Get the javascript code. - string javascriptcode = javaScriptAction.JavaScript; - //Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Get the javascript code. - Dim javascriptcode As String = javaScriptAction.JavaScript - 'Add the JavaScript action - document.Actions.AfterOpen = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Represents an action which launches an application or opens or prints a document. - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch Action to the document - PdfLaunchAction action = new PdfLaunchAction("logo.png"); - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch Action to the document - Dim action As New PdfLaunchAction("logo.png") - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Internal variable to store file specification. - - - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch Action to the document - PdfLaunchAction action = new PdfLaunchAction("logo.png"); - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch Action to the document - Dim action As New PdfLaunchAction("logo.png") - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch Action to the document - PdfLaunchAction action = new PdfLaunchAction("../../Data/logo.png",PdfFilePathType.Absolute); - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch Action to the document - Dim action As New PdfLaunchAction("../../Data/logo.png",PdfFilePathType.Absolute) - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Creates a Launch Action from loaded page - - - - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch Action to the document - PdfLaunchAction action = new PdfLaunchAction("logo.png"); - //Get file name - string fileName = action.FileName; - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch Action to the document - Dim action As New PdfLaunchAction("logo.png") - 'Get file name - Dim fileName As String = action.FileName - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - The class represents an named action which execute an action predefined by the viewer application. - - - - //Create a new document - PdfDocument document = new PdfDocument(); - document.Pages.Add(); - document.Pages.Add(); - //Create a named action - PdfNamedAction namedAction = new PdfNamedAction(PdfActionDestination.LastPage); - //Add the named action - document.Actions.AfterOpen = namedAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - document.Pages.Add() - document.Pages.Add() - 'Create a named action - Dim namedAction As New PdfNamedAction(PdfActionDestination.LastPage) - 'Add the named action - document.Actions.AfterOpen = namedAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store destination. - - - - - Initializes a new instance of the class. - - The object representing destination of an action. - - - //Create a new document - PdfDocument document = new PdfDocument(); - document.Pages.Add(); - document.Pages.Add(); - //Create a named action - PdfNamedAction namedAction = new PdfNamedAction(PdfActionDestination.LastPage); - //Set the destination - namedAction.Destination = PdfActionDestination.NextPage; - //Add the named action - document.Actions.AfterOpen = namedAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - - 'Create a new document - Dim document As New PdfDocument() - document.Pages.Add() - document.Pages.Add() - 'Create a named action - Dim namedAction As New PdfNamedAction(PdfActionDestination.LastPage) - 'Set the destination - namedAction.Destination = PdfActionDestination.NextPage - 'Add the named action - document.Actions.AfterOpen = namedAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Gets or sets the destination. - - The object representing destination of an action. - - - //Create a new document - PdfDocument document = new PdfDocument(); - document.Pages.Add(); - document.Pages.Add(); - //Create a named action - PdfNamedAction namedAction = new PdfNamedAction(PdfActionDestination.LastPage); - //Set the destination - namedAction.Destination = PdfActionDestination.NextPage; - //Add the named action - document.Actions.AfterOpen = namedAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - document.Pages.Add() - document.Pages.Add() - 'Create a named action - Dim namedAction As New PdfNamedAction(PdfActionDestination.LastPage) - 'Set the destination - namedAction.Destination = PdfActionDestination.NextPage - 'Add the named action - document.Actions.AfterOpen = namedAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Represents additional actions of the annotations. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"Input.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("Input.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store enter action. - - - - - Internal variable to store leave action. - - - - - Internal variable to store mouse down action. - - - - - Internal variable to store mouse up action. - - - - - Internal variable to store get focus action. - - - - - Internal variable to store lost focus action. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - PdfAnnotationActions annotationActions = new PdfAnnotationActions(); - //Create a new PdfJavaScriptAction - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - annotationActions.MouseEnter = javaAction; - - - Dim annotationActions As PdfAnnotationActions = New PdfAnnotationActions() - 'Create a new PdfJavaScriptAction. - Dim javaAction As PdfJavaScriptAction = New PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")") - annotationActions.MouseEnter = javaAction - - - - - - Gets or sets the action to be performed when the cursor enters the annotation�s - active area. - - The mouse enter action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseEnter = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseEnter = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the cursor exits the annotation�s - active area. - - The mouse leave action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the mouse button is pressed inside the - annotation�s active area. - - The mouse down action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseDown = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseDown = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the mouse button is released - inside the annotation�s active area.. - - The mouse up action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseUp = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseUp = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the annotation receives the - input focus. - - The got focus action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.GotFocus = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.GotFocus = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the annotation loses the - input focus. - - The lost focus action. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.LostFocus = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Creata a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.LostFocus = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets the element. - - - - - - Represents an actions for the PDF document. - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch action to the document - PdfLaunchAction action = new PdfLaunchAction("logo.png"); - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch action to the document - Dim action As New PdfLaunchAction("logo.png") - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Internal variable to store dictionary wrapper. - - - - - Internal variable to store action to be performed after the document is opened. - - - - - Internal variable to store action to be perforemed before document closes. - - - - - Internal variable to store action to be performed before the document saves. - - - - - Internal variable to store action to be performed after the document saves. - - - - - Internal variable to store action to be performed before the document prints. - - - - - Internal variable to store action to be performed after the document prints. - - - - - Internal variable to store catalog. - - - - - Initializes a new instance of the class. - - The catalog. - - - - Gets or sets the to execute when the document is opened. - - A specifying the action to be executed when documents opens in the viewer. - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch action to the document - PdfLaunchAction action = new PdfLaunchAction("logo.png"); - document.Actions.AfterOpen = action; - //Save the document - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create and add new launch action to the document - Dim action As New PdfLaunchAction("logo.png") - document.Actions.AfterOpen = action - 'Save the document - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the java script action to be performed before the document is closed. - - A object specifying the action to be executed before the document is closed. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.BeforeClose = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.BeforeClose = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets the java script action to be performed before the document is saved. - - A object specifying the action to be executed before the document is saved. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.BeforeSave = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.BeforeSave = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets the jave script action to be performed after the document is saved. - - A object specifying the action to be executed after the document is saved. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.AfterSave = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.AfterSave = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed before the document is printed. - - A object specifying the action to be executed before the document is printed. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.BeforePrint = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.BeforePrint = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed after the document is printed. - - A object specifying the action to be executed after the document is printed. . - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create JavaScript action - PdfJavaScriptAction javaScriptAction = new PdfJavaScriptAction("app.alert(\"Hello World!!!\")"); - //Add the JavaScript action - document.Actions.AfterPrint = javaScriptAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create JavaScript action - Dim javaScriptAction As New PdfJavaScriptAction("app.alert(""Hello World!!!"")") - 'Add the JavaScript action - document.Actions.AfterPrint = javaScriptAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets the element. - - - - - - Represents actions to be performed as response to field events. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Internal variable to store annotation's actions. - - - - - Internal variable to store dictionary. - - - - - Internal variable to store key pressed action. - - - - - Internal variable to store format action. - - - - - Internal variable to store validate action. - - - - - Internal variable to store calculate action. - - - - - Initializes a new instance of the class with - - The . - - - - Gets or sets the JavaScript action to be performed when the user types a keystroke - into a text field or combo box or modifies the selection in a scrollable list box. - This action can check the keystroke for validity and reject or modify it. - - A object specifying the action to be executed when the user types a keystroke. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfJavaScriptAction - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - //Set the javaAction to submitButton - submitButton.Actions.KeyPressed = javaAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("JavaScriptAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfJavaScriptAction - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - 'Set the javaAction to submitButton - submitButton.Actions.KeyPressed = javaAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("JavaScriptAction.pdf") - document.Close(True) - - - - - - Gets or sets the JavaScript action to be performed before the field is formatted - to display its current value. This action can modify the field�s value before formatting. - - A object specifying the action to be executed for formatting the field value. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfJavaScriptAction - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - //Set the javaAction to submitButton - submitButton.Actions.Format = javaAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("JavaScriptAction.pdf"); - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfJavaScriptAction - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - 'Set the javaAction to submitButton - submitButton.Actions.Format = javaAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("JavaScriptAction.pdf") - document.Close(True) - - - - - - Gets or sets the JavaScript action to be performed when the field�s value is changed. - This action can check the new value for validity. - - A object specifying the action to be executed for validating the field value. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfJavaScriptAction - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - //Set the javaAction to submitButton - submitButton.Actions.Validate = javaAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("JavaScriptAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfJavaScriptAction - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - 'Set the javaAction to submitButton - submitButton.Actions.Validate = javaAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("JavaScriptAction.pdf") - document.Close(True) - - - - - - Gets or sets the JavaScript action to be performed to recalculate the value - of this field when that of another field changes. - - A object specifying the action to be executed for calculating the field value. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfJavaScriptAction - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - //Set the javaAction to submitButton - submitButton.Actions.Calculate = javaAction; - //Add the submit button to the new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("JavaScriptAction.pdf"); - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - submitButton.BackColor = New PdfColor(181, 191, 203) - 'Create a new PdfJavaScriptAction - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - 'Set the javaAction to submitButton - submitButton.Actions.Calculate = javaAction - 'Add the submit button to the new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("JavaScriptAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the mouse cursor enters the fields�s - area. - - A specifying the action to be executed when the mouse enters the field's area. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseEnter = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseEnter = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the cursor exits the fields�s - area. - - A descendant specifying the action to be executed when the mouse leaves the field's area. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseLeave = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the mouse button is released - inside the field�s area. - - A specifying the action to be executed when the mouse button is released inside the field's area. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseUp = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseUp = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the mouse button is pressed inside the - field�s area. - - A specifying the action to be executed when the mouse button is pressed inside the field's area. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.MouseDown = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.MouseDown = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the field receives the - input focus. - - A specifying the action to be executed when the field receives the input focus. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.GotFocus = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.GotFocus = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets or sets the action to be performed when the field loses the - input focus. - - A specifying the action to be executed when the field losts the input focus. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt"); - //Set the launch action to submit button - submitButton.Actions.LostFocus = launchAction; - //Add the submit button to a new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("LaunchAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction - Dim launchAction As New PdfLaunchAction("..\..\Data\Sample.txt") - 'Set the launch action to submit button - submitButton.Actions.LostFocus = launchAction - 'Add the submit button to a new document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("LaunchAction.pdf") - document.Close(True) - - - - - - Gets the element. - - - - - - Represents PDF form's reset action,this action allows a user to reset the form fields to their default values. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - //Create a new PdfResetAction - PdfResetAction resetAction = new PdfResetAction(); - //Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction; - //Add the submit button to a document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("ResetAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - 'Create a new PdfResetAction - Dim resetAction As New PdfResetAction() - 'Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction - 'Add the submit button to a document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("ResetAction.pdf") - document.Close(True) - - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - //Create a new PdfResetAction - PdfResetAction resetAction = new PdfResetAction(); - //Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction; - //Add the submit button to a document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("ResetAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - 'Create a new PdfResetAction - Dim resetAction As New PdfResetAction() - 'Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction - 'Add the submit button to a document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("ResetAction.pdf") - document.Close(True) - - - - - - Initializes an instance. - - - - - Gets or sets a value indicating whether fields contained in Fields - collection will be included for resetting. - - true if include; otherwise, false. - - If Include property is true, only the fields in this collection will be reset. - If Include property is false, the fields in this collection are not reset - and only the remaining form fields are reset. - If the collection is null or empty, then all the form fields are reset - and the Include property is ignored. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a PdfButtonField - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - submitButton.Text = "Apply"; - //Create a new PdfResetAction - PdfResetAction resetAction = new PdfResetAction(); - resetAction.Include=true; - //Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction; - //Add the submit button to a document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("ResetAction.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a PdfButtonField - Dim submitButton As New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - submitButton.Text = "Apply" - 'Create a new PdfResetAction - Dim resetAction As New PdfResetAction() - resetAction.Include=True - 'Set the resetAction to submitButton - submitButton.Actions.GotFocus = resetAction - 'Add the submit button to a document. - document.Form.Fields.Add(submitButton) - 'Save document to disk. - document.Save("ResetAction.pdf") - document.Close(True) - - - - - - Represents the sound action,sound action plays a specified music file in the PDF document - - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store the volume at which to play the sound. - - - - - Internal variable to store sound. - - - - - Internal variable to store value whether to play sound synchronously or asynchronously. - - - - - Internal variable to store value whether to repeat playing. - - - - - Internal variable to store value whether to mix this sound with any other sound already playing. - - - - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the volume at which to play the sound, in the range -1.0 to 1.0. - - The volume of the sound. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - The name of the sound file. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - //Get the fileName form soundAction - string fileName=soundAction.FileName; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - 'Get the fileName form soundAction - Dim fileName as string =soundAction.FileName; - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets the sound. - - represents the . - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value whether to play the sound synchronously or asynchronously. - If this flag is true, the viewer application retains control, allowing no further - user interaction other than canceling the sound, until the sound has been - completely played. Default value: false. - - true if synchronous; otherwise, false. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - soundAction.Synchronous = true; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - soundAction.Synchronous = True - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to repeat the sound indefinitely. - If this entry is present, the property is ignored. Default value: false. - - true if repeat; otherwise, false. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - soundAction.Repeat = true; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - soundAction.Repeat = True - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to mix this sound with any other - sound already playing. If this flag is false, any previously playing sound is - stopped before starting this sound; this can be used to stop a repeating - sound. Default value: false. - - true if mix; otherwise, false. - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create a sound action - PdfSoundAction soundAction = new PdfSoundAction("../../Data/Startup.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - soundAction.Mix = true; - //Set the sound action - document.Actions.AfterOpen = soundAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create a sound action - Dim soundAction As New PdfSoundAction("../../Data/Startup.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9F - soundAction.Mix = True - 'Set the sound action - document.Actions.AfterOpen = soundAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Represents PDF form's submit action.submit action allows submission of data that is entered in the PDF form - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store file name. - - - - - Internal variable to store submit flags. - - - - - Internal variable to store Http method. - - - - - Internal variable to store value whether to submit dates in canonical format. - - - - - Internal variable to store value whether to submit mouse pointer coordinates. - - - - - Internal variable to store value whether to submit fields without values. - - - - - Internal variable to store value whether to submit incremental updates. - - - - - Internal variable to store value indicating whether to submit annotations. - - - - - Internal variable to store value indicating whether to exclude non-user annotations. - - - - - Internal variable to store value indicating whether to embed form. - - - - - Internal variable to store submit data format. - - - - - Initializes a new instance of the class with URL to submit the form data - - The URL. - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction(""http://www.example.com/Submit.aspx""); - submitAction.DataFormat = SubmitDataFormat.Html; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets an Url address where the data should be transferred. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction(""http://www.example.com/Submit.aspx""); - submitAction.DataFormat = SubmitDataFormat.Html; - string url=submitAction.Url; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Gets the url form the submit action - Dim url As String=submitAction.Url - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - An string value specifying the full URI for the internet resource. - - - - Gets or sets the HTTP method. - - The HTTP method. - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - //Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - //Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction(""http://www.example.com/Submit.aspx""); - submitAction.DataFormat = SubmitDataFormat.Html; - //Set the HttpMethod to submit action - submitAction.HttpMethod=HttpMethod.Post; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - 'Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - 'Set the HttpMethod to submit action - submitAction.HttpMethod=HttpMethod.Post - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - If set, any submitted field values representing dates are converted to the - standard format. The interpretation of a form field as a date is not specified - explicitly in the field itself but only in the JavaScript code that processes it. - - - true if use canonical date time format when submit data; otherwise, false. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Sets the CanonicalDateTimeFormat to submit action - submitAction.CanonicalDateTimeFormat=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the CanonicalDateTimeFormat to submit action - submitAction.CanonicalDateTimeFormat=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to submit mouse pointer coordinates. If set, - the coordinates of the mouse click that caused the submit-form action are transmitted - as part of the form data. The coordinate values are relative to the upper-left corner - of the field�s widget annotation rectangle. - - true if submit coordinates; otherwise, false. - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - 'Sets the SubmitCoordinates to submit action - submitAction.SubmitCoordinates=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the SubmitCoordinates to submit action - submitAction.SubmitCoordinates=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to submit fields without value. - If set, all fields designated by the Fields collection and the - flag are submitted, regardless of whether they have a value. For fields without a - value, only the field name is transmitted. - - - true if submit fields without value or the empty ones; otherwise, false. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Sets the IncludeNoValueFields to submit action - submitAction.IncludeNoValueFields=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the IncludeNoValueFields to submit action - submitAction.IncludeNoValueFields=true - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to submit form's incremental updates. - Meaningful only when the form is being submitted in Forms Data Format. - If set, the submitted FDF file includes the contents of all incremental - updates to the underlying PDF document. If clear, the incremental updates are - not included. - - - true if incremental updates should be submitted; otherwise, false. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Set the IncludeIncrementalUpdates to submit action - submitAction.IncludeIncrementalUpdates=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the IncludeIncrementalUpdates to submit action - submitAction.IncludeIncrementalUpdates=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to submit annotations. - Meaningful only when the form is being submitted in Forms Data Format. - If set, the submitted FDF file includes all markup annotations in the - underlying PDF document. If clear, markup annotations are not included. - - true if annotations should be submitted; otherwise, false. - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Sets the IncludeAnnotations to submit action - submitAction.IncludeAnnotations=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the IncludeAnnotations to submit action - submitAction.IncludeAnnotations=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether to exclude non user annotations form submit - data stream. Meaningful only when the form is being submitted in Forms Data Format - and the property is set to true. - - - true if non user annotations should be excluded; otherwise, false. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Set the ExcludeNonUserAnnotations to submit action - submitAction.ExcludeNonUserAnnotations=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Set the ExcludeNonUserAnnotations to submit action - submitAction.ExcludeNonUserAnnotations=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - - Gets or sets the - - The - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Gets or sets a value indicating whether fields contained in Fields - collection will be included for submitting. - - true if include; otherwise, false. - - If Include property is true, only the fields in this collection will be submitted. - If Include property is false, the fields in this collection are not submitted - and only the remaining form fields are submitted. - If the collection is null or empty, then all the form fields are reset - and the Include property is ignored. - If the field has Export property set to false it will be not included for - submitting in any case. - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add a new page - PdfPage page = document.Pages.Add(); - // Create a Button field. - PdfButtonField submitButton = new PdfButtonField(page, "Submit data"); - submitButton.Bounds = new RectangleF(100, 60, 50, 20); - submitButton.ToolTip = "Submit"; - document.Form.Fields.Add(submitButton); - // Create a submit action. It submit the data of the form fields to the mentioned URL - PdfSubmitAction submitAction = new PdfSubmitAction("http://www.example.com/Submit.aspx"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Sets the Include option to submit action - submitAction.Include=true; - submitButton.Actions.GotFocus = submitAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a Button field. - Dim submitButton As New PdfButtonField(page, "Submit data") - submitButton.Bounds = New RectangleF(100, 60, 50, 20) - submitButton.ToolTip = "Submit" - document.Form.Fields.Add(submitButton) - ' Create a submit action. It submit the data of the form fields to the mentioned URL - Dim submitAction As New PdfSubmitAction("http://www.example.com/Submit.aspx") - submitAction.DataFormat = SubmitDataFormat.Html - 'Sets the Include option to submit action - submitAction.Include=True - submitButton.Actions.GotFocus = submitAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Represents an action which resolves unique resource identifier. - - - - //Create a new document with PDF/A standard. - PdfDocument document = new PdfDocument(); - //Create a Uri action - PdfUriAction uriAction = new PdfUriAction("http://www.google.com"); - //Add the action to the document - document.Actions.AfterOpen = uriAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document with PDF/A standard. - Dim document As New PdfDocument() - 'Create a Uri action - Dim uriAction As New PdfUriAction("http://www.google.com") - 'Add the action to the document - document.Actions.AfterOpen = uriAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store unique resource identifier. - - - - - Initializes a new instance of the class. - - - - //Create a new document with PDF/A standard. - PdfDocument document = new PdfDocument(); - //Create a Uri action - PdfUriAction uriAction = new PdfUriAction(); - //Add the action to the document - document.Actions.AfterOpen = uriAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document with PDF/A standard. - Dim document As New PdfDocument() - 'Create a Uri action - Dim uriAction As New PdfUriAction() - 'Add the action to the document - document.Actions.AfterOpen = uriAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes a new instance of the class. - - The unique resource identifier. - - - //Create a new document with PDF/A standard. - PdfDocument document = new PdfDocument(); - //Create a Uri action - PdfUriAction uriAction = new PdfUriAction("http://www.google.com"); - //Add the action to the document - document.Actions.AfterOpen = uriAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document with PDF/A standard. - Dim document As New PdfDocument() - 'Create a Uri action - Dim uriAction As New PdfUriAction("http://www.google.com") - 'Add the action to the document - document.Actions.AfterOpen = uriAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Initializes instance. - - - - - Gets or sets the unique resource identifier. - - The unique resource identifier. - - - //Create a new document with PDF/A standard. - PdfDocument document = new PdfDocument(); - //Create a Uri action - PdfUriAction uriAction = new PdfUriAction(); - uriAction.Uri="http://www.google.com"; - //Add the action to the document - document.Actions.AfterOpen = uriAction; - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document with PDF/A standard. - Dim document As New PdfDocument() - 'Create a Uri action - Dim uriAction As New PdfUriAction() - uriAction.Uri="http://www.google.com"; - 'Add the action to the document - document.Actions.AfterOpen = uriAction - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Specifies the file path type. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the bounds to submitButton. - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Set the submit button text. - submitButton.Text = "Launch"; - //Create a new PdfLaunchAction and set the PdfFilePathType. - PdfLaunchAction launchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt",PdfFilePathType.Absolute); - //Set the actions to submit button. - submitButton.Actions.GotFocus = launchAction; - //Save document to disk. - document.Save("ActionDestination.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new PdfButtonField. - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - 'Set the bounds to submit button. - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Set the submit button text. - submitButton.Text = "Launch" - 'Create a new PdfLaunchAction and set the PdfFilePathType. - Dim launchAction As PdfLaunchAction = new PdfLaunchAction(@"..\..\Data\Sample.txt",PdfFilePathType.Absolute) - 'Set the actions to submit button. - submitButton.Actions.GotFocus = launchAction - 'Save document to disk. - document.Save("ActionDestination.pdf") - document.Close(True) - - - - - - Specifies the file location with out including the domain name. - - - - - Specifies the location, including the domain name. - - - - - Specifies the available named actions supported by the viewer. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page - PdfPage page = document.Pages.Add(); - //Creates a new page - page = document.Pages.Add(); - //Creates a new page - page = document.Pages.Add(); - //Creates a new page - page = document.Pages.Add(); - //Creates a new page - page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Create a new PdfButtonField. - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - //Set the bounds to submitButton. - submitButton.Bounds = new RectangleF(25, 160, 100, 20); - //Set the font to submitButton. - submitButton.Font = font; - //Sets the submit button text. - submitButton.Text = "First Page"; - //Set the back color to submit button. - submitButton.BackColor = new PdfColor(181, 191, 203); - //Create a new PdfNamedAction. - PdfNamedAction namedAction = new PdfNamedAction(PdfActionDestination.FirstPage); - //Set the named action destination. - namedAction.Destination=PdfActionDestination.PrevPage; - //Set the Actions to namedAction. - submitButton.Actions.GotFocus = namedAction; - //Add the submitButton to the new document. - document.Form.Fields.Add(submitButton); - //Save document to disk. - document.Save("ActionDestination.pdf"); - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page - Dim page As PdfPage = document.Pages.Add() - 'Creates a new page - page = document.Pages.Add() - 'Creates a new page - page = document.Pages.Add() - 'Creates a new page - page = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Create a new PdfButtonField - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - 'Set the bounds to submit button. - submitButton.Bounds = New RectangleF(25, 160, 100, 20) - 'Set the font to submitButton. - submitButton.Font = font - 'Sets the submit button text. - submitButton.Text = "First Page" - 'Set the back color to submit button. - submitButton.BackColor = new PdfColor(181, 191, 203) - 'Create a new PdfNamedAction - Dim namedAction As PdfNamedAction = new PdfNamedAction(PdfActionDestination.FirstPage) - 'Set the named action. - namedAction.Destination=PdfActionDestination.PrevPage - 'Set the Actions to namedAction. - submitButton.Actions.GotFocus = namedAction - 'Add the submitButton to the new document. - document.Form.Fields.Add(gotoAction) - 'Save document to disk. - document.Save("ActionDestination.pdf") - document.Close(True) - - - - - - Navigate to first page. - - - - - Navigate to last page. - - - - - Navigate to next page. - - - - - Navigate to previous page. - - - - - Specifies the available data formats for submitting the form data. - - - - - If clear, the Fields array specifies which fields to - include in the submission. (All descendants of the specified fields in - the field hierarchy are submitted as well.) - If set, the Fields array tells which fields to exclude. All fields in the - document�s interactive form are submitted except those listed in the - Fields array and those whose NoExport flag. - - - - - If set, all fields designated by the Fields array and the Include/ - Exclude flag are submitted, regardless of whether they have a value. - For fields without a value, only the - field name is transmitted. - - - - - Meaningful only if the SubmitPDF and XFDF flags are clear. If set, - field names and values are submitted in HTML Form format. If - clear, they are submitted in Forms Data Format - - - - - If set, field names and values are submitted using an HTTP GET - request. If clear, they are submitted using a POST request. This flag - is meaningful only when the ExportFormat flag is set; if ExportFormat - is clear, this flag must also be clear. - - - - - If set, the coordinates of the mouse click that caused the submitform - action are transmitted as part of the form data. The coordinate - values are relative to the upper-left corner of the field�s widget annotation - rectangle. - - - - - Meaningful only if the SubmitPDF flags are clear. If set, - field names and values are submitted as XML Forms Data Format . - - - - - Meaningful only when the form is being submitted in - Forms Data Format (that is, when both the XFDF and ExportFormat - flags are clear). If set, the submitted FDF file includes the contents - of all incremental updates to the underlying PDF document, - as contained in the Differences entry in the FDF dictionary. - If clear, the incremental updates are not included. - - - - - Meaningful only when the form is being submitted in - Forms Data Format (that is, when both the XFDF and ExportFormat - flags are clear). If set, the submitted FDF file includes all markup - annotations in the underlying PDF document. - If clear, markup annotations are not included. - - - - - If set, the document is submitted as PDF, using the - MIME content type application/pdf (described in Internet RFC - 2045, Multipurpose Internet Mail Extensions (MIME), Part One: - Format of Internet Message Bodies; see the Bibliography). If set, all - other flags are ignored except GetMethod. - - - - - If set, any submitted field values representing dates are - converted to the standard format described. - - - - - Meaningful only when the form is being submitted in - Forms Data Format (that is, when both the XFDF and - ExportFormat flags are clear) and the IncludeAnnotations flag is - set. If set, it includes only those markup annotations whose T entry - matches the name of the current user, as determined - by the remote server to which the form is being submitted. - - - - - Meaningful only when the form is being submitted in - Forms Data Format (that is, when both the XFDF and ExportFormat - flags are clear). If set, the submitted FDF excludes the F entry. - - - - - Meaningful only when the form is being submitted in - Forms Data Format (that is, when both the XFDF and ExportFormat - flags are clear). If set, the F entry of the submitted FDF is a file - specification containing an embedded file stream representing the - PDF file from which the FDF is being submitted. - - - - - Represents the activation states for the 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store the activation mode. - - - - - Internal variable to store the activation state. - - - - - Internal variable to store the deactivation mode. - - - - - Internal variable to store the deactivation state. - - - - - Internal variable reprsents whether to show toolbar or not. - - - - - Internal variable reprsents whether to show UI or not. - - - - - Internal variable to store dictionary. - - - - - Initializes the new instance of class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation - Pdf3DActivation activation = new Pdf3DActivation(); - activation.ShowUI = false; - annotation.Activation = activation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation - Dim activation As New Pdf3DActivation() - activation.ShowUI = False - annotation.Activation = activation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes the instance. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the activation mode for the annotation. - - specifies the available modes for activating a 3D annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the deactivation mode for the annotation. - - specifies the available modes for deactivating a 3D annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - //Sets the DeactivationState. - activation.DeactivationMode = Pdf3DDeactivationMode.PageClose; - activation.ShowToolbar = false; - annotation.Activation = activation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - 'Sets the DeactivationState. - activation.DeactivationMode = Pdf3DDeactivationMode.PageClose - activation.ShowToolbar = False - annotation.Activation = activation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the activation state for the annotation. - - specifies an activation state of the 3D annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @”Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.ActivationState = Pdf3DActivationState.Live; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150),”Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.ActivationState = Pdf3DActivationState.Live - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - - Gets or sets a value indicating whether the toolbar should be displayed when the annotation is activated or not. - - If true, a toolbar should be displayed by default when the annotation is activated and given focus. If false, a toolbar should not be displayed by default. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation - Pdf3DActivation activation = new Pdf3DActivation(); - activation.ShowToolbar = false; - annotation.Activation = activation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation - Dim activation As New Pdf3DActivation() - activation.ShowToolbar = False - annotation.Activation = activation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets a value indicating whether the UI for managing the 3D artwork should be displayed when the annotation is activated. - - If true, the user interface should be made visible when the annotation is activated. If false, the user interface should not be made visible by default. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation - Pdf3DActivation activation = new Pdf3DActivation(); - activation.ShowUI = false; - annotation.Activation = activation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation - Dim activation As New Pdf3DActivation() - activation.ShowUI = False - annotation.Activation = activation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the lighting to apply for the 3D artwork. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.Type = PDF3DAnimationType.Linear; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.Type = PDF3DAnimationType.Linear; - - - - - - Initializes a new instance of the class. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(); - animation.Type = PDF3DAnimationType.Linear; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation() - animation.Type = PDF3DAnimationType.Linear - - - - - - Initializes a new instance of the class with specified 3D animation type. - - PDF 3D Animation Type. - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.Type = PDF3DAnimationType.Linear; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.Type = PDF3DAnimationType.Linear - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the type of the animation. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.Type = PDF3DAnimationType.Linear; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.Type = PDF3DAnimationType.Linear - - - - - - Gets or sets the play count. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.PlayCount =10; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.PlayCount =10 - - - - - - Gets or sets the rendering opacity. - - A positive number specifying the time multiplier to be used when running the animation. A value greater than one shortens the time it takes to play the animation, or effectively speeds up the animation. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.Type = 10f; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.Type = 10f - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the background appearance for 3D artwork. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Create a view - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Create a view - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Max value of color channel. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground. - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Create a view - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Create a view - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified color. - - The object specifying the background color for the 3D artwork. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(color); - background.ApplyToEntireAnnotation = true; - //Create a view - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground(color) - background.ApplyToEntireAnnotation = True - 'Create a view - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the background color of the 3D artwork. - - The object specifying the background color for the 3D artwork. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Create a view - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Create a view - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets a value indicating how the background is applied. - - True if the background is applied to entire annotation, false if the background is applied to annotation's 3D view box only. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Create a view - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Create a view - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the base class for 3D annotation. - - - - - Internal variable to store stream. - - - - Name of the file. - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Saves an instance. - - - - - Gets or sets the stream. - - The stream. - - - The name of the file. - - - - Gets the element. - - - - - - Represents the clipping portion of the 3D artwork for the purpose of showing artwork cross sections. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the center of the cutting plane. - - The list of float value specifies the cutting plane of the section. - A three element array specifying the center of rotation on the cutting plane in world space coordinates. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Center = new float[] { 40, 40, 40 }; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Center = New Single() { 40, 40, 40 } - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the cutting plane color. - - specifies the cutting plane color of the 3D cross section. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the intersection color. - - specifies the intersection color of the 3D cross section. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets a value indicating whether the intersection of cutting plane with 3D artwork is visible. - - True if the intersection is visible , otherwise false. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the cutting plane opacity. - - A float value specifies the opacity of the annotation. - The opacity is given in percents, 100 is full opacity, 0 is no opacity. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the orientation of the cutting plane. - - A three-element array specifying the orientation of the cutting plane in world space, where each value represents the orientation in relation to the X, Y, and Z axes, respectively. - If the array has more than 3 elements, only the first 3 will be considered. Exactly one of the values must be null, indicating an initial state of the cutting plane that is perpendicular to the corresponding axis and clipping all geometry on the positive side of that axis. The other two values must be numbers indicating the rotation of the plane, in degrees, around their corresponding axes. The order in which these rotations are applied should match the order in which the values appear in the array. - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the collection of objects. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DCrossSectionCollection. - Pdf3DCrossSectionCollection crossSectionCollection = view.CrossSections; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DCrossSectionCollection. - Dim crossSectionCollection As Pdf3DCrossSectionCollection = view.CrossSections - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Adds the specified value. - - The 3d cross section to be added. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - crossSection.Opacity = 100; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - crossSection.Opacity = 100 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Determines whether the specified cross section is in collection. - - The - - if it contains the specified value, set to true. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - bool isExist = view.CrossSections.Contains(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - Dim isExist As Boolean = view.CrossSections.Contains(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Searches and finds the index of the specified cross section from the collection. - - The . - - - - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Add the cross section - view.CrossSections.Add(crossSection); - //Get the index of specified crossSection - int index = view.CrossSections.IndexOf(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Add the cross section - view.CrossSections.Add(crossSection) - 'Get the index of specified crossSection - Dim index As Integer = view.CrossSections.IndexOf(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Inserts the cross section at specified index. - - The index. - The value. - - - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Insert the cross section at specified index - view.CrossSections.Insert(0,crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Insert the cross section at specified index - view.CrossSections.Insert(0,crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Removes the specified cross section form the collection. - - The cross section to be removed. - - - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DCrossSection. - Pdf3DCrossSection crossSection = new Pdf3DCrossSection(); - crossSection.Color = new PdfColor(Color.Blue); - crossSection.IntersectionIsVisible = true; - crossSection.IntersectionColor = new PdfColor(Color.Red); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CrossSections.Add(crossSection); - //Remove the cross section - view.CrossSections.Remove(crossSection); - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DCrossSection. - Dim crossSection As New Pdf3DCrossSection() - crossSection.Color = New PdfColor(Color.Blue) - crossSection.IntersectionIsVisible = True - crossSection.IntersectionColor = New PdfColor(Color.Red) - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CrossSections.Add(crossSection) - 'Remove the cross section - view.CrossSections.Remove(crossSection) - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the at the specified index. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DCrossSectionCollection. - Pdf3DCrossSectionCollection crossSectionCollection = view.CrossSections; - Pdf3DCrossSection crosssection =view.CrossSections[0]; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DCrossSectionCollection. - Dim crossSectionCollection As Pdf3DCrossSectionCollection = view.CrossSections - Dim crosssection As Pdf3DCrossSection=view.CrossSections[0] - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the lighting scheme for the 3D artwork. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DLighting. - Pdf3DLighting lighting = new Pdf3DLighting(); - lighting.Style = Pdf3DLightingStyle.CAD; - //Create a new Pdf3DView. - Pdf3DView view = new Pdf3DView(); - view.LightingScheme = lighting; - annot.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DLighting. - Dim lighting As New Pdf3DLighting() - lighting.Style = Pdf3DLightingStyle.CAD - 'Create a new Pdf3DView. - Dim view As New Pdf3DView() - view.LightingScheme = lighting - annot.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DLighting. - Pdf3DLighting lighting = new Pdf3DLighting(); - lighting.Style = Pdf3DLightingStyle.CAD; - //Create a new Pdf3DView. - Pdf3DView view = new Pdf3DView(); - view.LightingScheme = lighting; - annot.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DLighting. - Dim lighting As New Pdf3DLighting() - lighting.Style = Pdf3DLightingStyle.CAD - 'Create a new Pdf3DView. - Dim view As New Pdf3DView() - view.LightingScheme = lighting - annot.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified lighting style. - - The object specifies the style of the 3D artwork. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DLighting. - Pdf3DLighting lighting = new Pdf3DLighting(Pdf3DLightingStyle.CAD); - //Create a new Pdf3DView. - Pdf3DView view = new Pdf3DView(); - view.LightingScheme = lighting; - annot.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annot As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DLighting. - Dim lighting As New Pdf3DLighting(Pdf3DLightingStyle.CAD) - 'Create a new Pdf3DView. - Dim view As New Pdf3DView() - view.LightingScheme = lighting - annot.Views.Add(view) - page.Annotations.Add(annot) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the lighting style of the 3D artwork. - - The specifies the available styles for applying light to 3D artwork. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DLighting. - Pdf3DLighting lighting = new Pdf3DLighting(); - lighting.Style = Pdf3DLightingStyle.CAD; - //Create a new Pdf3DView. - Pdf3DView view = new Pdf3DView(); - view.LightingScheme = lighting; - annot.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DLighting. - Dim lighting As New Pdf3DLighting() - lighting.Style = Pdf3DLightingStyle.CAD - 'Create a new Pdf3DView. - Dim view As New Pdf3DView() - view.LightingScheme = lighting - annot.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the particular areas of 3D artwork and the opacity and visibility with which individual nodes are displayed. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "node"; - node.Opacity = 1000f; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "node" - node.Opacity = 1000f - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets a value indicating whether the node is visible or not. - - True if the node is visible , otherwise false. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "node"; - node.Opacity = 1000f; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "node" - node.Opacity = 1000f - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the node name. - - The name of the 3D node. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "node"; - node.Opacity = 1000f; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "node" - node.Opacity = 1000f - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the cutting plane opacity. - - A number indicating the opacity of the cutting plane using a standard additive blend mode. - - The opacity is given in percents, 100 is full opacity, 0 is no opacity. - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "node"; - node.Opacity = 1000f; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "node" - node.Opacity = 1000f - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the 3D transformation matrix. - - A 12-element 3D transformation matrix that specifies the position and orientation of this node, relative to its parent, in world coordinates. - If the array has more than 12 elements, only the first 12 will be considered. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Matrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents a collection of objects. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - view.Nodes.Add(node); - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - view.Nodes.Add(node) - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Adds the specified node into the collection. - - The - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - view.Nodes.Add(node); - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - view.Nodes.Add(node) - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Determines whether the node is in the collection. - - The node to search for. - - if it contains the specified value, set to true. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "Near View"; - node.Opacity = 100; - node.Matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - //create the node collection - Pdf3DNodeCollection nodecollection = new Pdf3DNodeCollection(); - nodecollection.Add(node); - bool exist = nodecollection.Contains(node); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "Near View" - node.Opacity = 100 - node.Matrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - 'create the node collection - Dim nodecollection As New Pdf3DNodeCollection() - nodecollection.Add(node) - Dim exist As Boolean = nodecollection.Contains(node) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Searches and finds the index of the specified node from the collection. - - The node to be searched. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "Near View"; - node.Opacity = 100; - node.Matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - //create the node collection - Pdf3DNodeCollection nodecollection = new Pdf3DNodeCollection(); - nodecollection.Add(node); - //Search the index of the node - int index = nodecollection.IndexOf(node); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "Near View" - node.Opacity = 100 - node.Matrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - 'create the node collection - Dim nodecollection As New Pdf3DNodeCollection() - nodecollection.Add(node) - 'Search the index of the node - Dim index As Integer = nodecollection.IndexOf(node) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Inserts the specified index. - - The index. - The value. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "Near View"; - node.Opacity = 100; - node.Matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - //create the node collection - Pdf3DNodeCollection nodecollection = new Pdf3DNodeCollection(); - nodecollection.Add(node); - //insert the node - nodecollection.Insert(0, node); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "Near View" - node.Opacity = 100 - node.Matrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - 'create the node collection - Dim nodecollection As New Pdf3DNodeCollection() - nodecollection.Add(node) - 'insert the node - nodecollection.Insert(0, node) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Removes the specified value. - - The value. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - node.Name = "Near View"; - node.Opacity = 100; - node.Matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - //create the node collection - Pdf3DNodeCollection nodecollection = new Pdf3DNodeCollection(); - nodecollection.Add(node); - //Remove the node - nodecollection.Remove(node); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - node.Name = "Near View" - node.Opacity = 100 - node.Matrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - 'create the node collection - Dim nodecollection As New Pdf3DNodeCollection() - nodecollection.Add(node) - 'Remove the node - nodecollection.Remove(node) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the at the specified index. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - //Create a new Pdf3DNode. - Pdf3DNode node = new Pdf3DNode(); - node.Visible = true; - view.Nodes.Add(node); - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - 'Create a new Pdf3DNode. - Dim node As New Pdf3DNode() - node.Visible = True - view.Nodes.Add(node) - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the mapping of 3D camera co-ordinates onto the target coordinate system of the annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store type. - - - - - Internal variable to store Clip Style. - - - - - Internal variable to store Ortho Scale mode. - - - - - Internal variable to store far Clip Distance. - - - - - Internal variable to store field Of View. - - - - - Internal variable to store near Clip Distance. - - - - - Internal variable to store scaling. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with specified projection type. - - The Pdf3D Projection Type. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.FarClipDistance = 10; - projection.Scaling = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.FarClipDistance = 10 - projection.Scaling = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the type of the projection. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the projection ClipStyle. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the scale mode for orthographic projections. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the far clipping distance. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.FarClipDistance = 10; - projection.Scaling = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.FarClipDistance = 10 - projection.Scaling = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the field of view. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the near clipping distance. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the projection scaling. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.FarClipDistance = 10; - projection.Scaling = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.FarClipDistance = 10 - projection.Scaling = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents the rendering mode of the 3D artwork. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store style. - - - - - Internal variable to store face Color. - - - - - Internal variable to store auxilary Color. - - - - - Internal variable to store opacity. - - - - - Internal variable to store crease Value. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with specified rendering style. - - The object specifies the rendering style of the 3D artwork. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(Pdf3DRenderStyle.Solid); - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.Opacity = 100f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode(Pdf3DRenderStyle.Solid) - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.Opacity = 100.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the type of the projection. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the auxiliary color. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the face color. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the crease value. - - The crease value is specified in degrees, from 0 to 360. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the rendering opacity. - - The opacity is given in percents, 100 is full opacity, 0 is no opacity. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(Pdf3DRenderStyle.Solid); - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.Opacity = 100f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode(Pdf3DRenderStyle.Solid) - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.Opacity = 100.0F - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Represents a attributes to be applied to the virtual camera associated with a 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode - Pdf3DRendermode rendermode = new Pdf3DRendermode(); - rendermode.Style = Pdf3DRenderStyle.Solid; - rendermode.AuxilaryColor = new PdfColor(Color.Green); - rendermode.FaceColor = new PdfColor(Color.Black); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Creates a new Pdf3DLighting - Pdf3DLighting lighting = new Pdf3DLighting(); - lighting.Style = Pdf3DLightingStyle.CAD; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Background = background; - view.LightingScheme = lighting; - view.RenderMode = rendermode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode - Dim rendermode As New Pdf3DRendermode() - rendermode.Style = Pdf3DRenderStyle.Solid - rendermode.AuxilaryColor = New PdfColor(Color.Green) - rendermode.FaceColor = New PdfColor(Color.Black) - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Creates a new Pdf3DLighting - Dim lighting As New Pdf3DLighting() - lighting.Style = Pdf3DLightingStyle.CAD - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Background = background - view.LightingScheme = lighting - view.RenderMode = rendermode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store 3d Background. - - - - - Internal variable to store 3d Cross Section Collection. - - - - - Internal variable to store centre to World Matrix. - - - - - Internal variable to store 3d Lighting. - - - - - Internal variable to store 3d Node Collection. - - - - - Internal variable to store 3d Projection. - - - - - Internal variable to store 3d Render mode. - - - - - Internal variable to store reset Nodes State. - - - - - Internal variable to store centre of orbit. - - - - - Internal variable to store external name. - - - - - Internal variable to store internal name. - - - - - Internal variable to store view node name. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the background for this view. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Background = background; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Background = background - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the 3D transformation matrix. - - A 12-element 3D transformation matrix that specifies a position and orientation of the camera in world coordinates. - If the array has more than 12 elements, only the first 12 will be considered. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Creates a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color =new PdfColor(Color.Blue); - float[] matrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -300.669f, -112.432f, 45.6829f }; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CameraToWorldMatrix = matrix; - view.Background = background; - view.CenterOfOrbit = 10f; - view.ExternalName = "Near View"; - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Creates a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = New PdfColor(Color.Blue) - Dim matrix() As Single = { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -300.669f, -112.432f, 45.6829f } - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.CameraToWorldMatrix = matrix - view.Background = background - view.CenterOfOrbit = 10f - view.ExternalName = "Near View" - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the center of orbit for 3D artwork. - - A non-negative number indicating a distance in the camera coordinate system along the z axis to the center of orbit for this view. - If this value is negative, the viewer application must determine the center of orbit. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.CenterOfOrbit = 10f; - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As Pdf3DAnnotation = New Pdf3DAnnotation(New RectangleF(10, 300, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As Pdf3DView = New Pdf3DView() - view.CenterOfOrbit = 10f - 'Adds a pdf3d view - annotation.Views.Add(view) - 'Draw a annotation into the new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the list of cross sections for this view. - - A list of PDF3DCrossSection objects available for this view. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - Pdf3DCrossSectionCollection crossSectionCollection = view.CrossSections; - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - Dim crossSectionCollection As Pdf3DCrossSectionCollection = view.CrossSections - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the view's external name. - - The external name of the view, suitable for presentation in a user interface. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.ExternalName = "Near View"; - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.ExternalName = "Near View" - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the view's internal name. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.InternalName = Guid.NewGuid().ToString("N"); - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.InternalName = Guid.NewGuid().ToString("N") - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the lighting scheme for this view. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode - Pdf3DRendermode rendermode = new Pdf3DRendermode(); - rendermode.Style = Pdf3DRenderStyle.Solid; - rendermode.AuxilaryColor = new PdfColor(Color.Green); - rendermode.FaceColor = new PdfColor(Color.Black); - PdfColor color = new PdfColor(Color.Silver); - //Create a new Pdf3DBackground - Pdf3DBackground background = new Pdf3DBackground(); - background.ApplyToEntireAnnotation = true; - background.Color = color; - //Creates a new Pdf3DLighting - Pdf3DLighting lighting = new Pdf3DLighting(); - lighting.Style = Pdf3DLightingStyle.CAD; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Background = background; - view.LightingScheme = lighting; - view.RenderMode = rendermode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode - Dim rendermode As New Pdf3DRendermode() - rendermode.Style = Pdf3DRenderStyle.Solid - rendermode.AuxilaryColor = New PdfColor(Color.Green) - rendermode.FaceColor = New PdfColor(Color.Black) - Dim color As New PdfColor(Color.Silver) - 'Create a new Pdf3DBackground - Dim background As New Pdf3DBackground() - background.ApplyToEntireAnnotation = True - background.Color = color - 'Creates a new Pdf3DLighting - Dim lighting As New Pdf3DLighting() - lighting.Style = Pdf3DLightingStyle.CAD - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Background = background - view.LightingScheme = lighting - view.RenderMode = rendermode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the list of 3D nodes for this view. - - A list of PDF3DNode objects available for this view. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.ResetNodesState = true; - Pdf3DNodeCollection nodes = view.Nodes; - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.ResetNodesState = True - Dim nodes As Pdf3DNodeCollection = view.Nodes - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the projection for this view. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(Pdf3DProjectionType.Perspective); - projection.FieldOfView = 10; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.FarClipDistance = 10; - projection.Scaling = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Add the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection(Pdf3DProjectionType.Perspective) - projection.FieldOfView = 10 - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.FarClipDistance = 10 - projection.Scaling = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Add the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the rendering mode for this view. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10f - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets a value indicating whether nodes specified in the Nodes collection are returned to their original states (as specified in the 3D artwork) before applying transformation matrices and opacity settings specified in the node dictionaries. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.ResetNodesState = true; - //Adds a pdf3d view. - annotation.Views.Add(view); - //Adds a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.ResetNodesState = True - 'Adds a pdf3d view. - annotation.Views.Add(view) - 'Adds a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the name of the view node. - - The view node in the content stream defines all the properties for viewing the 3D artwork. If both ViewNodeName and CameraToWorldMatrix are specified, then ViewNodeName takes precedence. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - string name = view.ViewNodeName; - //Add a pdf3d view. - annotation.Views.Add(view); - //Add a annotation. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - Dim name As String = view.ViewNodeName - 'Add a pdf3d view. - annotation.Views.Add(view) - 'Add a annotation. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the dictionary. - - The pdf3d view dictionary. - - - - Gets the element. - - - - - - Represents a collection of Pdf3DView objects. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Creates a new Pdf3DView - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName="Near View"; - defaultView.CameraToWorldMatrix=new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit=131.695f; - annotation.Views.Add(defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Creates a new Pdf3DView - Dim defaultView As New Pdf3DView() - defaultView.ExternalName="Near View" - defaultView.CameraToWorldMatrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit=131.695f - annotation.Views.Add(defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Adds the specified 3d view into collection. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Creates a new Pdf3DView - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName="Near View"; - defaultView.CameraToWorldMatrix=new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit=131.695f; - annotation.Views.Add(defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Creates a new Pdf3DView - Dim defaultView As New Pdf3DView() - defaultView.ExternalName="Near View" - defaultView.CameraToWorldMatrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit=131.695f - annotation.Views.Add(defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Determines whether the specified view is in collection. - - The . - - if it contains the specified value, set to true. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create the view - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName="Near View"; - defaultView.CameraToWorldMatrix=new Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit=131.695f; - annotation.Views.Add(defaultView); - //check the specified view exists in the list or not - bool exist=annotation.Views.Contains(defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create the view - Dim defaultView As New Pdf3DView() - defaultView.ExternalName="Near View" - defaultView.CameraToWorldMatrix = New Single() With { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit=131.695f - annotation.Views.Add(defaultView) - 'check the specified view exists in the list or not - Dim exist As Boolean=annotation.Views.Contains(defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - search and find the Pdf3DView object. - - - Pdf3DView - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create the view - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName = "Near View"; - defaultView.CameraToWorldMatrix = new Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - annotation.Views.Add(defaultView); - //Get the index of specified view - int index = annotation.Views.IndexOf(defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create the view - Dim defaultView As New Pdf3DView() - defaultView.ExternalName = "Near View" - defaultView.CameraToWorldMatrix = New Single() With { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - annotation.Views.Add(defaultView) - 'Get the index of specified view - Dim index As Integer = annotation.Views.IndexOf(defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Inserts the view at specified index. - - The index where to insert the element. - The view to be inserted in the collection.. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create the view - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName = "Near View"; - defaultView.CameraToWorldMatrix = new Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - //Insert the view at specified index - annotation.Views.Insert(1,defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create the view - Dim defaultView As New Pdf3DView() - defaultView.ExternalName = "Near View" - defaultView.CameraToWorldMatrix = New Single() With { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - 'Insert the view at specified index - annotation.Views.Insert(1,defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Removes the specified value from the collection. - - The Pdf3DView object. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create the view - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName = "Near View"; - defaultView.CameraToWorldMatrix = new Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - annotation.Views.Add(defaultView); - //Remove the specified view - annotation.Views.Remove(defaultView); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create the view - Dim defaultView As New Pdf3DView() - defaultView.ExternalName = "Near View" - defaultView.CameraToWorldMatrix = New Single() With { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - annotation.Views.Add(defaultView) - 'Remove the specified view - annotation.Views.Remove(defaultView) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the at the specified index. - - Pdf3DView - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a Pdf3DView - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName="Near View"; - defaultView.CameraToWorldMatrix= new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - annotation.Views.Add(defaultView); - page.Annotations.Add(annotation); - Pdf3DView view=annotation.Views[0] as Pdf3DView; - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a Pdf3DView - Dim defaultView As New Pdf3DView() - defaultView.ExternalName="Near View" - defaultView.CameraToWorldMatrix= New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - annotation.Views.Add(defaultView) - page.Annotations.Add(annotation) - Dim view As Pdf3DView=TryCast(annotation.Views(0), Pdf3DView) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Specifies an activation state of the 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @”Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.ActivationState = Pdf3DActivationState.Live; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150),”Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.ActivationState = Pdf3DActivationState.Live - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents that the state in which the artwork has been read and a run-time instance of - the artwork has been created. In this state, it can be rendered but script-driven - real-time modifications (that is, animations) are disabled. - - - - - Represents that the artwork is instantiated, and it is being modified in real time to - achieve some animation effect. In the case of key frame animation, the artwork is - live while it is playing and then reverts to an instantiated state when playing - completes or is stopped. - - - - - Specifies the available modes for activating a 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents that the annotation should be activated as soon as the page containing - the annotation is opened. - - - - - Represents that the annotation should be activated as soon as any part of the page - containing the annotation becomes visible. - - - - - Represents that the annotation should remain inactive until explicitly activated - by a script or user action. - - - - - Specifies the available modes for deactivating a 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - //Sets the DeactivationState. - activation.DeactivationMode = Pdf3DDeactivationMode.PageClose; - activation.ShowToolbar = false; - annotation.Activation = activation; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - 'Sets the DeactivationState. - activation.DeactivationMode = Pdf3DDeactivationMode.PageClose - activation.ShowToolbar = False - annotation.Activation = activation - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents that the annotation should be deactivated as soon as the page is closed. - - - - - Represents that the annotation should be deactivated as soon as the page containing - the annotation becomes invisible. - - - - - Represents that the annotation should remain active until explicitly deactivated by a - script or user action. - - - - - Specifies the available states upon deactivating a 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DActivation. - Pdf3DActivation activation = new Pdf3DActivation(); - annotation.Activation.DeactivationState = Pdf3DDeactivationState.Uninstantiated; - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DActivation. - Dim activation As New Pdf3DActivation() - annotation.Activation.DeactivationState = Pdf3DDeactivationState.Uninstantiated - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the initial state of the artwork before it has been used in any way. - - - - - Represents that the state in which the artwork has been read and a run-time instance of - the artwork has been created. In this state, it can be rendered but script-driven - real-time modifications (that is, animations) are disabled. - - - - - Represents that the artwork is instantiated, and it is being modified in real time to - achieve some animation effect. In the case of key frame animation, the artwork is - live while it is playing and then reverts to an instantiated state when playing - completes or is stopped. - - - - - Specifies the available styles for applying light to 3D artwork. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(Pdf3DProjectionType.Perspective); - projection.FieldOfView = 10; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.FarClipDistance = 10; - projection.Scaling = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Add the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection(Pdf3DProjectionType.Perspective) - projection.FieldOfView = 10 - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.FarClipDistance = 10 - projection.Scaling = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Add the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - The Lights as specified in the 3D artwork. - - - - - The lighting specified in the 3D artwork is ignored. - - - - - Three blue-grey infinite lights. - - - - - Three light-grey infinite lights. - - - - - One yellow, one aqua, and one blue infinite light. - - - - - Three grey infinite lights. - - - - - One red, one green, and one blue infinite light. - - - - - Three blue infinite lights. - - - - - Three red infinite lights. - - - - - Six grey infinite lights aligned with the major axes. - - - - - Three grey infinite lights and one light attached to the camera. - - - - - Single infinite light attached to the camera. - - - - - Specifies the available clipping style of the 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the Clipping style. - - - - - Represents the Clipping style. - - - - - Specifies the available Ortho projection scaling mode of the 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Scale to fit the width of the annotation. - - - - - Scale to fit the height of the annotation. - - - - - Scale to fit the lesser of width or height of the annotation. - - - - - Scale to fit the greater of width or height of the annotation. - - - - - No scaling should occur due to binding. - - - - - Specifies the available projection type of the 3D annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Pdf3DAnnotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DProjection. - Pdf3DProjection projection = new Pdf3DProjection(); - projection.ProjectionType = Pdf3DProjectionType.Perspective; - projection.FieldOfView = 10; - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width; - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar; - projection.NearClipDistance = 10; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.Projection = projection; - annotation.Views.Add(view); - //Adds the annotation in a new page. - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Pdf3DAnnotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DProjection. - Dim projection As New Pdf3DProjection() - projection.ProjectionType = Pdf3DProjectionType.Perspective - projection.FieldOfView = 10 - projection.OrthoScaleMode = Pdf3DProjectionOrthoScaleMode.Width - projection.ClipStyle = Pdf3DProjectionClipStyle.ExplicitNearFar - projection.NearClipDistance = 10 - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.Projection = projection - annotation.Views.Add(view) - 'Adds the annotation in a new page. - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents Orthographic projection - - - - - Represents Perspective projection. - - - - - Specifies the available rendering style of the 3D artwork. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new Pdf3D Annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new Pdf3DRendermode. - Pdf3DRendermode renderMode = new Pdf3DRendermode(); - renderMode.Style = Pdf3DRenderStyle.Solid; - renderMode.AuxilaryColor = new PdfColor(Color.Green); - renderMode.FaceColor = new PdfColor(Color.Black); - renderMode.CreaseValue = 10f; - //Create a new Pdf3DView - Pdf3DView view = new Pdf3DView(); - view.RenderMode = renderMode; - annotation.Views.Add(view); - page.Annotations.Add(annotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new Pdf3D Annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new Pdf3DRendermode. - Dim renderMode As New Pdf3DRendermode() - renderMode.Style = Pdf3DRenderStyle.Solid - renderMode.AuxilaryColor = New PdfColor(Color.Green) - renderMode.FaceColor = New PdfColor(Color.Black) - renderMode.CreaseValue = 10f - 'Create a new Pdf3DView - Dim view As New Pdf3DView() - view.RenderMode = renderMode - annotation.Views.Add(view) - page.Annotations.Add(annotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Displays textured and lit geometric shapes. In the case of artwork - that conforms to the Universal 3D File Format specification, these - shapes are triangles. - - - - - Displays textured and lit geometric shapes (triangles) with single - color edges on top of them. - - - - - Displays textured and lit geometric shapes (triangles) with an added - level of transparency. - - - - - Displays textured and lit geometric shapes (triangles) with an added - level of transparency, with single color opaque edges on top of it. - - - - - Displays the bounding box edges of each node, aligned with the axes - of the local coordinate space for that node. - - - - - Displays bounding boxes faces of each node, aligned with the axes of - the local coordinate space for that node, with an added level of transparency. - - - - - Displays bounding boxes edges and faces of each node, aligned with the axes of - the local coordinate space for that node, with an added level of transparency. - - - - - Displays only edges in a single color. - - - - - Displays only edges, though interpolates their color between their two vertices - and applies lighting. - - - - - Displays edges in a single color, though removes back-facing and obscured edges. - - - - - Displays only vertices in a single color. - - - - - Displays only vertices, though uses their vertex color and applies lighting. - - - - - Displays silhouette edges with surfaces, removes obscured lines. - - - - - Displays silhouette edges with lit and textured surfaces, removes obscured lines. - - - - - Displays silhouette edges with lit and textured surfaces and an additional emissive - term to remove poorly lit areas of the artwork. - - - - - Specifies the available animation style for rendering the 3D artwork. - - - - //Create a new Pdf3DAnimation - Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear); - animation.Type = PDF3DAnimationType.Linear; - - - 'Create a new Pdf3DAnimation - Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear) - animation.Type = PDF3DAnimationType.Linear - - - - - - Represents that the Key frame animations should not be driven directly by - the viewer application. This value is used by documents that are intended - to drive animations through an alternate means, such as JavaScript. - - - - - Represents that the Key frame animations are driven linearly from beginning to end. - This animation style results in a repetitive play through of the animation, - such as in a walking motion. - - - - - Represents that the Key frame animations should oscillate along their time range. - This animation style results in a back-and-forth playing of the animation, - such as exploding or collapsing parts. - - - - - Represents the annotation with associated action. - - Class - - - - Represents base class for link annotations with associated action. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, @"Input.png"); - //Set a action to file link annotation. - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - fileLinkAnnotation.Action = javaAction; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Set a action to file link annotation. - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - fileLinkAnnotation.Action = javaAction - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the base class for the link annotations. - - Class - - - - Represents the base class for annotation objects. - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Color of the annotation. - - - - - Border of the annotation. - - - - - Bounds of the annotation. - - - - - Parent page of the annotation. - - - - - Text of the annotation. - - - - - Author of the annotation. - - - - - Subject of the annotation. - - - - - ModifiedDate of the annotation. - - - - - NAnootation's style flags. - - - - - Internal variable to store dictionary. - - - - - To specifying the Inner color with which to fill the annotation - - - - - Opacity of the annotation. - - - - - Indicates annotation is flatten or not. - - - - - Indicate popups annotation is flatten or not. - - - - - Annotation's appearance. - - - - - Internal field to check whether any annotation is modified. - - - - - Internal field used to indicate to set popup annotation. - - - - - Specifies whether to set the default appearance for the annotation or not. - - - - - - Creates the Constructors. - - - - - Creates new annotation object with the specified PDF page and text. - - The page where annotation to be added. - The text. - - - - Creates new annotation object with the specified bounds. - - Bounds of the annotation. - - - - Initializes a new instance of the class. - - The annotation's dictionary. - The document cross table. - The annotation's bounds. - - - - Sets related page of the annotation. - - The page. - - - - Removes annotation from page. - - Annotation to be removed. - - - - Sets the location. - - The location. - - - - Sets the proper name to the field. - - The annotation's text. - - - - Sets the size. - - The size. - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Flatten annotation author field - - the annotation's author text - the annotation's subject text - the annotation's bounds - the annotation's background color brush - annotation's brush - annotation's page - height - appearance of an annotation's border - - - - Flatten annotation subject field - - the annotation's subject text - the annotation's bounds - annotation's page - - - - Flatten the Popup annotation - - - - - Flatten the Popup window - - annotation's page - the annotation's color - the annotation's bounds - appearance of an annotation's border - the annotation's author text - the annotation's subject text - the annotation's text - - - - Save graphics state - - - annotation's blendmode - - - - Gets or sets the annotation color. - - The which draws the outline of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle. - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Set the color. - soundAnnotation.Color = new PdfColor(Color.Red); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a a new rectangle. - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30); - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Set the color. - soundAnnotation.Color = New PdfColor(Color.Red) - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or Sets the Opacity of the annotation. - - - - - Get or set the inner color of the annotation. Default color is transparent - - - - - Gets or sets annotation's border properties like width, horizontal radius etc. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle. - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Assign the border to sound annotation. - soundAnnotation.Border = new PdfAnnotationBorder(5); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Assign the border to sound annotation. - soundAnnotation.Border = New PdfAnnotationBorder(5) - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or sets annotation's bounds in the PDF page. - - The bounds of the annotation. - If this property is not set, the bounds are calculated automatically - based on Location property and content of annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle. - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Assign the bounds to sound annotation. - soundAnnotation.Bounds=new RectangleF(50, 100, 30, 30); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle. - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Assign the bounds to sound annotation. - soundAnnotation.Bounds=New RectangleF(50, 100, 30, 30) - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or sets the location of the annotation. - - The position of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Assign the location to sound annotation. - soundAnnotation.Location=new PointF(50, 100); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Assign the location to sound annotation. - soundAnnotation.Location=New PointF(50, 100) - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or sets the size of the annotation. - - The size of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Assign the size to sound annotation. - soundAnnotation.Size=new SizeF(50, 50); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Assign the size to sound annotation. - soundAnnotation.Size=New SizeF(50, 50) - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets a page of the annotation. Read-Only. - - The where the annotation is to be added. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Gets the page. - PdfPage pdfPage=soundAnnotation.Page; - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Gets the page. - Dim pdfPage As PdfPage =soundAnnotation.Page - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets a loaded page of the annotation. - - - - - Gets or sets content of the annotation. - - The string value specifies the text of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Set the text to sound annotation. - soundAnnotation.Text="Sound Annotation"; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Set the text to sound annotation. - soundAnnotation.Text="Sound Annotation" - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or Sets the Author of the annotation. - - - - - Gets or Sets the Subject of the annotation. - - - - - Gets or Sets the ModifiedDate of the annotation. - - - - - Gets or sets the annotation flags. - - The Specifies the enumeration of the annotation flags. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"input.wav"); - //Set the annotation flags to sound annotation. - soundAnnotation.AnnotationFlags = PdfAnnotationFlags.Print; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle. - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As PdfSoundAnnotation = New PdfSoundAnnotation(rectangle, "input.wav") - 'Set the annotation flags to sound annotation. - soundAnnotation.AnnotationFlags = PdfAnnotationFlags.Print - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets or sets the boolean flag to flatten the annotations. - - - - - Get or set flatten the Popups annotations - - - - - Gets or sets the tag for annotation - - - - - Gets or sets appearance of the annotation. - - - - - Specifies if any annotation is changed since loading that would affect the appearance. - - - - - Get or set Popup annotations - - - - - Gets the element. - - - - - - Highlight Mode of the annotation. - - - - - Initializes new instance of class. - - - - - Initializes new instance of class with specified bounds. - - The bounds of the annotation. - - - - Initializes annotation object. - - - - - Gets Hightlight Mode of the annotation. - - - - - Gets or sets the highlight mode of the link annotation. - - The enumeration value which sets the highlight mode. - - - - Internal variable to store annotation's action. - - - - - Initializes a new instance of the class with specified bounds. - - The bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, "input.png"); - //Set a action to file link annotation. - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - fileLinkAnnotation.Action = javaAction; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "input.png") - 'Set a action to file link annotation. - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - fileLinkAnnotation.Action = javaAction - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds and action to be performed. - - The bounds specifies the location of the drawn text. - The specifies an action to be executed when the link is activated. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF bounds = new RectangleF(10, 40, 30, 30); - //Create a new file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(bounds, "Input.png"); - //Set a action to file link annotation. - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - fileLinkAnnotation.Action = javaAction; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Set a action to file link annotation. - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - fileLinkAnnotation.Action = javaAction - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the action for the link annotation. - - The action to be executed when the link is activated. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, @"Input.png"); - //Set a action to file link annotation. - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - fileLinkAnnotation.Action = javaAction; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Set a action to file link annotation. - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - fileLinkAnnotation.Action = javaAction - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds and action. - - The bounds of the annotation. - The PDF action that can be triggered with different actions. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF actionAnnotationBounds = new RectangleF(10, 40, 100, 30); - //Set the go to action - PdfGoToAction gotoAction = new PdfGoToAction(page); - //Set destination location - gotoAction.Destination = new PdfDestination(page, new PointF(0, 100)); - //Create Action annotation - PdfActionAnnotation actionAnnotation = new PdfActionAnnotation(actionAnnotationBounds, gotoAction); - //Set the text and font - actionAnnotation.Color = new PdfColor(Color.Red); - //Add this annotation to a new page. - page.Annotations.Add(actionAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim actionAnnotationBounds As New RectangleF(10, 40, 100, 30) - 'Set the go to action - Dim gotoAction As New PdfGoToAction(page) - 'Set destination location - gotoAction.Destination = New PdfDestination(page, New PointF(0, 100)) - 'Create Action annotation - Dim actionAnnotation As New PdfActionAnnotation(actionAnnotationBounds, gotoAction) - 'Set the text and font - actionAnnotation.Color = New PdfColor(Color.Red) - 'Add this annotation to a new page. - page.Annotations.Add(actionAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Saves annotation object. - - - - - Represents the appearance of an annotation's border. - - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the annotation border to popup annotation. - popupAnnotation.Border = new PdfAnnotationBorder(4, 0, 0); - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the annotation border to popup annotation. - popupAnnotation.Border = New PdfAnnotationBorder(4, 0, 0) - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Horizontal corner radius. - - - - - Vertical corner radius. - - - - - Width of the border. - - - - - Pdf primitive representing this object. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the annotation border. - popupAnnotation.Border = new PdfAnnotationBorder(); - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the annotation border. - popupAnnotation.Border = New PdfAnnotationBorder() - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified border width. - - A float value specifying the width of the annotation's border. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the annotation border. - popupAnnotation.Border = new PdfAnnotationBorder(4); - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the annotation border. - popupAnnotation.Border = New PdfAnnotationBorder(4) - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("AnnotationBorder.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified border width, horizontal and vertical radius. - - A float value specifying the width of the annotation's border. - A float value specifying the horizontal corner radius value. - A float value specifying the vertical corner radius value. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the annotation border. - popupAnnotation.Border = new PdfAnnotationBorder(4, 0, 0); - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the annotation border. - popupAnnotation.Border = New PdfAnnotationBorder(4, 0, 0) - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes instance. - - Width of the border. - The horizontal radius. - The vertical radius. - - - - Sets the number. - - The index. - The value. - - - - Gets or sets a horizontal corner radius. - - The horizontal radius of the annotation. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the horizontal radius to popup annotation border. - popupAnnotation.Border.HorizontalRadius = 0; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the horizontal radius to popup annotation border. - popupAnnotation.Border.HorizontalRadius = 0 - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets a vertical corner radius. - - The vertical radius of the annotation. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the vertical radius to popup annotation border. - popupAnnotation.Border.VerticalRadius = 0; - //Add popup annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the vertical radius to popup annotation border. - popupAnnotation.Border.VerticalRadius = 0 - 'Add popup annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the width of annotation's border. - - A float value specifying the width of the annotation's border. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationBounds = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationBounds, "Test popup annotation"); - //Set the width to popup annotation border. - popupAnnotation.Border.Width = 4; - //Add popup annotation annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationBounds As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationBounds, "Test popup annotation") - 'Set the width to popup annotation border. - popupAnnotation.Border.Width = 4 - 'Add popup annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets PDF primitive representing this object. - - - - - Represents the collection of objects. - - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - PdfAnnotation annotation = annotationCollection[0] as PdfAnnotation; - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - Dim annotation As PdfAnnotation = TryCast(annotationCollection(0), PdfAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Error constant message. - - - - - Error constant message. - - - - - Parent page of the collection. - - - - - Array of the annotations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the PdfAnnotationCollection class with the specified page. - - Page which collection is created for. - - - - Adds a new annotation to the collection. - - The new annotation to be added to the collection. - The position of the annotation in the collection. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle. - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle. - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Removes all the annotations from the collection. - - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - //Clear the annotation collection. - annotationCollection.Clear(); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - 'Clear the annotation collection. - annotationCollection.Clear() - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Determines whether a specified annotation is in the annotation collection. - - The annotation to search for. - True, if annotation is contained in collection. Otherwise - false. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - //Add the sound annotation to annotation collection. - annotationCollection.Add(soundAnnotation); - bool exist = annotationCollection.Contains(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - 'Add the sound annotation to annotation collection. - annotationCollection.Add(soundAnnotation) - Dim exist As Boolean = annotationCollection.Contains(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Searches the index of the specified annotation from the collection. - - The annotation to be searched. - Index of the element in the collection, if exists, or -1 if the element does not exist in the collection. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - //Get the index - int index = annotationCollection.IndexOf(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - 'Get the index - Dim index As Integer = annotationCollection.IndexOf(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Inserts an annotation to the collection at the specified index. - - The index where to insert the element. - The annotation to be inserted in the collection. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Insert(1, soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Insert(1, soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Removes the annotation at the specified index. - - The index of the element to be removed. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - //Removes a sound annotation at specified index - annotationCollection.RemoveAt(0); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - 'Removes a sound annotation at specified index - annotationCollection.RemoveAt(0) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Removes the specified annotation from the collection. - - The annotation to be removed. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - //Remove a sound annotation. - annotationCollection.Remove(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - 'Remove a sound annotation. - annotationCollection.Remove(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - prints the specified annotation. - - The annotation to be printed. - - - - Adds annotation to collection. - - Annotation to be added to collection. - Position of the annotation in collection. - - - - Inserts annotation to the collection at the specified position. - - Position. - Annotation object. - - - - Removes annotation from collection. - - Annotation to be removed. - - - - Removes item from collection at the specified index. - - Index of element to be removed. - - - - Adds a Annotation to collection. - - The Annotation. - - - - - Inserts a annotation into collection. - - The index. - The annotation. - - - - Clears the collection. - - - - - Removes the annotation at the specified position. - - The index. - - - - Removes the annotation. - - - - - - Gets the object at the specified index. Read-Only. - - The specifies the attachment at the specified position. - The index value of the annotation in the collection. - The annotation object at the specified position. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Add this annotation to a new page. - PdfAnnotationCollection annotationCollection = page.Annotations; - annotationCollection.Add(soundAnnotation); - PdfAnnotation annotation = annotationCollection[0] as PdfAnnotation; - //Save the document to disk. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Add this annotation to a new page. - Dim annotationCollection As PdfAnnotationCollection = page.Annotations - annotationCollection.Add(soundAnnotation) - Dim annotation As PdfAnnotation = TryCast(annotationCollection(0), PdfAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets the annotations array. - - The annotations. - - - - Gets PDF primitive representing this object. - - - - - Represents the states of an annotation's appearance. - - - - - Internal variable to store template for active (On) state. - - - - - Internal variable to store template for inactive (Off) state. - - - - - Internal variable to store dictionary. - - - - - Internal variable to store dictionary name of checked state. - - - - - Internal variable to store dictionary name of unchecked state. - - - - - Initializes a new instance of the class. - - - - - Handles the BeginSave event of the m_dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the active state template. - - The object specifies an active state template. - - - - Gets or sets the inactive state. - - The object specifies an inactive state template. - - - - Gets or sets the mapping name of the active state. - - String specifies the mapping name of the active state. - - - - Gets or sets the mapping name of the inactive state. - - String specifies the mapping name of the inactive state. - - - - Gets the element. - - - - - - Represents the appearance of an annotation. - - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.Normal.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new pdf appearance - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.Normal.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Normal appearance. - - - - - Mouse hover appearance. - - - - - Mouse pressed appearance. - - - - - Internal variable to store annotation. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - The object specifies the annotation. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.Normal.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new pdf appearance - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.Normal.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the normal template. - - Normal appearance template. - - - - Gets the pressed template. - - PDF Template - - - - Gets or sets PdfTmplate object which applied to annotation in normal state. - - The specifies the PDF template object. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.Normal.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new pdf appearance - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.Normal.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets object which applied to the annotation on hovering the mouse. - - The specifies the PDF template object when mouse hover. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.MouseHover.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.MouseHover.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new pdf appearance - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.MouseHover.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.MouseHover.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets object which applied to an annotation when mouse button is pressed. - - The specifies the PDF template object when Pressed. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.Pressed.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.Pressed.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new pdf appearance - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.Pressed.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.Pressed.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the element. - - - - - - Represents extended appearance of the annotation. It has two states such as On state and Off state. - - - - - Internal variable to store normal appearance. - - - - - Internal variable to store appearance for pressed state. - - - - - Internal variable to store appearance for state when mouse is hovered. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Gets the normal appearance of the annotation. - - The object specifies the normal appearance of the annotation. - - - - Gets the appearance when mouse is hovered. - - The object specifies the annotation appearance when the mouse is hovered on it. - - - - Gets the pressed state annotation. - - The appearance in pressed state. - - - - Gets the element. - - - - - - Represents an attachment annotation. - - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentRectangle = new RectangleF(10, 40, 30, 30); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentRectangle, @"Input.png"); - //Set the attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin; - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentRectangle, "Input.png") - 'Set the attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents a base class for file attachment annotation. - - Class - Class - Class - - - - Annotation's appearance. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with specified bounds. - - Bounds of the annotation. - - - - Saves an annotation. - - - - - Gets or sets file name of the annotation. - - - - - Gets or sets the appearance of the annotation. - - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a font - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Create a brush - PdfBrush brush = PdfBrushes.Blue; - //Create a new pdf3d annotation. - Pdf3DAnnotation annotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create a new pdf appearance - annot.Appearance = new PdfAppearance(annotation); - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, new PointF(40, 40)); - //Add this annotation to a new page - annot.Appearance.Normal.Draw(page, new PointF(annot.Location.X, annot.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Create a brush - Dim brush As PdfBrush = PdfBrushes.Blue - 'Create a new pdf3d annotation. - Dim annotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create a new PDF appearance. - annot.Appearance = New PdfAppearance(annotation) - annot.Appearance.Normal.Graphics.DrawString("Click to activate", font, brush, New PointF(40, 40)) - 'Add this annotation to a new page - annot.Appearance.Normal.Draw(page, New PointF(annot.Location.X, annot.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Icon of the annotation. - - - - - File specification of the annotation. - - - - The bounds of the annotation. - A string value specifying the full path to the file to be embedded in the PDF file. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentBounds = new RectangleF(10, 40, 30, 30); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentBounds, @"Input.jpg"); - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentBounds As New RectangleF(10, 40, 30, 30) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentBounds, "Input.jpg") - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - The bounds of the annotation. - A string value specifying the full path to the file to be embedded in the PDF file. - A byte array specifying the content of the annotation's embedded file. - If both FileName and FileContent are specified, the FileContent takes precedence. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentBounds = new RectangleF(10, 40, 30, 30); - //Load the image as bytes - byte[] iamgeBytes = File.ReadAllBytes("Input.jpg"); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentBounds, @"Input.jpg", iamgeBytes); - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentBounds As New RectangleF(10, 40, 30, 30) - 'Load the image as bytes - Dim iamgeBytes() As Byte = File.ReadAllBytes("Input.jpg") - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentBounds, "Input.jpg", iamgeBytes) - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - The bounds of the annotation. - A string value specifying the full path to the file to be embedded in the PDF file. - The stream specifying the content of the annotation's embedded file. - If both FileName and FileContent are specified, the FileContent takes precedence. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentBounds = new RectangleF(10, 40, 30, 30); - //Load the image as stream - FileStream stream = new FileStream(@"Input.jpg", FileMode.Open); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentBounds, "Input.jpg", stream); - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentBounds As New RectangleF(10, 40, 30, 30) - 'Load the image as stream - Dim stream As New FileStream("Input.jpg", FileMode.Open) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentBounds, "Input.jpg", stream) - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes object. - - - - - Saves annotation object. - - - - - Gets or Sets the attachment's icon. - - A enumeration member specifying the icon for the annotation when it is displayed in closed state. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentRectangle = new RectangleF(10, 40, 30, 30); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentRectangle, @"Input.png"); - //Set the attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin; - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentRectangle, "Input.png") - 'Set the attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - A string value specifying the full path to the file to be embedded in the PDF file. - - - //Create a new PDF Document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentBounds = new RectangleF(10, 40, 30, 30); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentBounds, @"Input.wav"); - //Set the file name. - attachmentAnnotation.FileName = "input.wav"; - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF Document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentRectangle, "Input.png") - 'Set the file name. - attachmentAnnotation.FileName = "input.wav" - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents an annotation object with holds link on another location within a document. - - - - //Create the PDF Document - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF docLinkAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new document link annotation. - PdfDocumentLinkAnnotation documentAnnotation = new PdfDocumentLinkAnnotation(docLinkAnnotationRectangle); - //Create a new page . - PdfPage page2 = document.Pages.Add(); - //Set the pdf destination. - documentAnnotation.Destination = new PdfDestination(page2); - //Set the pdf destination location. - documentAnnotation.Destination.Location = new Point(10, 0); - //Add this annotation to a new page. - page.Annotations.Add(documentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF Document - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim docLinkAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new document link annotation. - Dim documentAnnotation As New PdfDocumentLinkAnnotation(docLinkAnnotationRectangle) - 'Create a new page . - Dim page2 As PdfPage = document.Pages.Add() - 'Set the pdf destination. - documentAnnotation.Destination = New PdfDestination(page2) - 'Set the pdf destination location. - documentAnnotation.Destination.Location = New Point(10, 0) - 'Add this annotation to a new page. - page.Annotations.Add(documentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Destination of the annotation. - - - - - Initializes new instance with specified bounds. - - The bounds of the annotation. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF docLinkAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new document link annotation. - PdfDocumentLinkAnnotation documentAnnotation = new PdfDocumentLinkAnnotation(docLinkAnnotationRectangle); - //Create a new page . - PdfPage page2 = document.Pages.Add(); - //Set the pdf destination. - documentAnnotation.Destination = new PdfDestination(page2); - //Set the pdf destination location. - documentAnnotation.Destination.Location = new Point(10, 0); - //Add this annotation to a new page. - page.Annotations.Add(documentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim docLinkAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new document link annotation. - Dim documentAnnotation As New PdfDocumentLinkAnnotation(docLinkAnnotationRectangle) - 'Create a new page . - Dim page2 As PdfPage = document.Pages.Add() - 'Set the pdf destination. - documentAnnotation.Destination = New PdfDestination(page2) - 'Set the pdf destination location. - documentAnnotation.Destination.Location = New Point(10, 0) - 'Add this annotation to a new page. - page.Annotations.Add(documentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes new instance with specified bounds and destination. - - The bounds of the annotation. - The destination of the annotation. - - - //Create the PDF document - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF docLinkAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new page . - PdfPage page2 = document.Pages.Add(); - //Create a new pdf destination. - PdfDestination destination = new PdfDestination(page2); - //Create a new document link annotation. - PdfDocumentLinkAnnotation documentAnnotation = new PdfDocumentLinkAnnotation(docLinkAnnotationRectangle, destination); - //Set the annotation text. - documentAnnotation.Text = "Document link annotation"; - //Add this annotation to a new page. - page.Annotations.Add(documentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create the PDF document - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim docLinkAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new page . - Dim page2 As PdfPage = document.Pages.Add() - 'Create a new pdf destination. - Dim destination As New PdfDestination(page2) - 'Create a new document link annotation. - Dim documentAnnotation As New PdfDocumentLinkAnnotation(docLinkAnnotationRectangle, destination) - 'Set the annotation text. - documentAnnotation.Text = "Document link annotation" - 'Add this annotation to a new page. - page.Annotations.Add(documentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Saves annotation object. - - - - - - Represents the annotation link to an external file. - - - - //Create a PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new PDF file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, @"Input.png"); - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new PDF file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store file launch action. - - - - The bounds of the annotation. - A string value specifying the full path to the file to be embedded. - - - //Create a PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new pdf file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, @"Input.png"); - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new pdf file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Saves annotation object. - - - - A string value specifying the full path to the file to be embedded. - - - //Create a PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new PDF file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, @"Input.png"); - //Get the file name. - string fileName = fileLinkAnnotation.FileName; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new PDF file link annotation. - Dim fileLinkAnnotation As PdfFileLinkAnnotation = New PdfFileLinkAnnotation(rectangle, "Input.png") - 'Gets the file name. - Dim fileName As String=fileLinkAnnotation.FileName - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(true); - - - - - - Gets or sets the action. - - The action to be executed when the annotation is activated. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new file link annotation. - PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(rectangle, "input.png"); - //Set an action to file link annotation. - PdfJavaScriptAction javaAction = new PdfJavaScriptAction("app.alert(\"You are looking at Java script action of PDF \")"); - fileLinkAnnotation.Action = javaAction; - //Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new file link annotation. - Dim fileLinkAnnotation As New PdfFileLinkAnnotation(rectangle, "input.png") - 'Set an action to file link annotation. - Dim javaAction As New PdfJavaScriptAction("app.alert(""You are looking at Java script action of PDF "")") - fileLinkAnnotation.Action = javaAction - 'Add this annotation to a new page. - page.Annotations.Add(fileLinkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the ink annotation class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //set the points - List(float) linePoints = new List(float) { 40, 300, 60, 100, 40, 50, 40, 300 }; - //Create a new ink annotation - RectangleF rectangle = new RectangleF(0, 0, 300, 400); - //Create a inkAnnotation and set the properties - PdfInkAnnotation inkAnnotation = new PdfInkAnnotation(rectangle, linePoints); - inkAnnotation.Color = new PdfColor(Color.Red); - inkAnnotation.BorderWidth = 4; - inkAnnotation.BorderStyle = PdfLineBorderStyle.Beveled; - //Add annotation to the page - page.Annotations.Add(inkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'set the points - Dim linePoints As New List(Of Single) (New Single() {40, 300, 60, 100, 40, 50, 40, 300}) - 'Create a new ink annotation - Dim rectangle As New RectangleF(0, 0, 300, 400) - 'Create a inkAnnotation and set the properties - Dim inkAnnotation As New PdfInkAnnotation(rectangle, linePoints) - inkAnnotation.Color = New PdfColor(Color.Red) - inkAnnotation.BorderWidth = 4 - inkAnnotation.BorderStyle = PdfLineBorderStyle.Beveled - 'Add annotation to the page - page.Annotations.Add(inkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicate the path of the ink annotation - - - - - Internal variable to store Border Dash. - - - - - border width - - - - - Indicate the border Dictionary - - - - - Indicat the border style - - - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Calculates control points for all the path points input given by Beizer spline curve control points calculation. - - - - - Calculates single control point for the vector input given. - - - - - Gets or sets list of the InkList value. - - The value specifies list of lines to be drawn. - - - - Gets or sets the border width of an ink annotation. - - The broder width of the annotation. - - - - Gets or sets the border style of an ink annotation. - - A enumeration member specifying the line border Style of the line annotation. - - - - Gets or sets the DashArray value - - The array of values which draws the dash array of the annotation. - - - - Represents a line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create PDF line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineAnnotation.lineBorder = lineBorder; - lineAnnotation.LineIntent = PdfLineIntent.LineDimension; - //Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt; - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond; - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default; - //Assign the line color - lineAnnotation.InnerLineColor = new PdfColor(Color.Green); - lineAnnotation.BackColor = new PdfColor(Color.Green); - //Assign the leader line - lineAnnotation.LeaderLineExt = 0; - lineAnnotation.LeaderLine = 0; - //Assign the Line caption type - lineAnnotation.LineCaption = true; - lineAnnotation.CaptionType = PdfLineCaptionType.Inline; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Create PDF line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - lineAnnotation.LineIntent = PdfLineIntent.LineDimension - 'Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default - 'Assign the line color - lineAnnotation.InnerLineColor = New PdfColor(Color.Green) - lineAnnotation.BackColor = New PdfColor(Color.Green) - 'Assign the leader line - lineAnnotation.LeaderLineExt = 0 - lineAnnotation.LeaderLine = 0 - 'Assign the Line caption type - lineAnnotation.LineCaption = True - lineAnnotation.CaptionType = PdfLineCaptionType.Inline - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates PdfLine Begin style - - - - - Indicates PdfLine End style - - - - - To Specify the Line Border - - - - - An array of four numbers specifying the starting and ending coordinates - - - - - An array of two names specifying the line ending styles - - - - - To specifying the Inner Line color color with which to fill the annotation’s line endings - - - - - To specifying the Background Color - - - - - To specifying the Leader Line Extension size - - - - - To specifying the Leader Line size - - - - - To specifying the caption in the appearance of the line, - - - - - To specifying the intent of the line annotation - - - - - To specifying Caption Type - - - - - To Specifying the LinePoints of the line annotation - - - - - Initializes new instance of class with specified points. - - The line points is to be drawn. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation and set properties. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points); - lineAnnotation.Text = "Line Annotation"; - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineAnnotation.lineBorder = lineBorder; - lineAnnotation.LineIntent = PdfLineIntent.LineDimension; - //Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt; - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond; - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default; - //Assign the line color - lineAnnotation.InnerLineColor = new PdfColor(Color.Green); - lineAnnotation.BackColor = new PdfColor(Color.Green); - //Assign the leader line - lineAnnotation.LeaderLineExt = 0; - lineAnnotation.LeaderLine = 0; - //Assign the Line caption type - lineAnnotation.LineCaption = true; - lineAnnotation.CaptionType = PdfLineCaptionType.Inline; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation and set properties. - Dim lineAnnotation As New PdfLineAnnotation(points) - lineAnnotation.Text = "Line Annotation" - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - lineAnnotation.LineIntent = PdfLineIntent.LineDimension - 'Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default - 'Assign the line color - lineAnnotation.InnerLineColor = New PdfColor(Color.Green) - lineAnnotation.BackColor = New PdfColor(Color.Green) - 'Assign the leader line - lineAnnotation.LeaderLineExt = 0 - lineAnnotation.LeaderLine = 0 - 'Assign the Line caption type - lineAnnotation.LineCaption = True - lineAnnotation.CaptionType = PdfLineCaptionType.Inline - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes new instance of class with set of points and annotation text. - - The line points to be drawn. - The line caption text of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new pag . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.DashArray = 1; - lineAnnotation.lineBorder = lineBorder; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new pag . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.DashArray = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes new instance of class with specified bounds. - - The bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation and set properties. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(new RectangleF(80, 420, 150, 420)); - lineAnnotation.Text = "Line Annotation"; - lineAnnotation.LinePoints = points; - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineAnnotation.lineBorder = lineBorder; - lineAnnotation.LineIntent = PdfLineIntent.LineDimension; - //Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt; - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond; - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default; - //Assign the line color - lineAnnotation.InnerLineColor = new PdfColor(Color.Green); - lineAnnotation.BackColor = new PdfColor(Color.Green); - //Assign the leader line - lineAnnotation.LeaderLineExt = 0; - lineAnnotation.LeaderLine = 0; - //Assign the Line caption type - lineAnnotation.LineCaption = true; - lineAnnotation.CaptionType = PdfLineCaptionType.Inline; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation and set properties. - Dim lineAnnotation As New PdfLineAnnotation(New RectangleF(80, 420, 150, 420)) - lineAnnotation.Text = "Line Annotation" - lineAnnotation.LinePoints = points - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - lineAnnotation.LineIntent = PdfLineIntent.LineDimension - 'Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Default - 'Assign the line color - lineAnnotation.InnerLineColor = New PdfColor(Color.Green) - lineAnnotation.BackColor = New PdfColor(Color.Green) - 'Assign the leader line - lineAnnotation.LeaderLineExt = 0 - lineAnnotation.LeaderLine = 0 - 'Assign the Line caption type - lineAnnotation.LineCaption = True - lineAnnotation.CaptionType = PdfLineCaptionType.Inline - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Gets line points of the annotation. - - line points. - - - - Saves an annotation. - - - - - Gets or sets whether the line annotation caption should be displayed. - - true if the line caption should be displayed, otherwise false. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Set the line caption. - lineAnnotation.LineCaption = true; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the line caption. - lineAnnotation.LineCaption = True - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the leader line - - The value specifies the leader line of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Set the leader line. - lineAnnotation.LeaderLine = 10; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the leader line. - lineAnnotation.LeaderLine = 10 - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the LeaderLineExtension. - - The value specifies the leader line extension of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Set the leader line. - lineAnnotation.LeaderLine = 10; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the leader line. - lineAnnotation.LeaderLine = 10 - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the border style of the LineAnnotation. - - A enumeration member specifying the border style for the line. - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the leader line extension. - lineAnnotation.LeaderLineExt = 10 - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the style used for the beginning of the line. - - A enumeration member specifying the begin style for the line. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the begin line style. - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the begin line style. - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Butt - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the style used for the end of the line. - - A enumeration member specifying the end style for the line. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the line ending style. - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the line ending style. - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Diamond - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the line caption text type of annotation. - - A enumeration specifying the line caption type. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Inline; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Inline - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the LineIntent of the annotation. - - A specifies the Line Intent Style is to be used in the line annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the line intent. - lineAnnotation.LineIntent = PdfLineIntent.LineDimension; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the line intent. - lineAnnotation.LineIntent = PdfLineIntent.LineDimension - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets an InnerColor of the PdfLineAnnotation. - - The which draws the outline of the inner color of the line annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the inner line color. - lineAnnotation.InnerLineColor = new PdfColor(Color.Green); - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the inner line color. - lineAnnotation.InnerLineColor = New PdfColor(Color.Green) - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the BackgroundColor of the PdfLineAnnotation. - - The which draws the border of the line annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Sets the line back color. - lineAnnotation.BackColor = new PdfColor(Color.Green); - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Sets the line back color. - lineAnnotation.BackColor = New PdfColor(Color.Green) - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the LinePoints of the PdfLineAnnotation. - - The value specifies array of the line points to be drawn. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(new RectangleF(100, 100, 100, 20)); - //Sets the LinePoints. - lineAnnotation.LinePoints = points; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(New RectangleF(100, 100, 100, 20)) - 'Sets the LinePoints. - lineAnnotation.LinePoints = points - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the border style of the line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.DashArray = 1; - lineAnnotation.lineBorder = lineBorder; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = {80, 420, 150, 420} - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annotation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.DashArray = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store border width. - - - - - Internal variable to store Border Dash. - - - - - Internal variable to store border style; - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineAnnotation.lineBorder = lineBorder; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annotation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Converts border style to string. - - The style. - - - - - Gets or sets the width of the line border. - - The width of the line border. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.DashArray = 1; - lineAnnotation.lineBorder = lineBorder; - lineAnnotation.lineBorder.BorderWidth = 4; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = {80, 420, 150, 420} - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annotation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.DashArray = 1 - lineAnnotation.lineBorder = lineBorder - lineAnnotation.lineBorder.BorderWidth = 4 - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the border style. - - The Specifies the available styles for a field border - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineAnnotation.lineBorder = lineBorder; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annotation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the line dash of the annotation - - The dash array of the line border. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - //Create pdf line border - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.BorderWidth = 1; - lineBorder.DashArray = 1; - lineAnnotation.lineBorder = lineBorder; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annotation") - 'Create pdf line border - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.BorderWidth = 1 - lineBorder.DashArray = 1 - lineAnnotation.lineBorder = lineBorder - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets the element. - - - - - - Represents the 3D annotation for a PDF document. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Create pdfFont, pdfFont style and brush - Font font = new Font("Calibri", 11, FontStyle.Regular); - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - PdfBrush brush = new PdfSolidBrush(Color.DarkBlue); - //Create 3D activation - Pdf3DActivation activation = new Pdf3DActivation(); - activation.ActivationMode = Pdf3DActivationMode.PageVisible; - activation.ShowToolbar = true; - pdf3dAnnotation.Activation = activation; - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName = "Near View"; - defaultView.CameraToWorldMatrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - //Set the 3D background - Pdf3DBackground background=new Pdf3DBackground(); - background.Color=new PdfColor(Color.Blue); - defaultView.Background = background; - //Set the projection - Pdf3DProjection projection = new Pdf3DProjection(Pdf3DProjectionType.Orthographic); - defaultView.Projection = projection; - //Set the render mode - Pdf3DRendermode renderMode = new Pdf3DRendermode(Pdf3DRenderStyle.Solid); - defaultView.RenderMode = renderMode; - //Set the lighting scheme - Pdf3DLighting lighting = new Pdf3DLighting(Pdf3DLightingStyle.Night); - defaultView.LightingScheme = lighting; - //Add the view - pdf3dAnnotation.Views.Add(defaultView); - pdf3dAnnotation.Appearance.Normal.Graphics.DrawString("Click to activate", pdfFont, brush, new PointF(40, 40)); - //Add this annotation to a new page - pdf3dAnnotation.Appearance.Normal.Draw(page, new PointF(pdf3dAnnotation.Location.X, pdf3dAnnotation.Location.Y)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Create pdfFont, pdfFont style and brush - Dim font As New Font("Calibri", 11, FontStyle.Regular) - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - Dim brush As PdfBrush = New PdfSolidBrush(Color.DarkBlue) - Dim activation As New Pdf3DActivation() - activation.ActivationMode = Pdf3DActivationMode.PageVisible - activation.ShowToolbar = True - pdf3dAnnotation.Activation = activation - Dim defaultView As New Pdf3DView() - defaultView.ExternalName = "Near View" - defaultView.CameraToWorldMatrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - 'Set the 3D background - Dim background As New Pdf3DBackground() - background.Color = New PdfColor(Color.Blue) - defaultView.Background = background - 'Set the projection - Dim projection As New Pdf3DProjection(Pdf3DProjectionType.Orthographic) - defaultView.Projection = projection - 'Set the render mode - Dim renderMode As New Pdf3DRendermode(Pdf3DRenderStyle.Solid) - defaultView.RenderMode = renderMode - 'Set the lighting scheme - Dim lighting As New Pdf3DLighting(Pdf3DLightingStyle.Night) - defaultView.LightingScheme = lighting - 'Add the view - pdf3dAnnotation.Views.Add(defaultView) - pdf3dAnnotation.Appearance.Normal.Graphics.DrawString("Click to activate", pdfFont, brush, New PointF(40, 40)) - 'Add this annotation to a new page - pdf3dAnnotation.Appearance.Normal.Draw(page, New PointF(pdf3dAnnotation.Location.X, pdf3dAnnotation.Location.Y)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store U3D. - - - - - Internal variable to store apperance. - - - - - Initializes a new instance of the class with specified bounds. - - The bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150)); - //Adds the annotation. - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150)) - 'Adds the annotation. - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - The bounds of the annotation. - The name of the sound file. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150)); - //Adds the annotation. - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Adds the annotation on a page. - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes instance. - - - - - Saves instance. - - - - - Gets the list of available views for the current 3D artwork. Read-Only. - - The specifies the collection of PDF 3D views. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - Pdf3DView defaultView = new Pdf3DView(); - defaultView.ExternalName = "Near View"; - defaultView.CameraToWorldMatrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - //Add views - pdf3dAnnotation.Views.Add(defaultView); - //Get the views - Pdf3DViewCollection viewCollection = pdf3dAnnotation.Views; - //Add the annotation - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - Dim defaultView As New Pdf3DView() - defaultView.ExternalName = "Near View" - defaultView.CameraToWorldMatrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - 'Add views - pdf3dAnnotation.Views.Add(defaultView) - 'Get the views - Dim viewCollection As Pdf3DViewCollection = pdf3dAnnotation.Views - 'Add the annotation - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the default view. - - The default view of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - pdf3dAnnotation.DefaultView = 0; - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - pdf3dAnnotation.DefaultView = 0 - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the code to execute when the 3D artwork is instantiated. - JavaScript code to be executed when the 3D artwork is instantiated. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - pdf3dAnnotation.OnInstantiate = "Near View"; - //Create a pdf 3d view. - Pdf3DView defaultView = new Pdf3DView(); - defaultView.CameraToWorldMatrix = new float[] { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f }; - defaultView.CenterOfOrbit = 131.695f; - pdf3dAnnotation.Views.Add(defaultView); - //Adds the annotation. - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - pdf3dAnnotation.OnInstantiate = "Near View" - 'Create a pdf 3d view. - Dim defaultView As New Pdf3DView() - defaultView.CameraToWorldMatrix = New Single() { -0.382684f, 0.92388f, -0.0000000766026f, 0.18024f, 0.0746579f, 0.980785f, 0.906127f, 0.37533f, -0.19509f, -100, -112.432f, 45.6829f } - defaultView.CenterOfOrbit = 131.695f - pdf3dAnnotation.Views.Add(defaultView) - 'Adds the annotation. - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the activation options for the annotation. - - The specifies activation states for the annotation. - - Defines the times at which the annotation should be activated and deactivated and the state of the 3D artwork instance at those times. - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Creates a new pdf3d activation. - Pdf3DActivation activation = new Pdf3DActivation(); - activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation; - activation.ShowToolbar = false; - pdf3dAnnotation.Activation = activation; - //Adds the annotation. - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Creatas a new pdf3d actviation. - Dim activation As New Pdf3DActivation() - activation.ActivationMode = Pdf3DActivationMode.ExplicitActivation - activation.ShowToolbar = False - pdf3dAnnotation.Activation = activation - 'Adds the annotation. - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - Filename with Full path - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf3d annotation. - Pdf3DAnnotation pdf3dAnnotation = new Pdf3DAnnotation(new RectangleF(10, 50, 300, 150), @"Input.u3d"); - //Gets the filename. - string fileName = pdf3dAnnotation.FileName; - //Adds the annotation. - page.Annotations.Add(pdf3dAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf3d annotation. - Dim pdf3dAnnotation As New Pdf3DAnnotation(New RectangleF(10, 50, 300, 150), "Input.u3d") - 'Gets the filename. - Dim fileName As String = pdf3dAnnotation.FileName - 'Adds the annotation. - page.Annotations.Add(pdf3dAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Base class for annotation objects. - - - - - Color of the annotation. - - - - - Border of the annotation. - - - - - Bounds of the annotation. - - - - - Parent page of the annotation. - - - - - Text of the annotation. - - - - - NAnootation's style flags. - - - - - Internal variable to store dictionary. - - - - - Creates new annotation object. - - - - - Creates new annotation object with the specified bounds. - - Bounds of the annotation. - - - - Sets related page of the annotation. - - - - - - Sets the location. - - The location. - - - - Sets the size. - - The size. - - - - Initializes annotation object. - - - - - Handles the BeginSave event of the Dictionary. - - The source of the event. - The instance containing the event data. - - - - Saves an annotation. - - - - - Gets or sets the background of the annotation�s icon when closed. - The title bar of the annotation�s pop-up window. - The border of a link annotation. - - The color. - - - - Gets or sets annotation's border. - - - - - Gets or sets annotation's bounds. If this property is not set bounds are calculated automatically - based on Location property and content of annotation. - - - - - Gets or sets location of the annotation. - - - - - Gets or sets size of the annotation. - - - - - Gets a page which this annotation is connected to. - - - - - Gets or sets content of the annotation. - - - - - Gets or sets annotation flags. - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - It's a base class for all annotations - - - - - Internal variable to store dictinary. - - - - - Cross table of the document; - - - - - Collection of the descend annotation. - - - - - Initializes a new instance of the class. - - Note that the Type field shouldn't be generated. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Creates and adds an annotation. - - The title of the new annotation. - The annotation created. - - - - Updates all outline dictionary fields. - - - - - Gets an instance at the specified index. Read-Only. - - The object at the specified index. - - - - Gets the sub items. - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the cross table. - - - - - Represents the PDF text annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF textAnnotationBounds = new RectangleF(10, 40, 100, 30); - //Create a new line annotation. - PdfFreeTextAnnotation textAnnotation = new PdfFreeTextAnnotation(textAnnotationBounds); - //Set the text and font - textAnnotation.MarkupText = "Text Annotation"; - textAnnotation.Font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Set the line caption type. - textAnnotation.AnnotationIntent = PdfAnnotationIntent.FreeTextCallout; - //Add this annotation to a new page. - page.Annotations.Add(textAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim textAnnotationBounds As New RectangleF(10, 40, 100, 30) - 'Create a new line annotation. - Dim textAnnotation As New PdfFreeTextAnnotation(textAnnotationBounds) - 'Set the text and font - textAnnotation.MarkupText = "Text Annotation" - textAnnotation.Font = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Set the line caption type. - textAnnotation.AnnotationIntent = PdfAnnotationIntent.FreeTextCallout - 'Add this annotation to a new page. - page.Annotations.Add(textAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the PdfFreeTextAnnotation class. - - - - - Initializes a new instance of the PdfFreeTextAnnotation class with specified bounds. - - The bounds of the annotation. - - - - Initializes Annotation object. - - - - - Saves an Text Markup Annotation . - - - - - Gets or sets the line ending style of the text annotation. - - The object selects the different line ending styles of the annotation. - - - - Gets or sets the intent of the text annotation - - The object sets the annotation intent. - - - - Gets or sets the markup text of the text annotation - - The string value which contains the markup text of the annotation. - - - - Gets or sets the font of the text annotation - ` - The object which defines the annotation text font. - - - - Gets or sets the points array to be called out the lines. - - The array of points to call out lines. - - - - - - Represents a PDF circle annotation - - - - - Used to represent the border style of the circle annotation. - - - - - Initialise the new instance of the circle annotation with bounds and text. - - Used to represent the bounds of the annotation - Used to represents the text of the annotation - - - - Initialise the new instance of the circle annotation with bounds. - - Used to represent the bounds of the annotation - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Get or set the border style of the square annotaion. - - - - - Represents a PDF ellipse annotation - - - - - Initialise the new instance of the ellipse annotation with bounds and text. - - Used to represent the bounds of the annotation - Used to represents the text of the annotation - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Represents a Polygon annotation. - - - - - Used to represent the border style of the circle annotation. - - - - - An array of four numbers specifying the starting and ending coordinates - - - - - To specifying the Leader Line Extension size - - - - - Initialise the new instance of the polygon annotation with bounds and text. - - Used to represent the poloygon points - Used to represents the text of the annotation - - - - Initializes annotation object. - - - - - Gets line points of the annotation. - - line points. - - - - Saves an annotation. - - - - - Get or sets the border style of the square annotaion. - - - - - Gets or sets Leading Line Extension, Default value is 0 - - - - - Represents a PolyLine annotation. - - - - - To Specify the Border - - - - - An array of four numbers specifying the starting and ending coordinates - - - - - To specifying the Leader Line Extension size - - - - - An array of two names specifying the line ending styles - - - - - Indicates PdfLine Begin style - - - - - Indicates PdfLine End style - - - - - Initialise the new instance of the poly line annotation with bounds and text. - - Used to represent the poloygon points - Used to represents the text of the annotation - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Get or sets the border style of the square annotaion. - - - - - Gets or sets Leading Line Extension, Defacult value is 0 - - - - - Gets or sets the style used for the beginning of the line, Default value is None - - - - - Gets or sets the style used for the ending of the line, Default value is None - - - - - Represents a PDF rectangle annotation - - - - - Represents a PDF square annotation - - - - - Used to represent the border style of the square annotation. - - - - - Initialise the new instance of the square annotation with bounds and text. - - Used to represent the bounds of the annotation - Used to represents the text of the annotation - - - - Initialise the new instance of the square annotation with bounds. - - Used to represent the bounds of the annotation - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Get or set the border style of the square annotaion. - - - - - Initialise the new instance of the rectangle annotation with bounds and text. - - Used to represent the bounds of the annotation - Used to represents the text of the annotation - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Represents the XFA Button Field - - - - - Represents text field in the XFA form. - - - - - Convet XFA text alignment to PdfTextAlignment. - - - - - - - Gets or sets the name. - - The name. - - - - Gets or sets the margins of the field. - - - - - Gets or sets the visibility of the field - - - - - Set Margins, font, tooltip and alignments. - - - - - - Get the size of the field. - - - - - - Get the fields rotation angle. - - - - - - Gets or sets width of the field - - - - - Gets or sets height of the field - - - - - Gets or sets the Border - - - - - Gets or sets the tool tip - - - - - Gets or sets the readonly - - - - - Gets or sets the font - - - - - Gets or sets the fore color of the field - - - - - Gets or sets the horizontal alignment of the field - - - - - Gets or sets the vertical alignment of the field - - - - - Gets or sets the rotation angle - - - - - Initialize the instance of the class. - - name of the field - width and height of the field - - - - Initialize the instance of the class. - - name of the field - field width - field height - - - - Save button field - - - - - - - Save the acroform button field - - - - - - - - - Clone. - - - - - - Gets or sets the hightlight mode of the button field - - - - - Gets or sets the mouse rollover text - - - - - Gets or sets the mouse down text of the button field - - - - - Gets or sets the content of the button field - - - - - Represents the Caption of XFA fields - - - - - Initialize the instance of the caption - - - - - save the fields caption text - - - - - - - - - Measure the caption string - - - - - - Measure the caption string - - - - - - - Clone the object - - - - - - Read the existing node - - - - - - save the existing node - - - - - - set the new attribute for existing node - - - - - - - - convert string to point value - - - - - - - read the font informations - - - - - - Gets or sets the caption text - - - - - Gets or sets the font - - - - - Gets or sets the horizontal alignment of the caption - - - - - Gets or sets the vertical alignment of the caption - - - - - Gets or sets the position of the caption - - - - - Gets or sets the forecolor of the caption - - - - - Gets or sets the width of the caption - - - - - Represents the border of the XFA fields - - - - - Initialize the instance of class. - - - - - Initialize the instance of class. - - Border color. - - - - Get the border brush - - - - - - - Get the border pen - - - - - - read the node - - - - - - save the existing node - - - - - - create a new edge node - - - - - - - Set the new attribute for existing node - - - - - - - - Gets or sets the fill color of the border - - - - - Gets or sets handedness of a line or edge - - - - - Gets or sets the visibility of the border - - - - - Gets or sets the left edge - - - - - Gets or sets the right edge - - - - - Gets or sets the top edge - - - - - Gets or sets the bottom edge - - - - - Gets or sets the border color - - - - - Gets or sets the border width - - - - - Gets or sets the border style - - - - - Represents the Edge of the XFA border - - - - - read the existing node - - - - - - - Save the existing node - - - - - - Set new attribute - - - - - - - - clone the object - - - - - - Gets or sets the border color - - - - - Gets or sets the visibility - - - - - Gets or sets the thickness of the edge - - - - - Gets or sets the border style - - - - - Represents the XFA corner - - - - - Gets or sets the shape of the corner - - - - - Specifies whether the corner appears convex or is inverted and appears concave. - - - - - Gets or sets the border color - - - - - Gets or sets the visibility - - - - - Gets or sets the thickness - - - - - Gets or sets the radius of the corner - - - - - Gets or sets the border style - - - - - Represents the XFA brush - - - - - Represents the XFA solid brush. - - - - - Initialize the instaces of the class. - - - - - - Gets or sets the solid brush color - - - - - Represents the XFA linear brush - - - - - iniatilaize the linear brush - - - - - iniatilaize the linear brush - - - - - Gets or sets the starting color - - - - - Gets or sets the ending color - - - - - Gets or sets the direction of the color transition - - - - - Represents the XFA Radial brush - - - - - initialize the radial brush - - - - - - initialize the radial brush - - - - - - Gets or sets the starting color - - - - - Gets or sets the ending color - - - - - Gets or set the direction of the color transition - - - - - The number of degrees by which the field should be rotated clockwise when displayed or printed. - - - - - Indicates 0 degree rotation angle. - - - - - Indicates 90 degree rotation angle. - - - - - Indicates 180 degree rotation angle. - - - - - Indicates 270 degree rotation angle. - - - - - Specifies the available type for a XFA form. - - - - - The content of the element is flowed in a direction proceeding from left to right and top to bottom. - - - - - The content of the element is flowed in a direction proceeding from top to bottom. - - - - - Specifies the corner shapes - - - - - Squared corner - - - - - Rounded corner - - - - - Specifies the direction of the color transition. - - - - - The start color appears at the left side of the object and transitions into the end color at the right side. - - - - - The start color appears at the right side of the object and transitions into the end color at the left side. - - - - - The start color appears at the bottom side of the object and transitions into the end color at the top side. - - - - - The start color appears at the top side of the object and transitions into the end color at the bottom side. - - - - - Specifies the direction of the color transition. - - - - - The start color appears at the center of the object and transitions into the end color at the outer edge. - - - - - The start color appears at the outer edge of the object and transitions into the end color at the center. - - - - - Represents the visibility of the XFA field - - - - - Participate in interaction, layout, and rendering. - - - - - Participate in interaction but not layout or rendering - - - - - Do not participate in interaction, layout, or rendering - - - - - Participate in interaction and layout but not rendering. - - - - - Specifies the caption text position of fields - - - - - Left side of the field - - - - - Right side of the field - - - - - Top of the field - - - - - Bottom of the field - - - - - Specifies Horizontal alignment - - - - - Specifies the element is aligned to Left. - - - - - Specifies the element is aligned to Center. - - - - - Specifies the element is aligned to Right. - - - - - Specifies the element is aligned with Justify - - - - - Spread-justify all lines to fill the available region. - - - - - Specifies the Vertical alignment - - - - - Specifies the element is aligned to Top. - - - - - Specifies the element is aligned to Middle. - - - - - Specifies the element is aligned to Bottom. - - - - - Represents the Appearance of the circle Field - - - - - represents the circle shape - - - - - represents the ellipse - - - - - represents the arc - - - - - Date pattern - - - - - Appears the Default value eg: Nov 13, 2015 - - - - - eg:11/13/2015. - - - - - eg: Nov 13, 2015. - - - - - November 13,2015. - - - - - Thursday, November 12, 2015. - - - - - 11/13/15. - - - - - Nov 13,2015. - - - - - November 13,2015. - - - - - Friday, November 13, 2015. - - - - - 11/13/2015. - - - - - 11/13/15. - - - - - 11/13/2015. - - - - - 15/11/13. - - - - - 2015-11-13. - - - - - 13-Nov-15. - - - - - Friday, November 13, 2015 - - - - - November 13,15. - - - - - Friday, 13 November, 2015. - - - - - 13 November, 2015. - - - - - November 2015. - - - - - Time patterns - - - - - default value - - - - - short - - - - - Medium - - - - - Long - - - - - full - - - - - eg:1:30 PM - - - - - eg:1:30:30 PM - - - - - eg:1:30 PM GMT+05:30 - - - - - eg:01:30:30 PM - - - - - eg:13:30:30 - - - - - eg:13:30:30 - - - - - Represents the date and time patterns - - - - - default date time pattern - - - - - short - - - - - Medium - - - - - Loing - - - - - full - - - - - Represent the datetime field format - - - - - Represents date only - - - - - Represents time onluy - - - - - Represents date and times - - - - - Referesents XFA checkBox style - - - - - default checked state. - - - - - A check mark is used for the checked state. - - - - - A circle is used for the checked state. - - - - - A cross is used for the checked state. - - - - - A diamond symbol is used for the checked state. - - - - - A square is used for the checked state. - - - - - A star is used for the checked state. - - - - - Represent XFA checkBox shape - - - - - Squred checkBox - - - - - Rounded checkBox - - - - - Represent XFA Border style - - - - - No Border - - - - - A solid rectangle surrounding. - - - - - A dashed rectangle surrounding. - - - - - A dotted rectangle surrounding. - - - - - A dashed dotted rectangle surrounding. - - - - - A dashed dotted dotted rectangle surrounding. - - - - - A lowered rectangle surrounding. - - - - - Raised rectangle surrounding. - - - - - Etched rectangle surrounding. - - - - - Embossed rectangle surrounding. - - - - - Represents the handness of the XFA border - - - - - Position the displayed line immediately to the right of the underlying vector. - - - - - Position the displayed line immediately to the left of the underlying vector. - - - - - Center the displayed line on the underlying vector. - - - - - Represents the Pdf XFA numeric filed types - - - - - Represents the floating values - - - - - Represents the decimal values - - - - - Represents the integer values - - - - - Represents the currency values - - - - - Represents the persentage values - - - - - Enumerator that implements XFA page orientations. - - - - - Portrait orientation. - - - - - Landscape orientation. - - - - - Represents the XFA document type - - - - - Preserved the XFA fields only. - - - - - Preserved both the XFA and Acroform fields. - - - - - Represents the text box type - - - - - Represents checkbox field of the XFA form. - - - - - Initializes a new instance of the class. - - Name of the check box field. - Size of the check box field. - - - - Initializes a new instance of the class. - - Name of the check box field - Size of the check box field - Checked state of the check box - - - - Initializes a new instance of the class. - - Name of the check box field. - Check box field width. - Check box field height. - - - - Initializes a new instance of the class. - - Name of the check box field. - Check box field width. - Check box field height. - Checked state of the field. - - - - Save checkbox. - - - - - - Save acrform checkbox field. - - - - - - - - - Get the acroform checkbox style. - - - - - - - Clone. - - - - - - Gets or sets the caption of the field - - - - - Gets or sets a value indicating whether this is checked or not - - - - - Gets or sets the checked Style of the check box field - - - - - Gets or sets the appearance of the check box field - - - - - Gets or sets the check box size - - - - - Initialize a new instance of the class. - - Name of the field - size of the field - - - - Initialize a new instance of the class. - - Name of the field. - width of the field. - height of the field. - - - - Save the circle field - - - - - - Draw the circle to PDF document. - - - - - - - Get the fields rotation angle. - - - - - - Get the size of the field. - - - - - - Clone - - - - - - Gets or sets the border of the circle - - - - - Gets or sets the tool tip of the circle - - - - - Gets or sets the start angle of the arc - - - - - Gets or sets the sweep angle of the Arc - - - - - Gets or sets the apperance of the circle field - - - - - Gets or sets the rotation angle - - - - - Gets or sets width of the field - - - - - Gets or sets height of the field - - - - - Initialize a new instance of the class. - - name of the field. - Size of the field. - - - - Initialize a new instance of the class. - - name of the field. - Size of the field. - Field items. - - - - Initialize a new instance of the class. - - name of the field. - Width of the field. - Height of the field. - - - - Initialize a new instance of the class. - - name of the field. - Width of the field. - Height of the field. - Field items. - - - - Save combo box field. - - - - - - Save the acroform combo box field. - - - - - - - - - set the size of the Choice list field - - - - - Clone. - - - - - - Gets or sets the padding - - - - - Gets or set the combo box items. - - - - - Gets or sets the caption of the field - - - - - Gets or sets the field items - - - - - Gets or sets the selected index - - - - - Gets or sets the selected value - - - - - Gets or sets the text entry - - - - - Initialize a new instance of the class. - - Name of the field. - Size of the field. - - - - Initialize a new instance of the class. - - Name of the field. - Width of the field. - Height of the field. - - - - Save the Date time field. - - - - - - Save the acroform text box field. - - - - - - - - - Set size - - - - - set the date Pattern - - - - - - Clone. - - - - - - Gets or sets the padding - - - - - Gets or sets the caption of the field - - - - - Gets or Sets the value of date time field - - - - - Gets or sets the date format - - - - - Gets or sets the date time field format - - - - - Gets or sets the time patterns - - - - - Gets or sets the validations - - validations doesn't applyed to dateTime type - - - - Represents the XFA document - - - - - Save XFA form. - - - - - - Save the document - - - - - - Save the document - - The stream where to save the document. - /// The HTTP response stream object. - - - - Save the document - - The name of the document. - The HTTP response stream object. - The type of the reading document. - - - - save the document - - - - - - Close all the document - - - - - Clone - - - - - Gets or set page settings. - - - - - Get the XFA page - - - - - Gets or sets the XFA form - - - - - Gets or sets the form name. - - - - - Represents field collection in the XFA form. - - - - - Adds the specified field. - - The field item which is added in the PDF XFA form. - - - - Remove the field. - - - - - - Remove field at the specified index. - - - - - - Clear all the fields. - - - - - Insert field to the specified index. - - - - - - - Determines the index of a specific field. - - - - - - - Clone the fields collection - - - - - - Get the field with the specific index. - - index. - PdfXfaField. - - - - Get the fields count. - - - - - Represents interactive XFA form of the Pdf document. - - - - - Reperesents the XFA form type - - - - - Represents the XFA form field collections - - - - - Data set writer of the XFA - - - - - Represents the field count - - - - - Repersents the current document - - - - - Image array of the XFA - - - - - Repersents the boder of the form - - - - - Represents the width of the form - - - - - Represents the readonly flag of the form - - - - - Represents the xfa page - - - - - Represents the PDF page - - - - - Parent form - - - - - Form save type - - - - - Represents the PDF xfa document - - - - - Represents the start point. - - - - - Current position of the form - - - - - Maximum size of the field - - - - - Name of the subform. - - - - - Acroform field collection. - - - - - suform names - - - - - field names. - - - - - Size of the form. - - - - - maximum size of the current field. - - - - - Represents the current position of the form. - - - - - Represents the page size. - - - - - Represents the subform's current height. - - - - - Represents the background heigh. - - - - - Represents the background count. - - - - - Dublicate of the xfa page. - - - - - Represents the subform readOnly property. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - name of the form. - - - - Initializes a new instance of the class. - - - - - - - Initializes a new instance of the class. - - - Type of the XFA form - - - - Initializes a new instance of the class. - - - Type of the XFA form - - - - Initializes a new instance of the class. - - Type of the XFA form - - - - Initializes a new instance of the class. - - - - - - - - save XFA form - - - - - - Save the top most form - - - - - - Add the second level Parent form - - - - - - Draw the edge - - - - - - - - - Get pens dash style. - - - - - - - Add all the subforms - - - - - - - Get the field names - - - - - - - Get the sub form names - - - - - - - Add all the subforms - - - - - - Break the subform to new page. - - - - - - - Get the subforms background height. - - - - - - Draw the background color. - - - - - - Add a PDF page - - - - - - - Set the current pont - - - - - - Set the background height. - - - - - - - Find the subform width and height - - - - - - Write unsupported message in Dynamic XFA. - - - - - Clone. - - - - - - Gets or sets the XFA flow direction - - - - - Gets or sets the border - - - - - Gets the fields. - - - - - Gets or sets readonly - - - - - Gets or sets width of the form - - - - - Gets or set the XFA Page. - - - - - Represents image field in the XFA form. - - - - - Initializes a new instance of the class. - - Image name. - Image path. - - - - Initializes a new instance of the class. - - Image name. - Image path. - Image size. - - - - Initializes a new instance of the class. - - Image name. - Image path. - Width. - Height. - - - - Initializes a new instance of the class. - - Image name. - Image - - - - Initializes a new instance of the class. - - Image name. - Image. - Width. - Height. - - - - Initializes a new instance of the class. - - Image name. - Image. - Image size. - - - - Initializes a new instance of the class. - - Image name. - PDF bitmap - - - - Initializes a new instance of the class. - - Image name. - Image stream - - - - Initializes a new instance of the class. - - Image name. - Image stream. - Size of the image. - - - - Initializes a new instance of the class. - - Image name. - Image to be drawn in XFA form. - Image width - Image height - - - - initialize a new instance of the class - - - - - - - Save the image field. - - - - - - - - Save the image to the PDF document. - - - - - - - Get the fields rotation angle. - - - - - - Clone. - - - - - - Gets or sets the image stream - - - - - Gets or sets the image size - - - - - Bounds of the image - - - - - Get or set the subform name - - - - - Gets or sets the rotation angle - - - - - Represents the line of the XFA form - - - - - Initializes a new instance of the class. - - Start location of the Line. - End location of the Line. - Thickness of the Line. - - - - Save the line. - - - - - - Draw the line in PDF document. - - - - - - - Get the size of the field. - - - - - - Clone. - - - - - - Gets or sets the line color - - - - - Gets or sets the thickness of the line - - - - - Initialize a new instance of the class. - - Field name. - Field size. - - - - Initialize a new instance of the class. - - Field name. - Field size. - Field items. - - - - Initialize a new instance of the class. - - Field name. - Field width. - Field height. - - - - Initialize a new instance of the class. - - Field name. - Field width. - Field height. - Field items. - - - - Save the list box field. - - - - - - Save the acroform list box. - - - - - - - - - set the size of the list field - - - - - Clone. - - - - - - Gets or sets the padding - - - - - Gets or set the list box items. - - - - - Gets or sets the caption of the field - - - - - Gets or sets the list box items - - - - - Gets or sets the selected index - - - - - Gets or sets the selected value - - - - - Gets or sets multiselect of the list box field - - - - - Represents the List box selection mode. - - - - - Single item selection mode. - - - - - Multiple item selection mode. - - - - - Initializes a new instance of the class. - - Field name. - Field size. - - - - Initializes a new instance of the class. - - Field name. - Field width. - Field height. - - - - Save the numeric field. - - - - - - Save acroform textbox field. - - - - - - - - - set the size of the numeric field - - - - - - Clone. - - - - - - Gets or set the Culture. - - - - - Gets or sets the caption of the field - - - - - Gets or sets the padding of the field - - - - - Gets or sets the numeric field value - - - - - Gets or sets the comb length - - - - - Gets or sets the numeric field types - - - - - Gets or sets the pattern string - - - - - Represents the PDF Xfa Section. - - - - - Save the page. - - - - - - Get the content area - - - - - - Represents the XFA section collection - - - - - Add new XFA page - - XFA page object - - - - Gets the page using index value. - - page index. - PdfXfaPage - - - - Represents the XFA page settings. - - - - - Gets or sets the XFA page orientation - - - - - Gets or sets the XFA page size - - - - - Gets or set margins. - - - - - Represents the XFA radio button field - - - - - Initializes a new instance of the class. - - Name of the radio button field. - Size of the radio button field. - - - - Initializes a new instance of the class. - - Name of the radio button field. - Width of the radio button field. - Height of the radio button field. - - - - Save the radio button field. - - - - - - Set Margins, font, tooltip and alignments. - - - - - - Save acroform radio button field. - - - - - - - - Convert XFA check box style to acroform check box style. - - - - - - - Clone. - - - - - - Gets or sets a value indicating whether this is checked or not. - true if checked; otherwise, false. - - - - - Gets or sets the caption of the field - - - - - Gets or sets the checked style of the radio button - - - - - Gets or sets the appearance of the radio button - - - - - Gets or sets the size of the radio button - - - - - Initalize the instance of the PdfXFARadioButtonItemGroup class - - RadioButton field - - - - Save the radio button Group - - - - - - Clone. - - - - - - Gets or sets the readonly - - - - - Gets or sets the radio list items - - - - - Gets or sets the Layout Type - - - - - Initialize a new instance of the class. - - Field name. - Field size. - - - - Initialize a new instance of the class. - - Field name. - Field width. - Field height. - - - - Save the rectangle field. - - - - - - Draw the rectangle field to PDF document. - - - - - - - Get the fields rotation angle. - - - - - - Get the size of the field. - - - - - - Clone. - - - - - - Gets or sets the border - - - - - Gets or sets the tool tip - - - - - Gets or sets the cornor shaps - - - - - Gets or sets the rotation angle - - - - - Gets or sets width of the field - - - - - Gets sets height of the field - - - - - Represents textbox field in the XFA form. - - - - - Initializes a new instance of the class. - - Name of the text box field. - Minimum size of the text box field. - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum size of the text box - Default value of the text box - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum size of the text box - Default value of the text box - Text box field type - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum size of the text box - Text box field type - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum width of the text box field. - Minimum height of the text box field. - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum width of the text box field. - Minimum height of the text box field. - Default value of the text box - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum width of the text box field. - Minimum height of the text box field. - ext box field type - - - - Initialize a new instance of the class. - - Name of the text box field - Minimum width of the text box field. - Minimum height of the text box field. - Default value of the text box - Text box field type - - - - Save the text box field. - - - - - - Save the text box field. - - - - - - Save the acroform textbox field. - - - - - - - - - set the size of the textbox field - - - - - - Get the size of the text box field. - - - - - - Clone. - - - - - - Gets or sets the caption of the field - - - - - Gets or sets the field type of the text box - - - - - Gets or sets the padding - - - - - Gets or sets minimum height of the text box, this will be expandable - - - - - Gets or sets the minimum width of the text box, this will be expandable - - - - - Gets or sets maximum height of the text box field - - - - - Gets or sets maximum width of the text box field - - - - - Gets or sets the value of the text box field - - - - - Gets or sets the character limit - - - - - Gets or sets the comb cell - - - - - Gets or sets the password character - - - - - Represents text field in the XFA form. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - value of the text element - - - - Initialize a new instance of the class. - - alue of the text element - text element width. - text element height. - - - - Initializes a new instance of the class. - - value of the text element - Font of the text element - - - - Initializes a new instance of the class. - - value of the text element - Font of the text element - - - - Save the text element. - - - - - - Draw the tex to the PDF document. - - - - - - - Get the fields rotation angle. - - - - - - Get the size of the field. - - - - - - Clone. - - - - - - Gets or sets the Horizontal alignment - - - - - Gets or sets the vertical alignment - - - - - Gets or sets the text - - - - - Gets or sets the rotation angle - - - - - Gets or sets the font - - - - - Gets or sets the fore color of the field - - - - - Gets or sets width of the TextBox - - - - - Gets or sets height of the TextBox - - - - - Writes the XFA document templates - - - - - - - Writes the preamble dictionary - - - - - - Start the datasets - - - - - - End element of the datasets - - - - - - Writes the postable dictionary - - - - - - Writes configuration section - - - - - - Writes the XFA UI tag - - - - - - - Writes the XFA UI tag - - - - - - - - - Writes the XFA UI tag - - - - - - - - - Writes the XFA UI tag. - - - - - - - - - - Writes the XFA field value tag. - - - - - - Write the XFA field value with numeric - - - - - - - Writes the XFA field margins - - - - - - - - - Draw the margin - - - - - - write the font info - - - - - - - Writes the font information - - - - - - - - Write the width and height of the fields - - - - - - - - - Write the width and height of the fields - - - - - - - - - - - Draws the XFA line value - - - - - - - Writes the caption of the field - - - - - - Writes the items of fields - - - - - - Writes the items of fields - - - - - - - Writes the list of items - - - - - - - Writes the toolTip of fields - - - - - - Draw's the fill color of the field - - - - - - Writes the location of the field - - - - - - Write the paragraph alignments - - - - - - - Write patterns - - - - - - Draws the edges of the border - - - - - - - Draws a field Border - - - - - - Draw the button field fill color and border - - - - - - - Draws the edge - - - - - - Draws the corner - - - - - - Drw the color - - - - - - Draws the stroke - - - - - - Draws the fill color - - - - - - Draws the radial brush - - - - - - Draws the linear brush - - - - - - Set rotation presence and readOnly - - - - - - - - Get the date pattern string. - - - - - - - Get the time pattern string. - - - - - - - Get the date time pattern string. - - - - - - - - Get date pattern. - - - - - - - Get time pattern. - - - - - - - Represents an named destination which goes to a destination in the current document. - - - - - Internal variable to store named destination's destination. - - - - - Internal variable to store dictinary. - - - - - Internal variable to store cross table. - - - - - Initializes a new instance of the class. - - The title to be displayed. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - - Gets or sets the named destination title. - - A string value which contains the named destination title - - - - Gets the dictionary. - - The dictionary. - - - - Gets the cross table. - - The crossTable. - - - - Gets the element. - - - - - - Implements a collection of named destinations in the document. - - - - - Collection of the named destinations. - - - - - Internal variable to store dictinary. - - - - - Cross table of the document; - - - - - It counts the index of the named destination - - - - - Array of the named destinations. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Creates and adds a named destination. - - The new named destination to be added to the collection. - PdfNamedDestination - - - //Create a new document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create document named destinations. - PdfNamedDestination namedDestination = new PdfNamedDestination("Page 1"); - //Set the destination page. - namedDestination.Destination = new PdfDestination(page); - //Set the destination location. - namedDestination.Destination.Location = new PointF(20, 20); - //Add the named destination. - document.NamedDestinationCollection.Add(namedDestination); - //Save and close the PDF document. - document.Save("NamedDestination.pdf"); - document.Close(true); - - - 'Create a new document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create document named destinations. - Dim namedDestination As PdfNamedDestination = New PdfNamedDestination("Page 1") - 'Set the destination page. - namedDestination.Destination = New PdfDestination(page) - 'Set the destination location. - namedDestination.Destination.Location = New PointF(20, 20) - 'Add the named destination. - document.NamedDestinationCollection.Add(namedDestination) - 'Save and close the PDF document. - document.Save("NamedDestination.pdf") - document.Close(True) - - - - - - Determines whether the specified named destinations presents in the collection. - - The named destinations. - - true if the specified named destinations is in the collection; - otherwise, false. - - - - //Create a new document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create document named destinations. - PdfNamedDestination namedDestination = new PdfNamedDestination("Page 1"); - //Set the destination page. - namedDestination.Destination = new PdfDestination(page); - //check whether the specified named destination present in the collection - document.NamedDestinationCollection.Contains(namedDestination); - //Save and close the PDF document. - document.Save("NamedDestination.pdf"); - document.Close(true); - - - 'Create a new document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create document named destinations. - Dim namedDestination As PdfNamedDestination = New PdfNamedDestination("Page 1") - 'Set the destination page. - namedDestination.Destination = New PdfDestination(page) - 'Set the destination location. - namedDestination.Destination.Location = New PointF(20, 20) - 'check whether the specified named destination present in the collection - Dim isNamedDestinationContained As Boolean = document.NamedDestinationCollection.Contains(namedDestination) - 'Save and close the PDF document. - document.Save("NamedDestination.pdf") - document.Close(True) - - - - - - Remove the specified named destination from the document. - - The title of the named destination. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf"); - //Get all the named destinations. - PdfNamedDestinationCollection namedCollection = loadedDocument.NamedDestinationCollection; - //Remove named destination by named destination name. - namedCollection.Remove("Page 1"); - //Remove named destination by index. - namedCollection.RemoveAt(1); - //Save and close the document. - loadedDocument.Save("NamedDestination.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("input.pdf") - 'Get all the named destinations. - Dim namedCollection As PdfNamedDestinationCollection = loadedDocument.NamedDestinationCollection - 'Remove named destination by named destination name. - namedCollection.Remove("Page 1") - 'Remove named destination by index. - namedCollection.RemoveAt(1) - 'Save and close the document. - loadedDocument.Save("NamedDestination.pdf") - loadedDocument.Close(True) - - - - - - Remove the specified named destination from the document. - - The title of the named destination. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf"); - //Get all the named destinations. - PdfNamedDestinationCollection namedCollection = loadedDocument.NamedDestinationCollection; - //Remove named destination by named destination name. - namedCollection.Remove("Page 1"); - //Remove named destination by index. - namedCollection.RemoveAt(1); - //Save and close the document. - loadedDocument.Save("NamedDestination.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("input.pdf") - 'Get all the named destinations. - Dim namedCollection As PdfNamedDestinationCollection = loadedDocument.NamedDestinationCollection - 'Remove named destination by named destination name. - namedCollection.Remove("Page 1") - 'Remove named destination by index. - namedCollection.RemoveAt(1) - 'Save and close the document. - loadedDocument.Save("NamedDestination.pdf") - loadedDocument.Close(True) - - - - - - Removes all the named destination from the collection. - - - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get the Named destinations - PdfNamedDestinationCollection namedCollection = loadedDocument.NamedDestinationCollection; - //Remove all the named destination form the collection - namedCollection.Clear(); - //Save and close the PDF document - loadedDocument.Save("NamedDestination.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get the Named destination - Dim namedCollection As PdfNamedDestinationCollection = loadedDocument.NamedDestinationCollection - 'Remove all the named destination form the collection - namedCollection.Clear() - 'Save and close the document - loadedDocument.Save("NamedDestination.pdf") - loadedDocument.Close(True) - - - - - - Inserts a new named destination at the specified index. - - The index. - The named destination to be added to the collection.. - The new named destination. - /// - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Insert a new named destination in the existing named destinations. - PdfNamedDestination namedDestination = new PdfNamedDestination("Page 2"); - //Set the destination page and location. - namedDestination.Destination = new PdfDestination(loadedDocument.Pages[0]); - namedDestination.Destination.Location = new PointF(0, 300); - //Insert the named destination - loadedDocument.NamedDestinationCollection.Insert(1, namedDestination); - //Save and close the PDF document. - loadedDocument.Save("NamedDestination.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Insert a new named destination in the existing named destinations. - Dim namedDestination As PdfNamedDestination = New PdfNamedDestination("Page 2") - 'Set the destination page and location. - namedDestination.Destination = New PdfDestination(loadedDocument.Pages(0)) - namedDestination.Destination.Location = New PointF(0, 300) - Insert the named destination - loadedDocument.NamedDestinationCollection.Insert(1, namedDestination) - 'Save and close the PDF document. - loadedDocument.Save("NamedDestination.pdf") - loadedDocument.Close(True) - - - - - - Initializes instance. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Returns an enumerator that iterates through a collection. - - - An - object that can be used to iterate through the collection. - - - - - Gets number of the elements in the collection. - - The total number of elements in the collection. - - - - Gets the at the specified index. - - the - - - - Gets the dictionary. - - The dictionary. - - - - Gets the cross table. - - - - - Gets the element. - - - - - - Implements a colored tiling brush. - - - - - Provides objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths. - - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - Indicates the indexed Color Space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - True if the brush was different. - - - - Resets the changes, which were made by the brush. - In other words resets the state to the initial one. - - The stream writer. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Creates a new copy of a brush. - - A new instance of the Brush class. - - - - Local variable to store rectanble box. - - - - - Local variable to store graphics. - - - - - Local variable to store brush Stream. - - - - - Local variable to store resources . - - - - - Local variable to store Stroking. - - - - - Local variable to store the page. - - - - - Local variable to store the tile start location. - - - - - Local variable to store the Matrix. - - - - - Initializes a new instance of the class. - - The boundaries of the smallest brush cell. - - - - Initializes a new instance of the class. - - The boundaries of the smallest brush cell. - The Current Page Object. - - - - Initializes a new instance of the class. - - The size of the smallest brush cell. - - - - Initializes a new instance of the class. - - The size of the smallest brush cell. - The Current Page Object. - - - - - Sets the obligatory fields. - - - - - Sets the BBox coordinates. - - The box. - - - - Gets the resources. - - PDF resource dictionary. - - - - Creates a new copy of a brush. - - A new instance of the Brush class. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - True if the brush was different. - currentColorSpace parameter doesn't have any impact on the output result. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - Indicates the indexed Color Space. - True if the brush was different. - - - - Resets the changes, which were made by the brush. - In other words resets the state to the initial one. - - The stream writer. - - - - Location representing the start position of the tiles. - - - - - Transformation matrix to store the brush matrix. - - - - - Gets the boundary box of the smallest brush cell. - - - - - Gets the size of the smallest brush cell. - - - - - Gets Graphics context of the brush. - - - - - Gets the resources dictionary. - - - - - Gets or sets a value indicating whether this - is used for stroking operations. - - true if, the brush is for stroking operations; otherwise, false. - This property allows to use tiling brush like a pen to draw lines. - - - - Gets the element. - - - - - Draws the cross brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the backward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the forward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the horizontal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the vertical pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the downward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws Weave style. - - Pdf Graphics on which style draws. - Pdf pen which draws style. - The size of the brush. - - - - Draws the upward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the brick tails for the brick pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the horizontal brick pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws a checker board dash pattern. - - The graphics. - The pen. - Size of the brush. - Size of the cell. - - - - Class which represents the html internal link used during the html to Pdf conversion to preserve internal links. - This class is used internally and should not be used directly. - - - - - Maximum header level - - - - - Internal variable to store the page bottom margin - - - - - Draw hierarchical bookmarks - - - - - Gets or sets the URI - - - - - Gets or sets the URI page number - - - - /// - Gets or sets the URI bounds. - - - - - Gets or sets the header tag level from H1 to H6 - - - - - Gets or sets the id of destination - - - - - Gets or sets the header content - - - - - Gets or sets the destination page number - - - - - Gets or sets the destination page - - - - - Gets or sets the destination x and y position - - - - - Gets or sets the TOC x-coordinates with header hierarchy - - - - - Gets or sets the TOC rectangle height - - - - - Gets or sets the TOC page count - - - - - Class which provides method and properties to apply styles in automatic creation of a table of contents items for the H1 to H6 HTML elements - - - - - Rectangle begin position - - - - - TOC title begin position - - - - - Rectangle left padding - - - - - Rectangle right padding - - - - - Space between two rectangle - - - - - Maximum header level - - - - - Indicating whether it is next page - - - - - Indicating whether it is first page - - - - - Indicating whether the tab leader char empty - - - - - Internal variable to store the page layout result - - - - - Internal variable to store the pageLayout bottom value. - - - - - Internal variable to store the page template - - - - - Holds the list of header style - - - - - Initializes a new instance of the class. - - - - - Calculate number of pages required to draw table of content and each rectangle heights - - - - - Calculate rectangle height - - - - - Draw table of content - - - - - Draw rectangle inner text - - - - - Draw tab leader - - - - - Add page navigation - - - - - Sets the style of a table of contents item on a given level. The item level is a number from 1 to 6 - - - - - Gets or sets the TOC title - - - - - Gets or sets the horizontal title text alignment:By default left - - - - - Gets or sets the TOC style of the table of contents title. When this property is set with a value, the default style of the title is replaced with the style given by this property. - - - - - Gets or sets the tab leader:By default Dot - - - - - Gets or sets the tab leader character to connect the chapter titles and section headings to their corresponding page numbers - - - - - Gets or sets the maximum header level (H1 to H6) :By default 6 - - - - - Gets or sets the header style - - - - - Gets or sets TOC page count - - - - - The type defines the tab leader list to connect the chapter titles and section headings to their corresponding page numbers - - - - - Don't apply tab leader - - - - - Connect the chapter titles and section headings to their corresponding page number with dotted line - - - - - Connect the chapter titles and section headings to their corresponding page number with dashed line - - - - - Connect the chapter titles and section headings to their corresponding page numbers with solid line - - - - - This class contains the necessary properties to apply style in the automatic creation of a table of contents in a PDF document. - - - - - Gets or sets the back ground color - - - - - Gets or sets the font - - - - - Gets or sets the fore color - - - - - Gets or sets the padding - - - - - - Represents the PdfLoadedStyledAnnotation class - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the annotation flags - attchmentAnnotation.AnnotationFlags=PdfAnnotationFlags.Default; - //Sets the file name. - fileLinkAnnotation.FileName = @"..\..\Data\Manual.txt"; - // Set the file link annotation border. - fileLinkAnnotation.Border=new PdfAnnotationBorder(4, 0, 0); - //Set the file link annotation color. - fileLinkAnnotation.Color=new PdfColor(Color.Blue); - //Sets the file link annotation text. - fileLinkAnnotation.Text = "File Link Annotation"; - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the annotation flags - attchmentAnnotation.AnnotationFlags=PdfAnnotationFlags.Default - 'Sets the file name. - fileLinkAnnotation.FileName = @"..\..\Data\Manual.txt" - ' Set the file link annotation border. - fileLinkAnnotation.Border=New PdfAnnotationBorder(4, 0, 0) - 'Set the file link annotation color. - fileLinkAnnotation.Color=New PdfColor(Color.Blue) - 'Sets the file link annotation text. - fileLinkAnnotation.Text = "File Link Annotation" - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - The class provides methods and properties to handle the loaded annotations from the existing PDF document. - - Class - - - - Represents the Form field identifier - - - - - Cross Table. - - - - - Indicates was field changed or not. - - - - - Represents index used to default annotation. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Sets the name of the annotation - - New name of the annotation. - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - //Sets the annotation text. - soundAnnotation.SetText("Sound Annotation"); - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - 'Sets the annotation text. - soundAnnotation.SetText("Sound Annotation") - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Searches the in parents. - - The dictionary. - The cross table. - The value. - Searched primitive. - - - - Gets the value. - - The dictionary. - The cross table. - The value. - if it is inheritable, set to true. - The founded value. - - - - Gets the widget annotation. - - The dictionary. - The cross table. - The widget annotation dictionary. - - - - Aplies field name - - specified field name - - - - Begins the save. - - - - - Exports the form fields. - - Stream. - Object identifier. - - - - Raises when user manualy chages the name of the field. - - - - - Gets or sets the changed. - - - - - Gets or sets the cross table. - - - - - Gets and sets the where the annotation is present. - - The of the existing PDF document - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - //Get the page. - PdfLoadedPage page =soundAnnotation.Page; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - 'Gets the page. - Dim page As PdfLoadedPage=soundAnnotation.Page - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - NameChanged event handler. - - New name of the field. - - - - Gets the text. - - The text. - - - - Gets the Author. - - The Author. - - - - Gets the Subject. - - The Subject. - - - - Gets the ModifiedDate. - - The ModifiedDate. - - - - Gets the bounds. - - The dictionary. - The cross table. - The bounds. - - - - Gets the border. - - The border. - - - - Gets the color. - - The color. - - - - Gets the Opacity. - - The Opacity. - - - - Gets the number value. - - Name of the key. - The value of the number specified by the string key. - - - - Get the inner line color - - - - - Gets the loaded page. - - The loaded page in which annotation draw. - - - - Gets the annotation flags. - - The annotation flags. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Flatten the popup window - - - - - Parse the XML string to get the required styles - - - - - - Convert the HTML string to Color - - - - - - - Get the popup bounds - - returns the popup window bounds - - - - Remove both the annotation and popup window - - current page. - annotation to be removed. - - - - Gets or sets the color. - - The color. - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Set the file link annotation color. - fileLinkAnnotation.Color=new PdfColor(Color.Blue); - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Set the file link annotation color. - fileLinkAnnotation.Color=New PdfColor(Color.Blue) - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the Opacity of the annotation, Default value is 1.0f - - - - - Gets or sets the inner color of the annotation, Default color is transparent - - - - - Gets or sets the text. - - The text. - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the file link annotation text. - fileLinkAnnotation.Text = "File Link Annotation"; - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the file link annotation text. - fileLinkAnnotation.Text = "File Link Annotation" - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or Sets the Author of the annotation. - - - - - Gets or Sets the Subject of the annotation. - - - - - Gets or Sets the ModifiedDate of the annotation. - - - - - Gets or sets the annotation's bounds. If this property is not set, bounds are calculated automatically - based on Location property and content of annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - 'Sets the file link annotation bounds. - fileLinkAnnotation.Bounds = new RectangleF(100,100,50,50); - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the file link annotation bounds. - fileLinkAnnotation.Bounds = New RectangleF(100,100,50,50) - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the annotation's border. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the annotation flags - attchmentAnnotation.AnnotationFlags=PdfAnnotationFlags.Default; - // Set the file link annotation border. - fileLinkAnnotation.Border=new PdfAnnotationBorder(4, 0, 0); - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - ' Set the file link annotation border. - fileLinkAnnotation.Border=New PdfAnnotationBorder(4, 0, 0) - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the location. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the file link Annotation location. - fileLinkAnnotation.Location new PointF(100,100); - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the file link Annotation location - fileLinkAnnotation.Location =New PointF(100,100) - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the size. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the size - attchmentAnnotation.Size=new SizeF(100,50) - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the size - attchmentAnnotation.Size=New SizeF(100,50) - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the annotation flags. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Sets the annotation flags - attchmentAnnotation.AnnotationFlags=PdfAnnotationFlags.Default; - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the annotation flags - attchmentAnnotation.AnnotationFlags=PdfAnnotationFlags.Default - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Saves an annotation. - - - - - Get or set the border style of the annotation. - - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Saves an annotation. - - - - - Gets the line border of the annotation. - - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Saves an annotation. - - - - - Get or set the line border of the annotation. - - - - - Represents the Polygon annotation - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Gets line points of the annotation. - - line points. - - - - Saves an annotation. - - - - - Gets the line border of the annotation. - - - - - Gets the polygon points of the annotation. - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line style of the annotation. - - choice - The line style. - - - - Gets line style of the annotation. - - Type of line style - The line style. - - - - Gets line style of the annotation. - - The line style. - - - - Gets back color of the annotation. - - The back color. - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Gets the line border of the annotation. - - - - - Gets or sets the begin line style of the annotation. - - - - - Gets or sets the end line style of the annotation. - - - - - - Cross Table - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets line border of the annotation. - - The line border. - - - - Gets border style of the annotation. - - border style - The border style. - - - - Saves an annotation. - - - - - Gets the line border of the annotation. - - - - - Represents the text markup annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create PDF font and PDF font style . - Font font = new Font("Calibri", 10, FontStyle.Bold); - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Create a new pdf brush. - PdfBrush pdfBrush = new PdfSolidBrush(Color.Black); - //Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, new PointF(150, 10)); - string markupText = "Text Markup"; - SizeF size = pdfFont.MeasureString(markupText); - RectangleF rectangle = new RectangleF(175, 40, size.Width, size.Height); - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle); - //Create a pdf text markup annotation . - PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, new PointF(175, 40), pdfFont); - markupAnnotation.TextMarkupColor = new PdfColor(Color.BlueViolet); - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Add this annotation to a new page. - page.Annotations.Add(markupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create pdf font and pdf font style . - Dim font As New Font("Calibri", 10, FontStyle.Bold) - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Create a new PDF brush. - Dim pdfBrush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, New PointF(150, 10)) - Dim markupText As String = "Text Markup" - Dim size As SizeF = pdfFont.MeasureString(markupText) - Dim rectangle As New RectangleF(175, 40, size.Width, size.Height) - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle) - 'Create a pdf text markup annotation . - Dim markupAnnotation As New PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, New PointF(175, 40), pdfFont) - markupAnnotation.TextMarkupColor = New PdfColor(Color.BlueViolet) - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Add this annotation to a new page. - page.Annotations.Add(markupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - To specifying the TextMarkupAnnotationType . - - - - - To specifying the QuadPoints . - - - - - To store the QuadPoints to the PdfArray - - - - - To specifying the Text Markup Color . - - - - - To specifying the Text Markup Annotation Title . - - - - - To specifying the Text Size . - - - - - To specifying the Text Location . - - - - - To specifying the Text Font. - - - - - To indicate collection of rectagle bounds of annotation - - - - - Initializes new instance of class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create PDF font and font style . - Font font = new Font("Calibri", 10, FontStyle.Bold); - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Create a new PDF brush. - PdfBrush pdfBrush = new PdfSolidBrush(Color.Black); - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, new PointF(150, 10)); - string markupText = "Text Markup"; - SizeF size = pdfFont.MeasureString(markupText); - RectangleF rectangle = new RectangleF(175, 40, size.Width, size.Height); - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle); - //Create a pdf text markup annotation . - PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation(); - markupAnnotation.Text = "Text Markup annotation"; - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Add this annotation to a new page. - page.Annotations.Add(markupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create pdf font and font style . - Dim font As New Font("Calibri", 10, FontStyle.Bold) - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Create a new PDF brush. - Dim pdfBrush As PdfBrush = New PdfSolidBrush(Color.Black) - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, New PointF(150, 10)) - Dim markupText As String = "Text Markup" - Dim size As SizeF = pdfFont.MeasureString(markupText) - Dim rectangle As New RectangleF(175, 40, size.Width, size.Height) - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle) - 'Create a pdf text markup annotation . - Dim markupAnnotation As New PdfTextMarkupAnnotation() - markupAnnotation.Text = "Text Markup annotation" - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Add this annotation to a new page. - page.Annotations.Add(markupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes new instance of class with specified title, markup text, annotation text and font. - - The markup annotation title. - The string specifies the text of the annotation. - The string specifies the markup text of the annotation. - The location of the markup text annotation. - The specifies the text appearance of the markup text annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create PDF font and font style . - Font font = new Font("Calibri", 10, FontStyle.Bold); - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Create a new PDF brush. - PdfBrush pdfBrush = new PdfSolidBrush(Color.Black); - //Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, new PointF(150, 10)); - string markupText = "Text Markup"; - SizeF size = pdfFont.MeasureString(markupText); - RectangleF rectangle = new RectangleF(175, 40, size.Width, size.Height); - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle); - //Create a pdf text markup annotation. - PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, new PointF(175, 40), pdfFont); - markupAnnotation.TextMarkupColor = new PdfColor(Color.BlueViolet); - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Add this annotation to a new page. - page.Annotations.Add(markupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create PDF font and font style . - Dim font As New Font("Calibri", 10, FontStyle.Bold) - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Create a new PDF brush. - Dim pdfBrush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, New PointF(150, 10)) - Dim markupText As String = "Text Markup" - Dim size As SizeF = pdfFont.MeasureString(markupText) - Dim rectangle As New RectangleF(175, 40, size.Width, size.Height) - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle) - 'Create a pdf text markup annotation. - Dim markupAnnotation As New PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, New PointF(175, 40), pdfFont) - markupAnnotation.TextMarkupColor = New PdfColor(Color.BlueViolet) - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Add this annotation to a new page. - page.Annotations.Add(markupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes new instance of class with specified bounds. - - The bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create PDF font and font style . - PdfFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a new PDF brush. - PdfBrush pdfBrush = new PdfSolidBrush(Color.Black); - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, new PointF(150, 10)); - string markupText = "Text Markup"; - SizeF size = pdfFont.MeasureString(markupText); - RectangleF rectangle = new RectangleF(175, 40, size.Width, size.Height); - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle); - //Create a pdf text markup annotation . - PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation(rectangle); - markupAnnotation.TextMarkupColor = new PdfColor(Color.BlueViolet); - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Add this annotation to a new page. - page.Annotations.Add(markupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create pdffont and pdffont style . - Dim pdfFont As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a new pdfbrush . - Dim pdfBrush As PdfBrush = New PdfSolidBrush(Color.Black) - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, New PointF(150, 10)) - Dim markupText As String = "Text Markup" - Dim size As SizeF = pdfFont.MeasureString(markupText) - Dim rectangle As New RectangleF(175, 40, size.Width, size.Height) - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle) - 'Create a pdf text markup annotation . - Dim markupAnnotation As New PdfTextMarkupAnnotation(rectangle) - markupAnnotation.TextMarkupColor = New PdfColor(Color.BlueViolet) - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Add this annotation to a new page. - page.Annotations.Add(markupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes Annotation object. - - - - - Saves an Text Markup Annotation . - - - - - Flatten the TextMarkup annotation's - - - - - Gets or sets TextMarkupAnnotationType. - - The enumeration value which contains the different types of mark up annotation types. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create PDF font and font style . - Font font = new Font("Calibri", 10, FontStyle.Bold); - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Create a new PDF brush. - PdfBrush pdfBrush = new PdfSolidBrush(Color.Black); - //Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, new PointF(150, 10)); - string markupText = "Text Markup"; - SizeF size = pdfFont.MeasureString(markupText); - RectangleF rectangle = new RectangleF(175, 40, size.Width, size.Height); - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle); - //Create a PDF text markup annotation . - PdfTextMarkupAnnotation markupAnnotation = new PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, new PointF(175, 40), pdfFont); - markupAnnotation.TextMarkupColor = new PdfColor(Color.BlueViolet); - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Add this annotation to a new page. - page.Annotations.Add(markupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create pdf font and pdf font style . - Dim font As New Font("Calibri", 10, FontStyle.Bold) - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Create a new PdfBrush. - Dim pdfBrush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Draw text in the new page. - page.Graphics.DrawString("Text Markup Annotation Demo", pdfFont, pdfBrush, New PointF(150, 10)) - Dim markupText As String = "Text Markup" - Dim size As SizeF = pdfFont.MeasureString(markupText) - Dim rectangle As New RectangleF(175, 40, size.Width, size.Height) - page.Graphics.DrawString(markupText, pdfFont, pdfBrush, rectangle) - 'Create a pdf text markup annotation . - Dim markupAnnotation As New PdfTextMarkupAnnotation("Markup annotation", "Markup annotation with highlight style", markupText, New PointF(175, 40), pdfFont) - markupAnnotation.TextMarkupColor = New PdfColor(Color.BlueViolet) - markupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Add this annotation to a new page. - page.Annotations.Add(markupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - - Gets or sets text markup bounds collection. - - - - - Represents the class for text web link annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Set the font - float fontSize = 10f; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a text web link annotation - PdfTextWebLink webLinkAnnotation = new PdfTextWebLink(); - webLinkAnnotation.Url = "http://www.yahoo.com"; - webLinkAnnotation.Text = "Yahoo Mail"; - webLinkAnnotation.Brush = brush; - webLinkAnnotation.Font = font; - webLinkAnnotation.Pen = PdfPens.Brown; - webLinkAnnotation.DrawTextWebLink(page, new PointF(50, 40)); - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Set the font - Dim fontSize As Single = 10f - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a text web link annotation - Dim webLinkAnnotation As New PdfTextWebLink() - webLinkAnnotation.Url = "http://www.yahoo.com" - webLinkAnnotation.Text = "Yahoo Mail" - webLinkAnnotation.Brush = brush - webLinkAnnotation.Font = font - webLinkAnnotation.Pen = PdfPens.Brown - webLinkAnnotation.DrawTextWebLink(page, New PointF(50, 40)) - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, New PointF(110, 40)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the text area with the ability to span several pages and inherited from the class - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page to the document. - PdfPage page = document.Pages.Add(); - //Create PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Use the font installed in the machine - PdfFont font = new PdfTrueTypeFont(new Font("Arial", 14)); - //Create PDF text element - PdfTextElement element = new PdfTextElement("Hello World!!!", font, PdfBrushes.Black); - //Draw the text element. - element.Draw(graphics); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Create PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Use the font installed in the machine - Dim font As PdfFont = New PdfTrueTypeFont(New Font("Arial", 14)) - 'Create PDF text element - Dim element As New PdfTextElement("Hello World!!!", font, PdfBrushes.Black) - 'Draw the text element. - element.Draw(graphics) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - Represents the base class for all elements that can be layout on the pages. - - [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Assert, Name = "FullTrust")] - - - - Represents a base class for all page graphics elements. - - - - - Initializes a new instance of the class. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be drawn. - - - - Draws an element on the Graphics. - - Graphics context where the element should be drawn. - Location of the element in the Graphics' co-ordinate system. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - X co-ordinate of the element. - Y co-ordinate of the element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Draws the element on the page with the specified page and structure - - Current page where the element should be drawn. - Start location on the page. - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page with the specified page and pair of coordinates - - Current page where the element should be drawn. - X co-ordinate of the element on the page. - Y co-ordinate of the element on the page. - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page with the specified page and structure - - Current page where the element should be drawn. - RectangleF structure that specifies the bounds of the element. - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page. - - Current page where the element should be drawn. - RectangleF structure that specifies the bounds of the element. - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page with the specified page, structure and layout format - - Current page where the element should be drawn. - Start location on the page. - PdfLayoutFormat that represents the layout settings - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page with the specified page, pair of coordinates and layout format - - Current page where the element should be drawn. - X co-ordinate of the element on the page. - Y co-ordinate of the element on the page. - PdfLayoutFormat that represents the layout settings - PdfLayoutResult that represents the layout result of the drawn element. - - - - Draws the element on the page with the specified page, structure and layout format - - Current page where the element should be drawn. - RectangleF structure that specifies the bounds of the element. - PdfLayoutFormat that represents the layout settings - PdfLayoutResult that represents the layout result of the drawn element. - - - - Layouts the element. - - Layout parameters. - Returns the results of layout. - - - - Draws the element on the page. - - Current page where the element should be drawn. - RectangleF structure that specifies the bounds of the element. - Layout format. - Layout result. - - - - Draws the specified page. - - The page. - The top. - The format. - - - - Layouts the element. - - Layout parameters. - Returns the results of layout. - - - - Layouts the specified param. - - The param. - null - - - - Raises EndPageLayout event. - - Event arguments. - - - - Raises BeginPageLayout event. - - Event arguments. - - - - Raises after the element was printed on the page. - - - - - Raises before the element should be printed on the page. - - - - - Gets a value indicating whether EndPageLayout is not null. - - - - - Gets a value indicating whether BeginPageLayout is not null. - - - - - Gets a value indicating whether [embed fonts]. - - true if [embed fonts]; otherwise, false. - - - - Gets or sets the tag for the element - - - - - Text data. - - - - - Text data. - - - - - Pen for text drawing. - - - - - Brush for text drawing. - - - - - Font for text drawing. - - - - - Text format. - - - - - indicate whether the PdfGridCell value is PdfTextElement - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with text to draw into the PDF. - - The text to draw into the PDF. - - - - Initializes a new instance of the class with the text and . - - The text to draw into the PDF. - The that defines the text format. - - - - Initializes a new instance of the class with text, and . - - The text to draw into the PDF. - The that defines the text format. - The that determines the color, width, and style of the text - - - - Initializes a new instance of the class with text, and . - - The text to draw into the PDF. - The that defines the text format. - The that determines the color and texture of the drawn text. - - - - Initializes a new instance of the class with text,,, and . - - The text to draw into the PDF. - The that defines the text format. - The that determines the color, width, and style of the text - The that determines the color and texture of the drawn text. - The that determines string format. - - - - Draws the text on the page in the specified location with . - It returns the which contains last page and bounds where the text element drawn. - - Current page where the text should be drawn. - PointF structure that specifies the start location on the page. - The that represents the layout settings - The that represents the layout result of the drawn text. - - - Draws the text on the page in the specified location,width and . - It returns the which contains last page and bounds where the text element drawn - - Current page where the text should be drawn. - PointF structure that specifies the start location on the page. - Width of the text bounds. - The that represents the layout settings - The that represents the layout result of the drawn text. - - - - Draws the text on the page with specified layout rectangle and . - It returns the which contains last page and bounds where the text element drawn. - - Current page where the text should be drawn. - RectangleF structure that specifies the bounds of the text. - The that represents the layout settings - The that represents the layout result of the drawn text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page to the document. - PdfPage page = document.Pages.Add(); - //Create PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Use the font installed in the machine - PdfFont font = new PdfTrueTypeFont(new Font("Arial", 14)); - //Create PDF text element - PdfTextElement element = new PdfTextElement("Hello World!!!", font, PdfBrushes.Black); - //Create layout format - PdfLayoutFormat format=new PdfLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw the text with layout format - element.Draw(page, new RectangleF(0, 0, 200, 400), format); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Create PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Use the font installed in the machine - Dim font As PdfFont = New PdfTrueTypeFont(New Font("Arial", 14)) - 'Create PDF text element - Dim element As New PdfTextElement("Hello World!!!", font, PdfBrushes.Black) - 'Create layout format - Dim format As New PdfLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw the text with layout format - element.Draw(page, New RectangleF(0, 0, 200, 400), format) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - Gets a brush for drawing. - - Gets a brush for drawing. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Layouts the element. - - Lay outing parameters. - Returns lay outing results. - - - - Gets or sets a value indicating the text that should be printed. - - The to draw to the PDF - - - - Gets or sets a value indicating the text that should be printed. - - - - - Gets or sets a that determines the color, width, and style of the text - - The that determines the color, width, and style of the text - - - - Gets or sets the that will be used to draw the text with color and texture. - - The that determines the color and texture of the drawn text - - - - Gets or sets a that defines the text format. - - The that defines the text format - - - - Gets or sets the that will be used to set the string format - - The used to set the string format - - - - Internal variable to store Url. - - - - - Internal variable to store Uri Annotation object. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Set the font - float fontSize = 10f; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a text web link annotation - PdfTextWebLink webLinkAnnotation = new PdfTextWebLink(); - webLinkAnnotation.Url = "http://www.yahoo.com"; - webLinkAnnotation.Text = "Yahoo Mail"; - webLinkAnnotation.Brush = brush; - webLinkAnnotation.Font = font; - webLinkAnnotation.Pen = PdfPens.Brown; - webLinkAnnotation.DrawTextWebLink(page, new PointF(50, 40)); - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Set the font - Dim fontSize As Single = 10f - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a text web link annotation - Dim webLinkAnnotation As New PdfTextWebLink() - webLinkAnnotation.Url = "http://www.yahoo.com" - webLinkAnnotation.Text = "Yahoo Mail" - webLinkAnnotation.Brush = brush - webLinkAnnotation.Font = font - webLinkAnnotation.Pen = PdfPens.Brown - webLinkAnnotation.DrawTextWebLink(page, New PointF(50, 40)) - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, New PointF(110, 40)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Draws a Text Web Link on the Page - - The page where the annotation should be placed. - The location of the annotation. - Pdf Layout result - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Set the font - float fontSize = 10f; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a text weblink annotation - PdfTextWebLink webLinkAnnotation = new PdfTextWebLink(); - webLinkAnnotation.Url = "http://www.yahoo.com"; - webLinkAnnotation.Text = "Yagoo Mail"; - webLinkAnnotation.Brush = brush; - webLinkAnnotation.Font = font; - webLinkAnnotation.Pen = PdfPens.Brown; - webLinkAnnotation.DrawTextWebLink(page, new PointF(50, 40)); - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)); - //Add this annotation to a new page. - page.Annotations.Add(webLinkAnnotation); - //Save the document to disk. - document.Save("TextWebLink(.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Set the font - Dim fontSize As Single = 10f - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a text weblink annotation - Dim webLinkAnnotation As PdfTextWebLink = New PdfTextWebLink() - webLinkAnnotation.Url = "http://www.yahoo.com" - webLinkAnnotation.Text = "Yagoo Mail" - webLinkAnnotation.Brush = brush - webLinkAnnotation.Font = font - webLinkAnnotation.Pen = PdfPens.Brown - webLinkAnnotation.DrawTextWebLink(page, new PointF(50, 40)) - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)) - 'Add this annotation to a new page. - page.Annotations.Add(webLinkAnnotation) - 'Save the document to disk. - document.Save("TextWebLink(.pdf") - - - - - - Draw a Text Web Link on the Graphics - - The object specifies where annotation should be placed.. - The location of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Set the font - float fontSize = 10f; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a text weblink annotation - PdfTextWebLink webLinkAnnotation = new PdfTextWebLink(); - webLinkAnnotation.Url = "http://www.yahoo.com"; - webLinkAnnotation.Text = "Yagoo Mail"; - webLinkAnnotation.Brush = brush; - webLinkAnnotation.Font = font; - webLinkAnnotation.Pen = PdfPens.Brown; - webLinkAnnotation.DrawTextWebLink(page.Graphics, new PointF(50, 40)); - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)); - //Add this annotation to a new page. - page.Annotations.Add(webLinkAnnotation); - //Save the document to disk. - document.Save("TextWebLink(.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Set the font - Dim fontSize As Single = 10f - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a text weblink annotation - Dim webLinkAnnotation As PdfTextWebLink = New PdfTextWebLink() - webLinkAnnotation.Url = "http://www.yahoo.com" - webLinkAnnotation.Text = "Yagoo Mail" - webLinkAnnotation.Brush = brush - webLinkAnnotation.Font = font - webLinkAnnotation.Pen = PdfPens.Brown - webLinkAnnotation.DrawTextWebLink(page.Graphics, new PointF(50, 40)) - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)) - 'Add this annotation to a new page. - page.Annotations.Add(webLinkAnnotation) - 'Save the document to disk. - document.Save("TextWebLink(.pdf") - - - - - - Gets or sets the Uri address. - - The string value which contains the Uri address. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Set the font - float fontSize = 10f; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Create a text web link annotation - PdfTextWebLink webLinkAnnotation = new PdfTextWebLink(); - webLinkAnnotation.Url = "http://www.yahoo.com"; - webLinkAnnotation.Text = "Yahoo Mail"; - webLinkAnnotation.Brush = brush; - webLinkAnnotation.Font = font; - webLinkAnnotation.Pen = PdfPens.Brown; - webLinkAnnotation.DrawTextWebLink(page, new PointF(50, 40)); - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, new PointF(110, 40)); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Set the font - Dim fontSize As Single = 10f - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Create a text weblink annotation - Dim webLinkAnnotation As New PdfTextWebLink() - webLinkAnnotation.Url = "http://www.yahoo.com" - webLinkAnnotation.Text = "Yagoo Mail" - webLinkAnnotation.Brush = brush - webLinkAnnotation.Font = font - webLinkAnnotation.Pen = PdfPens.Brown - webLinkAnnotation.DrawTextWebLink(page, New PointF(50, 40)) - page.Graphics.DrawString("Go to Yahoo Web Site", font, brush, New PointF(110, 40)) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents a base class for popup annotation which can be either in open or closed state. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(rectangle, "Test popup annotation"); - popupAnnotation.Border.Width = 4; - popupAnnotation.Border.HorizontalRadius = 20; - popupAnnotation.Border.VerticalRadius = 30; - //Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(rectangle, "Test popup annotation") - popupAnnotation.Border.Width = 4 - popupAnnotation.Border.HorizontalRadius = 20 - popupAnnotation.Border.VerticalRadius = 30 - 'Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates whether annotation is open or not. - - - - - Type of the icon of the annotation. - - - - - Annotation's appearance. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(); - popupAnnotation.Text = "Test popup annotation"; - popupAnnotation.Bounds = rectangle; - popupAnnotation.Border.Width = 4; - popupAnnotation.Border.HorizontalRadius = 20; - popupAnnotation.Border.VerticalRadius = 30; - //Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation() - popupAnnotation.Text = "Test popup annotation" - popupAnnotation.Bounds = rectangle - popupAnnotation.Border.Width = 4 - popupAnnotation.Border.HorizontalRadius = 20 - popupAnnotation.Border.VerticalRadius = 30 - 'Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds. - - RectangleF structure that specifies the bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(rectangle); - popupAnnotation.Text = "Test popup annotation"; - popupAnnotation.Border.Width = 4; - popupAnnotation.Border.HorizontalRadius = 20; - popupAnnotation.Border.VerticalRadius = 30; - //Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(rectangle) - popupAnnotation.Text = "Test popup annotation" - popupAnnotation.Border.Width = 4 - popupAnnotation.Border.HorizontalRadius = 20 - popupAnnotation.Border.VerticalRadius = 30 - 'Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds and annotation text. - - RectangleF structure that specifies the bounds of the annotation. - The string specifies the annotation text. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(rectangle, "Test popup annotation"); - popupAnnotation.Border.Width = 4; - popupAnnotation.Border.HorizontalRadius = 20; - popupAnnotation.Border.VerticalRadius = 30; - //Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(rectangle, "Test popup annotation") - popupAnnotation.Border.Width = 4 - popupAnnotation.Border.HorizontalRadius = 20 - popupAnnotation.Border.VerticalRadius = 30 - 'Set the pdf popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified popup comment window bounds and bool for represents popup. - - RectangleF structure that specifies the bounds of the popup annotation comment window. - Boolean indivate popup comment window - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Flatten annotation Icon - - the annotation's subject text - - - - - Gets or sets value whether annotation is initially open or closed. - - - True if the annotation is intially open, otherwise false. - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(rectangle, "Test popup annotation"); - //Set the Open to popupAnnotation. - popupAnnotation.Open = true; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(rectangle, "Test popup annotation") - 'Set the Open to popupAnnotation. - popupAnnotation.Open = True - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - - Represents the rubber stamp annotation for a PDF document. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf rubber stamp annotation. - RectangleF rectangle = new RectangleF(40, 60, 80, 20); - PdfRubberStampAnnotation rubberstampAnnotation = new PdfRubberStampAnnotation(rectangle, " Text Rubber Stamp Annotation"); - rubberstampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft; - rubberstampAnnotation.Text = "Text Properties Rubber Stamp Annotation"; - page.Annotations.Add(rubberstampAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf rubber stamp annotation. - Dim rectangle As New RectangleF(40, 60, 80, 20) - Dim rubberstampAnnotation As New PdfRubberStampAnnotation(rectangle, " Text Rubber Stamp Annotation") - rubberstampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft - rubberstampAnnotation.Text = "Text Properties Rubber Stamp Annotation" - page.Annotations.Add(rubberstampAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - internal variable for the rubberstamp annotation icon - - - - - Annotation's appearance. - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new pdf rubber stamp annotation. - PdfRubberStampAnnotation rubberstampAnnotation = new PdfRubberStampAnnotation(); - rubberstampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft; - rubberstampAnnotation.Text = "Text Properties Rubber Stamp Annotation"; - page.Annotations.Add(rubberstampAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf rubber stamp annotation. - Dim rubberstampAnnotation As New PdfRubberStampAnnotation() - rubberstampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft - rubberstampAnnotation.Text = "Text Properties Rubber Stamp Annotation" - page.Annotations.Add(rubberstampAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds. - RectangleF structure that specifies the bounds of the annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf rubber stamp annotation. - RectangleF rubberStampAnnotationBounds = new RectangleF(40, 60, 80, 20); - PdfRubberStampAnnotation rubberstampAnnotation = new PdfRubberStampAnnotation(rubberStampAnnotationBounds); - rubberstampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft; - rubberstampAnnotation.Text = "Text Properties Rubber Stamp Annotation"; - page.Annotations.Add(rubberstampAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf rubber stamp annotation. - Dim rubberStampAnnotationBounds As New RectangleF(40, 60, 80, 20) - Dim rubberStampAnnotation As New PdfRubberStampAnnotation(rubberStampAnnotationBounds) - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft - rubberStampAnnotation.Text = "Text Properties Rubber Stamp Annotation" - page.Annotations.Add(rubberStampAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds and text. - - The rectangleF structure that specifies the bounds of the annotation. - The text of the rubber stamp annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf rubber stamp annotation. - RectangleF rubberStampAnnotationBounds = new RectangleF(40, 60, 80, 20); - PdfRubberStampAnnotation rubberStampAnnotation = new PdfRubberStampAnnotation(rubberStampAnnotationBounds, " Text Rubber Stamp Annotation"); - //Sets the PDF appearance. - rubberStampAnnotation.Appearance = new PdfAppearance(rubberstampAnnotation); - rubberStampAnnotation.Appearance.Normal.Draw(page, new PointF(rubberStampAnnotation.Location.X, rubberStampAnnotation.Location.Y)); - page.Annotations.Add(rubberStampAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf rubber stamp annotation. - Dim rubberStampAnnotationBounds As New RectangleF(40, 60, 80, 20) - Dim rubberStampAnnotation As New PdfRubberStampAnnotation(rubberStampAnnotationBounds, " Text Rubber Stamp Annotation") - 'Sets the PDF appearance. - rubberStampAnnotation.Appearance = New PdfAppearance(rubberstampAnnotation) - rubberStampAnnotation.Appearance.Normal.Draw(page, New PointF(rubberStampAnnotation.Location.X, rubberStampAnnotation.Location.Y)) - page.Annotations.Add(rubberStampAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Saves an annotation. - - - - - Gets or sets the annotation's icon. - - A enumeration member specifying the icon for the annotation when it is displayed in closed state. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new pdf rubber stamp annotation. - RectangleF rectangle = new RectangleF(40, 60, 80, 20); - PdfRubberStampAnnotation rubberStampAnnotation = new PdfRubberStampAnnotation(rectangle, " Text Rubber Stamp Annotation"); - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft; - rubberStampAnnotation.Text = "Text Properties Rubber Stamp Annotation"; - page.Annotations.Add(rubberStampAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new pdf rubber stamp annotation. - Dim rectangle As New RectangleF(40, 60, 80, 20) - Dim rubberStampAnnotation As New PdfRubberStampAnnotation(rectangle, " Text Rubber Stamp Annotation") - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Draft - rubberStampAnnotation.Text = "Text Properties Rubber Stamp Annotation" - page.Annotations.Add(rubberStampAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - - Represents the sound annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed; - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo; - soundAnnotation.Sound.Bits = 16; - soundAnnotation.Color = new PdfColor(Color.Red); - //Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo - soundAnnotation.Sound.Bits = 16 - soundAnnotation.Color = New PdfColor(Color.Red) - 'Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Type of icon of the sound link. - - - - - Internal variable to store sound. - - - - RectangleF structure that specifies the bounds of the annotation. - The string specifies the file name of the sound annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed; - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo; - soundAnnotation.Sound.Bits = 16; - soundAnnotation.Color = new PdfColor(Color.Red); - //Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Set the pdf sound - soundAnnotation.Sound = New PdfSound("Input.wav") - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes instance. - - - - - Saves instance. - - - - - Gets or sets the icon to be used in displaying the annotation. - - The enumeration member specifying the icon for the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed; - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo; - soundAnnotation.Sound.Bits = 16; - soundAnnotation.Color = new PdfColor(Color.Red); - //Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo - soundAnnotation.Sound.Bits = 16 - soundAnnotation.Color = New PdfColor(Color.Red) - 'Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the sound. - - The object specified a sound for the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - soundAnnotation.Sound.Encoding = PdfSoundEncoding.Signed; - soundAnnotation.Sound.Channels = PdfSoundChannels.Stereo; - soundAnnotation.Sound.Bits = 16; - soundAnnotation.Color = new PdfColor(Color.Red); - //Sets the pdf sound icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Set the pdf sound - soundAnnotation.Sound = New PdfSound("Input.wav") - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - The string specifies the file name of the sound annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page . - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Gets the file name. - string fileName = soundAnnotation.FileName; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page . - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Gets the file name. - Dim fileName As String = soundAnnotation.FileName - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the Uri annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle, "http://www.google.com"); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - //Add this annotation to a new page. - page.Annotations.Add(uriAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As New PdfUriAnnotation(rectangle, "http://www.google.com") - 'Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - 'Add this annotation to a new page. - page.Annotations.Add(uriAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Internal variable to store acton for the annotation. - - - - - Initializes a new instance of the class with specified bounds. - - RectangleF structure that specifies the bounds of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - // Set Uri to uriAnnotation - uriAnnotation.Uri = "http://www.google.com"; - //Add this annotation to a new page. - page.Annotations.Add(uriAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As New PdfUriAnnotation(rectangle) - 'Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - ' Set Uri to uriAnnotation - uriAnnotation.Uri = "http://www.google.com" - 'Add this annotation to a new page. - page.Annotations.Add(uriAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes a new instance of the class with specified bounds and Uri. - - RectangleF structure that specifies the bounds of the annotation. - unique resource identifier path. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle, "http://www.google.com"); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - //Add this annotation to a new page. - page.Annotations.Add(uriAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Creates a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As New PdfUriAnnotation(rectangle, "http://www.google.com") - 'Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - 'Add this annotation to a new page. - page.Annotations.Add(uriAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Initializes annotation object. - - - - - Gets or sets the Uri address. - - The string value which contains Uri address. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle, "http://www.google.com"); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - //Add this annotation to a new page. - page.Annotations.Add(uriAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As New PdfUriAnnotation(rectangle, "http://www.google.com") - 'Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - 'Add this annotation to a new page. - page.Annotations.Add(uriAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Gets or sets the action. - - The object specifies the action of the annotation. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - // Set Uri to uriAnnotation - uriAnnotation.Uri = "http://www.google.com"; - //Creates a new Sound action - PdfSoundAction soundAction = new PdfSoundAction(@"Input.wav"); - soundAction.Sound.Bits = 16; - soundAction.Sound.Channels = PdfSoundChannels.Stereo; - soundAction.Sound.Encoding = PdfSoundEncoding.Signed; - soundAction.Volume = 0.9f; - uriAnnotation.Action = soundAction; - //Add this annotation to a new page. - page.Annotations.Add(uriAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As New PdfUriAnnotation(rectangle) - 'Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - ' Set Uri to uriAnnotation - uriAnnotation.Uri = "http://www.google.com" - 'Creates a new Sound action - Dim soundAction As New PdfSoundAction("Input.wav") - soundAction.Sound.Bits = 16 - soundAction.Sound.Channels = PdfSoundChannels.Stereo - soundAction.Sound.Encoding = PdfSoundEncoding.Signed - soundAction.Volume = 0.9f - uriAnnotation.Action = soundAction - 'Add this annotation to a new page. - page.Annotations.Add(uriAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Represents the widget annotation. - - - - - Internal variable to store parent field. - - - - - Internal variable to store extended appearance. - - - - - Internal variable to store border parameters. - - - - - Internal variable to store appearance of the widget. - - - - - Internal variable to store highlighting mode. - - - - - Internal variable to store default appearance. - - - - - Internal variable to store alignment. - - - - - Internal variable to store annotation's actions. - - - - - Annotation's appearance. - - - - - Internal variable to store default appearance state value. - - - - - Initializes annotation object. - - - - - Raises the event. - - The instance containing the event data. - - - - Saves an annotation. - - - - - Highlightings the mode to string. - - The m_highlighting mode. - String representation of the highlighting mode in Pdf suiatable format. - - - - Gets the appearance. - - - - - - Gets or sets the parent. - - The parent. - - - - Gets or sets the extended appearance. - - The extended appearance. - - - - Gets the default appearance. - - The default appearance. - - - - Gets or sets annotation's border. - - The widget border. - - - - Gets the widget appearance. - - The widget appearance. - - - - Gets or sets the highlighting mode. - - The highlighting mode. - - - - Gets or sets the text alignment. - - The text alignment. - - - - Gets the actions of the annotation. - - The actions. - - - - Gets or sets appearance of the annotation. - - - - - Gets or sets default appearance name. - - The state of the appearance. - - - - Raise before object saves. - - - - - Represents collection of widget annotations. - - - - - Internal variable to store array of anootation's primitives. - - - - - Initializes a new instance of the class. - - - - - Adds the specified annotation. - - The annotation. - - - - - Inserts the specified index. - - The index. - The annotation. - - - - Removes the specified annotation. - - The annotation. - - - - Removes the annotation at the specified position. - - The index. - - - - Gets the index of the specified annotation. - - The annotation. - - - - - Determines whether the annotation is present in collection. - - The annotation. - - true if collection contains the specified annotation; otherwise, false. - - - - - Clears the collection. - - - - - Adds the annotation. - - The annotation. - - - - - Insters.the annotation at the specified position. - - The index. - The annotation. - - - - Removes the annotation. - - The annotation. - - - - Removes the annotation at the specified position. - - The index. - - - - Clears the collection. - - - - - Gets the at the specified index. - - Annotation at the specified position. - - - - Gets the element. - - - - - - Represents appearance of the widget annotation. - - - - - Internal variable to store border's color. - - - - - Internal variable to store color of the background. - - - - - Internal variable to store normal cation text. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the color of the border. - - The color of the border. - - - - Gets or sets the color of the background. - - The color of the background. - - - - Gets or sets the normal caption. - - The normal caption. - - - - Gets the element. - - - - - - Represents the border style of the widget annotation. - - - - - Internal variable to store border width. - - - - - Internal variable to store border style; - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Converts border style to string. - - The style. - - - - - Gets or sets the width. - - The width. - - - - Gets or sets the style. - - The style. - - - - Gets the element. - - - - - - Specifies the name of an icon to be used in displaying the sound annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new sound annotation. - PdfSoundAnnotation soundAnnotation = new PdfSoundAnnotation(rectangle, @"Input.wav"); - //Sets the sound icon - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Add this annotation to a new page. - page.Annotations.Add(soundAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim rectangle As New RectangleF(10, 40, 30, 30) - 'Create a new sound annotation. - Dim soundAnnotation As New PdfSoundAnnotation(rectangle, "Input.wav") - 'Sets the sound icon - soundAnnotation.Icon = PdfSoundIcon.Speaker - 'Add this annotation to a new page. - page.Annotations.Add(soundAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Speaker icon of sound link. - - - - - Microphone icon of sound link. - - - - - Specifies the type of icon to be used in displaying file attachment annotations. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF attachmentRectangle = new RectangleF(10, 40, 30, 30); - //Create a new attachment annotation. - PdfAttachmentAnnotation attachmentAnnotation = new PdfAttachmentAnnotation(attachmentRectangle, @"Input.jpg"); - //Set the Attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin; - //Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim attachmentRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new attachment annotation. - Dim attachmentAnnotation As New PdfAttachmentAnnotation(attachmentRectangle, "Input.jpg") - 'Set the Attachment icon to attachment annotation. - attachmentAnnotation.Icon = PdfAttachmentIcon.PushPin - 'Add this annotation to a new page. - page.Annotations.Add(attachmentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Type of icon used in file attachment annotation. - - - - - Type of icon used in file attachment annotation. - - - - - Type of icon used in file attachment annotation. - - - - - Type of icon used in file attachment annotation. - - - - - Specifies the enumeration of the annotation flags. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF docLinkAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new document link annotation. - PdfDocumentLinkAnnotation documentAnnotation = new PdfDocumentLinkAnnotation(docLinkAnnotationRectangle); - //Set the annotation flags to document annotation. - documentAnnotation.AnnotationFlags = PdfAnnotationFlags.NoRotate; - //Add this annotation to a new page. - page.Annotations.Add(documentAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim docLinkAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new document link annotation. - Dim documentAnnotation As New PdfDocumentLinkAnnotation(docLinkAnnotationRectangle) - 'Set the annotation flags to document annotation. - documentAnnotation.AnnotationFlags = PdfAnnotationFlags.NoRotate - 'Add this annotation to a new page. - page.Annotations.Add(documentAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Default value. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Annotation flag's key. - - - - - Specifies the enumeration of popup annotation icons. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30); - //Create a new popup annotation. - PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation"); - //Set the popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph; - //Add this annotation to a new page. - page.Annotations.Add(popupAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30) - 'Create a new popup annotation. - Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation") - 'Set the popup icon. - popupAnnotation.Icon = PdfPopupIcon.NewParagraph - 'Add this annotation to a new page. - page.Annotations.Add(popupAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates note popup annotation. - - - - - Indicates comment popup annotation. - - - - - Indicates help popup annotation. - - - - - Indicates insert popup annotation. - - - - - Indicates key popup annotation. - - - - - Indicates new paragraph popup annotation. - - - - - Indicates paragraph popup annotation. - - - - - Specifies the enumeration of rubber stamp annotation icons. - - - - //Load an existing document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.Pdf"); - //Gets the annotation from loaded document. - PdfLoadedRubberStampAnnotation rubberStampAnnotation = loadedDocument.Pages[1].Annotations[5] as PdfLoadedRubberStampAnnotation; - //Set the icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved; - //Save the document. - loadedDocument.Save("Output.pdf"); - //close the document - loadedDocument.Close(true); - - - 'Load an existing document. - Dim loadedDocument As New PdfLoadedDocument("Input.Pdf") - 'Gets the annotation from loaded document. - Dim rubberStampAnnotation As PdfLoadedRubberStampAnnotation = TryCast(loadedDocument.Pages(1).Annotations(5), PdfLoadedRubberStampAnnotation) - 'Set the icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved - 'Save the document. - loadedDocument.Save("Output.pdf") - 'close the document - loadedDocument.Close(True) - - - - - - Indicates approved rubber stamp annotation - - - - - Indicates AsIs rubber stamp annotation - - - - - Indicates confidential rubber stamp annotation - - - - - Indicates departmental rubber stamp annotation - - - - - Indicates draft rubber stamp annotation - - - - - Indicates experimental rubber stamp annotation - - - - - Indicates expired rubber stamp annotation - - - - - Indicates final rubber stamp annotation - - - - - Indicates for comment rubber stamp annotation - - - - - Indicates for public release rubber stamp annotation - - - - - Indicates not approved rubber stamp annotation - - - - - Indicates not for public release rubber stamp annotation - - - - - Indicates sold rubber stamp annotation - - - - - Indicates top secret rubber stamp annotation - - - - - Specifies the line ending style to be used in the Line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation linkAnnotation = new PdfLineAnnotation(points, "Line Annotation"); - linkannotation.EndLineStyle = PdfLineEndingStyle.Diamond; - //Add this annotation to a new page. - page.Annotations.Add(linkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim linkAnnotation As New PdfLineAnnotation(points, "Line Annotation") - linkannotation.EndLineStyle = PdfLineEndingStyle.Diamond - 'Add this annotation to a new page. - page.Annotations.Add(linkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates Square - - - - - Indicates Circle - - - - - Indicates Diamond - - - - - Indicates OpenArrow - - - - - Indicates ClosedArrow - - - - - Indicates None - - - - - Indicates ROpenArrow - - - - - Indicates Butt - - - - - IdicaIndicatestes RClosedArrow - - - - - Indicates Slash - - - - - Specifies the line border Style of the line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF inkAnnotationBounds = new RectangleF(10, 40, 30, 30); - //To specify the line points - List(float) points = new List(float) { 50, 50, 30, 30, 40, 40 }; - //Create a new line annotation. - PdfInkAnnotation inkAnnotation = new PdfInkAnnotation(inkAnnotationBounds, points); - inkAnnotation.Color = new PdfColor(Color.Red); - //Set the line border style. - inkAnnotation.BorderStyle = PdfLineBorderStyle.Dashed; - //Add this annotation to a new page. - page.Annotations.Add(inkAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim inkAnnotationBounds As New RectangleF(10, 40, 30, 30) - 'To specify the line points - Dim points As New List(Of Single) (New Single() {50, 50, 30, 30, 40, 40}) - 'Create a new line annotation. - Dim inkAnnotation As New PdfInkAnnotation(inkAnnotationBounds, points) - inkAnnotation.Color = New PdfColor(Color.Red) - 'Set the line border style. - inkAnnotation.BorderStyle = PdfLineBorderStyle.Dashed - 'Add this annotation to a new page. - page.Annotations.Add(inkAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates Solid - - - - - Indicates Dashed - - - - - Indicates Beveled - - - - - Indicates Inset - - - - - Indicates Underline - - - - - Specifies the Line Intent Style is to be used in the line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Set the pdf line indent. - lineAnnotation.LineIntent = PdfLineIntent.LineArrow; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the pdf line indent. - lineAnnotation.LineIntent = PdfLineIntent.LineArrow - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates Line Arrow as intent of the line annotation - - - - - Indicates LineDimension as intent of the line annotation - - - - - Specifies the Line Caption Type is to be used in the Line annotation. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //To specify the line end points - int[] points = new int[] { 80, 420, 150, 420 }; - //Create a new line annotation. - PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation"); - //Set the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Inline; - //Add this annotation to a new page. - page.Annotations.Add(lineAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'To specify the line end points - Dim points() As Integer = { 80, 420, 150, 420 } - 'Create a new line annotation. - Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation") - 'Set the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Inline - 'Add this annotation to a new page. - page.Annotations.Add(lineAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - Indicates Inline as annotation�s caption positioning - - - - - Indicates Top as annotation�s caption positioning - - - - - Specifies the Style of the Text Markup Annotation - - - - //Load an existing document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextMarkupAnnotation textMarkupAnnotation = loadedDocument.Pages[1].Annotations[5] as PdfLoadedTextMarkupAnnotation; - //Sets the pdf text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight; - //Save the document. - loadedDocument.Save("Output.pdf"); - //close the document - loadedDocument.Close(true); - - - 'Load an existing document. - Dim loadedDocument As New PdfLoadedDocument("input.pdf") - 'Gets the annotation from loaded document. - Dim textMarkupAnnotation As PdfLoadedTextMarkupAnnotation = TryCast(loadedDocument.Pages(1).Annotations(5), PdfLoadedTextMarkupAnnotation) - 'Sets the pdf text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType = PdfTextMarkupAnnotationType.Highlight - 'Save the document. - loadedDocument.Save("Output.pdf") - 'close the document - loadedDocument.Close(True) - - - - - - The Text Markup Annotation Type is Highlight. - - - - - The Text Markup Annotation Type is Underline. - - - - - The Text Markup Annotation Type is Squiggly. - - - - - The Text Markup Annotation Type is StrikeOut. - - - - - Specifies the annotation types. - - - - - Highlight type annotation. - - - - - Underline type annotation. - - - - - StrikeOut type annotation. - - - - - Squiggly type annotation. - - - - - AnnotationStates type. - - - - - TextAnnotation type. - - - - - LinkAnnotation type. - - - - - DocumentLinkAnnotation type. - - - - - FileLinkAnnotation type. - - - - - FreeTextAnnotation type. - - - - - LineAnnotation type. - - - - - CircleAnnotation type. - - - - - Ellipse type. - - - - - SquareAnnotation type. - - - - - RectangleAnnotation type. - - - - - PolygonAnnotation type. - - - - - PolyLineAnnotation type. - - - - - SquareandCircleAnnotation type. - - - - - PolygonandPolylineAnnotation type. - - - - - TextMarkupAnnotation type. - - - - - CaretAnnotation type. - - - - - RubberStampAnnotation type. - - - - - LnkAnnotation type. - - - - - PopupAnnotation type. - - - - - FileAttachmentAnnotation type. - - - - - SoundAnnotation type. - - - - - MovieAnnotation type. - - - - - ScreenAnnotation type. - - - - - WidgetAnnotation type. - - - - - PrinterMarkAnnotation type. - - - - - TrapNetworkAnnotation type. - - - - - WatermarkAnnotation type. - - - - - TextWebLinkAnnotation type. - - - - - InkAnnotation type - - - - - No annotation. - - - - - Specifies the annotation text intent. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Create a new page. - PdfPage page = document.Pages.Add(); - //Create a new rectangle - RectangleF textAnnotationBounds = new RectangleF(10, 40, 100, 30); - //Create a new line annotation. - PdfFreeTextAnnotation actionAnnotation = new PdfFreeTextAnnotation(textAnnotationBounds); - //Set the text and font - actionAnnotation.MarkupText = "Text Annotation"; - actionAnnotation.Font = new PdfStandardFont(PdfFontFamily.Courier, 10); - //Set the line caption type. - actionAnnotation.AnnotationIntent = PdfAnnotationIntent.FreeTextCallout; - //Add this annotation to a new page. - page.Annotations.Add(actionAnnotation); - //Save the document to disk. - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Create a new page. - Dim page As PdfPage = document.Pages.Add() - 'Create a new rectangle - Dim textAnnotationBounds As New RectangleF(10, 40, 100, 30) - 'Create a new line annotation. - Dim actionAnnotation As New PdfFreeTextAnnotation(textAnnotationBounds) - 'Set the text and font - actionAnnotation.MarkupText = "Text Annotation" - actionAnnotation.Font = New PdfStandardFont(PdfFontFamily.Courier, 10) - 'Set the line caption type. - actionAnnotation.AnnotationIntent = PdfAnnotationIntent.FreeTextCallout - 'Add this annotation to a new page. - page.Annotations.Add(actionAnnotation) - 'Save the document to disk. - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - - - - The Syncfusion.Pdf.ColorSpace namespace contains classes for enhanced printing support with various Color channels. - - - - - Represents a calibrated gray color, based on a CalGray colorspace. - - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document. - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Create Gray ColorSpace - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Creates GrayColorSpace - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - Class - - - - Represents the extended color, based on a complex colorspace. - - - - - To store the Colorspace. - - - - - Initializes a new instance of the class. - - The colorspace. - - - - Gets the Colorspace - - - - - Local Variable to store the Gray value. - - - - - Initializes a new instance of the class. - - The color space. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document. - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Create Gray ColorSpace - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page. - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Create Gray ColorSpace - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the gray level for this color. - - The gray level of this color. - The acceptable range for this value is [0.0 1.0]. - 0.0 means the darkest color that can be achieved, and 1.0 means the lightest color. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Gets the graphics object. - PdfGraphics g = page.Graphics; - // Created font object - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Creates GrayColorSpace - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Create new instance for PdfCalGrayColor - PdfCalGrayColor red = new PdfCalGrayColor(calGrayCS); - red.Gray = 0.2; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - g.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - ' Created font object - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Creates GrayColorSpace - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Create new instance for PdfCalGrayColor - Dim red As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - red.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - g.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - Class - - - - Represents a CalGray colorspace. - - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Creates GrayColorSpace - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Creates GrayColorSpace - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - - - - Represents the base class for all colorspaces. - - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Set the document`s color spaces as GrayScale - doc.ColorSpace = PdfColorSpace.GrayScale; - PdfPen pen = new PdfPen(PdfBrushes.Red); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, new RectangleF(0,0,100,200)); - doc.Save("ColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s color spaces as GrayScale - doc.ColorSpace = PdfColorSpace.GrayScale - Dim pen As PdfPen = New PdfPen(PdfBrushes.Red) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, New RectangleF(0,0,100,200)) - doc.Save("ColorSpace.pdf") - - - Class - Interface - - - - Interface of the objects that support caching of their internals. - - - - - Checks whether the object is similar to another object. - - The object to compare with the current object. - True - if the objects have equal internals and can share them, False otherwise. - - - - Returns internals of the object. - - Returns internals of the object. - - - - Sets internals to the object. - - Internals of the object. - - - - Internal variable to store the resources. - - - - - Internal variable to store the internal object. - - - - - Internal variable to store the color Internals. - - - - - Internal variable to store the dictionary. - - - - - Internal variable to store the colorspace. - - - - - Checks whether the object is similar to another object. - - The object to compare witht ehcurrent object. - True - if the objects have equal internals and can share them, False otherwise. - - - - Returns internals of the object. - - Returns internals of the object. - - - - Sets internals to the object. - - Internals of the object. - - - - Gets Pdf primitive representing the font. - - - - - Local variable to store the White point of this colorspace. - - - - - Local variable to store the Game value of this colorspace. - - - - - Local variable to store the black point of this colorspace. - - - - - Initializes a new instance of the class. - - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Creates GrayColorSpace - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Creates GrayColorSpace - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - - - - Initializes the PdfLab Colorspace. - - - - - Creates PdfCalGray ColorSpace Array - - PdfCalGray's ColorSpace Array. - - - - Gets or sets the black point. - - An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. Default value: [ 0.0 0.0 0.0 ]. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Create CalGraycolor space - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - calGrayCS.BlackPoint = new double[] { 0.2, 0.3, 0.8 }; - // Create new instance for PdfCalGrayColor - PdfCalGrayColor red = new PdfCalGrayColor(calGrayCS); - red.Gray = 0.2; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Create CalGraycolor space - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - calGrayCS.BlackPoint = New Double() { 0.2, 0.3, 0.8 } - ' Create new instance for PdfCalGrayColor - Dim red As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - red.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the gamma. - - - The gamma value for the gray component. - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Creates gray color space - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - // Update color values - calGrayCS.Gamma = 0.7; - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Creates gray color space - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - ' Update color values - calGrayCS.Gamma = 0.7 - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the white point. - - An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. The numbers XW and ZW must be positive, and YW must be equal to 1.0. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 100, 50); - // Create CalGraycolor space - PdfCalGrayColorSpace calGrayCS = new PdfCalGrayColorSpace(); - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create new instance for PdfCalGrayColor - PdfCalGrayColor gray = new PdfCalGrayColor(calGrayCS); - gray.Gray = 0.2; - PdfPen pen = new PdfPen(gray); - PdfBrush brush = new PdfSolidBrush(gray); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalGrayColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 100, 50) - ' Create CalGraycolor space - Dim calGrayCS As PdfCalGrayColorSpace = New PdfCalGrayColorSpace() - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create new instance for PdfCalGrayColor - Dim gray As PdfCalGrayColor = New PdfCalGrayColor(calGrayCS) - gray.Gray = 0.2 - Dim pen As PdfPen = New PdfPen(gray) - Dim brush As PdfBrush = New PdfSolidBrush(gray) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalGrayColorSpace.pdf") - - - Class - Class - Class - - - - Represents a calibrated RGB color, based on a CalRGB colorspace. - - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - Class - - - - Local variable to store the Red Color. - - - - - Local variable to store the Green Color. - - - - - Local variable to store the Blue Color. - - - - - Initializes a new instance of the class. - - The colorspace - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the Blue value. - - The blue level of this color. - The acceptable range for this value is [0.0 1.0]. 0.0 means the darkest color that can be achieved, and 1.0 means the lightest. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Green = 1 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the green level for this color. - - The green level of this color. - The acceptable range for this value is [0.0 1.0]. 0.0 means the darkest color that can be achieved, and 1.0 means the lightest color. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Green = 1; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Green = 1 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the red level for this color. - - The red level of this color. - The acceptable range for this value is [0.0 1.0]. 0.0 means the darkest color that can be achieved, and 1.0 means the lightest color. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - Class - - - - Representing a CalRGB colorspace. - - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Local variable to store the Whitepoint of this colorspace. - - - - - Local variable to store the BlackPoint of this colorspace. - - - - - Local variable to store the Gama of this colorspace. - - - - - Local variable to store the Matrix value of this colorspace. - - - - - Initializes a new instance of the class. - - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates RedColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates RedColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Initializes the PdfCalRGB ColorSpace - - - - - Creates PdfCalRGB ColorSpace Array - - PdfCalRGB's ColorSpace Array. - - - - Gets or sets the black point. - - An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates redColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.BlackPoint = new double[] { 0.5, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates redColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.BlackPoint = New Double() { 0.5, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the gamma. - - An array of three numbers [GR GG GB] specifying the gamma for the red, green, and blue components of the color space. - - - // Create a new PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates redColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 1.6, 1.1, 2.5 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - red.Green = 1; - red.Blue = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draw the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Gets the graphics object. - Dim g As PdfGraphics = page.Graphics - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates redColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 1.6, 1.1, 2.5 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - red.Green = 1 - red.Blue = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draw the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the colorspace transformation matrix. - - An array of nine numbers [XA YA ZA XB YB ZB XC YC ZC] specifying the linear interpretation of the decoded A, B, and C components of the color space with respect to the final XYZ representation. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates redColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Matrix = new double[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates redColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Matrix = New Double() { 1, 0, 0, 0, 1, 0, 0, 0, 1 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the white point. - - An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - // Creates redColorSpace - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - PdfCalRGBColor red = new PdfCalRGBColor(calRgbCS); - red.Red = 0; - PdfPen pen = new PdfPen(red); - PdfBrush brush = new PdfSolidBrush(red); - // Draws the rectangle - page.Graphics.DrawRectangle(pen, rect); - doc.Save("CalRedColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - ' Creates redColorSpace - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - Dim red As PdfCalRGBColor = New PdfCalRGBColor(calRgbCS) - red.Red = 0 - Dim pen As PdfPen = New PdfPen(red) - Dim brush As PdfBrush = New PdfSolidBrush(red) - ' Draws the rectangle - page.Graphics.DrawRectangle(pen, rect) - doc.Save("CalRedColorSpace.pdf") - - - Class - Class - Class - - - - Represents a device colorspace. - - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document. - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[3]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.AlternateColorSpaces = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - PdfBrush brush = new PdfSolidBrush(color); - page.Graphics.DrawRectangle(brush, rect); - doc.Save("DeviceColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page. - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(2){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.AlternateColorSpaces = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim brush As PdfBrush = New PdfSolidBrush(color) - page.Graphics.DrawRectangle(brush, rect) - doc.Save("DeviceColorSpace.pdf") - - - Class - Class - Class - - - - Local variable to store the Device Colospace Type. - - - - - Initializes a new instance of the class. - - The colorspace. - - - // Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document. - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[3]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.AlternateColorSpaces = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - PdfBrush brush = new PdfSolidBrush(color); - page.Graphics.DrawRectangle(brush, rect); - doc.Save("DeviceColorSpace.pdf"); - - - ' Create a new PDF document. - Dim doc As PdfDocument = New PdfDocument() - ' Create a page. - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(2){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.AlternateColorSpaces = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim brush As PdfBrush = New PdfSolidBrush(color) - page.Graphics.DrawRectangle(brush, rect) - doc.Save("DeviceColorSpace.pdf") - - - Class - Class - Class - - - - Gets or sets the DeviceColorSpaceType - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[1]; - numArray[0] = 0.38f; - function.C1 = numArray; - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - // Creates device color space - PdfDeviceColorSpace deviceColorspace1 = new PdfDeviceColorSpace(PdfColorSpace.CMYK); - deviceColorspace1.DeviceColorSpaceType = PdfColorSpace.GrayScale; - // Set the device color space - colorspace.AlternateColorSpaces = deviceColorspace1; - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - PdfBrush brush = new PdfSolidBrush(color); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(brush, rect); - doc.Save("DeviceColorSpace.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(0){} - numArray(0) = 0.38f - [function].C1 = numArray - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - ' Creates device color space - Dim deviceColorspace1 As PdfDeviceColorSpace = New PdfDeviceColorSpace(PdfColorSpace.CMYK) - deviceColorspace1.DeviceColorSpaceType = PdfColorSpace.GrayScale - ' Set the device color space - colorspace.AlternateColorSpaces = deviceColorspace1 - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim brush As PdfBrush = New PdfSolidBrush(color) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(brush, rect) - doc.Save("DeviceColorSpace.pdf") - - - Class - Class - Class - - - - Represents an ICC color, based on an ICC colorspace. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - Class - - - - Local variable to store the color components. - - - - - Local variable to store the Alternatic Colorspace of this Color. - - - - - Initializes a new instance of the class. - - The colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - Class - - - - Gets or sets the color components. - - An array of values that describe the color in the ICC colorspace. - The length of this array must match the value of ColorComponents property on the underlying ICC colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - Class - - - - Gets the Colorspace. - - - - - Class represents the ICC Colorspace. - Used during creation of documents with PDF/A1B compliance. - - - - - Internal variable to store the stream.. - - - - - Initializes a new instance of the class. - - - - - Saves an instance. - - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Gets the profile data. - - bytes - - - - Gets the element. - - - - - - Represents an ICC based colorspace.. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Local variable to store the Alternative Colorspaces. - - - - - Loacal variable to store the Color Components. - - - - - Local variable to store the Color Profile Data. - - - - - Local variable to store the Color Range. - - - - - Local variable to store the internal stream. - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Set the Color Profile. - - ICC profile data. - - - - Saves an instance. - - - - - Initializes the PdfICCBased Colorspace. - - - - - Creates PdfCalGray ColorSpace Array - - PdfCalGray's ColorSpace Array. - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the alternate color space. - - The alternate color space to be used in case the one specified in the stream data is not supported. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the color components. - - The number of color components in the color space described by the ICC profile data. - This number must match the number of components actually in the ICC profile. As of PDF 1.4, this value must be 1, 3 or 4. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the profile data. - - The ICC profile data. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the range for color components. - - An array of 2 � ColorComponents numbers [ min0 max0 min1 max1 ... ] specifying the minimum and maximum valid values of the corresponding color components. These values must match the information in the ICC profile. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Read the ICC profile from disk. - FileStream fs = new FileStream("rgb.icc", FileMode.Open, FileAccess.Read); - byte[] profileData = new byte[fs.Length]; - fs.Read(profileData, 0, profileData.Length); - fs.Close(); - PdfCalRGBColorSpace calRgbCS = new PdfCalRGBColorSpace(); - calRgbCS.Gamma = new double[] { 7.6, 5.1, 8.5 }; - // Creating instance for ICCColorSpace - PdfICCColorSpace IccBasedCS = new PdfICCColorSpace(); - IccBasedCS.ProfileData = profileData; - IccBasedCS.AlternateColorSpace = calRgbCS; - IccBasedCS.ColorComponents = 3; - IccBasedCS.Range = new double[] { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 }; - PdfICCColor iccColorSpace = new PdfICCColor(IccBasedCS); - iccColorSpace.ColorComponents = new double[] { 1, 0, 1 }; - PdfPen pen = new PdfPen(iccColorSpace); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("ICCColorCS.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Read the ICC profile from disk. - Dim fs As FileStream = New FileStream("rgb.icc", FileMode.Open, FileAccess.Read) - Dim profileData() As Byte = New Byte(fs.Length - 1){} - fs.Read(profileData, 0, profileData.Length) - fs.Close() - Dim calRgbCS As PdfCalRGBColorSpace = New PdfCalRGBColorSpace() - calRgbCS.Gamma = New Double() { 7.6, 5.1, 8.5 } - ' Creating instance for ICCColorSpace - Dim IccBasedCS As PdfICCColorSpace = New PdfICCColorSpace() - IccBasedCS.ProfileData = profileData - IccBasedCS.AlternateColorSpace = calRgbCS - IccBasedCS.ColorComponents = 3 - IccBasedCS.Range = New Double() { 0.0, 1.0, 0.0, 1.0, 0.0, 1.0 } - Dim iccColorSpace As PdfICCColor = New PdfICCColor(IccBasedCS) - iccColorSpace.ColorComponents = New Double() { 1, 0, 1 } - Dim pen As PdfPen = New PdfPen(iccColorSpace) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("ICCColorCS.pdf") - - - Class - Class - Class - Class - - - - Represents an indexed color, based on an indexed colorspace. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - Class - - - - Local variable to store the color index. - - - - - Initializes a new instance of the class. - - The colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - Class - - - - Gets or sets the color index - - The index of the select color. - The acceptable range for this value is 0 - MaxColorIndex. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - Class - - - - Represents an indexed colorspace. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - - - - Local variable to store the base colorspace. - - - - - Local variable to store the maximum Color Index. - - - - - Local variable to store the indexed Color Table. - - - - - Local variable to store the stream. - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - - - - Gets the profile data. - - The profile data. - - - - Saves an instance. - - - - - Initializes the PdfICCBased Colorspace. - - - - - Creates PdfCalGray ColorSpace Array - - PdfCalGray's ColorSpace Array. - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the base colorspace. - - The color space in which the values in the color table are to be interpreted. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the index of the max color. - - The maximum index that can be used to access the values in the color table. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the color table. - - The table of color components. - The color table data must be m * (maxIndex + 1) bytes long, where m is the number of color components in the base color space. Each byte is an unsigned integer in the range 0 to 255 that is scaled to the range of the corresponding color component in the base color space; that is, 0 corresponds to the minimum value in the range for that component, and 255 corresponds to the maximum. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates indexed color space - PdfIndexedColorSpace colorspace = new PdfIndexedColorSpace(); - colorspace.BaseColorSpace = new PdfDeviceColorSpace(PdfColorSpace.RGB); - colorspace.MaxColorIndex = 3; - colorspace.IndexedColorTable = new byte[] { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 }; - // Creates index color - PdfIndexedColor color = new PdfIndexedColor(colorspace); - color.SelectColorIndex = 3; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("IndexedColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates indexed color space - Dim colorspace As PdfIndexedColorSpace = New PdfIndexedColorSpace() - colorspace.BaseColorSpace = New PdfDeviceColorSpace(PdfColorSpace.RGB) - colorspace.MaxColorIndex = 3 - colorspace.IndexedColorTable = New Byte() { 150, 0, 222, 255, 0, 0, 0, 255, 0, 0, 0, 255 } - ' Creates index color - Dim color As PdfIndexedColor = New PdfIndexedColor(colorspace) - color.SelectColorIndex = 3 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("IndexedColor.pdf") - - - Class - Class - Class - Class - - - - Represents a calibrated Lab color, based on a Lab colorspace. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Local variable to store the A value. - - - - - Local variable to store the B value. - - - - - Local variable to store the L value. - - - - - Initializes a new instance of the class. - - The ColorSpace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Gets or sets the a* component for this color. - - The a* component of this color. - The range for this value is defined by the Range property of the underlying Lab colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Gets or sets the b* component for this color. - - The b* component of this color. - The range for this value is defined by the Range property of the underlying Lab colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Gets or sets the l component for this color. - - The l component of this color. - The acceptable range for this value is [0.0 100.0]. 0.0 means the darkest color that can be achieved, and 100.0 means the lightest color. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Represents a Lab colorspace - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Local variable to store the WhitePoint. - - - - - Local variable to store the BlackPoint - - - - - Local variable to store the Range - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Initializes the PdfLab Colorspace. - - - - - Creates PdfLab colorspace Array - - PdfLab's colorspace Array. - - - - Gets or sets BlackPoint - - An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.BlackPoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.BlackPoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Gets or sets the Range - - An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Gets or sets the white point - - An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Create lab color space - PdfLabColorSpace calGrayCS = new PdfLabColorSpace(); - calGrayCS.Range = new double[] { 0.2, 1, 0.8, 23.5 }; - calGrayCS.WhitePoint = new double[] { 0.2, 1, 0.8 }; - // Create lab color - PdfLabColor labColor = new PdfLabColor(calGrayCS); - labColor.L = 90; - labColor.A = 0.5; - labColor.B = 20; - PdfPen pen = new PdfPen(labColor); - RectangleF rect = new RectangleF(20, 70, 200, 100); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("LabColor.pdf"); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates lab color space - Dim calGrayCS As PdfLabColorSpace = New PdfLabColorSpace() - calGrayCS.Range = New Double() { 0.2, 1, 0.8, 23.5 } - calGrayCS.WhitePoint = New Double() { 0.2, 1, 0.8 } - ' Create lab color - Dim labColor As PdfLabColor = New PdfLabColor(calGrayCS) - labColor.L = 90 - labColor.A = 0.5 - labColor.B = 20 - Dim pen As PdfPen = New PdfPen(labColor) - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("LabColor.pdf") - - - Class - Class - Class - - - - Represents a separation color, based on a separation colorspace. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - Class - - - - Local variable to store the tint value. - - - - - Initializes a new instance of the class. - - The colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the Tint Value. - - A float value specifying the tint of this color. - The acceptable range for this value is [0.0 1.0]. 0.0 means the lightest color that can be achieved, and 1.0 means the darkest color. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - Class - - - - Represents a separation colorspace - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - - - - Local variable to store the Coloring. - - - - - Local variable to store teh Pdffuncion. - - - - - Local variable to store the internal stream. - - - - - Local variable to store the Alternative Colorspaces. - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - - - - Get the profile data. - - The profile data - - - - Saves an instance. - - - - - Initializes the PdfICCBased Colorspace. - - - - - Creates PdfCalGray ColorSpace Array - - PdfCalGray's ColorSpace Array. - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Gets or sets the alternate color spaces. - - The alternate color space to be used when the destination device does not support separation colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.AlternateColorSpaces = new PdfDeviceColorSpace(PdfColorSpace.GrayScale); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.AlternateColorSpaces = New PdfDeviceColorSpace(PdfColorSpace.GrayScale) - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - - - - Gets or sets the colorant represented by this separation colorspace. - - The name of the colorant. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.AlternateColorSpaces = new PdfDeviceColorSpace(PdfColorSpace.GrayScale); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.AlternateColorSpaces = New PdfDeviceColorSpace(PdfColorSpace.GrayScale) - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - - - - Gets or sets the tint transform function for the this colorspace. - - Tint transform function for the colorspace. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates ExponentialInterpolationFunction function - PdfExponentialInterpolationFunction function = new PdfExponentialInterpolationFunction(true); - float[] numArray = new float[4]; - numArray[0] = 0.38f; - numArray[1] = 0.88f; - function.C1 = numArray; - // Creates SeparationColorSpace - PdfSeparationColorSpace colorspace = new PdfSeparationColorSpace(); - colorspace.AlternateColorSpaces = new PdfDeviceColorSpace(PdfColorSpace.GrayScale); - colorspace.TintTransform = function; - colorspace.Colorant = "PANTONE Orange 021 C"; - PdfSeparationColor color = new PdfSeparationColor(colorspace); - color.Tint = 0.7; - RectangleF rect = new RectangleF(20, 70, 200, 100); - PdfPen pen = new PdfPen(color); - page.Graphics.DrawRectangle(pen, rect); - doc.Save("SeparationColor.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates ExponentialInterpolationFunction function - Dim [function] As PdfExponentialInterpolationFunction = New PdfExponentialInterpolationFunction(True) - Dim numArray() As Single = New Single(3){} - numArray(0) = 0.38f - numArray(1) = 0.88f - [function].C1 = numArray - ' Creates SeparationColorSpace - Dim colorspace As PdfSeparationColorSpace = New PdfSeparationColorSpace() - colorspace.AlternateColorSpaces = New PdfDeviceColorSpace(PdfColorSpace.GrayScale) - colorspace.TintTransform = [function] - colorspace.Colorant = "PANTONE Orange 021 C" - Dim color As PdfSeparationColor = New PdfSeparationColor(colorspace) - color.Tint = 0.7 - Dim rect As RectangleF = New RectangleF(20, 70, 200, 100) - Dim pen As PdfPen = New PdfPen(color) - page.Graphics.DrawRectangle(pen, rect) - doc.Save("SeparationColor.pdf") - - - Class - Class - Class - - - - Class for default compressor. Default compressor does not - compress data. - - - - - - - Summary description of IPDFCompressor. - - - - - - Compresses bytes data. - - Bytes data. - - Compressed bytes data. - - - - - - Compresses string data. - - String data. - - Compressed string data. - - - - - - Compresses stream data. - - Stream data. - - Compressed streams data. - - - - - - Decompresses string data. - - String data. - - Decompressed bytes data. - - - - - - Decompresses bytes data. - - Bytes data. - - Decompressed bytes data. - - - - - - Decompresses stream data. - - Stream data. - - Decompressed stream data. - - - - - - Gets the compressor type. - - - - - - Gets the compressor name in PDF format. - - - - - Initializes a new instance of the class. - - - - - Compresses bytes data. - - Bytes data that should be compressed. - Compressed bytes data. - - - - - Compresses stream data. - - Stream data that should be - compressed. - Compressed streams data. - - - - - Compresses string data. - - String data that should be compressed. - Compressed string data. - - - - - Decompresses string data. - - String data that should be decompressed. - Decompressed bytes data. - - - - - Decompresses bytes data. - - Bytes data that should be decompressed. - Decompressed bytes data. - - - - - Decompresses stream data. - - Stream data that should be - decompressed. - Decompressed stream data. - - - - - Gets the name of the compressor in PDF format. - - - - - - - Gets the type of the compressor. - - - - - - - Compresses the TIFF using JBIG2 encoder. - - - - - Read Pix information for the image. - - - - - Read pix information from Tiff. - - - - - Create Pix from the tiff. - - - - - Swap bytes for Little Endian byte order. - - - - - Swap bytes for Little Endian byte order. - - - - - Read Tiff compression format. - - - - - Read file format. - - - - - Initialize encoder. - - - - - Initialize encoder context. - - - - - Produces symbol. - - - - - Classify and record information about a page. - - - - - Adds page. - - - - - Finds image components. - - - - - Filter. - - - - - Gets the value from the array. - - - - - - - - - - Adds number and extends the array. - - - - - - - - Returns Box rectangle. - - - - - Returns Pixa - - - - - Return pix with dilated word mask. - - - - - Sequence of binary rasterop morphological operations. - - - - - Replicated integer expansion. - - - - - Replicated expansion integer scaling. - - - - - Power of 2 expansion. - - - - - Binary morphological (raster) ops with brick Sels. - - - - - Removes border of the pix. - - - - - Pix with pixels removed around border. - - - - - Adds border to the pix. - - - - - Adds border to the pix. - - - - - Binary morphological (raster) ops with brick Sels. - - - - - Binary morphological (raster) ops with brick Sels. - - - - - Image display for debugging. - - - - - Image display for debugging. - - - - - Top level scaling dispatcher. - - - - - Top level scaling dispatcher without sharpening. - - - - - Linearly interpreted (up) scaling. - - - - - Color interpolated scaling. - - - - - Linearly interpreted (up) scaling. - - - - - Linearly interpreted (up) scaling. - - - - - Color interpolated scaling: 2x upscaling. - - - - - Color interpolated scaling: 2x upscaling. - - - - - Linearly interpreted (up) scaling. - - - - - Grayscale interpolated scaling 4x upscaling. - - - - - Grayscale interpolated scaling. - - - - - Linearly interpreted (up) scaling. - - - - - Grayscale interpolated scaling: 2x upscaling. - - - - - Unsharp masking. - - - - - Full image set to arbitrary value - - - - - Grayscale block convolution - - - - - Grayscale Block Convolution - - - - - Accumulator for 1, 8 and 32 bpp convolution - - - - - Grayscale block convolution. - - - - - Unsharp masking. - - - - - Unsharp masking. - - - - - Unsharp masking. - - - - - Assign border pixels. - - - - - Downscaling with (antialias) area mapping. - - - - - Color and grayscale downsampling with (antialias) area mapping. - - - - - Color and grayscale downsampling with (antialias) area mapping. - - - - - Downscaling with (antialias) area mapping. - - - - - 2x area mapped downscaling. - - - - - Top-level conversion to 8 or 32 bpp, without colormap. - - - - - Top level conversion to 8 bpp. - - - - - Conversion from RGB color to grayscale. - - - - - Conversion from RGB color to grayscale. - - - - - Convert colored image to grayscale. - - - - - Add colormap losslessly (8 to 8). - - - - - Colormap creation. - - - - - Unpacking conversion from 1, 2 and 4 bpp to 8 bpp. - - - - - Unpacking conversion from 1, 2 and 4 bpp to 8 bpp. - - - - - Colormap creation. - - - - - Colormap creation and addition. - - - - - Conversion from 1, 2 and 4 bpp to 8 bpp. - - - - - Binary scaling by closest pixel sampling. - - - - - Binary scaling by closest pixel sampling. - - - - - Scale-to-gray (1 bpp --> 8 bpp; integer downscaling). - - - - - Scale to gray 2x. - - - - - Returns an 8 bit value for the sum of ON pixels in a 2x2 square. - - - - - Table of 256 uint. - - - - - Scale-to-gray (1 bpp --> 8 bpp; integer downscaling). - - - - - Scale to gray 3x. - - - - - Returns an 8 bit value for the sum of ON pixels in a 3x3 square. - - - - - Table of 64 uint. - - - - - Pix scaled down by 4x in each direction. - - - - - Scale to gray 4x. - - - - - 8 bit value for the sum of ON pixels in a 4x4 square. - - - - - Table of 256 uint. - - - - - Scale-to-gray (1 bpp --> 8 bpp; integer downscaling). - - - - - Scale to gray 8x. - - - - - Scale to gray 8x. - - - - - Table of integers. - - - - - Conversion from 16 bpp to 8 bpp. - - - - - Binary morphological (raster) ops with brick Sels. - - - - - Erodes source Pix using hits in Sel. - - - - - Max translations for erosion and hmt. - - - - - Sets all data to 1. - - - - - Helpers for arg processing. - - - - - Reallocate image data if sizes are different. - - - - - Binary morphological (raster) ops with brick Sels. - - - - - Creates rectangular sel of all hits, misses or don't cares. - - - - - Generic binary morphological ops implemented with rasterop. - - - - - Full image clear to arbitrary value. - - - - - Parser verifier for binary morphological operations. - - - - - Rank filtered binary reductions. - - - - - Pix is downscaled by 2x from source - - - - - Low level subsampled reduction - - - - - This table permutes the bits in a byte. - - - - - Returns pix at the index. - - - - - Gets bounding boxes or Pixa of the components. - - - - - Adds Pix - - - - - Doubles the size of the pixa and boxa ptr arrays. - - - - - Doubles the size of the pixa and boxa ptr arrays. - - - - - Copies Boxa. - - - - - Returns Box at the specified index. - - - - - Extract retangular region. - - - - - Clip box to the rectangle - - - - - Finds bounding boxes of 4 or 8 connected components in a binary image. - - - - - Adds Box. - - - - - Doubles the size of the boxa ptr array. - - - - - Stack based Seed fill algorithm. - - - - - Stack based 4 connected components seedfill algorithm. - - - - - Stack based 8 connected component seedfill algorithm. - - - - - Removes line segment. - - - - - Stack helper functions. - - - - - Identify the connection component to be erased. - - - - - Identify the connected component to be erased. - - - - - Pixel counting. - - For a binary image, if there are no black pixels, returns 1. - For a grayscale image, if all pixels are black, returns 1. - For an RGB image, if all 4 components in every pixel is 0, returns 1. - - - - Low level power of 2 binary expansion - - - - - Expansion tables for 8x expansion. - - - - - Expansion tables for 2x expansion. - - - - - Expansion tables for 4x expansion. - - - - - Pixelwise binarization with fixed threshold. - - - - - Binarization with fixed threshold. - - - - - Simple pixelwise binarization. - - - - - 4x upscale Pix, using linear interpolation, followed by thresholding to binary. - - - - - 2x upscale Pix, using linear interpolation, followed by thresholding to binary. - - - - - Grayscale interpolated scaling: 2x upscaling. - - - - - Scales resolution of the Pix - - - - - Removes colormap for the Pix. - - - - - General raster operation. - - - - - Scales width, performs clipping, checks alignment, and dispatches for the rasterop. - - - - - Rasterop without vertical word alignment. - - - - - Rasterop with vertical word alignment. - - - - - Rasterop with vertical word alignment. - - - - - Scales width, performs clipping, checks alignment, and dispatches for the rasterop. - - - - - Low level uni rasterop. - - - - - Dest rect is left aligned on (32-bit) word boundaries. - - - - - - - - - - Color sample setting and extraction. - - - - - Creates Pix. - - - - - Reads color for colormap. - - - - - Copy Pix. - - - - - Creates Pix of the same size as the input Pix. - - - - - Creates Pix of the same size as the input Pix. - - - - - Copies colormap from source Pix. - - - - - Copies resolution from source Pix. - - - - - Creates Pix. - - - - - Create Pix. - - - - - Checks if Colormap has color. - - - - - Read colormap array. - - - - - Regenerated line info. - - - - - No errors detected. - - - - - Receiver regenerated lines. - - - - - Uncorrected errors exist. - - - - - Compression scheme. - - - - - Dump mode. - - - - - CCITT modified Huffman RLE. - - - - - CCITT Group 3 fax encoding. - - - - - CCITT T.4 (TIFF 6 name for CCITT Group 3 fax encoding). - - - - - CCITT Group 4 fax encoding. - - - - - CCITT T.6 (TIFF 6 name for CCITT Group 4 fax encoding). - - - - - Lempel-Ziv & Welch. - - - - - Original JPEG / Old-style JPEG (6.0). - - - - - JPEG DCT compression. - - - - - NeXT 2-bit RLE. - - - - - CCITT RLE. - - - - - Macintosh RLE. - - - - - ThunderScan RLE. - - - - - IT8 CT w/padding. Reserved for ANSI IT8 TIFF/IT. - - - - - IT8 Linework RLE. Reserved for ANSI IT8 TIFF/IT. - - - - - IT8 Monochrome picture. Reserved for ANSI IT8 TIFF/IT. - - - - - IT8 Binary line art. Reserved for ANSI IT8 TIFF/IT. - - - - - Pixar companded 10bit LZW. Reserved for Pixar. - - - - - Pixar companded 11bit ZIP. Reserved for Pixar. - - - - - Deflate compression. - - - - - Deflate compression, as recognized by Adobe. - - - - - Kodak DCS encoding. - - - - - ISO JBIG. - - - - - SGI Log Luminance RLE. - - - - - SGI Log 24-bit packed. - - - - - Leadtools JPEG2000. - - - - - Information about extra samples. - - - - - Unspecified data. - - - - - Associated alpha data. - - - - - Unassociated alpha data. - - - - - Group 3/4 format control. - - - - - Default, include RTC. - - - - - No RTC at end of data. - - - - - No EOL code at end of row. - - - - - Byte align row. - - - - - Word align row. - - - - - TIFF Class F. - - - - - Subfile data descriptor. - - - - - Reduced resolution version. - - - - - One page of many. - - - - - Transparency mask. - - - - - Data order within a byte. - - - - - Most significant -> least. - - - - - Least significant -> most. - - - - - Options for CCITT Group 3/4 fax encoding. - - - - - Unknown (uninitialized). - - - - - 2-dimensional coding. - - - - - Data not compressed. - - - - - Fill to byte boundary. - - - - - Inks in separated image. - - - - - Cyan-magenta-yellow-black color. - - - - - Multi-ink or hi-fi color. - - - - - Auto RGB<=>YCbCr convert. - - - - - No conversion (default). - - - - - Do auto conversion. - - - - - Jpeg Tables Mode. - - - - - None. - - - - - Include quantization tables. - - - - - Include Huffman tables. - - - - - Kind of data in subfile. - - - - - Full resolution image data. - - - - - Reduced size image data. - - - - - One page of many. - - - - - Image orientation. - - - - - Row 0 top, Column 0 lhs. - - - - - Row 0 top, Column 0 rhs. - - - - - Row 0 bottom, Column 0 rhs. - - - - - Row 0 bottom, Column 0 lhs. - - - - - Row 0 lhs, Column 0 top. - - - - - Row 0 rhs, Column 0 top. - - - - - Row 0 rhs, Column 0 bottom. - - - - - Row 0 lhs, Column 0 bottom. - - - - - Photometric interpretation. - - - - - Min value is white. - - - - - Min value is black. - - - - - RGB color model. - - - - - Color map indexed. - - - - - [obsoleted by TIFF rev. 6.0] Holdout mask. - - - - - Color separations. - - - - - CCIR 601. - - - - - 1976 CIE L*a*b*. - - - - - ICC L*a*b*. Introduced post TIFF rev 6.0 by Adobe TIFF Technote 4. - - - - - ITU L*a*b*. - - - - - CIE Log2(L). - - - - - CIE Log2(L) (u',v'). - - - - - Storage organization. - - - - - Unknown (uninitialized). - - - - - Single image plane. - - - - - Separate planes of data. - - - - - Prediction scheme w/ LZW. - - - - - No prediction scheme used. - - - - - Horizontal differencing. - - - - - Floating point predictor. - - - - - Units of resolutions. - - - - - No meaningful units. - - - - - English. - - - - - Metric. - - - - - Data sample format. - - - - - Unsigned integer data - - - - - Signed integer data - - - - - IEEE floating point data - - - - - Untyped data - - - - - Complex signed int - - - - - Complex ieee floating - - - - - Thresholding used on data. - - - - - B&W art scan. - - - - - Dithered scan. - - - - - Usually Floyd-Steinberg. - - - - - Tag data type. - - - - - Placeholder. - - - - - For field descriptor searching. - - - - - 8-bit unsigned integer. - - - - - 8-bit bytes with last byte null. - - - - - 16-bit unsigned integer. - - - - - 32-bit unsigned integer. - - - - - 64-bit unsigned fraction. - - - - - 8-bit signed integer. - - - - - 8-bit untyped data. - - - - - 16-bit signed integer. - - - - - 32-bit signed integer. - - - - - 64-bit signed fraction. - - - - - 32-bit IEEE floating point. - - - - - 64-bit IEEE floating point. - - - - - 32-bit unsigned integer (offset) - - - - - Subsample positioning. - - - - - As in PostScript Level 2 - - - - - As in CCIR 601-1 - - - - - TIFF tag definitions. - - - - - Tag placeholder - - - - - Subfile data descriptor. - For the list of possible values, see . - - - - - Kind of data in subfile. For the list of possible values, see . - - - - - Image width in pixels. - - - - - Image height in pixels. - - - - - Bits per channel (sample). - - - - - Data compression technique. - For the list of possible values, see . - - - - - Photometric interpretation. - For the list of possible values, see . - - - - - Thresholding used on data. For the list of possible values, see . - - - - - Dithering matrix width. - - - - - Dithering matrix height. - - - - - Data order within a byte. - - - - - Name of document which holds for image. - - - - - Information about image. - - - - - Scanner manufacturer name. - - - - - Scanner model name/number. - - - - - Offsets to data strips. - - - - - Image orientation. For the list of possible values, see . - - - - - Samples per pixel. - - - - - Rows per strip of data. - - - - - Bytes counts for strips. - - - - - Minimum sample value. - - - - - Maximum sample value. - - - - - Pixels/resolution in x. - - - - - Pixels/resolution in y. - - - - - Storage organization. - For the list of possible values, see . - - - - - Page name image is from. - - - - - X page offset of image lhs. - - - - - Y page offset of image lhs. - - - - - Byte offset to free block. - - - - - Sizes of free blocks. - - - - - Gray scale curve accuracy. - - - - - Gray scale response curve. - - - - - Options for CCITT Group 3 fax encoding. 32 flag bits. - - - - - - - - - Options for CCITT Group 4 fax encoding. 32 flag bits. - - - - - - - - - Units of resolutions. - - - - - Page numbers of multi-page. - - - - - Color curve accuracy. - - - - - Colorimetry info. - - - - - Name & release. - - - - - Creation date and time. - - - - - Creator of image. - - - - - Machine where created. - - - - - Prediction scheme w/ LZW. - - - - - Image white point. - - - - - Primary chromaticities. - - - - - RGB map for pallette image. - - - - - Highlight + shadow info. - - - - - Tile width in pixels. - - - - - Tile height in pixels. - - - - - Offsets to data tiles. - - - - - Byte counts for tiles. - - - - - Lines with wrong pixel count. - - - - - Regenerated line info. - - - - - Max consecutive bad lines. - - - - - Subimage descriptors. - - - - - Inks in separated image. - - - - - ASCII names of inks. - - - - - Number of inks. - - - - - 0% and 100% dot codes. - - - - - Separation target. - - - - - Information about extra samples. - - - - - Data sample format. - - - - - Variable MinSampleValue. - - - - - Variable MaxSampleValue. - - - - - ClipPath. - - - - - XClipPathUnits. - - - - - YClipPathUnits. - - - - - Indexed. - - - - - JPEG table stream. - - - - - OPI Proxy. - - - - - JPEG processing algorithm. - - - - - Pointer to SOI marker. - - - - - JFIF stream length - - - - - Restart interval length. - - - - - Lossless proc predictor. - - - - - Lossless point transform. - - - - - Q matrice offsets. - - - - - DCT table offsets. - - - - - AC coefficient offsets. - - - - - RGB -> YCbCr transform. - - - - - YCbCr subsampling factors. - - - - - Subsample positioning. - - - - - Colorimetry info. - - - - - XML packet. - - - - - OPI ImageID. - - - - - Image reference points. - - - - - Region-xform tack point. - - - - - Warp quadrilateral. - - - - - Affine transformation matrix. - - - - - Use EXTRASAMPLE tag. - - - - - Use SAMPLEFORMAT tag. - - - - - Z depth of image. - - - - - Z depth/data tile. - - - - - Full image size in X. - - - - - Full image size in Y. - - - - - Texture map format. - - - - - S&T wrap modes. - - - - - Cotan(fov) for env. maps. - - - - - Used to identify special image modes and data used by Pixar's texture formats. - - - - - Used to identify special image modes and data used by Pixar's texture formats. - - - - - Device serial number. - - - - - Copyright string. - - - - - IPTC TAG from RichTIFF specifications. - - - - - Site name. - - - - - Color seq. [RGB, CMYK, etc]. - - - - - DDES Header. - - - - - Raster scanline padding. - - - - - The number of bits in short run. - - - - - The number of bits in long run. - - - - - LW colortable. - - - - - BP/BL image color switch. - - - - - BP/BL bg color switch. - - - - - BP/BL image color value. - - - - - BP/BL bg color value. - - - - - MP pixel intensity value. - - - - - HC transparency switch. - - - - - Color characterization table. - - - - - HC usage indicator. - - - - - Trapping indicator (untrapped = 0, trapped = 1). - - - - - CMYK color equivalents. - - - - - Sequence Frame Count. - - - - - - - - - Pointer to EXIF private directory. - - - - - ICC profile data. - - - - - JBIG options. - - - - - Pointer to GPS private directory. - - - - - Encoded Class 2 ses. params. - - - - - Received SubAddr string. - - - - - Receive time (secs). - - - - - Encoded fax ses. params, Table 2/T.30. - - - - - Sample value to Nits. - - - - - - - - - Pointer to Interoperability private directory. - - - - - DNG version number. - - - - - DNG compatibility version. - - - - - Name for the camera model. - - - - - Localized camera model name. - - - - - CFAPattern->LinearRaw space mapping. - - - - - Spatial layout of the CFA. - - - - - Lookup table description. - - - - - Repeat pattern size for the BlackLevel tag. - - - - - Zero light encoding level. - - - - - Zero light encoding level differences (columns). - - - - - Zero light encoding level differences (rows). - - - - - Fully saturated encoding level. - - - - - Default scale factors. - - - - - Origin of the final image area. - - - - - Size of the final image area. - - - - - XYZ->reference color space transformation matrix 1. - - - - - XYZ->reference color space transformation matrix 2. - - - - - Calibration matrix 1. - - - - - Calibration matrix 2. - - - - - Dimensionality reduction matrix 1. - - - - - Dimensionality reduction matrix 2. - - - - - Gain applied the stored raw values. - - - - - Selected white balance in linear reference space. - - - - - Selected white balance in x-y chromaticity coordinates. - - - - - How much to move the zero point. - - - - - Relative noise level. - - - - - Relative amount of sharpening. - - - - - How closely the values of the green pixels in the blue/green rows - track the values of the green pixels in the red/green rows. - - - - - Non-linear encoding range. - - - - - Camera's serial number. - - - - - Information about the lens. - - - - - Chroma blur radius. - - - - - Relative strength of the camera's anti-alias filter. - - - - - Used by Adobe Camera Raw. - - - - - Manufacturer's private data. - - - - - Whether the EXIF MakerNote tag is safe to preserve along with the rest of the EXIF data. - - - - - Illuminant 1. - - - - - Illuminant 2. - - - - - Best quality multiplier. - - - - - Unique identifier for the raw image data. - - - - - File name of the original raw file. - - - - - Contents of the original raw file. - - - - - Active (non-masked) pixels of the sensor. - - - - - List of coordinates of fully masked pixels. - - - - - Used to map cameras's color space into ICC profile space. - - - - - Used to map cameras's color space into ICC profile space. - - - - - - - - - - - - - - - Undefined tag used by Eastman Kodak, hue shift correction data. - - - - - Group 3/4 format control. - - - - - Compression quality level. Quality level is on the IJG 0-100 scale. Default value is 75. - - - - - Auto RGB<=>YCbCr convert. - - - - - Default is | . - - - - - G3/G4 fill function. - - - - - PixarLogCodec I/O data sz. - - - - - Imager mode & filter. - - - - - Interpolation mode. - - - - - Color balance values. - - - - - Color correction values. - - - - - Gamma value. - - - - - Toe & shoulder points. - - - - - Calibration file description. - - - - - Compression quality level. - Quality level is on the ZLIB 1-9 scale. Default value is -1. - - - - - PixarLog uses same scale. - - - - - Area of image to acquire. - - - - - SGILog user data format. - - - - - SGILog data encoding control. - - - - - Exposure time. - - - - - F number. - - - - - Exposure program. - - - - - Spectral sensitivity. - - - - - ISO speed rating. - - - - - Optoelectric conversion factor. - - - - - Exif version. - - - - - Date and time of original data generation. - - - - - Date and time of digital data generation. - - - - - Meaning of each component. - - - - - Image compression mode. - - - - - Shutter speed. - - - - - Aperture. - - - - - Brightness. - - - - - Exposure bias. - - - - - Maximum lens aperture. - - - - - Subject distance. - - - - - Metering mode. - - - - - Light source. - - - - - Flash. - - - - - Lens focal length. - - - - - Subject area. - - - - - Manufacturer notes. - - - - - User comments. - - - - - DateTime subseconds. - - - - - DateTimeOriginal subseconds. - - - - - DateTimeDigitized subseconds. - - - - - Supported Flashpix version. - - - - - Color space information. - - - - - Valid image width. - - - - - Valid image height. - - - - - Related audio file. - - - - - Flash energy. - - - - - Spatial frequency response. - - - - - Focal plane X resolution. - - - - - Focal plane Y resolution. - - - - - Focal plane resolution unit. - - - - - Subject location. - - - - - Exposure index. - - - - - Sensing method. - - - - - File source. - - - - - Scene type. - - - - - CFA pattern. - - - - - Custom image processing. - - - - - Exposure mode. - - - - - White balance. - - - - - Digital zoom ratio. - - - - - Focal length in 35 mm film. - - - - - Scene capture type. - - - - - Gain control. - - - - - Contrast. - - - - - Saturation. - - - - - Sharpness. - - - - - Device settings description. - - - - - Subject distance range. - - - - - Unique image ID. - - - - - The unit of density. - - - - - Unknown density - - - - - Dots/inch - - - - - Dots/cm - - - - - Known color spaces. - - - - - Unspecified color space. - - - - - Grayscale - - - - - RGB - - - - - YCbCr (also known as YUV) - - - - - CMYK - - - - - YCbCrK - - - - - Algorithm used for the DCT step. - - - - - Slow but accurate integer algorithm. - - - - - Faster, less accurate integer method. - - - - - Floating-point method. - - - - - Dithering options for decompression. - - - - - No dithering: fast, very low quality - - - - - Ordered dither: moderate speed and quality - - - - - Floyd-Steinberg dither: slow, high quality - - - - - Message codes used in code to signal errors, warning and trace messages. - - - - - Must be first entry! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Describes a result of read operation. - - - - - Suspended due to lack of input data. Can occur only if a suspending data source is used. - - - - - Found valid image datastream. - - - - - Found valid table-specs-only datastream. - - - - - Reached a SOS marker (the start of a new scan) - - - - - Reached the EOI marker (end of image) - - - - - Completed reading one MCU row of compressed data. - - - - - Completed reading last MCU row of current scan. - - - - - JPEG marker codes. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Operating modes for buffer controllers - - - - - Use MSB2LSB (most significant -> least) fill order - - - - - Use LSB2MSB (least significant -> most) fill order - - - - - natural bit fill order for machine - - - - - current directory must be written - - - - - data buffers setup - - - - - encoder/decoder setup done - - - - - written 1+ scanlines to file - - - - - byte swap file information - - - - - inhibit bit reversal logic - - - - - my raw data buffer; free on close - - - - - file is tile, not strip- based - - - - - need call to postencode routine - - - - - currently writing a subifd - - - - - library is doing data up-sampling - - - - - enable strip chopping support - - - - - read header only, do not process the first directory - - - - - skip reading of raw uncompressed image data - - - - - Field bits (flags) for tags. - - - - - This value is used to signify custom tags. - - - - - This value is used as a base (starting) value for codec-private tags. - - - - - Last usable value for field bit. All tags values should be less than this value. - - - - - Holds a value of a Tiff tag. - - - - - Retrieves value converted to byte. - - - - - Retrieves value converted to short. - - - - - Retrieves value converted to ushort. - - - - - Retrieves value converted to int. - - - - - Retrieves value converted to uint. - - - - - Retrieves value converted to float. - - - - - Retrieves value converted to double. - - - - - Retrieves value converted to string. - - - - - Retrieves value converted to byte array. - - - - - Retrieves value converted to array of bytes. - - - - - Retrieves value converted to array of short values. - - - - - Retrieves value converted to array of ushort values. - - - - - Retrieves value converted to array of int values. - - - - - Retrieves value converted to array of uint values. - - - - - Retrieves value converted to array of float values. - - - - - Retrieves value converted to array of double values. - - - - - Gets the value. - - The value. - - - - Base class for all codecs within the library. - - - - - An instance of . - - - - - Compression scheme this codec impelements. - - - - - Codec name. - - - - - Initializes a new instance of the class. - - - - - Initializes this instance. - - - - - Setups the decoder part of the codec. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Flushes any internal data buffers and terminates current operation. - - - - - Seeks the specified row in the strip being processed. - - - - - Cleanups the state of the codec. - - - - - Calculates and/or constrains a strip size. - - - - - Calculate and/or constrains a tile size - - - - - Gets a value indicating whether this codec can decode data. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Flushes any internal data buffers and terminates current operation. - - - - - Cleanups the state of the codec. - - - - - Decode the requested amount of G3 1D-encoded data. - - - - - Decode the requested amount of G3 2D-encoded data. - - - - - Decode the requested amount of RLE-encoded data. - - - - - Decode the requested amount of G4-encoded data. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Tiff tag methods. - - - - - untyped data - - - - - signed integer data - - - - - unsigned integer data - - - - - IEEE floating point data - - - - - Sets the value(s) of a tag in a TIFF file/stream open for writing. - - - - - Gets the value(s) of a tag in an open TIFF file. - - - - - Install extra samples information. - - - - - predictor tag value - - - - - sample stride over data - - - - - tile/strip row size - - - - - horizontal differencer/accumulator - - - - - Setups the decoder part of the codec. - - - - - Decodes one row of image data. - - - - - - Decodes one tile of image data. - - - - - Floating point predictor accumulation routine. - - - - - Floating point predictor differencing routine. - - - - - Decode a scanline and apply the predictor routine. - - - - - Decode a tile/strip and apply the predictor routine. Note that horizontal differencing - must be done on a row-by-row basis. The width of a "row" has already been calculated - at pre-decode time according to the strip/tile dimensions. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Cleanups the state of the codec. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Seeks the specified row in the strip being processed. - - - - - Decode a hunk of pixels. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Tag Image File Format (TIFF) - - - - - undefined state - - - - - undefined state - - - - - name of open file - - - - - open mode (O_*) - - - - - file offset of current directory - - - - - internal rep of current directory - - - - - current scanline - - - - - current strip for read/write - - - - - current tile for read/write - - - - - # of bytes in a tile - - - - - # of bytes in a scanline - - - - - raw data buffer - - - - - # of bytes in raw data buffer - - - - - current spot in raw buffer - - - - - bytes unread from raw buffer - - - - - callback parameter - - - - - post decoding method type - - - - - tag get/set/print routines - - - - - file offset of following directory - - - - - list of offsets to already seen directories to prevent IFD looping - - - - - number of entires in offset list - - - - - number of already seen directories - - - - - file's header block - - - - - data type shift counts - - - - - data type masks - - - - - current directory (index) - - - - - current offset for read/write - - - - - current offset for writing dir - - - - - remaining subifds to write - - - - - offset for patching SubIFD link - - - - - current column (offset by row too) - - - - - sorted table of registered tags - - - - - # entries in registered tag table - - - - - cached pointer to already found tag - - - - - extra client information. - - - - - stream used for read|write|etc. - - - - - post decoding routine - - - - - Compression schemes statically built into the library. - - - - - Checks the directory offset against the list of already seen directory - offsets. - - - - - Reads IFD structure from the specified offset. - - - - - Fetches a contiguous directory item. - - - - - Fetches an ASCII item from the file. - - - - - Fetch a single floating point value from the offset field and - return it as a native float. - - - - - Fetches an array of BYTE or SBYTE values. - - - - - Fetch an array of SHORT or SSHORT values. - - - - - Fetches an array of LONG or SLONG values. - - - - - Fetch an array of RATIONAL or SRATIONAL values. - - - - - Fetches an array of FLOAT values. - - - - - Fetches an array of DOUBLE values. - - - - - Fetches an array of ANY values. - - - - - Fetches a tag that is not handled by special case code. - - - - - Fetches samples/pixel short values for the specified tag and verify - that all values are the same. - - - - - Fetches samples/pixel long values for the specified tag and verify - that all values are the same. - - - - - Fetches samples/pixel ANY values for the specified tag and verify - that all values are the same. - - - - - Fetches a set of offsets or lengths. - - - - - Fetches and sets the RefBlackWhite tag. - - - - - Replace a single strip (tile) of uncompressed data with multiple - strips (tiles), each approximately 8Kbytes. - - - - - Set state to appear as if a strip has just been read in. - - - - - Read the specified strip and setup for decoding. - The data buffer is expanded, as necessary, to hold the strip's data. - - - - - Read the specified tile and setup for decoding. - The data buffer is expanded, as necessary, to hold the tile's data. - - - - - Retrieves the codec registered for the specified compression scheme. - - - - - Checks whether library has working codec for the specific compression scheme. - - - - - Initializes new instance of class and opens a TIFF file for - reading or writing. - - - - - Initializes new instance of class and opens a stream with TIFF data - for reading or writing. - - - - - Closes a previously opened TIFF file. - - - - - Frees and releases all resources allocated by this . - - - - - Merges given field information to existing one. - - - - - Retrieves field information for the specified tag. - - - - - Retrieves field information for the tag with specified name. - - - - - Retrieves field information for the specified tag. - - - - - Gets the value(s) of a tag in an open TIFF file. - - - - - Gets the value(s) of a tag in an open TIFF file or default value(s) of a tag if a tag - is not defined in the current directory and it has a default value(s). - - - - - Reads the contents of the next TIFF directory in an open TIFF file/stream and makes - it the current directory. - - - - - Reads a custom directory from the arbitrary offset within file/stream. - - - - - Calculates the size in bytes of a row of data as it would be returned in a call to - , or as it would be - expected in a call to . - - - - - Computes the number of bytes in a row-aligned strip. - - - - - Computes the number of bytes in a row-aligned strip with specified number of rows. - - - - - Computes the number of bytes in a raw (i.e. not decoded) strip. - - - - - Retrives the number of strips in the image. - - - - - Compute the number of bytes in a row-aligned tile. - - - - - Computes the number of bytes in a row-aligned tile with specified number of rows. - - - - - Compute the number of bytes in each row of a tile. - - - - - Computes which tile contains the specified coordinates (x, y, z, plane). - - - - - Checks whether the specified (x, y, z, plane) coordinates are within the bounds of - the image. - - - - - Retrives the number of tiles in the image. - - - - - Gets the value indicating whether the image data of this has a - tiled organization. - - - - - Gets the value indicating whether the image data returned through the read interface - methods is being up-sampled. - - - - - Gets the tiff stream. - - - - - Sets up the data buffer used to read raw (encoded) data from a file. - - - - - Setups the strips. - - - - - Releases storage associated with current directory. - - - - - Sets the value(s) of a tag in a TIFF file/stream open for writing. - - - - - Reads and decodes a scanline of data from an open TIFF file/stream. - - - - - Reads and decodes a scanline of data from an open TIFF file/stream. - - - - - Gets the number of bytes occupied by the item of given type. - - - - - Swaps the bytes in a single 16-bit item. - - - - - Swaps the bytes in a single 32-bit item. - - - - - Swaps the bytes in specified number of values in the array of 16-bit items. - - - - - Swaps the bytes in specified number of values in the array of 16-bit items starting at - specified offset. - - - - - Swaps the bytes in specified number of values in the array of triples (24-bit items) - starting at specified offset. - - - - - Swaps the bytes in specified number of values in the array of 32-bit items. - - - - - Swaps the bytes in specified number of values in the array of 32-bit items - starting at specified offset. - - - - - Swaps the bytes in specified number of values in the array of double-precision - floating-point numbers. - - - - - Swaps the bytes in specified number of values in the array of double-precision - floating-point numbers starting at specified offset. - - - - - Replaces specified number of bytes in with the - equivalent bit-reversed bytes. - - - - - Replaces specified number of bytes in with the - equivalent bit-reversed bytes starting at specified offset. - - - - - Retrieves a bit reversal table. - - - - - Converts a byte buffer into array of 32-bit values. - - - - - Converts array of 32-bit values into array of bytes. - - - - - Converts a byte buffer into array of 16-bit values. - - - - - Converts array of 16-bit values into array of bytes. - - - - - Delegate for LibTiff.Net extender method - - - - - Delegate for a method used to image decoded spans. - - - - - Setups the decoder part of the codec. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Cleanups the state of the codec. - - - - - Calculates and/or constrains a strip size. - - - - - Calculate and/or constrains a tile size - - - - - Decode a chunk of pixels. - "Standard" case: returned data is not downsampled. - - - - - Decode a chunk of pixels. - - - - - Gets a value indicating whether this codec can decode data. - - - - - JPEG library source data manager. - - - - - Data source object for decompression. - - - - - Initializes this instance. - - - - - Fills input buffer - - - - - Initializes the internal buffer. - - - - - Skip data - used to skip over a potentially large amount of - uninteresting data (such as an APPn marker). - - - - - This is the default resync_to_restart method for data source - managers to use if they don't have any better approach. - - - - - Terminate source - called by jpeg_finish_decompress - after all data has been read. Often a no-op. - - - - - Reads two bytes interpreted as an unsigned 16-bit integer. - - - - - Read a byte into variable V. - If must suspend, take the specified action (typically "return false"). - - - - - Gets the bytes. - - - - - Functions for fetching data from the data source module. - - - - - Alternate source manager for reading from JPEGTables. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Cleanups the state of the codec. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Setups the decoder part of the codec. - - - - - Prepares the decoder part of the codec for a decoding. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Cleanups the state of the codec. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Initializes this instance. - - - - - Fills input buffer - - - - - Skip data - used to skip over a potentially large amount of - uninteresting data (such as an APPn marker). - - - - - This is the default resync_to_restart method for data source - managers to use if they don't have any better approach. - - - - - Terminate source - called by jpeg_finish_decompress - after all data has been read. Often a no-op. - - - - - Decodes one row of image data. - - - - - Decodes one strip of image data. - - - - - Decodes one tile of image data. - - - - - Gets a value indicating whether this codec can decode data. - - - - - Internal format of a TIFF directory entry. - - - - - bit vector of fields that are set - - - - - size of offset and bytecount arrays - - - - - is the bytecount array sorted ascending? - - - - - number of items; length in spec - - - - - byte offset to field data - - - - - magic number (defines byte order) - - - - - TIFF version number - - - - - byte offset to first directory - - - - Base class for both JPEG compressor and decompresor. - - - - Base constructor. - - - - - Creates the array of samples. - - - - - Creates the array of blocks. - - - - - Creates 2-D sample array. - - - - - Gets a value indicating whether this instance is Jpeg decompressor. - - - - - Progress monitor. - - - - - JPEG decompression routine. - - - - - Initializes a new instance of the class. - - - - - Sets input stream. - - - - - Decompression startup: this will read the source datastream header markers, up to the beginning of the compressed data proper. - - - - - Decompression initialization. - - - - - Read some scanlines of data from the JPEG decompressor. - - - - - Finish JPEG decompression. - - - - - Alternate entry point to read raw data. - - - - - Is there more than one scan? - - - - - Initialize for an output pass in buffered-image mode - - - - - Finish up after an output pass in buffered-image mode. - - - - - Indicates if we have finished reading the input file. - - - - - Consume data in advance of what the decompressor requires. - - - - - Pre-calculate output image dimensions and related values for current decompression parameters. - - - - - Read or write the raw DCT coefficient arrays from a JPEG file (useful for lossless transcoding). - - - - - Aborts processing of a JPEG decompression operation. - - - - - Sets processor for special marker. - - - - - Control saving of COM and APPn markers into Marker_list. - - - - - Determine whether merged upsample/color conversion should be used. - - - - - Initialization of JPEG compression objects. - - - - - Master selection of decompression modules for transcoding (that is, reading - raw DCT coefficient arrays from an input JPEG file.) - - - - - Set up for an output pass, and perform any dummy pass(es) needed. - - - - - Set default decompression parameters. - - - - - Retrieves true because this is a decompressor. - - - - - Gets or sets the source for decompression. - - - - - Gets the width of image, set by - - - - - Gets the height of image, set by - - - - - Gets the number of color components in JPEG image. - - - - - Gets or sets the colorspace of JPEG image. - - - - - Gets the list of loaded special markers. - - - - - Gets or sets the output color space. - - - - - Gets or sets the numerator of the fraction of image scaling. - - - - - Gets or sets the denominator of the fraction of image scaling. - - - - - Gets or sets a value indicating whether to use buffered-image mode. - - - - - Enable or disable raw data output. - - - - - Gets or sets the algorithm used for the DCT step. - - - - - Enable or disable upsampling of chroma components. - - - - - Apply interblock smoothing in early stages of decoding progressive JPEG files. - - - - - Colors quantization. - - - - - Selects color dithering method. - - - - - Gets or sets a value indicating whether to use two-pass color quantization. - - - - - Maximum number of colors to use in generating a library-supplied color map. - - - - - Enable future use of 1-pass quantizer. - - - - - Enable future use of external colormap. - - - - - Enable future use of 2-pass quantizer. - - - - - Gets the actual width of output image. - - - - - Gets the actual height of output image. - - - - - Gets the number of color components in . - - - - - Gets the number of color components returned. - - - - - Gets the recommended height of scanline buffer. - - - - - The number of colors in the color map. - - - - - The color map, represented as a 2-D pixel array of rows - and columns. - - - - - Gets the number of scanlines returned so far. - - - - - Gets the number of SOS markers seen so far. - - - - - Gets the number of iMCU rows completed. - - - - - Gets the nominal scan number being displayed. - - - - - Gets the number of iMCU rows read. - - - - - Gets the current progression status.. - - - - - Gets the resolution information from JFIF marker. - - - - - Gets the horizontal component of pixel ratio. - - - - - Gets the vertical component of pixel ratio. - - - - - Gets the data precision. - - - - - Gets the largest vertical sample factor. - - - - - Gets the last read and unprocessed JPEG marker. - - - - - Comp_info[i] describes component that appears i'th in SOF - - - - - The delegate for application-supplied marker processing methods. - - - - - Basic info about one component (color channel). - - - - - Identifier for this component (0..255) - - - - - Its index in SOF or . - - - - - Horizontal sampling factor (1..4) - - - - - Vertical sampling factor (1..4) - - - - - Quantization table selector (0..3) - - - - - DC entropy table selector (0..3) - - - - - AC entropy table selector (0..3) - - - - - Gets or sets the width in blocks. - - - - - Gets the downsampled width. - - - - - Representation of special JPEG marker. - - - - - Gets the special marker. - - - - - Gets the full length of original data associated with the marker. - - - - - Gets the data associated with the marker. - - - - - Bitreading state saved across MCUs - - - - - Bitreading working state within an MCU - - - - - Encapsulates buffer of image samples for one color component - - - - - Derived data constructed for each Huffman table - - - - - - - - - Color quantization or color precision reduction - - - - - Module initialization routine for 1-pass color quantization. - - - - - Initialize for one-pass color quantization. - - - - - Finish up at the end of the pass. - - - - - Switch to a new external colormap between output passes. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Create the colormap. - - - - - Create the color index table. - - - - - Create the ordered-dither tables. - - - - - Allocate workspace for Floyd-Steinberg errors. - - - - - Return largest input value that should map to j'th output value - - - - - Return j'th output value, where j will range from 0 to maxj - - - - - Determine allocation of desired colors to components, - and fill in Ncolors[] array to indicate choice. - Return value is total number of colors (product of Ncolors[] values). - - - - - Create an ordered-dither array for a component having ncolors - distinct output values. - - - - - - - - - Module initialization routine for 2-pass color quantization. - - - - - Initialize for each processing pass. - - - - - Switch to a new external colormap between output passes. - - - - - Prescan some rows of pixels. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Map some rows of pixels to the output colormapped representation. - - - - - Finish up at the end of each pass. - - - - - Compute representative color for a box, put it in colormap[icolor] - - - - - Master routine for color selection - - - - - Repeatedly select and split the largest box until we have enough boxes - - - - - Find the splittable box with the largest color population - - - - - Find the splittable box with the largest (scaled) volume - - - - - Shrink the min/max bounds of a box to enclose only nonzero elements, - and recompute its volume and population - - - - - Initialize the error-limiting transfer function (lookup table). - - - - - - - - - Find the closest colormap entry for each cell in the update box, - - - - - Fill the inverse-colormap entries in the update box that contains - histogram cell c0/c1/c2. - - - - - Upsampling (note that upsampler must also call color converter) - - - - - Initialize for an upsampling pass. - - - - - Control routine to do upsampling (and color conversion). - - - - - Control routine to do upsampling (and color conversion). - - - - - Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical. - - - - - Upsample and color convert for the case of 2:1 horizontal and 2:1 vertical. - - - - - Initialize tables for YCC->RGB colorspace conversion. - - - - - Expanded data source object for stdio input - - - - - Initialize source - called by jpeg_read_header - before any data is actually read. - - - - - Fill the input buffer - called whenever buffer is emptied. - - - - - Initialize for an upsampling pass. - - - - - Control routine to do upsampling (and color conversion). - - - - - This is a no-op version used for "uninteresting" components. - - - - - For full-size components, we just make color_buf[ci] point at the - input buffer, and thus avoid copying any data. - - - - - Fancy processing for the common case of 2:1 horizontal and 1:1 vertical. - - - - - Fast processing for the common case of 2:1 horizontal and 1:1 vertical. - - - - - Fancy processing for the common case of 2:1 horizontal and 2:1 vertical. - - - - - Fast processing for the common case of 2:1 horizontal and 2:1 vertical. - - - - - This version handles any integral sampling ratios. - - - - - Compute a/b rounded up to next integer, ie, ceil(a/b) - - - - - Compute a rounded up to next multiple of b, ie, ceil(a/b)*b - - - - - Copy some rows of samples from one place to another. - - - - - Expanded entropy decoder object for Huffman decoding. - - - - - Entropy decoding - - - - - Expand a Huffman table definition into the derived format - - - - - Initialize for a Huffman-compressed scan. - - - - - Decode and return one MCU's worth of Huffman-compressed coefficients. - - - - - Check for a restart marker and resynchronize decoder. - Returns false if must suspend. - - - - - Colorspace conversion - - - - - Module initialization routine for output colorspace conversion. - - - - - Convert some rows of samples to the output colorspace. - - - - - Initialize tables for YCC->RGB colorspace conversion. - - - - - Adobe-style YCCK->CMYK conversion. - - - - - Convert grayscale to RGB: just duplicate the graylevel three times. - - - - - Color conversion for grayscale: just copy the data. - - - - - Color conversion for no colorspace change: just copy the data, - converting from separate-planes to interleaved representation. - - - - - Coefficient buffer control - - - - - Initialize for an input processing pass. - - - - - Consume input data and store it in the full-image coefficient buffer. - - - - - Initialize for an output processing pass. - - - - - Decompress and return some data in the single-pass case. - - - - - Decompress and return some data in the multi-pass case. - - - - - Variant of decompress_data for use when doing block smoothing. - - - - - Determine whether block smoothing is applicable and safe. - - - - - Reset within-iMCU-row counters for a new row (input side) - - - - - Main buffer control (downsampled-data buffer) - - - - - Initialize for a processing pass. - - - - - Process some data. - This handles the simple case where no context is required. - - - - - Process some data. - This handles the case where context rows must be provided. - - - - - Process some data. - - - - - Allocate space for the funny pointer lists. - - - - - Create the funny pointer lists discussed in the comments above. - - - - - Set up the "wraparound" pointers at top and bottom of the pointer lists. - - - - - Change the pointer lists to duplicate the last sample row at the bottom - of the image. - - - - - Decompression postprocessing (color quantization buffer control) - - - - - Initialize postprocessing controller. - - - - - Initialize for a processing pass. - - - - - Process some data in the one-pass (strip buffer) case. - This is used for color precision reduction as well as one-pass quantization. - - - - - Process some data in the first pass of 2-pass quantization. - - - - - Process some data in the second pass of 2-pass quantization. - - - - - Master control module - - - - - Per-pass setup. - - - - - Finish up at end of an output pass. - - - - - Master selection of decompression modules. - - - - - Allocate and fill in the sample_range_limit table. - - - - - Input control module - - - - - Initialize the input controller module. - - - - - Reset state to begin a fresh datastream. - - - - - Initialize the input modules to read a scan of compressed data. - - - - - Finish up after inputting a compressed-data scan. - - - - - Read JPEG markers before, between, or after compressed-data scans. - - - - - Routines to calculate various quantities related to the size of the image. - - - - - Save away a copy of the Q-table referenced by each component present - in the current scan, unless already saved during a prior scan. - - - - - Do computations that are needed before processing a JPEG scan - cinfo.comps_in_scan and cinfo.cur_comp_info[] were set from SOS marker - - - - - - - - - Prepare for an output pass. - - - - - Perform dequantization and inverse DCT on one block of coefficients. - - - - - Dequantize a coefficient by multiplying it by the multiplier-table - entry; produce an int result. In this module, both inputs and result - are 16 bits or less, so either int or short multiply will work. - - - - - Perform dequantization and inverse DCT on one block of coefficients. - - - - - Multiply a DCTELEM variable by an int constant, and immediately - descale to yield a DCTELEM result. - - - - - Dequantize a coefficient by multiplying it by the multiplier-table - entry; produce a DCTELEM result. - - - - - Like DESCALE, but applies to a DCTELEM and produces an int. - - - - - Perform dequantization and inverse DCT on one block of coefficients. - - - - - Dequantize a coefficient by multiplying it by the multiplier-table - entry; produce a float result. - - - - - Inverse-DCT routines that produce reduced-size output: - either 4x4, 2x2, or 1x1 pixels from an 8x8 DCT block. - - - - - Perform dequantization and inverse DCT on one block of coefficients, - producing a reduced-size 2x2 output block. - - - - - Perform dequantization and inverse DCT on one block of coefficients, - producing a reduced-size 1x1 output block. - - - - - Dequantize a coefficient by multiplying it by the multiplier-table - entry; produce an int result. - - - - - Marker reading and parsing - - - - - Initialize the marker reader module. - - - - - Reset marker processing state to begin a fresh datastream. - - - - - Read markers until SOS or EOI. - - - - - Read a restart marker, which is expected to appear next in the datastream; - - - - - Find the next JPEG marker, save it in cinfo.unread_marker. - - - - - Install a special processing method for COM or APPn markers. - - - - - Save an APPn or COM marker into the marker list - - - - - Skip over an unknown or uninteresting variable-length marker - - - - - Process an APP0 or APP14 marker without saving it - - - - - Examine first few bytes from an APP0. - - - - - Examine first few bytes from an APP14. - - - - - Process an SOI marker - - - - - Process a SOFn marker - - - - - Process a SOS marker - - - - - Process a DHT marker - - - - - Process a DQT marker - - - - - Process a DRI marker - - - - - Like next_marker, but used to obtain the initial SOI marker. - - - - - Expanded entropy decoder object for progressive Huffman decoding. - - - - - Initialize for a Huffman-compressed scan. - - - - - MCU decoding for DC initial scan (either spectral selection, - or first pass of successive approximation). - - - - - MCU decoding for AC initial scan (either spectral selection, - or first pass of successive approximation). - - - - - MCU decoding for DC successive approximation refinement scan. - - - - - Check for a restart marker and resynchronize decoder. - - - - - MCU decoding for AC successive approximation refinement scan. - - - - - Defines some JPEG constants. - - - - - The basic DCT block is 8x8 samples - - - - - DCTSIZE squared; the number of elements in a block. - - - - - Quantization tables are numbered 0..3 - - - - - Huffman tables are numbered 0..3 - - - - - JPEG limit on the number of components in one scan. - - - - - Compressor's limit on blocks per MCU. - - - - - Decompressor's limit on blocks per MCU. - - - - - JPEG limit on sampling factors. - - - - - Maximum number of color channels allowed in JPEG image. - - - - - The size of sample. - - - - - DCT method used by default. - - - - - Fastest DCT method. - - - - - A tad under 64K to prevent overflows. - - - - - The maximum sample value. - - - - - The medium sample value. - - - - - Offset of Red in an RGB scanline element. - - - - - Offset of Green in an RGB scanline element. - - - - - Offset of Blue in an RGB scanline element. - - - - - Bytes per RGB scanline element. - - - - - The number of bits of lookahead. - - - - - DCT coefficient quantization tables. - - - - - Gets or sets a value indicating whether the table has been output to file. - - - - - JPEG virtual array. - - - - - Request a virtual 2-D array - - - - - Access the part of a virtual array. - - - - - Gets or sets the error processor. - - - - - One block of coefficients. - - - - - Gets or sets the element at the specified index. - - - - - Huffman coding table. - - - - - Gets or sets a value indicating whether the table has been output to file. - - - - - The progress monitor object. - - - - - Indicates that progress was changed. - - - - - Occurs when progress is changed. - - - - - Gets or sets the number of work units completed in this pass. - - - - - Gets or sets the total number of work units in this pass. - - - - - Gets or sets the number of passes completed so far. - - - - - Gets or sets the total number of passes expected. - - - - - Represents a TIFF field information. - - - - - marker for variable length tags - - - - - marker for SamplesPerPixel-bound tags - - - - - marker for integer variable length tags - - - - - Initializes a new instance of the class. - - - - - Returns a that represents this instance. - - - - - The tag described by this instance. - - - - - Number of values to read when reading field information or - one of , and . - - - - - Number of values to write when writing field information or - one of , and . - - - - - Type of the field values. - - - - - Index of the bit to use in "Set Fields Vector" when this instance - is merged into field info collection. Take a look at class. - - - - - If true, then it is permissible to set the tag's value even after writing has commenced. - - - - - If true, then number of value elements should be passed to - method as second parameter (right after tag type AND before values itself). - - - - - The name (or description) of the tag this instance describes. - - - - - A stream used by the library for TIFF reading and writing. - - - - - Reads a sequence of bytes from the stream and advances the position within the stream - by the number of bytes read. - - - - - Sets the position within the current stream. - - - - - Closes the current stream. - - - - - Gets the length in bytes of the stream. - - - - - Compresses data using the ASCII85 compression - method, reproducing the original text or binary data. - - - - - Internal variable contains the ascii offset. - - - - - Internal variable contains the encoded block. - - - - - Internal variable contains the decoded block. - - - - - Internal variable. - - - - - The code Table. - - - - - Initializes a new instance of the class. - - - - - Decompresses the specified input data. - - The input data. - The output data. - - - - Compresses bytes data. - - Bytes data to be compressed. - Compressed bytes data. - - - - Compresses string data. - - String data to be compressed. - Compressed string data. - - - - Compresses stream data. - - Stream data to be compressed. - Compressed streams data. - - - - Decompresses string data. - - String data to be decompressed. - Decompressed bytes data. - - - - Decompresses bytes data. - - Bytes data to be decompressed. - decompressed bytes data - - - - Decompresses stream data. - - Stream data to be decompressed. - Decompressed stream data. - - - - Decodes the block. - - - - - Decodes the block. - - The bytes. - - - - Gets the Type of the compressor. - - - - - - Gets name of compressor in PDF format. - - - - - - Encodes data to CCITT format. - - - - - End of line. - - - - - Invalide data. - - - - - End of input data. - - - - - Incomplete run code. - - - - - Bit length of g3 code. - - - - - G3 code. - - - - - Run length in bits. - - - - - EOL code value - 0000 0000 0000 1. - - - - - Holds table zero span. - - - - - Holds table one span. - - - - - Holds terminating white codes. - - - - - Holds terminating black codes. - - - - - 001 - - - - - 0001 - - - - - holds mask table. - - - - - Holds vertical table. - - - - - Holds row bytes. - - - - - Holds row pixels. - - - - - Holds bit count. - - - - - Holds data. - - - - - Holds reference line. - - - - - Holds out buffer array list. - - - - - Holds image data. - - - - - Holds offset data. - - - - - Initializes a new instance of the class. - - - - - Initializes the class. - - - - - Encodes the image. - - The image data. - The image width. - The image height. - - - - - Creates ccitt vertical table. - - - - - Creates ccitt zero span. - - - - - Creates citt one span. - - - - - Creates terminating white codes. - - - - - Creates terminating black codes. - - - - - Putcodes the specified table. - - The table. - - - - Putspans the specified span. - - The span. - The tab. - - - - Puts the bits. - - The bits. - The length. - - - - Implements Fax3Encode. - - - - - Implements Fax4Encode. - - - - - Pixels the specified data. - - The data. - The offset. - The bit. - - - - - Finds the first span. - - The bp. - The offset. - The bs. - The be. - - - - - Finds the zero span. - - The bp. - The offset. - The bs. - The be. - - - - - Finddiffs the specified bp. - - The bp. - The offset. - The bs. - The be. - The color. - - - - - Finddiff2s the specified bp. - - The bp. - The offset. - The bs. - The be. - The color. - - - - - Compresses data using the LZW compression - method, reproducing the original text or binary data. - - - - - EndOfData marker. - - - - - Clear-table marker. - - - - - Start code marker. - - - - - The marker to set the dictionary to 10 bits code length. - - - - - The marker to set the dictionary to 11 bits code length - - - - - The marker to set the dictionary to 12 bits code length - - - - - Table for codes (dictionary). - - - - - Input data. - - - - - Output data. - - - - - Table index. - - - - - The number of bits per code. - - - - - Byte read. - - - - - Next data. - - - - - Nex bits. - - - - - The size of the table. - - - - - IsEarlyChanged of the LzwCompressor, which is set to true by default - - - - - Initializes a new instance of the class. - - - - - Decompresses the specified input data. - - The input data. - The output data. - - - - Compresses bytes data. - - Bytes data to be compressed. - Compressed bytes data. - - - - Compresses string data. - - String data to be compressed. - Compressed string data. - - - - Compresses stream data. - - Stream data to be compressed. - Compressed streams data. - - - - Decompresses string data. - - String data to be decompressed. - Decompressed bytes data. - - - - Decompresses bytes data. - - Bytes data to be decompressed. - decompressed bytes data - - - - Decompresses stream data. - - Stream data to be decompressed. - Decompressed stream data. - - - - Initializes the data table. - - - - - Writes the code to output stream. - - The code. - - - - Adds the code to table. - - The old bytes. - The new byte. - - - - Adds the code to table. - - The data. - - - - Add new data to the olddata array. - - The old data. - The new data. - Result data array. - - - - News the code. - - code - - - - Gets the Type of the compressor. - - - - - - Gets name of compressor in PDF format. - - - - - - PdfPngFilter provides methods that allows to restore original data - being modified by similar filter or modify data to better compression ratio. - - - - - Required for type cast. - - - - - Delegate for the sub filter. - - - - - Delegate for the up filter. - - - - - Delegate for the average filter. - - - - - Delegate for the Paeth filter. - - - - - Delegate for the restore filter. - - - - - Modifies the data by the filter of type 'type'. - - The data to modify. - Bytes per row. - The type of the filter. - The modified data. - - - - Retrieves the original data from the modified. - - The modified data. - Bytes per row. - The original data. - - - - Performs actual compression or decompression. - - The original data buffer. - The BPR. - The filter. - if it is pack, set to true - - - - - Modifies a row by the Sub algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Modifies a row by the Up algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Modifies a row by the Average algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Modifies a row by the Paeth algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Retrieves original data for a single row. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Decompresses a row using none filter. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Decompresses a row using the Sub filter. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Decompresses a row compressed by the Up filter. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Decompress a row compressed by the Average algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Unpacks a row packed by the Paeth algorithm. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Returns the Paeth predictor. - - Left pixel. - Above pixel. - Upper left pixel. - The value of the Paeth predictor. - - - - Defines Png Filtern Type. - - - - - None compression. - - - - - Sub compression - - - - - Up compression - - - - - Average compression - - - - - Paeth compression - - - - - Used to call a row filter. - - The original data buffer. - The current row index within the original buffer. - The byte-per-row value of the original buffer. - The result data buffer. - The current row index within the result buffer. - The byte-per-row value of the result buffer. - - - - Compresses data using the zlib / deflate compression - method, reproducing the original text or binary data. - - - - - Default buffer size for decompression. - - - - - Name of the compressor. - - - - - Level of compression. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The level. - - - - Compresses bytes data. - - Bytes data to be compressed. - Compressed bytes data. - - - - Compresses stream data. - - Stream data. - Compressed streams data. - - - - - Compresses string data. - - String data to be compressed. - Compressed string data. - - - - Decompresses string data. - - String data to be decompressed. - Decompressed bytes data. - - - - Decompresses bytes data. - - Bytes data to be decompressed. - Decompressed bytes data. - - - - Decompresses stream data. - - Stream data to be decompressed. - Decompressed stream data. - - - - Gets name of compressor in PDF format. - - - - - Gets type of compressor. - - - - - Gets encoding value for this compressor. - - - - - Gets or sets level of compression. - - - - - Defines data compression level. - - - - - - Pack without compression. - - - - - - Use high speed compression, reduce of data size is low. - - - - - - Something middle between normal and BestSpeed compressions. - - - - - - Use normal compression, middle between speed and size. - - - - - - Pack better but require a little more time. - - - - - - Use best compression, slow enough. - - - - - - Enumerator that implements compression level. - - - - - - No compression. - - - - - - Compresses data using the zlib or deflate compression method, - reproducing the original text or binary data. - - - - - - Compresses data using the LZW compression method, reproducing - the original text or binary data. - - - - - - Compresses data using the ASCII85 compression method, reproducing - the original text or binary data. - - - - - - Represents supported stream filters. - - - - - - Decompresses data encoded using a DCT (discrete cosine transform) - technique based on the JPEG standard, reproducing image sample - data that approximates the original data. - - - - - - Decompresses data encoded using the zlib / deflate - compression method, reproducing the original text or binary - data. - - - - - Represents the attachments of the PDF document. - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create an attachment - PdfAttachment attachment = new PdfAttachment("Input.txt"); - attachment.Description = "Input.txt"; - attachment.MimeType = "application/txt"; - //Add the attachment to the document - document.Attachments.Add(attachment); - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create an attachment - Dim attachment As New PdfAttachment("Input.txt") - attachment.Description = "Input.txt" - attachment.MimeType = "application/txt" - 'Add the attachment to the document - document.Attachments.Add(attachment) - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Represents specification of embedded file. - - - - - Represents base class for file specification objects. - - - - - Internal variable to store dictionary. - - - - Name of the file. - - - - Initializes instance. - - - - - Saves an instance. - - - - - Formats file name to Unix format. - - File name to format. - bool value which represents the file path type. - Formatted file name. - - - - Handles the BeginSave event of the m_dictionary control. - - The source of the event. - The - instance containing the event data. - - - - Gets or sets the name of the file. - - The name of the file. - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Internal variable to store description. - - - - - Embedded file instance. - - - - - Dictionary to store file specification properties. - - - - - PortfolioAttributes instance. - - - - file name - - - Name of the file. - The data. - - - Name of the file. - The stream. - - - - Initializes instance. - - - - - Saves object state. - - - - - - - - Gets or sets the data. - - The data. - - - - Gets or sets the description. - - The description. - - - - Gets or sets the MIME type of the embedded file. - - The MIME type of the embedded file. - - - - Gets or sets creation date. - - Creation date. - - - - Gets or sets modification date. - - Modification date. - - - - Gets or sets the Portfolio attributes. - - - - Name of the file. - - - The name of the file to be attached. - The data to be attached as a file. - - - The name of the file to be attached. - The stream to be attached. - - - - Represents a collection of the attachment objects. - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create an attachment - PdfAttachment attachment = new PdfAttachment("Input.txt"); - attachment.Description = "Input.txt"; - attachment.MimeType = "application/txt"; - //Add the attachment to the document - document.Attachments.Add(attachment); - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create an attachment - Dim attachment As New PdfAttachment("Input.txt") - attachment.Description = "Input.txt" - attachment.MimeType = "application/txt" - 'Add the attachment to the document - document.Attachments.Add(attachment) - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Internal variable to store internal array of attachments. - - - - - Internal variable to store dictionary wrapper. - - - - - internal Variable to store filename and attachment. - - - - - internal variable to store ordered filename. - - - - - internal variable to store file count value. - - - - - store the cross table - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The attachment dictionary. - The table. - - - - Internal method to get attachement information. - - The Pdfarray. - - - - - Inserts the attachment at specified index. - - The index at which attachment to be inserted. - The attachment to be inserted. - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create an attachment - PdfAttachment attachment = new PdfAttachment("Input.txt"); - attachment.Description = "Input.txt"; - attachment.MimeType = "application/txt"; - //insert the attachment at specified index - document.Attachments.Insert(1, attachment); - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create an attachment - Dim attachment As New PdfAttachment("Input.txt") - attachment.Description = "Input.txt" - attachment.MimeType = "application/txt" - 'insert the attachment at specified index - document.Attachments.Insert(1, attachment) - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Removes the specified attachment from the collection. - - The attachment to be removed. - /// - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Load an attachment collection - PdfAttachmentCollection attachments = loadedDocument.Attachments; - //Remove attachment by attachment name. - attachments.Remove(attachment); - //Remove attachment by index - attachments.RemoveAt(1); - //Save and close the document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Load an attachment collection - Dim attachments As PdfAttachmentCollection = loadedDocument.Attachments - 'Remove attachment by attachment name. - attachments.Remove(attachment) - 'Remove attachment by index - attachments.RemoveAt(1) - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Removes attachment at the specified index. - - The index at which the attachment to be removed. - /// - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Load an attachment collection - PdfAttachmentCollection attachments = loadedDocument.Attachments; - //Remove attachment by attachment name. - attachments.Remove(attachment); - //Remove attachment by index - attachments.RemoveAt(1); - //Save and close the document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Load an attachment collection - Dim attachments As PdfAttachmentCollection = loadedDocument.Attachments - 'Remove attachment by attachment name. - attachments.Remove(attachment) - 'Remove attachment by index - attachments.RemoveAt(1) - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - search and find the index of the attachment. - - The attachment to find the position. - The index of the specified attachment. - /// - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create an attachment - PdfAttachment attachment = new PdfAttachment("Input.txt"); - attachment.Description = "Input.txt"; - attachment.MimeType = "application/txt"; - //Add the attachment to the document - document.Attachments.Add(attachment); - //Get the index of attachment - int index = document.Attachments.IndexOf(attachment); - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create an attachment - Dim attachment As New PdfAttachment("Input.txt") - attachment.Description = "Input.txt" - attachment.MimeType = "application/txt" - 'Add the attachment to the document - document.Attachments.Add(attachment) - 'Get the index of attachment - Dim index As Integer = document.Attachments.IndexOf(attachment) - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Determines whether the attachment collection contains the specified attachment. - - The attachment to be searched. - - if it contains the specified attachment, set to true. otherwise false - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create an attachment - PdfAttachment attachment = new PdfAttachment("Input.txt"); - attachment.Description = "Input.txt"; - attachment.MimeType = "application/txt"; - //Add the attachment to the document - document.Attachments.Add(attachment); - //check the collection contains the specified attachment. - bool isAttachmentContained = document.Attachments.Contains(attachment); - //Save and close the PDF document - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new PDF document - Dim document As New PdfDocument() - 'Create an attachment - Dim attachment As New PdfAttachment("Input.txt") - attachment.Description = "Input.txt" - attachment.MimeType = "application/txt" - 'Add the attachment to the document - document.Attachments.Add(attachment) - 'check the collection contains the specified attachment. - Dim isAttachmentContained As Boolean = document.Attachments.Contains(attachment) - 'Save and close the PDF document - document.Save("Output.pdf") - document.Close(True) - - - - - - Remove all the attachments from the collection. - - - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get the attachments - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Remove all the bookmarks form the collection - bookmarks.Clear(); - //Save and close the PDF document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get the attachments - Dim attachments As PdfAttachmentCollection = loadedDocument.Attachments - 'Remove all the bookmarks form the collection - attachments.Clear() - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Adds the attachment. - - The attachment. - The index of the attachment. - - - - Does the insert. - - The index. - The attachment. - - - - Removes the attachment. - - The attachment. - - - - Removes the attachment. - - The index. - - - - Clears the collection. - - - - - - Gets the element. - - - - - Represents a fields which is calculated before the document saves. - - Class - - - - Internal variable to store field's bounds. - - - - - Internal variable to store font. - - - - - Internal variable to store brush. - - - - - Internal variable to store pen. - - - - - Internal variable to store string format. - - - - - Internal variable to store template size. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - - The represents the format of the text. - - - - Initializes a new instance of the class with and . - - The represents the format of the text. - The provides color and texture to the text. - - - - Initializes a new instance of the class with and bounds. - - The represents the format of the text. - The bounds. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - X co-ordinate of the element. - Y co-ordinate of the element. - - - - - Gets the value of the field at the specified graphics. - - The graphics. - - - - - Performs draw. - - The graphics. - The location. - The scaling X. - The scaling Y. - - - - - Gets the template size. - - The template size. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - - Gets the brush. If brush is undefined default black brush will be used. - - The brush - - - - - Gets the font. If font is undefined default font will be used. - - - - - - - Gets or sets the bounds of the field. - - The bounds value. - - - - Gets or sets the size of the field. - - The size of the field. - - - - Gets or sets the location of the field. - - The location. - - - - Gets or sets the of the field. - - The represents the format of the text. - - - - Gets or sets the of the field - - The provides color and texture to the text. - - - - Gets or sets the of the field. - - The that determines the color, width, and style of the text. - - - - Gets or sets the of the field. - - The determines text layout information on PDF - - - - Represents information about the automatic field. - - - - - Internal variable to store location of the field. - - - - - Internal variable to store field. - - - - - Internal variable to store x scaling factor. - - - - - Internal variable to store y scaling factor. - - - - - Initializes a new instance of the class. - - The field. - The location. - - - - Initializes a new instance of the class. - - The field. - The location. - The scaling X. - The scaling Y. - - - - Initializes a new instance of the class. - - The field info. - - - - Gets or sets the location. - - The location. - - - - Gets or sets the field. - - The field. - - - - Gets or sets the scaling X factor. - - The scaling X factor. - - - - Gets or sets the scaling Y factor. - - The scaling Y factor. - - - - Represent a collection of automatic fields information. - - Class - - - - Initializes a new instance of the class. - - - - - Adds the specified field info. - - The field info. - field Info - - - - - Represents automatic field which has the same value within the - - Class - - - - Represents automatic field which value is dynamically evaluated. - - Class - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - - Initializes a new instance of the class and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - . - - - - Initializes a new instance of the class with and bounds - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The Rectangle bounds. - - - - Gets the page from a graphics. - - The graphics. - The proper PdfPage instance. - - - - Gets the Loaded page from a graphics. - - The graphics - The graphics - - - - Internal variable to store templates associated with the graphics. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The specifies the color and texture to the text. - - - - Initializes a new instance of the class with and rectangle bounds. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The rectangle bounds. - - - - Performs draw. - - The graphics. - The location. - The scaling X. - The scaling Y. - - - - Gets or sets the tag for the element - - - - - Internal variable to store list of automatic fields. - - - - - Internal variable to store value. - - - - - - - - - - Initializes a new instance of the class with text and list of automatic fields - - The wide-character string to be drawn. - The list of objects. - - - - Initializes a new instance of the class with ,text and list of automatic fields - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The wide-character string to be drawn. - The list of objects. - - - - Initializes a new instance of the class with ,,text and list of automatic fields. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - The wide-character string to be drawn. - The list of objects. - - - - Gets the value of the field at the specified graphics. - - The graphics. - - - - - - - Gets or sets the automatic fields. - - The array of automatic fields . - - - - Represents class to display creation date of the document. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(font); - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - //Save and close the document - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F) - Dim brush As PdfBrush = PdfBrushes.Black - ' Creates Date time field - Dim dateTimeField As New PdfCreationDateField(font) - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next - 'Save and close the document - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - Class - - - - Represents automatic field which has the same value - in the whole document. - - Class - - - - Internal variable to store templates associated with the document. - - - - - Internal variable to array of graphics. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - - Initializes a new instance of the class with and rectangle bounds of the field - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The bounds. - - - - Performs draw. - - The graphics. - The location. - The scaling X. - The scaling Y. - - - - Internal variable to store format of the date. - - - - - Initializes a new instance of the class. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(); - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - //Save and close the document - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Creates Date time field - Dim dateTimeField As New PdfCreationDateField() - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next - 'Save and close the document - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(font); - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - //Save and close the document - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F) - Dim brush As PdfBrush = PdfBrushes.Black - ' Creates Date time field - Dim dateTimeField As New PdfCreationDateField(font) - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next - 'Save and close the document - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(font,brush); - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - //Save and close the document - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F) - Dim brush As PdfBrush = PdfBrushes.Black - ' Creates Date time field - Dim dateTimeField As New PdfCreationDateField(font,brush) - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next - 'Save and close the document - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - Specifies the location and size of the field. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(font, new RectangleF(new PointF(10,10), new SizeF(100,200))); - for (int i = 0; i !=3; i++) - { - //Creates a new page - PdfPage page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates Date time field - Dim dateTimeField As PdfCreationDateField = New PdfCreationDateField(font, New RectangleF(New PointF(10,10), New SizeF(100,200))) - For i As Integer = 0 To 2 - ' Create a new page - Dim page As PdfPage = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - 'Save and close the document - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Gets the value of the field at the specified graphics. - - The graphics. - - - - - - Gets or sets the format string. - - The format string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates Date time field - PdfCreationDateField dateTimeField = new PdfCreationDateField(font, new RectangleF(new PointF(10,10), new SizeF(100,200))); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i != 3; i++) - { - //Creates a new page - PdfPage page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates Date time field - Dim dateTimeField As PdfCreationDateField = New PdfCreationDateField(font, New RectangleF(New PointF(10,10), New SizeF(100,200))) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Indicates whether remove metadata. - - - - - Indicates compress the image objects based on the image quality. - - - - - Represents the image quality. - - - - - Indicates optimize the page content streams. - - - - - Indicates optimize the font data. - - - - - Gets or sets whether remove metadata informations. - - - - - Gets or sets whether compress images based on the image quality. - - - - - Gets or sets the image quality. - - Default value is 50. - - - - Gets or sets whether to optimize page contents. - - - - - Gets or sets whether to optimize font data. - - - - - Represernts the PDF optimizer. - - - - - Indicates the optimization options. - - - - - Indicates the font references. - - - - - Indicates the image references. - - - - - Indicates the TTF font common table list - - - - - Initialize the new instance of the class with input file name. - - Input file name. - - - - Optimize the PDF document - - - - - Close the optimizer - - - - - Optimze the annotations content streams. - - - - - - optimize the Apperance dictionary. - - - - - - Optimize the page resources (font, image, xobject contents). - - - - - - Optimize the page content. - - - - - - Optimize the content stream. - - - - - - Trim the operand if contains .00 - - - - - - - Remove the meta data entry - - - - - - Optimize all the PDF resources - - - - - - - Optimize the font data - - - - - - - optimize the image - - - - - - - Replace the existing image - - - - - - - - - - Get the image interpolation. - - - - - - - Optimize the PDF true type font - - - - - - - optimize the type 0 font - - - - - - - - Get the local table last index - - - - - - - Optimize type0 font - - - - - - - Update the existing font data - - - - - - - Set the font tables. - - - - - - - - - - Update the embedded subset font Name based on the PDF specification. - - - - - - - Get the object from parent dictionary - - - - - - - - Get the object from IPdfPrimitive - - - - - - - Calulates the check sum value. - - - - - - - Get the font table entry. - - - - - - - - calculate the local and hmtx table length. - - - - - - - - - Represents date and time automated field. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(font); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i !=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField(font) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - Class - - - - Represents automatic field which value can be evaluated in the moment of creation. - - Class - - - - Internal variable to store template of the field. - - - - - Internal variable to store list of graphics - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with - - The represents the format of the text. - - - - Initializes a new instance of the class with and - - The represents the format of the text. - The provides color and texture to the text. - - - - Initializes a new instance of the class with and bounds - - The represents the format of the text. - The Rectangle bounds. - - - - Performs draw. - - The graphics. - The location. - The scaling X. - The scaling Y. - - - - Internal variable to store date value of the field. - - - - - Internal variable to store format of the date. - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField() - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(font); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i !=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField(font) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(font, PdfBrushes.Aquamarine); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField(font, PdfBrushes.Aquamarine) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and rectangle bounds - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - Specifies the location and size of the field. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(font, new RectangleF(new PointF(10,10), new SizeF(100,200))); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField(font, New RectangleF(New PointF(10,10), New SizeF(100,200))) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Get the value of the field at the specified graphics. - - The graphics. - value - - - - - Gets or sets the format string. - - The format string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates DateTime field - PdfDateTimeField dateTimeField = new PdfDateTimeField(font, new RectangleF(new PointF(10,10), new SizeF(100,200))); - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy"; - for (int i = 0; i!=3; i++) - { - page = doc.Pages.Add(); - dateTimeField.Draw(page.Graphics); - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates DateTime field - Dim dateTimeField As PdfDateTimeField = New PdfDateTimeField(font, New RectangleF(New PointF(10,10), New SizeF(100,200))) - dateTimeField.DateFormatString = "dd'/'MMMM'/'yyyy" - For i As Integer = 0 To 2 - page = doc.Pages.Add() - dateTimeField.Draw(page.Graphics) - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - - - - Represents class which displays destination page's number. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DateTimeField.pdf") - doc.Close(True) - - - Class - - - - Represents PDF document page number field. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageNumber.Draw(page.Graphics); - } - doc.Save("PageNumberField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField(font) - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageNumber.Draw(page.Graphics) - Next i - doc.Save("PageNumberField.pdf") - doc.Close(True) - - - Class - - - - Represents automatic field which has the same value within the - - Class - - - - Internal variable to store numbering style. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The specifies the color and texture to the text. - - - - Initializes a new instance of the class with and rectangle bounds - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The bounds. - - - - Gets or sets the specific number style. - - The provides specific number style. - - - - Initializes a new instance of the class. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - // Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageNumber.Draw(page.Graphics); - } - doc.Save("PageNumberField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Creates page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField() - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageNumber.Draw(page.Graphics) - Next i - doc.Save("PageNumberField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageNumber.Draw(page.Graphics); - } - doc.Save("PageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField(font) - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageNumber.Draw(page.Graphics) - Next i - doc.Save("PageNumberField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, PdfBrushes.Beige); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin; - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - pageNumber.Draw(page.Graphics); - } - doc.Save("PageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField(font, PdfBrushes.Beige) - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageNumber.Draw(page.Graphics) - Next i - doc.Save("PageNumberField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and rectangle bounds. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use.s - The bounds. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, new RectangleF(10, 10, 100, 200)); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageNumber.Draw(page.Graphics); - } - doc.Save("PageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, new RectangleF(10, 10, 100, 200)); - pageNumber.NumberStyle = PdfNumberStyle.UpperLatin - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageNumber.Draw(page.Graphics) - Next i - doc.Save("PageNumberField.pdf") - doc.Close(True) - - - - - - Gets the value of the field at the specified graphics. - - The graphics. - result - - - - Internal method to get value of the field. - - The page. - - - - - Internal method to get value of the field. - - The page - - - - - Internal variable to store destination page. - - - - - Internal variable to store the Loaded Page. - - - - - Initializes a new instance of the class. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(); - for (int i = 0; i !=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField() - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Initializes a new instance of the class with - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font, PdfBrushes.Azure); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font, PdfBrushes.Azure) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Initializes a new instance of the class with and rectangle bounds. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - Specifies the location and size of the field. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font, new RectangleF(10, 10, 100, 200)); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font, New RectangleF(10, 10,100,200)) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Gets the value of the field at the specified graphics. - - The graphics. - - - - - Get and sets the PdfLoadedPage - - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SrcDocument.pdf"); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font, new RectangleF(10, 10,100,200)); - for (int i = 0; i != doc.Pages.Count; i++) - { - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.LoadedPage = doc.Pages[1] as PdfLoadedPage; - pageNumber.Draw(doc.Pages[1].Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SrcDocument.pdf") - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font, New RectangleF(10, 10,100,200)) - For i As Integer = 0 To doc.Pages.Count - 1 - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.LoadedPage = TryCast(doc.Pages(1), PdfLoadedPage) - pageNumber.Draw(doc.Pages(1).Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Gets or sets the page. - - The page. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Creates page number field - PdfDestinationPageNumberField pageNumber = new PdfDestinationPageNumberField(font); - for (int i = 0; i !=2; i++) - { - PdfPage page = doc.Pages.Add(); - // Draws the page number only on the second page - if (i == 1) - { - pageNumber.Page = page; - pageNumber.Draw(page.Graphics); - } - } - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - ' Creates page number field - Dim pageNumber As PdfDestinationPageNumberField = New PdfDestinationPageNumberField(font) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - ' Draws the page number only on the second page - If i = 1 Then - pageNumber.Page = page - pageNumber.Draw(page.Graphics) - End If - Next i - doc.Save("DestinationPageNumberField.pdf"); - doc.Close(True) - - - - - - Represent automatic field which contains document's author name. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - // Set the document`s information - doc.DocumentInformation.Author = "Syncfusion"; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfDocumentAuthorField documentAuthorField = new PdfDocumentAuthorField(font); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - documentAuthorField.Draw(page.Graphics); - } - doc.Save("DocumentAuthorField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s information - doc.DocumentInformation.Author = "Syncfusion" - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim documentAuthorField As PdfDocumentAuthorField = New PdfDocumentAuthorField(font) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - documentAuthorField.Draw(page.Graphics) - Next i - doc.Save("DocumentAuthorField.pdf") - doc.Close(True) - - - Class - - - - Initializes a new instance of the class. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - // Set the document`s information - doc.DocumentInformation.Author = "Syncfusion"; - PdfDocumentAuthorField documentAuthorField = new PdfDocumentAuthorField(); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - documentAuthorField.Draw(page.Graphics); - } - doc.Save("DocumentAuthorField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s information - doc.DocumentInformation.Author = "Syncfusion" - Dim documentAuthorField As PdfDocumentAuthorField = New PdfDocumentAuthorField() - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - documentAuthorField.Draw(page.Graphics) - Next i - doc.Save("DocumentAuthorField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - // Create a new document - PdfDocument doc = new PdfDocument(); - // Set the document`s information - doc.DocumentInformation.Author = "Syncfusion"; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfDocumentAuthorField documentAuthorField = new PdfDocumentAuthorField(font); - for (int i = 0; i!=2; i++) - { - PdfPage page = doc.Pages.Add(); - documentAuthorField.Draw(page.Graphics); - } - doc.Save("DocumentAuthorField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s information - doc.DocumentInformation.Author = "Syncfusion" - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim documentAuthorField As PdfDocumentAuthorField = New PdfDocumentAuthorField(font) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - documentAuthorField.Draw(page.Graphics) - Next i - doc.Save("DocumentAuthorField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the document`s information - doc.DocumentInformation.Author = "Syncfusion"; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfDocumentAuthorField documentAuthorField = new PdfDocumentAuthorField(font, brush); - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - documentAuthorField.Draw(page.Graphics); - } - doc.Save("DocumentAuthorField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s information - doc.DocumentInformation.Author = "Syncfusion" - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim documentAuthorField As PdfDocumentAuthorField = New PdfDocumentAuthorField(font, brush) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - documentAuthorField.Draw(page.Graphics) - Next i - doc.Save("DocumentAuthorField.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with and rectangle bounds. - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The bounds. - - - // Create a new document - PdfDocument doc = new PdfDocument(); - // Set the document`s information - doc.DocumentInformation.Author = "Syncfusion"; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfDocumentAuthorField documentAuthorField = new PdfDocumentAuthorField(font, new RectangleF(0, 0, 100, 200)); - for (int i = 0; i!= 2; i++) - { - PdfPage page = doc.Pages.Add(); - documentAuthorField.Draw(page.Graphics); - } - doc.Save("DocumentAuthorField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s information - doc.DocumentInformation.Author = "Syncfusion" - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim documentAuthorField As PdfDocumentAuthorField = New PdfDocumentAuthorField(font, New RectangleF(0,0,100,200)) - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - documentAuthorField.Draw(page.Graphics) - Next i - doc.Save("DocumentAuthorField.pdf") - doc.Close(True) - - - - - - Gets the value of the field at the specified graphics. - - The graphics. - - - - - - Utility class for number conversion. - - - - - Limit number of converting arabic to \"A\" format. - - - - - Index of A char in the ASCII table. - - - - - Converts the specified number to numberStyle format. - - The arabic value. - The number style. - - - - - Converts arabic number to roman. - - Number in arabic format. - Number in Roman format. - - - - Converts arabic number to \"A\" format. - - Number in arabic format. - Number in \"A\" format. - - - - Utility metnod for converting arabic number to roman format. - - Current number value. - Max current number. - Roman equivalent. - Roman equivalent. - - - - Utility metnod. Helps to convert arabic number to \"A\" format. - - Arabic number. - Sequence of number. - - - - Adds letter instead of number. - - String builder object. - Number to be converted to letter. - - - - Represents total PDF document page count automatic field. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - // Creates page count field - PdfPageCountField pageCount = new PdfPageCountField(font); - pageCount.NumberStyle = PdfNumberStyle.Numeric; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageCount.Draw(page.Graphics); - } - doc.Save("PageCountField.pdf"); - doc.Close(true); - - - ' Create a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - ' Creates page count field - Dim pageCount As PdfPageCountField = New PdfPageCountField(font) - pageCount.NumberStyle = PdfNumberStyle.Numeric - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageCount.Draw(page.Graphics) - Next i - doc.Save("PageCountField.pdf") - doc.Close(True); - - - Class - - - - Internal variable to store numbering style. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - - - - Initializes a new instance of the class with and . - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - A object that is used to fill the string. - - - - Initializes a new instance of the class with and rectangle bounds - - A object that specifies the font attributes (the family name, the size, and the style of the font) to use. - The rectangle bounds of the field. - - - - Gets the value of the field at the specified graphics. - - The graphics. - result - - - - Gets or sets the number style. - - The number style. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - PdfBrush brush = PdfBrushes.Black; - // Creates page count field - PdfPageCountField pageCount = new PdfPageCountField(font); - pageCount.NumberStyle = PdfNumberStyle.Numeric; - for (int i = 0; i != 2; i++) - { - PdfPage page = doc.Pages.Add(); - pageCount.Draw(page.Graphics); - } - doc.Save("PageCountField.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - ' Creates page count field - Dim pageCount As PdfPageCountField = New PdfPageCountField(font) - pageCount.NumberStyle = PdfNumberStyle.Numeric - For i As Integer = 0 To 1 - Dim page As PdfPage = doc.Pages.Add() - pageCount.Draw(page.Graphics) - Next i - doc.Save("PageCountField.pdf") - doc.Close(True); - - - - - Class - - - - - Initializes a new instance of the class. - - The font. - - - - Initializes a new instance of the class. - - The font. - The brush. - - - - Initializes a new instance of the class. - - The font. - The bounds. - - - - Gets the value of the field at the specified graphics. - - The graphics. - The value of the field. - - - Class - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The font. - - - - Initializes a new instance of the class. - - The font. - The brush. - - - - Initializes a new instance of the class. - - The font. - The bounds. - - - - Gets the value of the field at the specified graphics. - - The graphics. - result - - - - Represents an automatic field to display page number within a section. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Create a PDF font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f); - // Create section page number field - PdfSectionPageNumberField sectionPageNumber = new PdfSectionPageNumberField(font); - sectionPageNumber.NumberStyle = PdfNumberStyle.LowerRoman; - //Draw the sectionPageNumber in section - for (int i = 0; i != 2; i++) - { - PdfPage page = section.Pages.Add(); - sectionPageNumber.Draw(page.Graphics); - } - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Create a PDF font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12.0F) - ' Create section page number field - Dim sectionPageNumber As New PdfSectionPageNumberField(font) - sectionPageNumber.NumberStyle = PdfNumberStyle.LowerRoman - 'Draw the sectionPageNumber in section - For i As Integer = 0 To 1 - Dim page As PdfPage = section.Pages.Add() - sectionPageNumber.Draw(page.Graphics) - Next i - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The font. - - - - Initializes a new instance of the class. - - The font. - The brush. - - - - Initializes a new instance of the class. - - The font. - The bounds. - - - - Gets the value of the field at the specified graphics. - - The graphics. - result - - - - Represent class to store information about template and value pairs - used in automatic fields. - - - - - Internal variable to store template. - - - - - Intenal variable to store value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The template. - The value. - - - - Gets or sets the template. - - The template. - - - - Gets or sets the value. - - The value. - - - - Represents the loaded bookmark class. - - - - - Each instance of this class represents an bookmark node in the bookmark tree. - - - - - This class plays two roles: it's a base class for all bookmarks - and it's a root of a bookmarks tree. - - - - - Collection of the descend outlines. - - - - - Internal variable to store dictinary. - - - - - Cross table of the document; - - - - - Internal variable to store loaded bookmark. - - - - - Temp variable to store loaded bookmark. - - - - - Gets or sets the whether the bookmark tree is expanded or not - - - - - Initializes a new instance of the class. - - Note that the Type field shouldn't be generated. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Creates and adds an outline. - - The title of the new outline. - PdfBookmark - - - //Create a new document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create document bookmarks. - PdfBookmark bookmark = document.Bookmarks.Add("Page 1"); - //Set the destination page. - bookmark.Destination = new PdfDestination(page); - //Set the destination location. - bookmark.Destination.Location = new PointF(20, 20); - //Set the text style and color. - bookmark.TextStyle = PdfTextStyle.Bold; - bookmark.Color = Color.Red; - //Save and close the PDF document. - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create document bookmarks. - Dim bookmark As PdfBookmark = document.Bookmarks.Add("Page 1") - 'Set the destination page. - bookmark.Destination = New PdfDestination(page) - 'Set the destination location. - bookmark.Destination.Location = New PointF(20, 20) - 'Set the text style and color. - bookmark.TextStyle = PdfTextStyle.Bold - bookmark.Color = Color.Red - 'Save and close the PDF document. - document.Save("Output.pdf") - document.Close(True) - - - - - - Determines whether the specified outline presents in the collection. - - The outline. - - true if the specified outline is in the collection; - otherwise, false. - - - - //Create a new document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - //Create document bookmarks. - PdfBookmark bookmark = document.Bookmarks.Add("Page 1"); - //Set the destination page. - bookmark.Destination = new PdfDestination(page); - //check whether the specified bookmark present in the collection - document.Bookmarks.Contains(bookmark); - //Save and close the PDF document. - document.Save("Output.pdf"); - document.Close(true); - - - 'Create a new document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - 'Create document bookmarks. - Dim bookmark As PdfBookmark = document.Bookmarks.Add("Page 1") - 'Set the destination page. - bookmark.Destination = New PdfDestination(page) - 'Set the destination location. - bookmark.Destination.Location = New PointF(20, 20) - 'check whether the specified bookmark present in the collection - Dim isBookMarkContained As Boolean = document.Bookmarks.Contains(bookmark) - 'Save and close the PDF document. - document.Save("Output.pdf") - document.Close(True) - - - - - - Remove the specified bookmark from the document. - - The title of the outline. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf"); - //Get all the bookmarks. - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Remove bookmark by bookmark name. - bookmarks.Remove("Page 1"); - //Remove bookmark by index. - bookmarks.RemoveAt(1); - //Save and close the document. - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("input.pdf") - 'Get all the bookmarks. - Dim bookmarks As PdfBookmarkBase = loadedDocument.Bookmarks - 'Remove bookmark by bookmark name. - bookmarks.Remove("Page 1") - 'Remove bookmark by index. - bookmarks.RemoveAt(1) - 'Save and close the document. - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Remove the bookmark from the document at the specified index. - - The index. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("input.pdf"); - //Get all the bookmarks. - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Remove bookmark by bookmark name. - bookmarks.Remove("Page 1"); - //Remove bookmark by index. - bookmarks.RemoveAt(1); - //Save and close the document. - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("input.pdf") - 'Get all the bookmarks. - Dim bookmarks As PdfBookmarkBase = loadedDocument.Bookmarks - 'Remove bookmark by bookmark name. - bookmarks.Remove("Page 1") - 'Remove bookmark by index. - bookmarks.RemoveAt(1) - 'Save and close the document. - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Removes all the bookmark from the collection. - - - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get the bookmarks - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Remove all the bookmarks form the collection - bookmarks.Clear(); - //Save and close the PDF document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get the Bookmarks - Dim Bookmarks As PdfAttachmentCollection = loadedDocument.Bookmarks - 'Remove all the bookmarks form the collection - Bookmarks.Clear() - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Inserts a new outline at the specified index. - - The index. - The title of the new outline. - The new outline. - /// - - //Create a new document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Insert a new bookmark in the existing bookmark collection. - PdfBookmark bookmark = loadedDocument.Bookmarks.Insert(1, "New bookmark 2"); - //Set the destination page and location. - bookmark.Destination = new PdfDestination(loadedDocument.Pages[1]); - bookmark.Destination.Location = new PointF(0, 300); - //Save and close the PDF document. - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Create a new document. - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Insert a new bookmark in the existing bookmark collection. - Dim bookmark As PdfBookmark = loadedDocument.Bookmarks.Insert(1, "New bookmark 2") - 'Set the destination page and location. - bookmark.Destination = New PdfDestination(loadedDocument.Pages(1)) - bookmark.Destination.Location = New PointF(0, 300) - 'Save and close the PDF document. - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - To get the BookMark Collection - - - - - - - Returns an enumerator that iterates through a collection. - - - An - object that can be used to iterate through the collection. - - - - - Reproduces the tree. - - The list of bookmark kids. - - - - Updates all outline dictionary fields. - - - - - Gets the first book mark. - - The bookmark. - First Bookmark - - - - Gets number of the elements in the collection. Read-Only. - - The value which contains count of the collection.> - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get all the bookmarks. - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //get the bookmark count. - int count = bookmarks.Count; - //Save and close the document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get all the bookmarks. - Dim bookmarks As PdfBookmarkBase = loadedDocument.Bookmarks - 'get the bookmark count. - Dim count As Integer = bookmarks.Count - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Gets the at the specified index. Read-Only. - - The PdfBookmark object returns from the collection by index. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get all the bookmarks. - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Get the first bookmark and change the properties of the bookmark. - PdfLoadedBookmark bookmark = bookmarks[0] as PdfLoadedBookmark; - bookmark.Destination = new PdfDestination(loadedDocument.Pages[1]); - bookmark.Color = Color.Green; - bookmark.TextStyle = PdfTextStyle.Bold; - bookmark.Title = "Changed title"; - //Save the document - loadedDocument.Save("Output.pdf"); - //Close the document - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get all the bookmarks. - Dim bookmarks As PdfBookmarkBase = document.Bookmarks - 'Get the first bookmark and change the properties of the bookmark. - Dim bookmark As PdfLoadedBookmark = TryCast(bookmarks(0), PdfLoadedBookmark) - bookmark.Destination = New PdfDestination(loadedDocument.Pages(1)) - bookmark.Color = Color.Green - bookmark.TextStyle = PdfTextStyle.Bold - bookmark.Title = "Changed title" - 'Save the document - loadedDocument.Save("Output.pdf") - 'Close the document - loadedDocument.Close(True) - - - - - - Gets the sub items. - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the cross table. - - - - - Gets or sets the whether to expand the node or not - - - - - Gets the element. - - - - - - - Internal variable to store destination. - - - - - Internal variable to store named destination. - - - - - Internal variable to store color. - - - - - Internal variable to store text Style. - - - - - Internal variable to store previous. - - - - - Internal variable to store next. - - - - - Internal variable to store parent. - - - - - Internal variable to store action. - - - - - Initializes a new instance of the class. - - The title to be displayed. - The parent. - The previous. - The next. - - - - Initializes a new instance of the class. - - The title. - The parent. - The previous. - The next. - The destination. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Sets the parent. - - The parent. - - - - Updates the color. - - - - - Updates the outline text style. - - - - - - - Gets or sets the outline title. - - A string value which contains the bookmark title - The outline title is the text, - which appears in the outline tree as a tree node. - - - - - - - Gets or sets the whether to expand the node or not. - - true If the bookmark is expanable , otherwise false. > - - - - Gets or sets the previous outline object. - - The null value means that the object is the first outline. - - - - Gets the parent outline base. - - - - - Gets or sets the next outline object. - - The null value means that the object is the last outline. - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the title. - - The title of the bookmark. - - - - Gets the color. - - The color of the bookmark. - - - - Gets the text style. - - The style of bookmark text. - - - - Gets the next. - - The next bookmark to this bookmark. - - - - Gets the previos. - - The previous bookmark to this bookmark. - - - - Sets the color. - - The color. - - - - Sets the text style. - - The value. - - - - Gets the destination. - - The destination of bookmark. - - - - - Gets or sets the outline title. - - The string value which contains title of the bookmark.> - The outline title is the text, - which appears in the outline tree as a tree node. - - - //Load the PDF document. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Get all the bookmarks. - PdfBookmarkBase bookmarks = loadedDocument.Bookmarks; - //Get the first bookmark and set the properties of the bookmark. - PdfLoadedBookmark bookmark = bookmarks[0] as PdfLoadedBookmark; - bookmark.Destination = new PdfDestination(loadedDocument.Pages[1]); - bookmark.Color = Color.Green; - bookmark.TextStyle = PdfTextStyle.Bold; - bookmark.Title = "Changed title"; - //Save the document - loadedDocument.Save("Output.pdf"); - //Close the document - loadedDocument.Close(true); - - - 'Load the PDF document. - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Get all the bookmarks. - Dim bookmarks As PdfBookmarkBase = document.Bookmarks - 'Get the first bookmark and set the properties of the bookmark. - Dim bookmark As PdfLoadedBookmark = TryCast(bookmarks(0), PdfLoadedBookmark) - bookmark.Destination = New PdfDestination(loadedDocument.Pages(1)) - bookmark.Color = Color.Green - bookmark.TextStyle = PdfTextStyle.Bold - bookmark.Title = "Changed title" - 'Save the document - loadedDocument.Save("Output.pdf") - 'Close the document - loadedDocument.Close(True) - - - - - - - - Gets or sets the next outline object. - - The null value means that the object is the last outline. - - - - Gets or sets the previous outline object. - - The null value means that the object is the first outline. - - - - Gets the parent outline base. - - - - - Gets the sub items. - - - - - Allows to choose outline text style. - - - - - Regular text style. - - - - - Italic text style. - - - - - Bold text style. - - - - - Represents a booklet creator, which allows to create a booklet from a PDF document. - - - - //Load a PDF document - PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceDoc.pdf"); - // Creates a booklet from the given PDF document - PdfDocument doc = PdfBookletCreator.CreateBooklet(ldoc, new SizeF(300, 500)); - //Save the document - doc.Save("Booklet.pdf"); - doc.Close(true); - - - 'Load a PDF document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - ' Creates a booklet from the given PDF document - Dim doc As PdfDocument = PdfBookletCreator.CreateBooklet(ldoc, New SizeF(300, 500)) - 'Save the document - doc.Save("Booklet.pdf") - doc.Close(True); - - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with and page size - - The existing PDF document. - Size of the page. - - The initialized PDF document, which could be saved. - - - - //Load a PDF document - PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceDoc.pdf"); - // Creates a booklet from the given PDF document - PdfDocument doc = PdfBookletCreator.CreateBooklet(ldoc, new SizeF(300, 500)); - //Save the document - doc.Save("Booklet.pdf"); - doc.Close(true); - ldoc.Close(true); - - - 'Load a PDF document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - ' Creates a booklet from the given PDF document - Dim doc As PdfDocument = PdfBookletCreator.CreateBooklet(ldoc, New SizeF(300, 500)) - 'Save the document - doc.Save("Booklet.pdf") - doc.Close(True) - ldoc.Close(True) - - - - - - - - Initializes a new instance of the class with source path,destination,page size and flag to set two side print. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - The path to the file on the disk, which the booklet should be created from. - The path to the file on the disk, which the booklet should be saved into. - Size of the page. - if set to true if the result in document should be printed - on both sides of paper. - - - //Create booklet with two sides - PdfBookletCreator.CreateBooklet("SourceDocument.pdf","Booklet.pdf",new SizeF(300, 500), true); - - - 'Create booklet with two sides - PdfBookletCreator.CreateBooklet("SourceDocument.pdf","Booklet.pdf",New SizeF(300, 500), true) - - - - - - - - Initializes a new instance of the class with source PDF path,destination file name and page size. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - The path to the file on the disk, which the booklet should be created from. - The path to the file on the disk, which the booklet should be saved into. - Size of the page. - - The initialized PDF document, which could be saved. - - - - //Creates a booklet from the given PDF document - PdfBookletCreator.CreateBooklet("SourceDocument.pdf","Booklet.pdf",new SizeF(300, 500)); - - - 'Creates a booklet from the given PDF document - PdfBookletCreator.CreateBooklet("SourceDocument.pdf","Booklet.pdf",New SizeF(300, 500)) - - - - - - - - Initializes a new instance of the class , page size and - flag to set two side print. - - The . - Size of the page. - if set to true if the result in document should be printed - on both sides of paper. - - The initialized PDF document, which could be saved. - - - - //Load a PDF document - PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceDoc.pdf"); - //Creates a booklet from the given PDF document - PdfDocument doc = PdfBookletCreator.CreateBooklet(ldoc, new SizeF(300, 500), false); - //Save the document - doc.Save("Booklet.pdf"); - doc.Close(true); - ldoc.Close(true); - - - 'Load a PDF document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - 'Creates a booklet from the given PDF document - Dim doc As PdfDocument = PdfBookletCreator.CreateBooklet(ldoc, New SizeF(300, 500), False) - 'Save the document - doc.Save("Booklet.pdf") - doc.Close(True) - ldoc.Close(True) - - - - - - - - Initializes a new instance of the class. - - The - Size of the page. - if set to true if the result in document should be printed - on both sides of paper. - The margin value for generated PDF document. - The initialized PDF document, which could be saved. - - - // Loads an existing document - PdfLoadedDocument srcDoc = new PdfLoadedDocument("sourceDoc.pdf"); - // Specify the margin. - PdfMargins margin = new PdfMargins(); - margin.All = 10; - //Creates a booklet from the given PDF document - PdfDocument doc = PdfBookletCreator.CreateBooklet(srcDoc,new SizeF(300, 500), false,margin); - doc.Save("Booklet.pdf"); - doc.Close(true); - srcDoc.Close(true); - - - ' Loads an existing document - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("sourceDoc.pdf") - ' Specify the margin. - Dim margin As PdfMargins = New PdfMargins() - margin.All = 10 - 'Creates a booklet from the given PDF document - Dim doc As PdfDocument = PdfBookletCreator.CreateBooklet(srcDoc,New SizeF(300, 500), False,margin) - doc.Save("Booklet.pdf") - doc.Close(True) - srcDoc.Close(True) - - - - - - - - Gets the next pair of page indeces. - - The current iteration index. - The pages count. - if set to true if the result in document should be printed - on both sides of paper. - - An array of integers that holds the indices. - - - - - Represents internal catalog of the Pdf document. - - Class - - - - Defines the basic interace of the various Primitive.. - - - - - Saves the object using the specified writer. - - The writer. - - - - Creates a deep copy of the IPdfPrimitive object. - - - - - Specfies the status of the IPdfPrmitive. Status is registered if it has a reference or else none. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Stores the cloned object for future use. - - - - - Gets or sets the position of the object. - - - - - Interface of the objects that support Changable of their internals. - - - - - Freezes the changes. - - The freezer. - - - - Gets a value indicating whether this is changed. - - true if changed; otherwise, false. - - - - Start marker for dictionary. - - - - - End marker for dictionary. - - - - - Collection of items in the object. - - - - - Flag for PDF file formar 1.5 is dictionary archiving needed. - - - - - Flag is dictionary need to encrypt. - - - - - Flag is dictionary need to decrypt. - - - - - Indicates if the object was changed. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Internal variable to hold PdfCrossTable reference. - - - - - Internal variable to hold cloned object. - - - - - Represents the XFA dictionary - - - - - indicates whether the dictionary is rendered or not. - - - - - Represents the Font dictionary. - - - - - Initializes a new empty instance of the class. - - - - - Initializes a new instance of the class - with values taken from the dictionary. - - The dictionary. - - - - Determines whether the dictionary contains key. - - The key. - - true if the dictionary contains key; otherwise, false. - - - - - Determines whether the dictionary contains the key. - - The key. - - true if the dictionary contains the key; otherwise, false. - - - - - Removes the specified key. - - The key. - - - - Removes the specified key. - - The key. - - - - Clears items from object dictionary. - - - - - Creates a copy of PdfDictionary. - - - - - Gets a value from itself or one of the parent dictionaries. - - The cross table. - The key of the value. - The key to the parent. - The value by the key. - - - - Gets a value from itself or one of the parent dictionaries. - - The key of the value. - The key to the parent. - The value by the key. - - - - Returns the string specified by the propertyName parameter. - - Name of the property. - The string by its name. - - - - Returns the integer value of the dictionary entry specified by the propertyName variable. - - Name of the property. - The integer value of the property. - - - - Save dictionary items. - - Writer object. - - - - Creates a PDF name object. - - The string which the object is initialized with. - The PDF object. - - - - Raises event . - - Event arguments. - - - - Raises event . - - Event arguments. - - - - Saves the object using the specified writer. - - The writer. - - - - Saves the object. - - Writer object. - If true - raises the event, False - doesn't raise. - - - - Sets the internal property. - - The key. - The primitive. - - - - Sets the internal property. - - The PdfName. - The primitive. - - - - Sets the internal property. - - The key. - The wrapper. - - - - Sets the property. - - The dictionary. - The key. - The wrapper. - - - - Sets the property. - - The dictionary. - The key. - The primitive. - - - - Sets the boolean. - - The key. - Boolean value. - - - - Sets the integer number. - - The key. - The value. - - - - Sets the float number. - - The key. - The value. - - - - Sets the array. - - The key. - The list of primitives to be placed into array. - - - - Sets the date time. - - The key. - The date time. - - - - Gets the date time from Pdf standard date format. - - The string, which contains Pdf standard date format. - The time in - - - - Sets the string primitive. - - The key. - The string. - - - - Sets the name. - - The dictionary. - The key. - The name. - - - - Sets the name primitive. - - The key. - The name. - - - - Sets the name. - - The key. - The name. - Determines whether to process special characters. - - - - Checks the changes. - - Returns true if the dictionary was changed. - - - - Freezes the changes. - - The freezer. - - - - Mark this instance modified. - - - - - Gets or sets the with the specified key. - - - - - Gets or sets the with the specified key. - - - - - - Gets the count. - - - - - Gets the values. - - - - - Get or set flag if need to archive dictionary. - - - - - Gets or sets flag if encryption is needed. - - - - - Gets or sets flag if decryption is needed. - - - - - Gets the keys. - - - - - Gets the items. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns PdfCrossTable associated with the object. - - - - - Returns cloned object. - - - - - Represents the Font dictionary - - - - - Event. Raise before the object saves. - - - - - Event. Raise after the object saved. - - - - - Gets a value indicating whether this is changed. - - true if changed; otherwise, false. - - - - Internal variable to store collection of sections. - - - - - Internal variable to store collection of attachments - - - - - Internal variable to store viewer's preferences. - - - - - Internal variable to store catalog's names. - - - - - The metadata of the stream. - - - - - Internal variable to store form. - - - - - Loaded form. - - - - - Loaded document. - - - - - Internal variable to store dictionary; - - - - - Internal variable to store portfolio - - - - - No Names - - - - - Internal variable to store StructTreeRoot. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The document. - The catalog dictionary. - - - - Creates the names if there is none. - - - - - Initializes struct tree root. - - - - - Reads Xmp from the document. - - - - - Applies the PDF/X Conformance attributes to the document. - - - - - Clear PdfCatalog - - - - - Gets or sets the viewer preferences. - - The viewer preferences. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference. - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments; - doc.ViewerPreferences.PageScaling = PageScalingMode.None; - doc.ViewerPreferences.FitWindow = true; - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage; - // Save the document - doc.Save("ViewerPreferences.pdf"); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments - doc.ViewerPreferences.PageScaling = PageScalingMode.None - doc.ViewerPreferences.FitWindow = True - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage - ' Save the document - doc.Save("ViewerPreferences.pdf") - - - - - - Gets or setsthe Pdfportfolio - - - - - Returns StructTreeRoot associated with the document. - - - - - Gets or sets the interactive form. - - The form. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - // Creates a form - PdfForm form = document.Form; - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - //Add the items to the list box - listBox.Items.Add(new PdfListFieldItem("English", "English")); - listBox.Items.Add(new PdfListFieldItem("French", "French")); - listBox.Items.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - //Set the multiselect option - listBox.MultiSelect = true; - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - ' Creates a form - Dim form As PdfForm = document.Form - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - 'Add the items to the list box - listBox.Items.Add(New PdfListFieldItem("English", "English")) - listBox.Items.Add(New PdfListFieldItem("French", "French")) - listBox.Items.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - 'Set the multiselect option - listBox.MultiSelect = True - document.Save("Form.pdf") - - - - - - Gets the names. - - The names. - - - - Gets the named destinations' dictionary. - - - - - Gets or sets the loaded form. - - - - - Gets or sets the loaded Document. - - - - - Gets or sets the sections, which contain pages. - - - - - Gets or sets the loaded form. - - - - - Gets or sets the metadata. - - The metadata. - - - - Represents names dictionary of the document's catalog entry. - - Interface - - - - Internal variable to store collection of attachments. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The root. - - - - Gets the named object from a tree. - - The tree root. - The name. - The named object. - - - - Finds the name in the tree. - - The current. - The name. - The object specified by its name or null. - - - - Gets the proper kid from an array. - - The current node. - The name we're looking for. - The proper kid. - The name should be within the kid limits. - - - - Checks the limits of the named tree node. - - The kid. - The name. - Returns true if the kid should have the name (the name is within its limits). - - - - Merges the embedded name trees. - - The names. - - - - Appends the list of embedded file dictionaries. - - The list. - - - - Gets the node left limit. - - The node. - The node left limit. - - - - Appends the objects to the node of the name tree. - - Name of the base. - The node. - The embedded. - if set to true the limits should be updated. - - - - Generates the list of embedded file dictionaries. - - The list of embedded file dictionaries. - - - - Collects the objects. - - The leaf node. - The array. - - - - Clear catalog names. - - - - - Gets or sets the embedded files. - - The embedded files. - - - - Gets the destinations. - - - - - Gets the element. - - - - - - Holds info about current base node and its current child. - - - - - Internal variable to store Dictionary entry. - - - - - Internal variable to store index value. - - - - - Internal variable to store dictionary entries count. - - - - - Internal variable to store Kids value. - - - - - Initializes a new instance of the class. - - The node. - - - - Initializes a new instance of the class. - - The index. - The count. - - - - The Syncfusion.Pdf namespace contains classes for creating PDF document. - - - - - Represents a PDF document and can be used to create a new PDF document from the scratch - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - //Save the document. - document.Save("Document.pdf"); - //Close the document - document.Close(true); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - 'Save the document. - document.Save("Document.pdf"); - 'Close the document - document.Close(True) - - - Class - Class - Class - Class - Class - - - - Represent common properties of PdfDocument and PdfLoadedDocument classes. - - - - - Collection of the main objects. - - - - - Security properties. - - - - - Object that is saving currently. - - - - - Document catlog. - - - - - Cross table. - - - - - Document information and properties. - - - - - String contain either user or owner password. - - - - - Dictionary used to get the collection of images for extraction. - - - - - Desired level of the new stream compression. - - - - - Specifies file structure. - - - - - A list of the objects that have to be disposed after document closing. - - - - - Internal variable to store if memory optimization should be done. - - - - - Internal varible to store portfolio - - - - - Internal variable to store OCG groups. - - - - - Internal variable to store position. - - - - - Internal variable to store order position. - - - - - Internal variable to store on position. - - - - - Internal variable to store off position. - - - - - Internal variable to store layer order. - - - - - Internal variable to store visible layers. - - - - - Internal variable to store invisible layers. - - - - - Internal variable to store Sub Layers. - - - - - Internal variable to store Sub Layers Position. - - - - - Stores the array of Print layer references - - - - - Specifies the document should be compressed in best. - - - - - If PDF is set as tagged, initializes StructTree in the catalog. - - - - - - - Merges the specified source documents and return destination document. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - The destination document, where the other documents are merged into. - If it's null a new document object will be created. - The source documents. - The document containing merged documents. - - - // Destination PDF document - PdfDocument destDoc = new PdfDocument(); - // Source PDF documents - string[] source = { "Src1.pdf", "Src2.pdf" }; - //Merge the source pdf document. - PdfDocumentBase.Merge(destDoc, source); - destDoc.Save("Merge.pdf"); - - - ' Destination PDF document - Dim destDoc As PdfDocument = New PdfDocument() - ' Source PDF documents - Dim source() As String = { "Src1.pdf", "Src2.pdf" } - 'Merge the source pdf document. - PdfDocumentBase.Merge(destDoc, source) - destDoc.Save("Merge.pdf") - - - - - - Merges the PDF documents specified by the paths. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - The array of string paths. - A new PDF document containing all merged documents. - - - // Destination PDF document - PdfDocument destDoc = new PdfDocument(); - // Source PDF documents - string[] source = { "Src1.pdf", "Src2.pdf" }; - //Merge the source pdf document. - destDoc = PdfDocument.Merge(source); - destDoc.Save("Merge.pdf"); - - - ' Destination PDF document - Dim destDoc As PdfDocument = New PdfDocument() - ' Source PDF documents - Dim source() As String = { "Src1.pdf", "Src2.pdf" } - 'Merge the source pdf document. - destDoc = PdfDocument.Merge(source) - destDoc.Save("Merge.pdf") - - - - - - Merges the specified dest. - - The destination document. - The source document. - The merged document - - - // Source document. - PdfLoadedDocument srcDoc = new PdfLoadedDocument("Src1.pdf"); - // Destination PDF document - PdfDocument destDoc = new PdfDocument(); - //Merge the source pdf document. - PdfDocumentBase.Merge(destDoc, srcDoc); - destDoc.Save("Merge.pdf"); - - - ' Source document. - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("Src1.pdf") - ' Destination PDF document - Dim destDoc As PdfDocument = New PdfDocument() - 'Merge the source pdf document. - PdfDocumentBase.Merge(destDoc, srcDoc) - destDoc.Save("Merge.pdf") - - - - - - Adds an object to a collection of the objects that will be disposed during document closing. - - The object that will be disposed during document closing. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - Image img = Image.FromFile("input.png"); - PdfImage pdfImg = new PdfBitmap(img); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - doc.Save("DisposeOnClose.pdf"); - // Dispose the Img object along with the document. - doc.DisposeOnClose(img); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim img As Image = Image.FromFile("Logo.png") - Dim pdfImg As PdfImage = New PdfBitmap(img) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - doc.Save("DisposeOnClose.pdf") - ' Dispose the Img object along with the document. - doc.DisposeOnClose(img) - 'Close the document - doc.Close(True) - - - - - - Saves the document to the specified filename. - - The name of the file where to save the document. It can be a full path or a relative path. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - doc.Save("SaveExample.pdf"); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - doc.Save("SaveExample.pdf") - - - - - - Saves the document into a HTTP response stream. - - The name of the document. - The HTTP response stream object. - The type of the reading document. - - If a document containing digital signature needs to be saved then - the destination stream must support seeking, otherwise an exception will be raised. - Since the HTTP response stream does not support seeking please write the document to a memory stream first and then flush it to the destination stream to avoid raising an exception. - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - doc.Save("SaveExample.pdf", Response, HttpReadType.Open); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - doc.Save("SaveExample.pdf", Response, HttpReadType.Open) - 'Close the document - doc.Close(True) - - - - - - Saves the document into a HTTP response stream. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - The stream where to save the PDF document. - The HTTP response stream object. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - MemoryStream stream = new MemoryStream(); - // Save the document as a stream - doc.Save(stream, Response); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - Dim stream As MemoryStream = New MemoryStream() - ' Save the document as a stream - doc.Save(stream, Response) - 'Close the document - doc.Close(True) - - - - - - Closes the document. Releases all common resources. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - //Save the document - doc.Save("Close.pdf"); - // Closes the document - doc.Close(); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - 'Save the document - doc.Save("Close.pdf") - ' Closes the document - doc.Close() - - - - - - Closes the document. - - if set to true the document should close its stream as well. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg,20, 20, 100,200); - //Save the document - doc.Save("Close.pdf"); - // Closes the document completely. - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg,20, 20, 100,200) - 'Save the document - doc.Save("Close.pdf") - ' Closes the document completely. - doc.Close(True) - - - - - - Saves the document to the specified output stream. - - The stream object where PDF document will be saved. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg, 20, 20, 100, 200); - // Save the document as a stream - MemoryStream stream = new MemoryStream(); - doc.Save(stream); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg, 20, 20, 100, 200) - ' Save the document as a stream - Dim stream As MemoryStream = New MemoryStream() - doc.Save(stream) - - - - - - Imports the specified page into the current document pages collection - - The loaded document to be imported. - The page to be inserted. - The page in the target document. - The loaded document must remain open until the current document is saved - - - // Source document - PdfLoadedDocument srcDoc = new PdfLoadedDocument("SrcDocument.pdf"); - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Importing pages from source document. - doc.ImportPage(srcDoc, srcDoc.Pages[0]); - doc.Save("ImportPages.pdf"); - //Close both the instance - doc.Close(true); - srcDoc.Close(true); - - - ' Source document - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("SrcDocument.pdf") - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Importing pages from source document. - doc.ImportPage(srcDoc, srcDoc.Pages(0)) - doc.Save("ImportPages.pdf") - 'Close both the instance - doc.Close(True) - srcDoc.Close(True) - - - - - - Imports the loaded document's page index to the current document. - - The loaded document to be imported. - Index of the page. - The page in the target document. - The loaded document must remain open until the current document is saved - - - // Source document - PdfLoadedDocument srcDoc = new PdfLoadedDocument("SrcDocument.pdf"); - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Importing pages from source document. - doc.ImportPage(srcDoc, 0); - doc.Save("ImportPages.pdf"); - //Close both the instance - doc.Close(true); - srcDoc.Close(true); - - - ' Source document - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("SrcDocument.pdf") - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Importing pages from source document. - doc.ImportPage(srcDoc, 0) - doc.Save("ImportPages.pdf") - 'Close both the instance - doc.Close(True) - srcDoc.Close(True) - - - - - - Imports a page range from a loaded document to the current document - - The loaded document to be imported. - The start page index. - The end page index. - The last created page in the target document. - The loaded document must remain open until the current document is saved - - - // Source document - PdfLoadedDocument srcDoc = new PdfLoadedDocument("SrcDocument.pdf"); - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Importing pages from source document. - doc.ImportPageRange(srcDoc, 0, 2); - doc.Save("ImportPages.pdf"); - //Close both the instance - doc.Close(true); - srcDoc.Close(true); - - - ' Source document - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("SrcDocument.pdf") - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Importing pages from source document. - doc.ImportPageRange(srcDoc, 0, 2) - doc.Save("ImportPages.pdf") - 'Close both the instance - doc.Close(True) - srcDoc.Close(True) - - - - - - Appends the loaded document given as parameter to the current document. - - The loaded document to be imported. - The appended loaded document must remain open until the current document is saved. - - - // Source document - PdfLoadedDocument srcDoc = new PdfLoadedDocument("SrcDocument.pdf"); - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Appending the document with source document. - doc.Append(srcDoc); - // Save the document. - doc.Save("Append.pdf"); - //close both the instance - doc.Close(true); - srcDoc.Close(true); - - - ' Source document - Dim srcDoc As PdfLoadedDocument = New PdfLoadedDocument("SrcDocument.pdf") - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Appending the document with source document. - doc.Append(srcDoc) - ' Save the document. - doc.Save("Append.pdf") - 'Close bothe the instance - doc.Close(True) - srcDoc.Close(True) - - - - - - Checks whether the PDF document was encrypted. - - True if the document was encrypted. - - - - Gets the form. - - The proper PdfForm instance. - - - - Sets the main object collection. - - The main object collection. - Allows to use null values as the parameter, - which causes assigning null value to the variable. That's used for clearing. - - - - Sets the security object. - - The security. - Allows to set null. - - - - Sets the cross table. - - The cross table. - - - - Sets the catalog. - - The catalog. - - - - - Raises DocumentSaved event. - - Event arguments. - - - - Adds the fields connected to the page. - - The loaded document. - The new page. - The lost of the fields. - - - - Clones pages and their resource dictionaries and adds them into the document. - - The loaded document. - The page being cloned. - The destinations. - page - - - - Checks form fields are connected with the page. - - The loaded document. - The page. - An array where the fields connected to the page are stored. - - - - Merges the attachments. - - The loaded document. - This method merges only named attachments. - - - - Get the Named Destination - - - - - - - - Get the Destination - - - - - - - - Exports the bookmarks to the new document. - - The loaded document. - The bookmarks. - The page correspondance dictionary. - - - - Marks the bookmarks pointing to the page for exporting. - - The page bookmarks. - The bookmarks. - - - - Marks the bookmarks pointing to the page for exporting. - - The page bookmarks. - The bookmarks. - - - - Fixes the destinations. - - The page correspondance. - The destinations. - - - - - Event. Rises when the document has been saved. - - - - - Gets the security features of the document like encryption. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Reading security settings of the document - PdfSecurity security = doc.Security; - doc.Save("Security.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Reading security settings of the document - Dim security As PdfSecurity = doc.Security - doc.Save("Security.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets a value indicating whether this instance is security granted. - - - true if this instance is security granted; otherwise, false. - - - - - Gets or sets document's information and properties such as document's title, subject, keyword etc. - - - - - Gets or sets a viewer preferences. This property is used for presenting the PDF document in a viewer. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Set the document`s viewer preference - doc.ViewerPreferences.PageLayout = PdfPageLayout.TwoPageLeft; - doc.ViewerPreferences.PageScaling = PageScalingMode.AppDefault; - doc.ViewerPreferences.PageMode = PdfPageMode.FullScreen; - doc.Save("ViewerPreferences.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Set the document`s viewer preference - doc.ViewerPreferences.PageLayout = PdfPageLayout.TwoPageLeft - doc.ViewerPreferences.PageScaling = PageScalingMode.AppDefault - doc.ViewerPreferences.PageMode = PdfPageMode.FullScreen - doc.Save("ViewerPreferences.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets or sets the PDF document compression level. By default the compression level is None - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Set the document`s compression level - doc.Compression = PdfCompressionLevel.Best; - //Creates a new page - PdfPage page = doc.Pages.Add(); - doc.Save("Compression.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Set the document`s compression level - doc.Compression = PdfCompressionLevel.Best - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - doc.Save("Compression.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets or sets the internal structure of the PDF document. - - - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Set the document`s cross reference Type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream; - // Set the pdf version - doc.FileStructure.Version = PdfVersion.Version1_6; - // Save the document - doc.Save("FileStructure.pdf"); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s cross reference Type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream - ' set the pdf version - doc.FileStructure.Version = PdfVersion.Version1_6 - ' Save the document - doc.Save("FileStructure.pdf") - - - - - - - Gets the bookmarks. - - - - - Gets a value indicating whether the document was encrypted. - - - - - Gets a value indicating whether the document was Pdf viewer document. - - - - - Gets the PDF objects collection, which stores all objects and references to it.. - - - - - Gets or sets the current saving object number. - - - - - Gets the cross-reference table. - - - - - Gets the PDF document catalog. - - - - - Gets a list of the objects that have to be disposed after document closing. - - - - - Gets the number of pages. - - - - - Gets or sets whether to optimize memory. - - Optimization will be effective only with merge, append and import functions. - Only memory will be optimized, different in time occur based on the document size. - - - - - Delegate. Is used for raising events after document saving. - - - - - Holds info about current node. - - - - - Internal variable to store index value. - - - - - Internal variable to store Bookmark. - - - - - Internal variable to store ArrayList. - - - - - Initializes a new instance of the class. - - The bookmark base. - The kids. - - - - Default margin value. - - - - - Font used in complex objects to draw strings and text when it is not defined explicitly. - - - - - Cache of the objects. - - - - - Helps to lock s_cache to avoid race conditions. - - - - - Internal variable to store template which is applied to each page of the document. - - - - - Internal variable to store document's collection of attachments. - - - - - Internal variable to store document's collection of pages. - - - - - Internal variable to store document's collection of named destinations. - - - - - Indicates whether the document was Pdf Viewer document. - - - - - Internal variable to store document's collection of sections. - - - - - Default page settings. - - - - - Root outline. - - - - - Indicates if the page labels were set. - - - - - Indicates whether the document was encrypted or not. - - - - - Internal variable to store additional document's actions. - - - - - Defines the color space of the document - - - - - The delegade of the progress event handler. - - - - - Local Variable to store the Conformance Level. - - - - - Indicates whether enable cache or not - - - - - Indicates whether enable unique naming or not - - - - - Indicates whether enable threadsafe or not. - - - - - Indicates whether the object was disposed. - - - - - Indicates whether the document is tagged - - - - - Internal variable to store the structure tree - - - - - Internal variable to store the private font collection. - - - - - internal variable to store image collection - - - - - internal varialbe store fonts to avoid multi threading issues - - - - - Initializes a new instance of the class. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) ; - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - //Save the document. - document.Save("Document.pdf"); - //Close the document - document.Close(true); - - - ' Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - 'Save the document. - document.Save("Document.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Initializes a new instance of the class. - - - - - - Initializes a new instance of the class with the specified . - - The conformance level. - Not Supported under medium trust environment. This Constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A1B); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfTrueTypeFont(new Font(FontFamily.GenericMonospace, 12f, FontStyle.Bold)); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - //Saves the document - document.Save("Document.pdf"); - Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A1B) - 'Creates a new page - Dim page As PdfPage = document.Pages.Add() - 'Create font and font style. - Dim font As PdfFont = New PdfTrueTypeFont(New Font(FontFamily.GenericMonospace, 12f, FontStyle.Bold)) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - 'Saves the document - document.Save("Document.pdf") - 'Close the document - document.Close(True) - - - Enumeration - - - - Saves the document to the specified output stream. - - The stream object where PDF document will be saved. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - // Loads an Image - PdfImage pdfImg = new PdfBitmap(Image.FromFile("Logo.png")); - //Draw the image - g.DrawImage(pdfImg, 20, 20, 100, 200); - // Save the document as a stream - MemoryStream stream = new MemoryStream(); - doc.Save(stream); - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - ' Loads an Image - Dim pdfImg As PdfImage = New PdfBitmap(Image.FromFile("Logo.png")) - 'Draw the image - g.DrawImage(pdfImg, 20, 20, 100, 200) - ' Save the document as a stream - Dim stream As MemoryStream = New MemoryStream() - doc.Save(stream) - 'Close the document - doc.Close(True) - - - - - - Close the document completely. - - if set to true the document should be disposed completely. - The document cannot be saved if Close method was invoked. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - //Create a solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - float fontSize = 20f; - //Set the font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Draw the text - g.DrawString("Hello world!", font, brush,new PointF(20,20)); - doc.Save("Sample.pdf"); - // Closes the document. - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - 'Create a solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - Dim fontSize As Single = 20f - 'Set the font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Draw the text - g.DrawString("Hello world!", font, brush,New PointF(20,20)) - doc.Save("Sample.pdf") - ' Closes the document. - doc.Close(True) - - - - - - Releases all the resources used by document instances. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of this instance. - The resulting clone must be of the same type as or a compatible type to the original instance. - - A new object that is a copy of this instance. - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - //Create a solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - float fontSize = 20f; - //Set the font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Draw the text - g.DrawString("Hello world!", font, brush,new PointF(20,20)); - // Cloning the document - PdfDocument cloneDoc = doc.Clone() as PdfDocument; - cloneDoc.Save("Clone.pdf"); - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - 'Create a solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - Dim fontSize As Single = 20f - 'Set the font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Draw the text - g.DrawString("Hello world!", font, brush,New PointF(20,20)) - ' Cloning the document - Dim cloneDoc As PdfDocument = TryCast(doc.Clone(), PdfDocument) - cloneDoc.Save("Clone.pdf") - doc.Close(True) - - - - - - Checks whether license is valid. - - - - - Called when a page is saved. - - The page. - - - - Informs the document that the page labels were set. - - - - - Raises the Progress event. - - The - instance containing the event data. - - - - Checks the pages presence. - - - - - Processes the page labels. - - - - - Resets the progress mechanism. - - - - - Sets the progress mechanism. - - - - - Embeds the RGB ICC ColorProfile to the document to attain PDF/A conformance. - - - - - Get the hash value from the image - - - - - - - Gets the form. - - The proper PdfForm instance. - - - - Adds the fields connected to the page. - - The loaded document. - The new page. - The lost of the fields. - - - - - Occurs when the document is being saved. - - - This event raised on saving the document. It will keep track of the save progress of the document. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add new pages to the document. - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - document.SaveProgress += new PdfDocument.ProgressEventHandler(document_SaveProgress); - //Saves the document - document.Save("Document.pdf"); - //Close the document - document.Close(true); - // Event handler for PageAdded event - void document_SaveProgress(object sender, ProgressEventArgs arguments) - { - MessageBox.Show(String.Format("Current: {0}, Progress: {1}, Total {2}", arguments.Current, arguments.Progress, arguments.Total)); - } - - - 'Create a new PDF document. - Private document As PdfDocument = New PdfDocument() - 'Add new pages to the document. - Private page As PdfPage = document.Pages.Add() - 'Create font and font style. - Private font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - AddHandler document.SaveProgress, AddressOf document_SaveProgress - 'Saves the document - document.Save("Document.pdf") - 'Close the document - document.Close(True) - ' Event handler for PageAdded event - Private Sub document_SaveProgress(ByVal sender As Object, ByVal arguments As ProgressEventArgs) - MessageBox.Show(String.Format("Current: {0}, Progress: {1}, Total {2}", arguments.Current, arguments.Progress, arguments.Total)) - End Sub - - - Delegate - - - - Gets or sets a template to all pages in the document. - - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height); - //Creates a new page and adds it as the last page of the document template - PdfPageTemplateElement footer = new PdfPageTemplateElement(rect); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - PdfSolidBrush brush = new PdfSolidBrush(Color.Gray); - //Create page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, brush); - //Create page count field - PdfPageCountField count = new PdfPageCountField(font, brush); - PdfCompositeField compositeField = new PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count); - compositeField.Bounds = footer.Bounds; - compositeField.Draw(footer.Graphics, new PointF(40, footer.Height - 50)); - //Add the footer template at the bottom - doc.Template.Bottom = footer; - //Save the document - doc.Save("Template.pdf"); - //Close the document - doc.Close(true); - - - - 'Create a PDF document - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height) - 'Create a page template - Dim footer As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - Dim brush As PdfSolidBrush = New PdfSolidBrush(Color.Gray) - 'Create page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField(font, brush) - 'Create page count field - Dim count As PdfPageCountField = New PdfPageCountField(font, brush) - Dim compositeField As PdfCompositeField = New PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count) - compositeField.Bounds = footer.Bounds - compositeField.Draw(footer.Graphics, New PointF(40, footer.Height - 50)) - 'Add the footer template at the bottom - doc.Template.Bottom = footer - doc.Save("Template.pdf") - 'Close the document - doc.Close(True) - - - The specifying the default template for the document. - Class - - - - Gets a value indicating whether the document was PDF viewer document. - - - - - Gets the actions to be performed when the document is opened/closed - - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Create and add new launch Action to the document - PdfLaunchAction action = new PdfLaunchAction("input.txt", PdfFilePathType.Relative); - document.Actions.AfterOpen = action; - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Create and add new launch Action to the document. - Dim action As PdfLaunchAction = New PdfLaunchAction("myAction.txt", PdfFilePathType.Relative) - document.Actions.AfterOpen = action - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - The specifying the document action. - Class - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Gets or sets a value indicates whether the document is auto-tagged or not. - - - - - Gets the collection of pages in the document. - - A object containing the list of document's pages. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Page collection - PdfDocumentPageCollection pageCollection = doc.Pages; - PdfFont standardFont = new PdfStandardFont(PdfFontFamily.TimesRoman,10); - // Drawing string on first page - pageCollection[0].Graphics.DrawString("FirstPage", standardFont, PdfBrushes.Black, new PointF(10, 10)); - //Save the document - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - ' Page collection - Dim pageCollection As PdfDocumentPageCollection = doc.Pages - Dim standardFont As PdfFont = New PdfStandardFont(PdfFontFamily.TimesRoman,10) - ' Drawing string on first page - pageCollection(0).Graphics.DrawString("FirstPage", standardFont, PdfBrushes.Black, New PointF(10, 10)) - 'Save the document - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - Class - Class - Class - - - - Gets the named destination collection of the document. - - A specifies the document's named destinations. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - //Create named destination - PdfNamedDestination namedDestination = new PdfNamedDestination("Interactive Feature"); - namedDestination.Title = "Interactive Feature"; - namedDestination.Destination = new PdfDestination(page); - doc.NamedDestinationCollection.Add(namedDestination); - //Save the document - doc.Save("NamedDestination.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - 'Create named destination - Dim namedDestination As PdfNamedDestination = New PdfNamedDestination("Interactive Feature") - namedDestination.Title = "Interactive Feature" - namedDestination.Destination = New PdfDestination(page) - doc.NamedDestinationCollection.Add(namedDestination) - doc.Save("NamedDestination.pdf") - //Close the document - doc.Close(True) - - - Class - - - Gets the collection of the sections in the document. - A object containing the list of document's sections. - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - // Create a new section - PdfSection mySection = doc.Sections.Add(); - //Creates a new page - mySection.Pages.Add(); - // Gets the section collection - PdfSectionCollection sectionCollection = doc.Sections; - // Gets the first page from first section - PdfPage page = sectionCollection[0].Pages[0]; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12); - // Draw the string in first page of the section - page.Graphics.DrawString("Hello World", font, PdfBrushes.Black, new Point(100, 100)); - doc.Save("Sections.pdf"); - //Close the document - doc.Close(true); - - - 'Create a PDF document - Dim doc As PdfDocument = New PdfDocument() - ' Create a new section - Dim mySection As PdfSection = doc.Sections.Add() - 'Creates a new page - mySection.Pages.Add() - ' Gets the section collection - Dim sectionCollection As PdfSectionCollection = doc.Sections - ' Gets the first page from first section - Dim page As PdfPage = sectionCollection(0).Pages(0) - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12) - ' Draw the string in first page of the section - page.Graphics.DrawString("Hello World", font, PdfBrushes.Black, New Point(100, 100)) - doc.Save("Sections.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets or sets the document's page setting. - - - A object containing the setting for a document`s pages. - - // Create a new document class object. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Set page size - doc.PageSettings.Size = PdfPageSize.A6; - //Set page orientation - doc.PageSettings.Orientation = PdfPageOrientation.Landscape; - doc.Save("PageSettings.pdf"); - //Close the document - doc.Close(true); - - - ' Create a new document class object. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - 'Set page size - doc.PageSettings.Size = PdfPageSize.A6 - 'Set page orientation - doc.PageSettings.Orientation = PdfPageOrientation.Landscape - doc.Save("PageSettings.pdf") - 'Close the document - doc.Close(True) - - - The changing of the settings doesn't take any effect on the already existing pages. - - - - Gets the bookmark collection of the document. - - A specifies the document's bookmark. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - //Create outline - PdfBookmark bookMark = doc.Bookmarks.Add("InteractiveFeature"); - bookMark.Color = Color.DarkBlue; - bookMark.TextStyle = PdfTextStyle.Bold; - bookMark.Title = "Interactive Feature"; - bookMark.Destination = new PdfDestination(page); - //Save the document - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - 'Create outline - Dim bookMark As PdfBookmark = document.Bookmarks.Add("InteractiveFeature") - bookMark.Color = Color.DarkBlue - bookMark.TextStyle = PdfTextStyle.Bold - bookMark.Title = "Interactive Feature" - bookMark.Destination = New PdfDestination(page) - doc.Save("Bookmarks.pdf") - //Close the document - doc.Close(True) - - - Class - - - - Gets the attachment collection of the document. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - // Creates a new page in document - PdfPage page = doc.Pages.Add(); - // Adding an image as attachment - PdfAttachment attachment = new PdfAttachment("Logo.jpg"); - attachment.Description = "Syncfusion Logo"; - attachment.MimeType = "application/jpeg"; - // Add the attachment in document - doc.Attachments.Add(attachment); - //Save the document - doc.Save("Attachment.pdf"); - //Close the document - doc.Close(true); - - - ' Create a new document. - Dim doc As PdfDocument = New PdfDocument() - ' Creates a new page in document - Dim page As PdfPage = doc.Pages.Add() - ' Adding an image as attachment - Dim attachment As PdfAttachment = New PdfAttachment("Logo.jpg") - attachment.Description = "Syncfusion Logo" - attachment.MimeType = "application/jpeg" - ' Add the attachment in document - doc.Attachments.Add(attachment) - 'Save the document - doc.Save("Attachment.pdf") - 'Close the document - doc.Close(True) - - - The object contains list of files which are attached in the PDF document. - Class. - - - - Gets the interactive form of the document. - - - - // Create a document. - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.TimesRoman, 14); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - //Add the textbox in form - document.Form.Fields.Add(firstNameTextBox); - //Save the document - document.Save("Form.pdf"); - //Close the document - document.Close(true); - - - ' Create a document. - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - 'Add the textbox in form - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - - - The object contains the list of form elements of the document. - Class - Class - - - - Gets or sets the color space of the document. This property can be used to create PDF document in RGB, Grayscale or CMYK color spaces. - By default the document uses RGB color space. - - This property has impact on the new created pages only. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s color spaces as GrayScale - doc.ColorSpace = PdfColorSpace.GrayScale; - doc.Save("ColorSpace.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s color spaces as GrayScale - doc.ColorSpace = PdfColorSpace.GrayScale - doc.Save("ColorSpace.pdf") - 'Close the document - doc.Close(True) - - - The of the document. - Class - - - - Gets collection of the cached objects. - - - - - Gets the Private Font Collection - - - - - Gets the default font. It is used for complex objects when font is - not explicitly defined. - - The default font. - - - - Gets a value indicating whether the document was encrypted. - - true if the document was encrypted; otherwise, false. - - - - get the image collection - - - - - Gets the number of pages. - - - - - Gets or sets the PDF conformance level. - This property can be used to create PDF/A-1b or Pdf_X1A2001 compliant documents. By default is None. - - The ENUM. - Not Supported under Medium Trust environment. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A1B); - //Creates a new page and adds it as the last page of the document to the document. - PdfPage page = document.Pages.Add(); - // Create a 'Times New Roman' font - Font font = new Font("Times New Roman", 10); - // Create font with bold font style. - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10)); - //Save document to disk. - document.Save("ConformanceLevel.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A1B) - ' Create a page to the document. - Dim page As PdfPage = document.Pages.Add() - ' Create a 'Times New Roman' font - Dim font As Font = New Font("Times New Roman", 10) - ' Create font with bold font style. - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10)) - 'Save document to disk. - document.Save("ConformanceLevel.pdf") - 'Close the document - document.Close(True) - - - Class - - - Gets or sets the enable cache. This property is used to cache the fonts. Default value is True. - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Diable the font cache - PdfDocument.EnableCache = false; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - //Create a solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - float fontSize = 20f; - //Set the font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, fontSize); - //Draw the text - g.DrawString("Hello world!", font, brush, new PointF(20, 20)); - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - 'Create a new document. - Dim doc As New PdfDocument() - 'Diable the font cache - PdfDocument.EnableCache = False - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - 'Create a solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - Dim fontSize As Single = 20.0F - 'Set the font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, fontSize) - 'Draw the text - g.DrawString("Hello world!", font, brush, New PointF(20, 20)) - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets or sets boolean value which enables or disables unique resource naming, Default value is true. - - - By default this value will be true, if the uniform resource naming is needed then this value can be set false. - - - - - Gets or sets the enable thread safe. This property is used to manage the PDF cache objects in multithreading. Default value is false. - - - - - Delegate for the event. - - The sender. - The arguments. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add new pages to the document. - PdfPage page = document.Pages.Add(); - //Create font and font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - document.SaveProgress += new PdfDocument.ProgressEventHandler(document_SaveProgress); - //Saves the document - document.Save("Document.pdf"); - Close the document - document.Close(true); - // Handles the event - void document_SaveProgress(object sender, ProgressEventArgs arguments) - { - MessageBox.Show(String.Format("Current: {0}, Progress: {1}, Total {2}", arguments.Current, arguments.Progress, arguments.Total)); - } - - - 'Create a new PDF document. - Private document As PdfDocument = New PdfDocument() - 'Add new pages to the document. - Private page As PdfPage = document.Pages.Add() - 'Create font and font style. - Private font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - AddHandler document.SaveProgress, AddressOf document_SaveProgress - 'Saves the document - document.Save("Document.pdf") - 'Close the document - document.Close(True) - ' Handles the event - Private Sub document_SaveProgress(ByVal sender As Object, ByVal arguments As ProgressEventArgs) - MessageBox.Show(String.Format("Current: {0}, Progress: {1}, Total {2}", arguments.Current, arguments.Progress, arguments.Total)) - End Sub - - - - - - Shows the saving progress of the PDF document. - - - - - The Total - - - - - The Current object. - - - - - Initializes a new instance of the class. - - The current index. - The total number. - - - - Initializes a new instance of the class. - - - - - Gets the total number of the elements (pages) that need to be saved. - - - - - Gets the current element (page) index that just was saved. - - The index value increases constantly from 0 to Total. - - - - Gets the progress. - - Progress constantly increases from 0.0 to 1.0. - 1.0 value means that entire document has been saved. - - - - Arguments for event raised after document saving. - - - - - Document's destination stream. - - - - - Initializes a new instance of the class. - - The writer. - - - - Gets document's destination stream. - - - - - A class containing the information about the document. - - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - Interface - - - - Xmp metadata of the document. - - - - - Parent catalog class. - - - - - Author of the document. - - - - - Title of the document. - - - - - The subject of the document. - - - - - Keywords associated with the document. - - - - - If the document was converted to PDF from another format, the name of - the application that created the original document from which it was converted. - - - - - If the document was converted to PDF from another format, the name of the - application that converted it to PDF. - - - - - The date and time the document was created. - - - - - The date and time the document was modified. - - - - - Internal variable to store dictionary. - - - - - Creates a new object. - - - - - Initializes a new instance of the class. - - The dictionary. - The catalog. - - - - Applies to attributes to attain PDF/X1a:2001 conformance. - - - - - Gets or sets the creation date of the PDF document - - The . - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the modification date. - - The . - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the title. - - The title. - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the author. - - The author of the document. - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the subject. - - The subject. - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the keywords. - - The keywords. - - - //Create a new document. - PdfDocument pdfDoc= new PdfDocument(); - //Creates a new page - PdfPage page = pdfDoc.Pages.Add(); - //Set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - //Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument= New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'set the Document`s properties. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - 'Sets the modification date - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets or sets the creator. - - The creator. - - - //Create a new document - PdfDocument pdfDoc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = pdfDoc.Pages.Add(); - //Set the document`s information - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - // Sets the documents creator information - pdfDoc.DocumentInformation.Creator = "Essential PDF"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'Set the document`s information. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - ' Sets the documents creator information - pdfDoc.DocumentInformation.Creator = "Essential PDF" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - If the document was converted to PDF from another format, - the name of the application (for example, Acrobat Distiller) - that converted it to PDF. - - The producer of the document. - - - //Create a new document - PdfDocument pdfDoc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = pdfDoc.Pages.Add(); - //Set the document`s information - pdfDoc.DocumentInformation.Title = "Document Properties Information"; - pdfDoc.DocumentInformation.Author = "Syncfusion"; - pdfDoc.DocumentInformation.Keywords = "PDF"; - pdfDoc.DocumentInformation.Subject = "PDF demo"; - pdfDoc.DocumentInformation.Producer = "Syncfusion Software"; - // Sets the documents creator information - pdfDoc.DocumentInformation.Creator = "Essential PDF"; - pdfDoc.DocumentInformation.CreationDate = DateTime.Now; - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now; - //Save the document - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - 'Create a new document. - Dim pdfDoc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = pdfDoc.Pages.Add() - 'Set the document`s information. - pdfDoc.DocumentInformation.Title = "Document Properties Information" - pdfDoc.DocumentInformation.Author = "Syncfusion" - pdfDoc.DocumentInformation.Keywords = "PDF" - pdfDoc.DocumentInformation.Subject = "PDF demo" - pdfDoc.DocumentInformation.Producer = "Syncfusion Software" - ' Sets the documents creator information - pdfDoc.DocumentInformation.Creator = "Essential PDF" - pdfDoc.DocumentInformation.CreationDate = DateTime.Now - pdfDoc.DocumentInformation.ModificationDate = DateTime.Now - 'Save the document - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets Xmp metadata of the document. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - Represents the document information in Xmp format. - - - PdfDocument pdfDoc = new PdfDocument(); - PdfPage page = pdfDoc.Pages.Add(); - // Get xmp object. - XmpMetadata xmp = pdfDoc.DocumentInformation.XmpMetadata; - // XMP Basic Schema. - BasicSchema basic = xmp.BasicSchema; - basic.Advisory.Add("advisory"); - basic.BaseURL = new Uri("http://google.com"); - basic.CreateDate = DateTime.Now; - basic.CreatorTool = "creator tool"; - basic.Identifier.Add("identifier"); - basic.Label = "label"; - basic.MetadataDate = DateTime.Now; - basic.ModifyDate = DateTime.Now; - basic.Nickname = "nickname"; - basic.Rating.Add(-25); - pdfDoc.Save("DocumentInformation.pdf"); - pdfDoc.Close(true); - - - Dim pdfDoc As PdfDocument = New PdfDocument() - Dim page As PdfPage = pdfDoc.Pages.Add() - ' Get xmp object. - Dim xmp As XmpMetadata = pdfDoc.DocumentInformation.XmpMetadata - ' XMP Basic Schema. - Dim basic As BasicSchema = xmp.BasicSchema - basic.Advisory.Add("advisory") - basic.BaseURL = New Uri("http://google.com") - basic.CreateDate = DateTime.Now - basic.CreatorTool = "creator tool" - basic.Identifier.Add("identifier") - basic.Label = "label" - basic.MetadataDate = DateTime.Now - basic.ModifyDate = DateTime.Now - basic.Nickname = "nickname" - basic.Rating.Add(-25) - pdfDoc.Save("DocumentInformation.pdf") - pdfDoc.Close(True) - - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - This class represents a set of the properties that define the internal structure of PDF file. - - - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream; - // Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6; - // Save the document - doc.Save("FileStructure.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream - ' Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6 - ' Save the document - doc.Save("FileStructure.pdf") - doc.Close(True) - - - - - - the version of the file. - - - - - The type of the cross-reference. - - - - - Indicates the file format. - - - - - Incremental operator bool value - - - - - Tagged bool value - - - - - Initializes a new instance of the class. - - - - - Notifies if TaggedPDF property is changed. - - - - - Gets or sets the version of the PDF document. - - The document version. - - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream; - // Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6; - // Save the document - doc.Save("FileStructure.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream - ' Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6 - ' Save the document - doc.Save("FileStructure.pdf") - doc.Close(True) - - - - - - Gets or sets a value indicating whether [incremental update]. - - true if [incremental update]; otherwise, false. - - - // Load an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("SourceDoc.pdf"); - // Sets the incremental update as True - lDoc.FileStructure.IncrementalUpdate = true; - //Create a new page - lDoc.Pages.Add(); - // Saves the document - lDoc.Save("FileStructure.pdf"); - lDoc.Close(true); - - - ' Load an existing document - Dim lDoc As New PdfLoadedDocument("SourceDoc.pdf") - ' Sets the incremental update as True - lDoc.FileStructure.IncrementalUpdate = True - 'Create a new page - lDoc.Pages.Add() - ' Saves the document - lDoc.Save("FileStructure.pdf") - lDoc.Close(True) - - - - - - Gets or sets the type of PDF cross-reference. - - Please see the description of for more details. - - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream; - // Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6; - // Save the document - doc.Save("FileStructure.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s cross reference type - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream - ' Set the PDF version - doc.FileStructure.Version = PdfVersion.Version1_6 - ' Save the document - doc.Save("FileStructure.pdf") - doc.Close(True) - - - - - - Gets or sets the value indicating the format of the file. - - - - - Gets the value indicating whether the PDF document is tagged one or not. - - If true PDF document is tagged, otherwise false. - - - - The class represents the creation of PDF portfolio - - - - //Create a new instance of PdfDocument class. - PdfDocument document = new PdfDocument(); - //Create new portfolio. - document.PortfolioInformation = new PdfPortfolioInformation(); - //Set the view mode of the portfolio. - document.PortfolioInformation.ViewMode = PdfPortfolioViewMode.Details; - //Create portfolio schema. - PdfPortfolioSchema schema = new PdfPortfolioSchema(); - //Create portfolio schema field. - PdfPortfolioSchemaField fromField = new PdfPortfolioSchemaField(); - fromField.Name = "From"; - fromField.Type = PdfPortfolioSchemaFieldType.String; - fromField.Order = 1; - fromField.Visible = true; - fromField.Editable = false; - schema.AddSchemaField(fromField); - PdfPortfolioSchemaField toField = new PdfPortfolioSchemaField(); - toField.Name = "To"; - toField.Type = PdfPortfolioSchemaFieldType.String; - toField.Order = 2; - toField.Visible = true; - toField.Editable = false; - schema.AddSchemaField(toField); - //Add schema to the portfolio. - document.PortfolioInformation.Schema = schema; - //Create attachment. - PdfAttachment pdfFile = new PdfAttachment("CorporateBrochure.pdf"); - pdfFile.FileName = "CorporateBrochure.pdf"; - //Set schema field attributed. - pdfFile.PortfolioAttributes = new PdfPortfolioAttributes(); - pdfFile.PortfolioAttributes.AddAttributes("From", "Steven"); - pdfFile.PortfolioAttributes.AddAttributes("To", "John"); - //Add attachment to document. - document.Attachments.Add(pdfFile); - //Add new page to document. - document.Pages.Add(); - //Save and close the document. - document.Save("Sample.pdf"); - document.Close(true); - - - 'Create a new instance of PdfDocument class. - Dim document As New PdfDocument() - 'Create new portfolio. - document.PortfolioInformation = New PdfPortfolioInformation() - 'Set the view mode of the portfolio. - document.PortfolioInformation.ViewMode = PdfPortfolioViewMode.Details - 'Create portfolio schema. - Dim schema As New PdfPortfolioSchema() - 'Create portfolio schema field. - Dim fromField As New PdfPortfolioSchemaField() - fromField.Name = "From" - fromField.Type = PdfPortfolioSchemaFieldType.[String] - fromField.Order = 1 - fromField.Visible = True - fromField.Editable = False - schema.AddSchemaField(fromField) - Dim toField As New PdfPortfolioSchemaField() - toField.Name = "To" - toField.Type = PdfPortfolioSchemaFieldType.[String] - toField.Order = 2 - toField.Visible = True - toField.Editable = False - schema.AddSchemaField(toField) - 'Add schema to the portfolio. - document.PortfolioInformation.Schema = schema - 'Create attachment. - Dim pdfFile As New PdfAttachment("CorporateBrochure.pdf") - pdfFile.FileName = "CorporateBrochure.pdf" - 'Set schema field attributed. - pdfFile.PortfolioAttributes = New PdfPortfolioAttributes() - pdfFile.PortfolioAttributes.AddAttributes("From", "Steven") - pdfFile.PortfolioAttributes.AddAttributes("To", "John") - 'Add attachment to document. - document.Attachments.Add(pdfFile) - 'Add new page to document. - document.Pages.Add() - 'Save and close the document. - document.Save("Sample.pdf") - document.Close(True) - - - - - - Internal variable to store value specifying document's catalog. - - - - - Internal variable to store dictionary; - - - - - internal variable to store schema of portfolio - - - - - internal variable to store view mode - - - - - internal varible to store startup attachment document - - - - - Initializes new instance of class - - - - - Initialize the new instance - - portfolio dictionary - - - - Initializes instance. - - - - - Gets or sets the collection of portfolio schema field - - the - - - - Gets and sets the view mode of the portfolio - - The represents visual mode of the files in portfolio - - - - Get and set the startup document of portfolio - - The , represents the attached documents - - - - Gets the element. - - - - - - The class represents attributes of attached files in the portfolio such as Tile,Name,Author..etc - - - - - Internal variable to store dictionary; - - - - - Internal variable to store attribute keys - - - - - Internal variable to store attributes - - - - - Internal variable to store attributes - - - - - Initialize the instance of the class - - - - - Initialize the instance of the class - - - - - - Initializes instance. - - - - - Add the attributes into portfolio - - The attribute key such as name,date,author..etc - The attribute value - - - - Remove the attributes from the portfolio - - The attribute key - - - - Remove the attributes from the portfolio - - The attribute key - - - - Gets attribute keys - - The array of attribute keys - - - - Gets the element. - - - - - - The class represents the collection of schema attributes. - - - - - The class represents the collections of schema field - - - - - Internal variable to store dictionary; - - - - - Variable to store Schema field - - - - - internal variable to store field keys - - - - - Internal variable to store field collections - - - - - Initialize the instance of the class - - - - - Initialize the instance of the class - - - - - - used to add the schema field into schema dictionary - - The ,contains custom fields of the attached file - - - - used to remove the schema field from schema dictionary - - The field key - - - - used to retrieve the schema fields from schema dictionary - - The ,contains custom fields of the attached file - - - - Initializes instance. - - - - - Get the field keys from schema field - - The array of field keys - - - - Gets the element. - - - - - - The class represents the creation of schema filed - - - - //Create a new instance of PdfDocument class. - PdfDocument document = new PdfDocument(); - //Create new portfolio. - document.PortfolioInformation = new PdfPortfolioInformation(); - //Set the view mode of the portfolio. - document.PortfolioInformation.ViewMode = PdfPortfolioViewMode.Details; - //Create portfolio schema. - PdfPortfolioSchema schema = new PdfPortfolioSchema(); - //Create portfolio schema field. - PdfPortfolioSchemaField fromField = new PdfPortfolioSchemaField(); - fromField.Name = "From"; - fromField.Type = PdfPortfolioSchemaFieldType.String; - fromField.Order = 1; - fromField.Visible = true; - fromField.Editable = false; - schema.AddSchemaField(fromField); - PdfPortfolioSchemaField toField = new PdfPortfolioSchemaField(); - toField.Name = "To"; - toField.Type = PdfPortfolioSchemaFieldType.String; - toField.Order = 2; - toField.Visible = true; - toField.Editable = false; - schema.AddSchemaField(toField); - //Add schema to the portfolio. - document.PortfolioInformation.Schema = schema; - //Create attachment. - PdfAttachment pdfFile = new PdfAttachment("CorporateBrochure.pdf"); - pdfFile.FileName = "CorporateBrochure.pdf"; - //Set schema field attributed. - pdfFile.PortfolioAttributes = new PdfPortfolioAttributes(); - pdfFile.PortfolioAttributes.AddAttributes("From", "Steven"); - pdfFile.PortfolioAttributes.AddAttributes("To", "John"); - //Add attachment to document. - document.Attachments.Add(pdfFile); - //Add new page to document. - document.Pages.Add(); - //Save and close the document. - document.Save("Sample.pdf"); - document.Close(true); - - - 'Create a new instance of PdfDocument class. - Dim document As New PdfDocument() - 'Create new portfolio. - document.PortfolioInformation = New PdfPortfolioInformation() - 'Set the view mode of the portfolio. - document.PortfolioInformation.ViewMode = PdfPortfolioViewMode.Details - 'Create portfolio schema. - Dim schema As New PdfPortfolioSchema() - 'Create portfolio schema field. - Dim fromField As New PdfPortfolioSchemaField() - fromField.Name = "From" - fromField.Type = PdfPortfolioSchemaFieldType.[String] - fromField.Order = 1 - fromField.Visible = True - fromField.Editable = False - schema.AddSchemaField(fromField) - Dim toField As New PdfPortfolioSchemaField() - toField.Name = "To" - toField.Type = PdfPortfolioSchemaFieldType.[String] - toField.Order = 2 - toField.Visible = True - toField.Editable = False - schema.AddSchemaField(toField) - 'Add schema to the portfolio. - document.PortfolioInformation.Schema = schema - 'Create attachment. - Dim pdfFile As New PdfAttachment("CorporateBrochure.pdf") - pdfFile.FileName = "CorporateBrochure.pdf" - 'Set schema field attributed. - pdfFile.PortfolioAttributes = New PdfPortfolioAttributes() - pdfFile.PortfolioAttributes.AddAttributes("From", "Steven") - pdfFile.PortfolioAttributes.AddAttributes("To", "John") - 'Add attachment to document. - document.Attachments.Add(pdfFile) - 'Add new page to document. - document.Pages.Add() - 'Save and close the document. - document.Save("Sample.pdf") - document.Close(True) - - - - - - variable to store editable value - - - - - Variable to store name of the schema field - - - - - variable to store the order of the schema field - - - - - variable to store visibility of schema field - - - - - Internal variable to store dictionary; - - - - - initialize the instance of the class - - - - - initialize the instance of the class - - schema field dictionary - - - - Initializes instance. - - - - - Gets or Sets the whether the value of the schema field is editable - - if true editable,else can't editable - - - - Gets or Sets the name of the schema field - - The name of the schema field - - - - Gets or sets the order of the Schema field. - - the numeric value show the order of the field - - - - Gets or Sets the schema field Type - - The provides the data type of the field - - - - Gets or Sets the visibility of the Schema field - - if true the filed is visible,otherwise field is not visible - - - - Gets the element. - - - - - - Defines the way the document is to be presented on the screen or in print. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments; - doc.ViewerPreferences.PageScaling = PageScalingMode.None; - doc.ViewerPreferences.FitWindow = true; - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true); - - - 'Create a new document. - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments - doc.ViewerPreferences.PageScaling = PageScalingMode.None - doc.ViewerPreferences.FitWindow = True - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - Internal variable to store value whether to center document's window. - - - - - Internal variable to store value whether to display window�s title bar. - - - - - Internal variable to store value whether to resize the document�s window - to fit the size of the first displayed page. - - - - - Internal variable to store value whether to hide the viewer application�s - menu bar when the document is active. - - - - - Internal variable to store value whether to hide the viewer application�s - tool bars when the document is active. - - - - - Internal vaiable to store value whether to hide user interface elements - in the document�s window. - - - - - Internal variable to store value how the document should be displayed when opened - - - - - Internal variable to store value specifying the page layout to be used when the - document is opened. - - - - - Internal variable to store value specifying document's catalog. - - - - - Internal variable to store dictionary; - - - - - Internal variable to store value specifying the page scaling mode used while printing. - - - - - Initializes a new instance of the class. - - - - - Initializes new instance. - - Catalog of the document. - - - - A flag specifying whether to position the document�s window in the center of the screen. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.CenterWindow = true; - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true); - - - 'Create a new document. - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.CenterWindow = True - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A flag specifying whether the window�s title bar should display the document title taken - from the Title entry of the document information dictionary. If false, the title bar - should instead display the name of the PDF file containing the document. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.CenterWindow = true; - doc.ViewerPreferences.DisplayTitle = true; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true); - - - 'Create a new document. - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.CenterWindow = True - doc.ViewerPreferences.DisplayTitle = True - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A flag specifying whether to resize the document�s window to fit the size of the first - displayed page. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.FitWindow = true; - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true); - - - 'Create a new document. - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.FitWindow = True - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A flag specifying whether to hide the viewer application�s menu bar when the - document is active. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - //Set the document`s viewer preference - doc.ViewerPreferences.HideMenubar = true; - //Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.HideMenubar = True - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A flag specifying whether to hide the viewer application�s tool bars when the document is active. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.HideToolbar = true; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.HideToolbar = True - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A flag specifying whether to hide user interface elements in the document�s window - (such as scroll bars and navigation controls), leaving only the document�s contents displayed. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.HideWindowUI = true; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.HideWindowUI = True - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A name object specifying how the document should be displayed when opened. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.PageMode = PdfPageMode.UseAttachments - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - A name object specifying the page layout to be used when the document is opened. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(True) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.PageLayout = PdfPageLayout.SinglePage - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - Gets or Set the page scaling option to be selected - when a print dialog is displayed for this document. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page - PdfPage page = doc.Pages.Add(); - // Set the document`s viewer preference - doc.ViewerPreferences.PageScaling = PageScalingMode.None; - // Save the document - doc.Save("ViewerPreferences.pdf"); - doc.Close(true) - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Set the document`s viewer preference - doc.ViewerPreferences.PageScaling = PageScalingMode.None - ' Save the document - doc.Save("ViewerPreferences.pdf") - doc.Close(True) - - - - - - Gets the element. - - - - - - Specifies the type of PDF file format. - - - - - Specifies plain PDF file format. - - - - - Specifies Linearized PDF file format. - - - - - Specifies the different way of presenting the document at the client browser. - - - - //Create a new document. - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Load an existing image - PdfBitmap bmp = new PdfBitmap("Logo.png"); - // Draw the image - page.Graphics.DrawImage(bmp, 20, 20, 100, 200); - doc.Save("Sample.pdf", Response, HttpReadType.Open); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - ' Load an existing image - Dim bmp As PdfBitmap = New PdfBitmap("Logo.png") - ' Draw the image - page.Graphics.DrawImage(bmp, 20, 20, 100, 200) - doc.Save("Sample.pdf", Response, HttpReadType.Open) - - - Class - Class - - - - Send the generated document to the client browser and will open document inside browser or using application associated with .pdf extension externally. - - - - - Send the generated document to the client browser and presents an option to save the document to disk or open inside the browser. - - - - - Specifies the available PDF versions to save a PDF document. - - - Default Value is Version1_5 - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - // Set the pdf version as Version1_7 - doc.FileStructure.Version = PdfVersion.Version1_7; - // Save the document - doc.Save("FileStructure.pdf"); - - - 'Create a new document. - Dim doc As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - ' Set the pdf version as Version1_7 - doc.FileStructure.Version = PdfVersion.Version1_7 - ' Save the document - doc.Save("FileStructure.pdf") - - - Class - - - - PDF version 1.0. - - - - - PDF version 1.1. - - - - - PDF version 1.2. - - - - - PDF version 1.3. Adobe Acrobat 4. - - - - - PDF version 1.4. Adobe Acrobat 5. - - - - - PDF version 1.5. Adobe Acrobat 6. - - - - - PDF version 1.6. Adobe Acrobat 7. - - - - - PDF version 1.7. Adobe Acrobat 8. - - - - - Specifies the type of the PDF cross-reference. - - Default value is CrossReferenceStream - - - //Create a new document - PdfDocument doc = new PdfDocument(); - // Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - //Set the CrossReferenceType as CrossReferenceStream - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream; - // Save the document - doc.Save("FileStructure.pdf"); - - - 'Create a new document - Dim doc As PdfDocument = New PdfDocument() - ' Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - ' Set the CrossReferenceType as CrossReferenceStream - doc.FileStructure.CrossReferenceType = PdfCrossReferenceType.CrossReferenceStream - ' Save the document - doc.Save("FileStructure.pdf") - - - Class - - - - The cross-reference table contains information that permits random access to indirect objects within the file so that the entire file need not be read to locate any particular object. The structure is useful for incremental updates, since it allows a new cross-reference section to be added to the PDF file, containing entries only for objects that have been added or deleted. Cross-reference is represented by cross-reference table. The cross-reference table is the traditional way of representing reference type. - - - - - Cross-reference is represented by cross-reference stream. Cross-reference streams are stream objects, and contain a dictionary and a data stream. - This leads to more compact representation of the file data especially along with the compression enabled. - This format is supported by PDF 1.5 version and higher only. - - - - - Specifies the Pdf document's Conformance-level. - - - Default value is None. - - //Create a new PDF document. - PdfDocument document = new PdfDocument(PdfConformanceLevel.Pdf_A1B); - //Creates a new page and adds it as the last page of the document to the document. - PdfPage page = document.Pages.Add(); - // Create a 'Times New Roman' font - Font font = new Font("Times New Roman", 10); - // Create font with bold font style. - PdfFont pdfFont = new PdfTrueTypeFont(font, false); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, new PointF(10, 10)); - //Save document to disk. - document.Save("ConformanceLevel.pdf"); - - - 'Create a new PDF document. - Dim document As PdfDocument = New PdfDocument(PdfConformanceLevel.Pdf_A1B) - ' Create a page to the document. - Dim page As PdfPage = document.Pages.Add() - ' Create a 'Times New Roman' font - Dim font As Font = New Font("Times New Roman", 10) - ' Create font with bold font style. - Dim pdfFont As PdfFont = New PdfTrueTypeFont(font, False) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", pdfFont, PdfBrushes.Black, New PointF(10, 10)) - 'Save document to disk. - document.Save("ConformanceLevel.pdf") - - - Class - Class - - - - Specifies Default / No Conformance. - - - - - This PDF/A ISO standard [ISO 19005-1:2005] is based on Adobe PDF version 1.4 - and This Level B conformance indicates minimal compliance to ensure that the - rendered visual appearance of a conforming file is preservable over the long term. - - - - - This PDF/X-1a:2001 ISO standard [ISO 15930-1] is based on Adobe PDF version 1.3 - which uses only CMYK + Spot Color and this compliance to ensure that the - contents will be reliably reproduced in the repress environment. - - - - - Specifies the different page scaling option that shall be selected when a print dialog is displayed for this document. - - Default value is AppDefault. - - - //Create a new PDF document - PdfDocument document = new PdfDocument(); - // Set AppDefault mode as page`s scaling mode - document.ViewerPreferences.PageScaling = PageScalingMode.AppDefault; - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - //Save documen to disk. - document.Save("ScalingMode.pdf"); - - - 'Create a new PDF document - Dim document As PdfDocument = New PdfDocument() - 'Set AppDefault mode as page`s scaling mode - document.ViewerPreferences.PageScaling = PageScalingMode.AppDefault - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - 'Save documen to disk. - document.Save("ScalingMode.pdf") - - - Class - Class - - - - Indicates the conforming reader�s default print scaling. - - - - - Indicates no page scaling. - - - - - indicates the type of the portfolio schema field. - - - - - indicates the type of the portfolio view mode. - - - - - Decodes the ASCII85 encoded byte[] - - encoded byte[] - decoded byte[] - - - - asciihexdecode using our own implementation - - - - - - - - local variable to store the value true if image is used for extraction - - - - - Converts DeviceCMYK colorspace to RGB colourspace - - - - - Converts the CMYK values to RGB - - - - - Process the ColorSpace property in the Image dictionary - - - - - To Apply the ICCBased Colorspace in the Image Stream - - - - - Skips the escape sequence from the given input string - - String with the escape sequence - String without escape sequence - - - - - - - - - - - Decodes the ASCII85 encoded stream - - Encoded stream - Decoded Stream - - - - Decodes the Flate encoded stream - - Encoded stream - Decoded Stream - - - - Decodes JBIG2 encoded input stream - - Input image stream - Returns the output as image. - - - - Merges the stream of the two images - - Stream of the original image - Encoded stream of the mask image - Stream of the merged image - - - - sRgbToScRgb conversion - - Byte value of the color - Equivalent float value - - - - ScRgbTosRgb conversion - - Float value of the color - Equivalent byte value - - - - Decodes the stream of the mask image in the PDF document - - Encoded stream from the PDF document - Decoded stream of the image - - - - Decodes the stream based on the predictor values - - Predictor from the decode params - Colors from the decode params - Columns from the decode params - Stream the encoded image - Decoded stream - - - - Converts YCCK colorspace to RGB colorspace - - Byte array of YCCK image - Byte array of RGB image - - - - Converts YCC colorspace image to RGB image - - Byte array of YCC image - Byte array of RGB image - - - - Render the RGB Pixels from the Image Bytes - - Image Bytes which converts into Pixels - - - - - Gets or sets "true" when an image is used for Extraction. - - - - - Holds the stream of the mask image associated with the original image - - - - - Gets BitsPerComponent value of the original image - - - - - Occurs prior to the rendering of every image in the document - - - ImagePreRenderEventArgs - - - - Custom event argument class used to notify before image is rendered in the viewer. - - - - - Gets or sets the content stream of the image. - - - - - Gets or sets height of the image. - - - - - Gets or sets width of the image. - - - - - Returns filter names used in the image. - - - - - - - - - - - white run lengths - - - - black run lengths - - - - - - - - - - - - - - - - - - Display information found in this COD marker segment - - - Display information found in this COC marker segment - - - Display information found in this RGN marker segment - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Decodes the image stream in the PDF document into an image - - - - - Sets the fields associated with the TIFF image - - Number of fields - Value of the field - Name of the TIFF tag - Type of the tag value - - - - Writes the header to the TIFF image - - Specifies the header of the TIFF image - - - - Writes the list of fields associated with the TIFF image - - List of TIFF fields - - - - Writes short value into the TIFF stream - - Short value to be written - - - - Writes integer value into the TIFF stream - - Integer value to be written - - - - Structure of the TIFF header - - - - - Size of the byte order of the tiff image - - - - - TIFF version number - - - - - byte offset to first directory - - - - - Tag entry to the TIFF stream - - - - - Represents the TIFF tag - - - - - Represents the type of the TIFF tag - - - - - number of items; length in spec - - - - - byte offset to field data - - - - - Width of the image in pixels - - - - - Height of the image in pixels - - - - - Bits per channel (sample). - - - - - Compression technique - - - - - Photometric interpretation. - - - - - Offsets to data strips. - - - - - Samples per pixel. - - - - - Bytes counts for strips. - - - - - 16-bit unsigned integer. - - - - - 32-bit unsigned integer. - - - - - The Syncfusion.Pdf.Exporting namespace contains classes to perform export operations. - - - - - Represents the utility class to store information about Images and its location. - - - - //Load PDF document. - PdfLoadedDocument document = new PdfLoadedDocument("Input.pdf"); - //Gets ImageInfo from the first page. - PdfImageInfo[] imageInfo = document.Pages[0].ImagesInfo; - //Gets the Image Boundary location. - RectangleF imageBounds = imageInfo[0].Bounds; - //Gets the Image. - Image image = imageInfo[0].Image; - //Gets the Image index. - int imageIndex = imageInfo[0].Index; - //Closing the PDF document. - document.Close(true); - - - 'Load PDF document. - Dim document As New PdfLoadedDocument("Input.pdf") - 'Gets ImageInfo from the first page. - Dim imageInfo As PdfImageInfo() = document.Pages(0).ImagesInfo - 'Gets the Image Boundary location. - Dim imageBounds As RectangleF = imageInfo(0).Bounds - 'Gets the Image. - Dim image As Image = imageInfo(0).Image - 'Gets the Image index. - Dim imageIndex As Integer = imageInfo(0).Index - 'Closing the PDF document. - document.Close(True) - - - - - - Local Variable to store the image bounds. - - - - - Local Variable to store the image. - - - - - Local Variable to store the image index. - - - - - Internal variable to store the image name. - - - - - Internal variable to store the matrix. - - - - - Internal variable to store the image name. - - - - - Internal variable , it identifies the image is extracted or not. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Image bounds - Image - Image index - - - - Initializes a new instance of the class. - - Image bounds - Image - Image index - Image name - - - - Gets the Image Boundary location. - - - - - Gets the Image. - - - - - Gets the Image index. - - - - - Gets the image name. - - - - - Gets the matrix. - - - - - Gets the matrix. - - - - - Returns true, if soft masking is applied. Set to true when the image is undergone soft masking. - - - - - Returns true, if image masking is applied. Set to true when the image is undergone image masking. - - - - - Returns true, when the image property in the PDF document is set to undergo interpolation. - - - - - Gets or sets the image is extracted or not. - - - - - Represents the utility class for extracting text from the stream. - - - - - Internal variable to store the number of characters. - - - - - variable to hold font name and difference arrary. - - - - - variable to hold decoded Character - - - - - Initializes a new instance of the class. - - - - - Extracts text from the bytes. - - The byte array. - The Extracted Text. - - - - Extracts text from the bytes. - - The byte array. - type - The Extracted Text. - - - - Extracts text from the bytes. - - The byte array. - The Current Page Object. - Font Name Collection. - Font Reference Holder Colllection. - The Extracted Text. - - - - Extracts text from the bytes(True Type Font Documents). - - The byte array. - The Extracted Text. - - - - Extracts text from the bytes(Embed Fonts). - - The byte array. - The Current Page Object. - Font Name Collection. - Font Reference Holder Colllection. - The Extracted Text. - - - - Extracts text from Type0 - - The byte array. - The Extracted Text. - - - - Checks the token. - - The tokens. - The recent. - token - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Variable to hold the glyph string and its glyph shapes - - - - - Variable to hold the font matrix - - - - - Variable to hold the character code and character - - - - - Variable to hold the already cached path - - - - - Variable to hold the globalBias value for glyphs - - - - - Gets or sets the glyph string and its shapes - - - - - Gets or sets the globalbias - - - - - Gets or sets the font matrix - - - - - Gets or sets the character code and character - - - - - Gets or sets the already cached path - - - - - Writes short value into the font stream - - Short value to be written - - - - Writes integer value into the font stream - - Integer value to be written - - - - Writes string value into the font stream - - String value to be written - - - - Write the bytes into the font stream - - byte array to be written - - - - constant used in eexec and charset decode - - - - - constant used in eexec and charset decode - - - - - Represents the number of random bytes in stream to ignore - - - - - Variable to hold the glyph string and its glyph shapes - - - - - Variable to hold the character code and character - - - - - Variable to hold the font matrix - - - - - Variable to cff glyphs - - - - - needed so CIDFOnt0 can extend - - - - - Parse the difference encoding - - - - - Handle encoding for type1 fonts - - - - - parse the encoded part from a type 1 font - - - - - extract the subroutine data - - - - - Extract Font Data - - - - - extract bytestream with char data - - - - - Variable to hold the font matrix - - - - - Variable to cff glyphs - - - - lookup table for names for type 1C glyphs - - - Lookup table to map values - - - lookup data to convert Expert values - - - - Represents the graphics object - - - - - Generate the font stream with respect to the font tables present in the entries - - list of font tables in the font - stream of the font - - - - Writes the header into the font stream - - Header information of the font - - - - Writes table entry into the font stream - - Table entry - - - - Writes short value into the font stream - - Short value to be written - - - - Writes integer value into the font stream - - Integer value to be written - - - - Writes string value into the font stream - - String value to be written - - - - Write the bytes into the font stream - - byte array to be written - - - - Calculates the search range of the font - - Number of tables in the font - Value of the search range - - - - Calculates the entry selector of the font - - Number of tables in the font - Value of the entry selector - - - - Calculates the range shift of the font - - Number of tables in the font - Search range of the font - Value of the range shift - - - - - - - Reads the header of the font - - - - - Reads the table part to get the details about the tables in the font - read - - - - Returns the id of the font table corresponding to the tag - - Font tag - Corresponding table ID - - - - Reads 4 bytes from the byte array - - Corresponding value - - - - Reads 8 bytes from the byte array - - Corresponding value - - - - Read 4 bytes from the byte array - - Corresponding string value - - - - Read 2 bytes from the byte array - - Corresponding integer value - - - - Separated the byte array corresponding to the table entry from the font stream - - Table ID - Byte array of the table - - - - Get table bytes - - - - - - - - Reads 4 bytes from the byte array - - Corresponding value - - - - Reads 8 bytes from the byte array - - Corresponding value - - - - Read 4 bytes from the byte array - - Corresponding string value - - - - Read 2 bytes from the byte array - - Corresponding integer value - - - - - - - Internal variable that holds cff glyphs - - - - - Takes in the encoded text, identifies the type of encoding used, decodes the encoded text, returns the decoded text. - - - Encoded string from the PDF document. - - - - Decoded string, human readable. - - - - - Decodes the octal text in the encoded text. - - The text encoded from the PDF document - Decoded text with replaced octal texts - - - - Decodes the HEX encoded string. - - - HEX encoded string. - - - Decoded string. - - - - - Extracts the font name associated with the string. - - - Font name. - - - - - Extracts the font style associated with the text string - - - Font style. - - - - - Extracts the font encoding associated with the text string - - - Font style. - - - - - Parsing the stream from the Adobe-Japan1-6.cidmap resource to create CIDMapTable - - CID map table resource - Adobe Japan CID map table - - - - Parse the Japanese character where the value is reference to another key in the Adobe Japan Cid Map Table - - mapped value which is a reference to another key - Mapped Character present in the Adobe Japan Cid Map table - - - - Decodes the ASCII85 encoded stream - - Encoded stream - Decoded Stream - - - - Decodes the Flate encoded stream - - Encoded stream - Decoded Stream - - - - Builds the mapping table that is used to map the decoded text to get the expected text. - - - A dictionary with key as the encoded element and value as the value to be mapped to. - - - - - Builds the mapping table that is used to map the decoded text to get the expected text. - - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Takes in the decoded text and maps it with its corresponding entry in the CharacterMapTable - - decoded text - Expected text string - - - - Takes in the decoded text and maps it with its corresponding entry in the CharacterMapTable - - encoded text - Expected text string - - - - Method to remove the new line character - - Text with new line character - Text without new line character - - - - - Checks whether the specified character is Non-Printable character or not. - - The character to be verified as either Non-Printable or not - Returns true, if the specified character is Non-Printable character. Otherwise it returns false - - - - Gets or sets the value indicating whether the encoded text is hexa decimal string - - - - - Holds the font name associated with the text element - - - - - Holds the font style of the text to be decoded. - - - - - Gets and sets whether same font is denoted in more than one XObject. - - - - - Holds the font encoding associated with the text element - - - - - Extracts the pageResource from the page - - Page whose resouce is needed - pageResource of the given page - - - - Collects all the ExtendedGraphicsSatate elements in the pdf document - - containing all the resources of the document - dictionary of ExtGState elements - - - - Collects all the fonts in the page in a dictionary - - dictionary containing all the resources in the Xobjects - dictionary containing font name and the font - - - - Extracts the text from the page given - - page from which text is extracted - font used in the text - text in the page to be decoded - decoded text - - - - Collects all the fonts in the page in a dictionary - - dictionary containing all the resources in the page - page in which text is to be extracted - dictionary containing font name and the font - - - - Collects all the images in the pdf document - - containing all the resources of the document - dictionary of images - - - - Updates the resources in the page - - Existing page resources - Dictionary items to the updated - Updated page resource - - - - The class provides methods and properties to access the PDF page resources. - - - - - Returns if the FontCollection has same font face. - - if font present true, else false - - - - Initializes the new instance of the class - - - - - Adds the resource with the specified name. - - Name of the resource - Resource to add - - - - Returns if the key already exists. - - if key present true,else false - - - - Gets the PDF page resources. - - - - - Gets or sets the value associated with the key. - - - - - Represents class which draws form fields. - - - - - Internal variable to store white brush. - - - - - Internal variable to store black brush. - - - - - Internal variable to store silver brush. - - - - - Internal variable to store gray brush. - - - - - Internal variable to store cached pens. - - - - - Internal variable to store string format for check field symbols. - - - - - Draws a button. - - The g. - The paint params. - The text. - The font. - The format. - - - - Draws a pressed button. - - The g. - The paint params. - The text. - The font. - The format. - - - - Draws a button. - - The g. - The paint params. - The text. - The font. - The format. - - - - Draws a list box. - - The graphics. - The paint params. - The items. - The selected item index. - The font. - The string format. - - - - Draws a check box. - - The g. - The paint params. - The check symbol. - The state. - - - - Draws a check box. - - The g. - The paint params. - The check symbol. - The state. - The font. - - - - Draws a combo box. - - The g. - The paint params. - - - - Draws a combo box. - - The g. - The paint params. - - - - Draws the radio button. - - The g. - The paint params. - The check symbol. - The state. - - - - Draws the signature. - - The g. - The paint params. - - - - Draws the ellipseannotation. - - The g. - The paint params. - The x. - The y. - The width. - The height. - - - - Draws the rectangleannotation. - - The g. - The paint params. - The x. - The y. - The width. - The height. - - - - Draws the freetextannotation. - - The g. - The paint params. - The text. - The font. - The rect. - - - - Draws a border. - - The g. - The bounds. - The border pen. - The style. - Width of the border. - - - - Draws the round border. - - The g. - The bounds. - The border pen. - Width of the border. - - - - Draws a rectangular control. - - The g. - The paint params. - - - - Draws the left top shadow. - - The g. - The bounds. - The width. - The brush. - - - - Draws the right bottom shadow. - - The g. - The bounds. - The width. - The brush. - - - - Draws the round shadow. - - The g. - The paint params. - The state. - - - - Gets the pen. - - The color. - The width. - - - - - Gets the white brush. - - The white brush. - - - - Gets the black brush. - - The black brush. - - - - Gets the gray brush. - - The gray brush. - - - - Gets the silver brush. - - The silver brush. - - - - Gets the check box format. - - The check box format. - - - - Represents class with field's paint parameters. - - - - - Internal variable to store back brush. - - - - - Internal variable to store fore brush. - - - - - Internal variable to store border width. - - - - - Internal variable to store border pen. - - - - - Internal variable to store border style. - - - - - Internal variable to store bounds. - - - - - Internal variable to store shadow brush. - - - - - Rotation angle of the form fields. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The bounds. - The back brush. - The fore brush. - The border pen. - The style. - Width of the border. - The shadow brush. - - - - Gets or sets the back brush. - - The back brush. - - - - Gets or sets the fore brush. - - The fore brush. - - - - Gets or sets the border pen. - - The border pen. - - - - Gets or sets the border style. - - The border style. - - - - Gets or sets the width of the border. - - The width of the border. - - - - Gets or sets the bounds. - - The bounds. - - - - Gets or sets the shadow brush. - - The shadow brush. - - - - Gets or Set the rotation angle. - - - - - - Represents form field with appearance custom support. - - Class - - - - Represents form's field with style parameters. - - Class - - - - Represents field of the PDF document's interactive form. - - Interface - - - - Internal variable to store field's name. - - - - - Internal variable to store page. - - - - - Internal variable to store flags of the field. - - - - - Internal variable to store form. - - - - - Internal variable to store mapping name. - - - - - Internal variable to store value whether to export field's data. - - - - - Internal variable to store value whether the field is read only. - - - - - Internal variable to store value whether the field is required. - - - - - Internal variable to store tool tip. - - - - - Internal variable to store dictionary. - - - - - Form flatten. - - - - - Indicates if AutoFormat has to be removed. - - - - - Internal variable to store tab index of the field - - - - - Internal variable to store form field index - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the field should be placed. - The name. - - - - Initializes a new instance of the class. - - - - - Sets the form. - - The form. - - - - Saves an object. - - - - - Draws this instance if it is flatten. - - - - - Sets the proper name to the field. - - The name. - - - - Clones the field. - - The page. - The copy of the field. - - - - Defines default appearance. - - - - - Initializes this instance. - - - - - Handles the BeginSave event of the m_dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets the name of the .[Read-Only] - - The name. - - - - Gets the form of the .[Read-Only] - - The form. - - - - Gets or sets the mapping name to be used when exporting interactive form - field data from the document. - - The mapping name. - - - - Gets or sets a value indicating whether this is export. - - true if export; otherwise, false. - - - - Gets or sets a value indicating whether this field is read-only. - - if the field is read only, set to true. - - - - Gets or sets a value indicating whether this is required. - - true if required; otherwise, false. - - - - Gets or sets the tool tip. - - The tool tip. - - - - Gets the page of the field.[Read-Only] - - The page. - - - - Gets or sets a value indicating whether to flatten this . - - - - - Gets or sets the flags. - - The flags. - - - - Gets or sets the dictionary. - - The dictionary. - - - - Gets or sets a value indicating whether to disable auto format this . - - - - - Get or set tag for the field - - - - - Gets or sets the tab index for form fields - - - - - Gets or sets the form field index - - - - - Gets the element. - - - - - - Internal variable to store color shift value. - - - - - Internal variable to store widget of the field. - - - - - Internal variable to store field's font. - - - - - Internal variable to store actions of the field. - - - - - Internal variable to store appearance template. - - - - - Internal variable to store back color. - - - - - Internal variable to store color of background rectangle. - - - - - Internal variable to store fore pen. - - - - - Internal variable to store border pen. - - - - - Internal variable to store string format. - - - - - Internal variable to store shadow brush. - - - - - Internal variable to store visibility of the field. - - - - - Represents the visibility of the field - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the field should be placed. - The name. - - - - Initializes a new instance of the class. - - - - - Draws this instance if it is flatten. - - - - - Removes the annotation from page. - - The page. - The widget. - - - - Adds the annotation to page. - - The page. - The widget. - - - - Bounds at loaded page. - - The page. - The value. - - - - Gets the bounds at loaded page. - - The page. - The rect. - The bounds of field. - - - - Gets the font. If font is undefined default font will be used. - - font - - - - Initializes an instance. - - - - - Defines the default appearance. - - - - - Creates the border pen. - - - - - Creates the back brush. - - - - - Gets or sets the bounds. - - The bounds. - - - - Gets or sets the form field visibility - - - - - Gets or sets the location of the field. - - The location. - - - - Gets or sets the size of the field. - - The size. - - - - Gets or sets the color of the border. - - The color of the border. - - - - Gets or sets the color of the background. - - The color of the background. - - - - Gets or sets the color of the background rectangle of field. - - The color of the background rectangle of field. - - - - Gets or sets the color of the text. - - The color of the text. - - - - Gets or sets the width of the border. - - The width of the border. - - - - Gets or sets the highlighting mode. - - The highlighting mode. - - - - Gets or sets the font. - - The font. - - - - Gets or sets the text alignment. - - The text alignment. - This property is meaningful for fields containing variable text only. - (i.e. , and - ). - - - - - Gets the actions of the field.[Read-Only] - - The actions. - - - - Gets or sets the border style. - - The border style. - - - - Gets or sets a value indicating whether this is visible. - - true if visible; otherwise, false. - - - - Gets the right bottom beveled Shadow brush. - - The right bottom beveled Shadow brush. - - - - Gets the widget. - - The widget. - - - - Gets the appearance template. - - The appearance template. - - - - Gets the back brush. - - The back brush. - - - - Gets the border pen. - - The border pen. - - - - Gets the fore pen. - - The fore pen. - - - - Gets the string format. - - The string format. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Page - The name. - - - - Saves an object. - - - - - Draws this instance if it is flatten. - - - - - Draws the appearance. - - The template. - - - - Gets the appearance.[Read-Only] - - The appearance. - - - - Represents button field in the PDF form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - // Creating action - PdfSubmitAction submitAction = new PdfSubmitAction("http://stevex.net/dump.php"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Create submit button to transfer the values in the form - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(100, 500, 90, 20); - submitButton.Font = font; - submitButton.Text = "Submit"; - submitButton.Actions.MouseUp = submitAction; - document.Form.Fields.Add(submitButton); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - ' Creating action - Dim submitAction As PdfSubmitAction = New PdfSubmitAction("http://stevex.net/dump.php") - submitAction.DataFormat = SubmitDataFormat.Html - 'Create submit button to transfer the values in the form - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(100, 500, 90, 20) - submitButton.Font = font - submitButton.Text = "Submit" - submitButton.Actions.MouseUp = submitAction - document.Form.Fields.Add(submitButton) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Internal variable to store button's caption. - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the fields should be placed. - The name of the button. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - // Creating action - PdfSubmitAction submitAction = new PdfSubmitAction("http://stevex.net/dump.php"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Create submit button to transfer the values in the form - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(100, 500, 90, 20); - submitButton.Font = font; - submitButton.Text = "Submit"; - submitButton.Actions.MouseUp = submitAction; - document.Form.Fields.Add(submitButton); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - ' Creating action - Dim submitAction As PdfSubmitAction = New PdfSubmitAction("http://stevex.net/dump.php") - submitAction.DataFormat = SubmitDataFormat.Html - 'Create submit button to transfer the values in the form - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(100, 500, 90, 20) - submitButton.Font = font - submitButton.Text = "Submit" - submitButton.Actions.MouseUp = submitAction - document.Form.Fields.Add(submitButton) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class. - - - - - Adds Print action to current button field. - Clicking on the specified button will trigger the Print Dialog Box. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - // Creating action - PdfSubmitAction submitAction = new PdfSubmitAction("http://stevex.net/dump.php"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Create submit button to transfer the values in the form - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(100, 500, 90, 20); - submitButton.Font = font; - submitButton.Text = "Submit"; - // Subscribing print action - submitButton.AddPrintAction(); - submitButton.Actions.MouseUp = submitAction; - document.Form.Fields.Add(submitButton); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - ' Creating action - Dim submitAction As PdfSubmitAction = New PdfSubmitAction("http://stevex.net/dump.php") - submitAction.DataFormat = SubmitDataFormat.Html - 'Create submit button to transfer the values in the form - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(100, 500, 90, 20) - submitButton.Font = font - submitButton.Text = "Submit" - ' Subscribing print action - submitButton.AddPrintAction() - submitButton.Actions.MouseUp = submitAction - document.Form.Fields.Add(submitButton) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Draws this instance if it is flatten. - - - - - Saves an instance. - - - - - Initializes an instance. - - - - - Draws the appearance. - - The template. - - - - Draws the pressed appearance. - - The template. - - - - Gets or sets the caption text. - - The caption text. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - // Creating action - PdfSubmitAction submitAction = new PdfSubmitAction("http://stevex.net/dump.php"); - submitAction.DataFormat = SubmitDataFormat.Html; - //Create submit button to transfer the values in the form - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(100, 500, 90, 20); - submitButton.Font = font; - submitButton.Text = "Submit"; - submitButton.Actions.MouseUp = submitAction; - document.Form.Fields.Add(submitButton); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - ' Creating action - Dim submitAction As PdfSubmitAction = New PdfSubmitAction("http://stevex.net/dump.php") - submitAction.DataFormat = SubmitDataFormat.Html - 'Create submit button to transfer the values in the form - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(100, 500, 90, 20) - submitButton.Font = font - submitButton.Text = "Submit" - submitButton.Actions.MouseUp = submitAction - document.Form.Fields.Add(submitButton) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - - - - Represents check box field in the PDF form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Represents base class for field which can be in checked and unchecked states. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Internal variable to store check box' style. - - - - - Internal variable to store template for checked state. - - - - - Internal variable to store template for unchecked state. - - - - - Internal variable to store template for pressed checked state. - - - - - Internal variable to store template for presssed unchecked state. - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the fields should be placed. - The name of the check box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - - Styles to string. - - The style. - String representation of the check box' style. - - - - Initializes an instance. - - - - - Saves an instance. - - - - - Draws the appearance. - - - - - Ensures the template is created. - - The template. - - - - Releases the template. - - - - - Draws this instance if it is flatten. - - - - - Gets or sets the style. - - The object specifies the style of the check box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - //Set the value for the check box - checkBox.Style = PdfCheckBoxStyle.Circle; - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - 'Set the value for the check box - checkBox.Style = PdfCheckBoxStyle.Circle - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the checked template. - - The checked template. - - - - Gets or sets the unchecked template. - - The unchecked template. - - - - Gets or sets the pressed checked template. - - The pressed checked template. - - - - Gets or sets the pressed unchecked template. - - The pressed unchecked template. - - - - Internal variable to store value whether the check box is checked. - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the fields should be placed. - The name of the check box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Saves an instance. - - - - - Draws this instance if it is flatten. - - - - - Draws the appearance of the field. - - - - - Gets or sets a value indicating whether this is checked. - - true if checked; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics graphics = page.Graphics; - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - //Set the value for the check box - checkBox.Checked = true; - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim graphics As PdfGraphics = page.Graphics - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - 'Set the value for the check box - checkBox.Checked = True - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Represents combo box field in the PDF Form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - //Add it to document - document.Form.Fields.Add(positionComboBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - 'Add it to document - document.Form.Fields.Add(positionComboBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - - - - Represents base class form's list fields. - - Class - - - - Internal variable to store collection of items. - - - - - Internal variable to store selected item index. - - - - - Internal variable to store mulitple selected items. - - - - - Initializes a new instance of the class with the specific page and name. - - Page which the field to be placed on. - The name of the field. - - - - Initializes a new instance of the class. - - - - - Draws this instance if it is flatten. - - - - - Initializes an instance. - - - - - Gets the list field items.[Read-Only] - - The items. - - - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - - - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - - - - - - Gets or sets the first selected item in the list. - - The index of the selected item. - - - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - - - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - - - - - - Gets or sets the value of the first selected item in the list. - - The selected value. - - - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedValue = "English"; - - - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedValue = "English" - - - - - - Gets the first selected item in the list.[Read-Only] - - The selected item. - - - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - //Gets the selected item - PdfListFieldItem selectedItem = listBox.SelectedItem; - - - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - 'Gets the selected item - Dim selectedItem As PdfListFieldItem = listBox.SelectedItem - - - - - - Gets or sets multiple selected indexes - - - - - Internal variable to store value whether the combobox is editable. - - - - - Initializes a new instance of the class with the specific page and name. - - Page the field to be placed on. - The name of the field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - //Add it to document - document.Form.Fields.Add(positionComboBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - 'Add it to document - document.Form.Fields.Add(positionComboBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - - - - Draws this instance if it is flatten. - - - - - Initializes an instance. - - - - - Draws the appearance. - - The template. - - - - Gets or sets a value indicating whether this is editable. - - true if editable; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - //Add it to document - document.Form.Fields.Add(positionComboBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - 'Add it to document - document.Form.Fields.Add(positionComboBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Represents the collection of the PDF fields. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - //Add it to document - document.Form.Fields.Add(positionComboBox); - PdfFieldCollection fieldCollection = document.Form.Fields; - // Flatten the form collection - for (int i = 0; i != fieldCollection.Count; i++) - { - fieldCollection[i].Flatten = true; - } - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - 'Add it to document - document.Form.Fields.Add(positionComboBox) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - ' Flatten the form collection - For i As Integer = 0 To fieldCollection.Count - 1 - fieldCollection(i).Flatten = True - Next i - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Interface - - - - Internal variable to store duplicate field exception message. - - - - - Internal variable to store array of fields. - - - - - Private variable to store the form field names and thier index - - - - - Initializes a new instance of the class. - - - - - Adds the specified field to the collection. - - The field item which is added in the PDF form. - The field to be added on the page. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - fieldCollection.Add(positionComboBox as PdfField); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - fieldCollection.Add(TryCast(positionComboBox, PdfField)) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Add the XFA form fields - - - - - - - Inserts the field at the specified index. - - The index of the field. - The field which should be inserted at the specified index. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - //Set the value for the check box - checkBox.Checked = true; - document.Form.Fields.Add(checkBox); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - // Insert the field at first position in the collection - fieldCollection.Insert(0, positionComboBox as PdfField); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - 'Set the value for the check box - checkBox.Checked = True - document.Form.Fields.Add(checkBox) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - ' Insert the field at first position in the collection - fieldCollection.Insert(0, TryCast(positionComboBox, PdfField)) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Determines whether field is contained within the collection. - - Check whether object is present in the field collection or not. - - true if field is present in the collection, otherwise, false. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - if (fieldCollection.Contains(positionComboBox as PdfField)) - MessageBox.Show("Already added field"); - else - fieldCollection.Add(positionComboBox as PdfField); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - If fieldCollection.Contains(TryCast(positionComboBox, PdfField)) Then - MessageBox.Show("Already added field") - Else - fieldCollection.Add(TryCast(positionComboBox, PdfField)) - End If - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the index of the specific field. - - The object whose index is requested. - Index of the field in collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - document.Form.Fields.Add(positionComboBox); - int index = fieldCollection.IndexOf(positionComboBox as PdfField); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - document.Form.Fields.Add(positionComboBox) - Dim index As Integer = fieldCollection.IndexOf(TryCast(positionComboBox, PdfField)) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes the specified field in the collection. - - The object to be removed from collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - document.Form.Fields.Add(positionComboBox); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - fieldCollection.Remove(positionComboBox as PdfField); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - document.Form.Fields.Add(positionComboBox) - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - fieldCollection.Remove(TryCast(positionComboBox, PdfField)) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes field at the specified position. - - The index where to remove the item. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfFieldCollection fieldCollection = document.Form.Fields; - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - document.Form.Fields.Add(positionComboBox); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - // Remove the first element - fieldCollection.RemoveAt(0); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - 'Create a combo box - Dim positionComboBox As PdfComboBoxField = New PdfComboBoxField(page, "positionComboBox") - document.Form.Fields.Add(positionComboBox) - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - ' Remove the first element - fieldCollection.RemoveAt(0) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Clears the form field collection. - - - - - Adds the specified field. - - The field. - The new page. - Index of added field. - - - - Add the specified XFA form fields - - - - - - - Adds a field to collection. - - The field. - field. - - - - Inserts a filed into collection. - - The index. - The field. - - - - Removes the field from collection. - - The field. - - - - Removes the field at the specified position. - - The index. - - - - Clears the collection. - - - - - Inserts the loaded field. - - The field. - The new page. - field. - - - - Updates the references. - - The kids array. - The array. - The new array. - - - - Returns the form field index by validating the fieldnames - - - - - - Gets the with their field name.[Read-Only] - - - - - Gets the items. - - The items. - - - - Gets the element. - - - - - - Represents interactive form of the PDF document. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - // Creates a form - PdfForm form = document.Form; - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - //Add the items to the list box - listBox.Items.Add(new PdfListFieldItem("English", "English")); - listBox.Items.Add(new PdfListFieldItem("French", "French")); - listBox.Items.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - //Set the multi-select option - listBox.MultiSelect = true; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - ' Creates a form - Dim form As PdfForm = document.Form - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - 'Add the items to the list box - listBox.Items.Add(New PdfListFieldItem("English", "English")) - listBox.Items.Add(New PdfListFieldItem("French", "French")) - listBox.Items.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - 'Set the multi-select option - listBox.MultiSelect = True - document.Save("Form.pdf") - document.Close(True) - - - Interface - - - - Internal variable to store form's collection of fields. - - - - - Internal variable to store resources. - - - - - Internal value indicating whether the form is read only. - - - - - Internal variable to store signature flags. - - - - - Internal variable to store dictionary. - - - - - Internal variable to store value whether to generate default appearancesof the fields. - - - - - Indicates is form flatten or not. - - - - - Internal variable to store value whether to change the name of the field. - - - - - Holds the fields names of the form. - - - - - Internal values to hold form fields values. - - - - - Internal variable to ensure the form is XFA or not - - - - - Indicates if AutoFormat has to be removed. - - - - - Holds the reference of the loaded page and the cloned page - - - - - Internal field to check whether any field is modified. - - - - - field to check whether use DefaultEncoding - - - - - field to check whether use DefaultAppearance. - - - - - Initializes a new instance of the class. - - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Clears PdfForm. - - - - - Checks for the flatten fields. - - - - - Deletes from pages. - - The field. - - - - Deletes the annotation from the page dictionary. - - The field. - - - - Gets the new name of the field. - - The name. - The field name. - - - - Specifies whether to set the default appearance for the form or not. - - - - - - XFA document - - - - - Gets the field names. - - The field names. - - - - Gets or sets a value indicating whether the form is XFA. - - - - - - - - - Gets or sets a value indicating whether the viewer must generate appearances for fields. - - true if viewer must generate appearance; otherwise, false. - - - - Gets or sets the signature flags. - - The signature flags. - - - - Gets or sets the resources. - - The resources. - - - - Gets or sets the dictionary. - - The dictionary. - - - - Gets or sets whether to disable auto formating. - - - - - Specifies if any formfield is changed since loading that would affect the appearance. - - - - - Gets the element. - - - - - - Represents a collection of form fields. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a combo box - PdfComboBoxField positionComboBox = new PdfComboBoxField(page, "positionComboBox"); - positionComboBox.Editable = true; - positionComboBox.Bounds = new RectangleF(100, 115, 200, 20); - positionComboBox.Font = font; - positionComboBox.Editable = true; - //Add it to document - document.Form.Fields.Add(positionComboBox); - PdfFieldCollection fieldCollection = document.Form.Fields; - // Flatten the form collection - for (int i = 0; i != fieldCollection.Count; i++) - { - fieldCollection[i].Flatten = true; - } - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12F) - 'Create a combo box - Dim positionComboBox As New PdfComboBoxField(page, "positionComboBox") - positionComboBox.Editable = True - positionComboBox.Bounds = New RectangleF(100, 115, 200, 20) - positionComboBox.Font = font - positionComboBox.Editable = True - 'Add it to document - document.Form.Fields.Add(positionComboBox) - Dim fieldCollection As PdfFieldCollection = document.Form.Fields - ' Flatten the form collection - Dim i As Integer = 0 - While i != fieldCollection.Count - fieldCollection(i).Flatten = True - i += 1 - End While - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Internal variable to store form. - - - - - Initializes a new instance of the class. - - - - - Adds a field to collection. - - The field. - - - - - Inserts a filed into collection. - - The index. - The field. - - - - Removes the field from collection. - - The field. - - - - Removes the field at the specified position. - - The index. - - - - Clears the collection. - - - - - Check whether the field with the same name already exists. - - The name. - - true if there are no fields with the same name within the collection; - otherwise false. - - - - - Gets or sets the form. - - - - - Represents list box field of the PDF form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - //Add the items to the list box - listBox.Items.Add(new PdfListFieldItem("English", "English")); - listBox.Items.Add(new PdfListFieldItem("French", "French")); - listBox.Items.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - //Set the multiselect option - listBox.MultiSelect = true; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - 'Add the items to the list box - listBox.Items.Add(New PdfListFieldItem("English", "English")) - listBox.Items.Add(New PdfListFieldItem("French", "French")) - listBox.Items.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - 'Set the multiselect option - listBox.MultiSelect = True - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - - - - Internal variable to store value whether the fiels is multiselectable. - - - - - Initializes a new instance of the class with the specific page and name. - - Page the field to be placed on. - The name of the field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - //Add the items to the list box - listBox.Items.Add(new PdfListFieldItem("English", "English")); - listBox.Items.Add(new PdfListFieldItem("French", "French")); - listBox.Items.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - //Set the multiselect option - listBox.MultiSelect = true; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - 'Add the items to the list box - listBox.Items.Add(New PdfListFieldItem("English", "English")) - listBox.Items.Add(New PdfListFieldItem("French", "French")) - listBox.Items.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - 'Set the multiselect option - listBox.MultiSelect = True - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Draws this instance if it is flatten. - - - - - Initializes an instance. - - - - - Draws the appearance. - - The template. - - - - Gets or sets a value indicating whether the field is multiselectable. - - true if multiselectable; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - //Add the items to the list box - listBox.Items.Add(new PdfListFieldItem("English", "English")); - listBox.Items.Add(new PdfListFieldItem("French", "French")); - listBox.Items.Add(new PdfListFieldItem("German", "German")); - //Select the item - listBox.SelectedIndex = 2; - //Set the multiselect option - listBox.MultiSelect = true; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - 'Add the items to the list box - listBox.Items.Add(New PdfListFieldItem("English", "English")) - listBox.Items.Add(New PdfListFieldItem("French", "French")) - listBox.Items.Add(New PdfListFieldItem("German", "German")) - 'Select the item - listBox.SelectedIndex = 2 - 'Set the multiselect option - listBox.MultiSelect = True - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - - Text position it the primitive array. - - - - - Value position in the primitive array. - - - - - Internal variable to store caption of the list item. - - - - - Internal variable to store value of the list item. - - - - - Internal variable to store array primitive. - - - - - Initializes a new instance of the class. - - - - - - Initializes the specified text. - - The text. - The value. - - - - - - Gets the element. - - The primitive. - - - - Represents list field item collection. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - listBox.SelectedIndex = 0; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - listBox.SelectedIndex = 0 - document.Save("Form.pdf") - document.Close(True) - - - Class - Interface - Class - Class - Class - - - - Internal variable to store array of - - - - - Initializes a new instance of the class. - - - - - - Inserts the list item field at the specified index. - - The index where to insert the new item. - The object to be added to collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - PdfListFieldItem item = new PdfListFieldItem("Arabic", "Arabic"); - // Inserting an item at second position - itemCollection.Insert(1, item); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - Dim item As PdfListFieldItem = New PdfListFieldItem("Arabic", "Arabic") - ' Inserting an item at second position - itemCollection.Insert(1, item) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes the specified . - - The object which to be removed in the collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - PdfListFieldItem item = new PdfListFieldItem("English", "English"); - itemCollection.Add(item); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - // Remove an item from collection - itemCollection.Remove(item); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - Dim item As PdfListFieldItem = New PdfListFieldItem("English", "English") - itemCollection.Add(item) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - ' Remove an item from collection - itemCollection.Remove(item) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes the item at the specified position. - - The index where to remove the item. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - PdfListFieldItem item = new PdfListFieldItem("English", "English"); - itemCollection.Add(item); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - // Remove an item from collection - itemCollection.RemoveAt(1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - Dim item As PdfListFieldItem = New PdfListFieldItem("English", "English") - itemCollection.Add(item) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - ' Remove an item from collection - itemCollection.RemoveAt(1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Determines whether the item is present in the collection. - - Check whether object is exists in the collection or not. - - true if the item is contained within the collection; otherwise, false. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - PdfListFieldItem item = new PdfListFieldItem("English", "English"); - itemCollection.Add(item); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - if (itemCollection.Contains(item)) - MessageBox.Show("Already, item has added!"); - else - itemCollection.Add(item); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - Dim item As PdfListFieldItem = New PdfListFieldItem("English", "English") - itemCollection.Add(item) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - If itemCollection.Contains(item) Then - MessageBox.Show("Already, item has added!") - Else - itemCollection.Add(item) - End If - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the index of the specified item. - - A object whose index is requested. - The index of the given item, -1 if the item does not exist. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - PdfListFieldItem item = new PdfListFieldItem("English", "English"); - itemCollection.Add(item); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - // Gets the index of an item - int index = itemCollection.IndexOf(item); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - Dim item As PdfListFieldItem = New PdfListFieldItem("English", "English") - itemCollection.Add(item) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - ' Gets the index of an item - Dim index As Integer = itemCollection.IndexOf(item) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Clears the collection. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - PdfListFieldItem item = new PdfListFieldItem("English", "English"); - itemCollection.Add(item); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - // Clear the collection - itemCollection.Clear(); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - Dim item As PdfListFieldItem = New PdfListFieldItem("English", "English") - itemCollection.Add(item) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - ' Clear the collection - itemCollection.Clear() - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Adds the item. - - The item. - Index of the added item. - - - - Inserts the item. - - The index. - The item. - - - - Removes the element at the specified position. - - The index. - - - - Removes the item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - The object. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create list box - PdfListBoxField listBox = new PdfListBoxField(page, "list1"); - //Add the field to listbox. - document.Form.Fields.Add(listBox); - //Set the properties. - listBox.Bounds = new RectangleF(100, 350, 100, 50); - listBox.HighlightMode = PdfHighlightMode.Outline; - // Creates list items - PdfListFieldItemCollection itemCollection = listBox.Items; - //Add the items to the list box - itemCollection.Add(new PdfListFieldItem("English", "English")); - itemCollection.Add(new PdfListFieldItem("French", "French")); - itemCollection.Add(new PdfListFieldItem("German", "German")); - // Reading the second item in the collection and assigning new values - PdfListFieldItem item = itemCollection[1]; - item.Text = "Arabic"; - item.Value = "Arabic"; - listBox.SelectedIndex = 0; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create list box - Dim listBox As PdfListBoxField = New PdfListBoxField(page, "list1") - 'Add the field to listbox. - document.Form.Fields.Add(listBox) - 'Set the properties. - listBox.Bounds = New RectangleF(100, 350, 100, 50) - listBox.HighlightMode = PdfHighlightMode.Outline - ' Creates list items - Dim itemCollection As PdfListFieldItemCollection = listBox.Items - 'Add the items to the list box - itemCollection.Add(New PdfListFieldItem("English", "English")) - itemCollection.Add(New PdfListFieldItem("French", "French")) - itemCollection.Add(New PdfListFieldItem("German", "German")) - ' Reading the second item in the collection and assigning new values - Dim item As PdfListFieldItem = itemCollection(1) - item.Text = "Arabic" - item.Value = "Arabic" - listBox.SelectedIndex = 0 - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the element. - - - - - - Represents collection of radio buttons items. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - g.DrawString("10-49", font, brush, new RectangleF(150, 175, 180, 20)); - PdfRadioButtonListItem radioItem3 = new PdfRadioButtonListItem("50-99"); - radioItem3.Bounds = new RectangleF(100, 200, 20, 20); - g.DrawString("50-99", font, brush, new RectangleF(150, 205, 180, 20)); - PdfRadioButtonListItem radioItem4 = new PdfRadioButtonListItem("100-499"); - radioItem4.Bounds = new RectangleF(100, 230, 20, 20); - g.DrawString("100-499", font, brush, new RectangleF(150, 235, 180, 20)); - PdfRadioButtonListItem radioItem5 = new PdfRadioButtonListItem("500-more"); - radioItem5.Bounds = new RectangleF(100, 260, 20, 20); - g.DrawString("500-more", font, brush, new RectangleF(150, 265, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - employeesRadioList.Items.Add(radioItem2); - employeesRadioList.Items.Add(radioItem3); - employeesRadioList.Items.Add(radioItem4); - employeesRadioList.Items.Add(radioItem5); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - g.DrawString("10-49", font, brush, New RectangleF(150, 175, 180, 20)) - Dim radioItem3 As PdfRadioButtonListItem = New PdfRadioButtonListItem("50-99") - radioItem3.Bounds = New RectangleF(100, 200, 20, 20) - g.DrawString("50-99", font, brush, New RectangleF(150, 205, 180, 20)) - Dim radioItem4 As PdfRadioButtonListItem = New PdfRadioButtonListItem("100-499") - radioItem4.Bounds = New RectangleF(100, 230, 20, 20) - g.DrawString("100-499", font, brush, New RectangleF(150, 235, 180, 20)) - Dim radioItem5 As PdfRadioButtonListItem = New PdfRadioButtonListItem("500-more") - radioItem5.Bounds = New RectangleF(100, 260, 20, 20) - g.DrawString("500-more", font, brush, New RectangleF(150, 265, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - employeesRadioList.Items.Add(radioItem2) - employeesRadioList.Items.Add(radioItem3) - employeesRadioList.Items.Add(radioItem4) - employeesRadioList.Items.Add(radioItem5) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Internal variable to store array of item's primitives. - - - - - Internal variable to store field. - - - - - Initializes a new instance of the class with the specific . - - The field. - - - - Adds the specified item. - - The object to be added to collection. - The index of the added field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Inserts an item at the specified index. - - The index where to insert the new item.. - A object to be added to collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Insert(0, radioItem2); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Insert(0, radioItem2) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes the specified item from the collection. - - The object which is to be removed from the collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Remove the item - employeesRadioList.Items.Remove(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Remove the item - employeesRadioList.Items.Remove(radioItem1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Removes the item at the specified index. - - The index where to remove the item. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Remove the item - employeesRadioList.Items.RemoveAt(0); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Remove the item - employeesRadioList.Items.RemoveAt(0) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the index of the item within the collection. - - A object whose index is requested. - Index of the item with the collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Find the index - int index = employeesRadioList.Items.IndexOf(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'Add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Find the index - Dim index As Integer = employeesRadioList.Items.IndexOf(radioItem1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Determines whether the collection contains the specified item. - - Check whether object is exists in the collection or not. - - true if collection contains specified item; otherwise, false. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Check whether the specified item is in Collection - if (employeesRadioList.Items.Contains(radioItem1)) - MessageBox.Show("Item already added in the collection"); - else - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Check whether the specified item is in Collection - If employeesRadioList.Items.Contains(radioItem1) Then - MessageBox.Show("Item already added in the collection") - Else - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - End If - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Clears the item collection. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Clears the item - employeesRadioList.Items.Clear(); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Clears the item - employeesRadioList.Items.Clear() - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Adds the item. - - The item. - Index of the inserted item. - - - - Inserts the item. - - The index. - The item. - - - - Removes the specified item. - - The item. - - - - Clears the collection. - - - - - Gets the at the specified index. - - Returns item at the specified position. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Gets the first item from the collection - PdfRadioButtonListItem item = employeesRadioList.Items[0]; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Gets the first item from the collection - Dim item As PdfRadioButtonListItem = employeesRadioList.Items(0) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the element. - - - - - - Represents radio button field in the PDF form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - g.DrawString("10-49", font, brush, new RectangleF(150, 175, 180, 20)); - PdfRadioButtonListItem radioItem3 = new PdfRadioButtonListItem("50-99"); - radioItem3.Bounds = new RectangleF(100, 200, 20, 20); - g.DrawString("50-99", font, brush, new RectangleF(150, 205, 180, 20)); - PdfRadioButtonListItem radioItem4 = new PdfRadioButtonListItem("100-499"); - radioItem4.Bounds = new RectangleF(100, 230, 20, 20); - g.DrawString("100-499", font, brush, new RectangleF(150, 235, 180, 20)); - PdfRadioButtonListItem radioItem5 = new PdfRadioButtonListItem("500-more"); - radioItem5.Bounds = new RectangleF(100, 260, 20, 20); - g.DrawString("500-more", font, brush, new RectangleF(150, 265, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - employeesRadioList.Items.Add(radioItem2); - employeesRadioList.Items.Add(radioItem3); - employeesRadioList.Items.Add(radioItem4); - employeesRadioList.Items.Add(radioItem5); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - g.DrawString("10-49", font, brush, New RectangleF(150, 175, 180, 20)) - Dim radioItem3 As PdfRadioButtonListItem = New PdfRadioButtonListItem("50-99") - radioItem3.Bounds = New RectangleF(100, 200, 20, 20) - g.DrawString("50-99", font, brush, New RectangleF(150, 205, 180, 20)) - Dim radioItem4 As PdfRadioButtonListItem = New PdfRadioButtonListItem("100-499") - radioItem4.Bounds = New RectangleF(100, 230, 20, 20) - g.DrawString("100-499", font, brush, New RectangleF(150, 235, 180, 20)) - Dim radioItem5 As PdfRadioButtonListItem = New PdfRadioButtonListItem("500-more") - radioItem5.Bounds = New RectangleF(100, 260, 20, 20) - g.DrawString("500-more", font, brush, New RectangleF(150, 265, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - employeesRadioList.Items.Add(radioItem2) - employeesRadioList.Items.Add(radioItem3) - employeesRadioList.Items.Add(radioItem4) - employeesRadioList.Items.Add(radioItem5) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Internal variable to store collection of items. - - - - - Internal variable to store selected item index. - - - - - Initializes a new instance of the class with the specific page and name. - - Page which the field to be placed on. - The name of the field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - g.DrawString("10-49", font, brush, new RectangleF(150, 175, 180, 20)); - PdfRadioButtonListItem radioItem3 = new PdfRadioButtonListItem("50-99"); - radioItem3.Bounds = new RectangleF(100, 200, 20, 20); - g.DrawString("50-99", font, brush, new RectangleF(150, 205, 180, 20)); - PdfRadioButtonListItem radioItem4 = new PdfRadioButtonListItem("100-499"); - radioItem4.Bounds = new RectangleF(100, 230, 20, 20); - g.DrawString("100-499", font, brush, new RectangleF(150, 235, 180, 20)); - PdfRadioButtonListItem radioItem5 = new PdfRadioButtonListItem("500-more"); - radioItem5.Bounds = new RectangleF(100, 260, 20, 20); - g.DrawString("500-more", font, brush, new RectangleF(150, 265, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - employeesRadioList.Items.Add(radioItem2); - employeesRadioList.Items.Add(radioItem3); - employeesRadioList.Items.Add(radioItem4); - employeesRadioList.Items.Add(radioItem5); - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - g.DrawString("10-49", font, brush, New RectangleF(150, 175, 180, 20)) - Dim radioItem3 As PdfRadioButtonListItem = New PdfRadioButtonListItem("50-99") - radioItem3.Bounds = New RectangleF(100, 200, 20, 20) - g.DrawString("50-99", font, brush, New RectangleF(150, 205, 180, 20)) - Dim radioItem4 As PdfRadioButtonListItem = New PdfRadioButtonListItem("100-499") - radioItem4.Bounds = New RectangleF(100, 230, 20, 20) - g.DrawString("100-499", font, brush, New RectangleF(150, 235, 180, 20)) - Dim radioItem5 As PdfRadioButtonListItem = New PdfRadioButtonListItem("500-more") - radioItem5.Bounds = New RectangleF(100, 260, 20, 20) - g.DrawString("500-more", font, brush, New RectangleF(150, 265, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - employeesRadioList.Items.Add(radioItem2) - employeesRadioList.Items.Add(radioItem3) - employeesRadioList.Items.Add(radioItem4) - employeesRadioList.Items.Add(radioItem5) - document.Save("Form.pdf") - - - Class - Class - Class - - - - Draws this instance if it is flatten. - - - - - Gets or sets the first selected item in the list. - - The index of the selected item. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - // Set the selected item index index - employeesRadioList.SelectedIndex = 0; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - ' Set the selected item index index - employeesRadioList.SelectedIndex = 0 - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the value of the first selected item in the list. - - The selected value of the list field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Set the selected item value - employeesRadioList.SelectedValue = "1-9"; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Set the selected item value - employeesRadioList.SelectedValue = "1-9" - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the first selected item in the list.[Read-Only] - - The selected item of the field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Set the selected item - employeesRadioList.SelectedItem = radioItem1; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item - employeesRadioList.Items.Add(radioItem2) - ' Set the selected item - employeesRadioList.SelectedItem = radioItem1 - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the items of the radio button field.[Read-Only] - - The radio button field item collection. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - // Insert the item as first item - employeesRadioList.Items.Add(radioItem2); - // Set the selected item value - employeesRadioList.SelectedValue = "1-9"; - // Getting item collection - PdfRadioButtonItemCollection itemCollection = employeesRadioList.Items; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - ' Insert the item as first item employeesRadioList.Items.Add(radioItem2) - ' Set the selected item value - employeesRadioList.SelectedValue = "1-9" - ' Getting item collection - Dim itemCollection As PdfRadioButtonItemCollection = employeesRadioList.Items - document.Save("Form.pdf"); - document.Close(True) - - - Class - Class - Class - - - - Represents an item of a radio button list. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - PdfBrush brush = PdfBrushes.Black; - PdfGraphics g = page.Graphics; - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - g.DrawString("1-9", font, brush, new RectangleF(150, 145, 180, 20)); - PdfRadioButtonListItem radioItem2 = new PdfRadioButtonListItem("10-49"); - radioItem2.Bounds = new RectangleF(100, 170, 20, 20); - g.DrawString("10-49", font, brush, new RectangleF(150, 175, 180, 20)); - PdfRadioButtonListItem radioItem3 = new PdfRadioButtonListItem("50-99"); - radioItem3.Bounds = new RectangleF(100, 200, 20, 20); - g.DrawString("50-99", font, brush, new RectangleF(150, 205, 180, 20)); - PdfRadioButtonListItem radioItem4 = new PdfRadioButtonListItem("100-499"); - radioItem4.Bounds = new RectangleF(100, 230, 20, 20); - g.DrawString("100-499", font, brush, new RectangleF(150, 235, 180, 20)); - PdfRadioButtonListItem radioItem5 = new PdfRadioButtonListItem("500-more"); - radioItem5.Bounds = new RectangleF(100, 260, 20, 20); - g.DrawString("500-more", font, brush, new RectangleF(150, 265, 180, 20)); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - employeesRadioList.Items.Add(radioItem2); - employeesRadioList.Items.Add(radioItem3); - employeesRadioList.Items.Add(radioItem4); - employeesRadioList.Items.Add(radioItem5); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - Dim brush As PdfBrush = PdfBrushes.Black - Dim g As PdfGraphics = page.Graphics - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - g.DrawString("1-9", font, brush, New RectangleF(150, 145, 180, 20)) - Dim radioItem2 As PdfRadioButtonListItem = New PdfRadioButtonListItem("10-49") - radioItem2.Bounds = New RectangleF(100, 170, 20, 20) - g.DrawString("10-49", font, brush, New RectangleF(150, 175, 180, 20)) - Dim radioItem3 As PdfRadioButtonListItem = New PdfRadioButtonListItem("50-99") - radioItem3.Bounds = New RectangleF(100, 200, 20, 20) - g.DrawString("50-99", font, brush, New RectangleF(150, 205, 180, 20)) - Dim radioItem4 As PdfRadioButtonListItem = New PdfRadioButtonListItem("100-499") - radioItem4.Bounds = New RectangleF(100, 230, 20, 20) - g.DrawString("100-499", font, brush, New RectangleF(150, 235, 180, 20)) - Dim radioItem5 As PdfRadioButtonListItem = New PdfRadioButtonListItem("500-more") - radioItem5.Bounds = New RectangleF(100, 260, 20, 20) - g.DrawString("500-more", font, brush, New RectangleF(150, 265, 180, 20)) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - employeesRadioList.Items.Add(radioItem2) - employeesRadioList.Items.Add(radioItem3) - employeesRadioList.Items.Add(radioItem4) - employeesRadioList.Items.Add(radioItem5) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Internal variable to store field which this item belongs to. - - - - - Internal variable to store item's value. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specific value. - - The value. - - - - Initializes instance. - - - - - Sets the field. - - The field. - - - - Handles the Save event of the Widget control. - - The source of the event. - The instance containing the event data. - - - - Saves an instance. - - - - - Draws the appearance. - - - - - Gets the value. - - m_value - - - - Draws this instance if it is flatten. - - - - - - Gets or sets the bounds. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem("1-9"); - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem("1-9") - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the value. - - The value. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a Radiobutton - PdfRadioButtonListField employeesRadioList = new PdfRadioButtonListField(page, "employeesRadioList"); - //Add to document - document.Form.Fields.Add(employeesRadioList); - //Create radiobutton items - PdfRadioButtonListItem radioItem1 = new PdfRadioButtonListItem(); - radioItem1.Value = "1-9"; - radioItem1.Bounds = new RectangleF(100, 140, 20, 20); - //add the items to radio button group - employeesRadioList.Items.Add(radioItem1); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create a Radiobutton - Dim employeesRadioList As PdfRadioButtonListField = New PdfRadioButtonListField(page, "employeesRadioList") - 'Add to document - document.Form.Fields.Add(employeesRadioList) - 'Create radiobutton items - Dim radioItem1 As PdfRadioButtonListItem = New PdfRadioButtonListItem() - radioItem1.Value = "1-9" - radioItem1.Bounds = New RectangleF(100, 140, 20, 20) - 'add the items to radio button group - employeesRadioList.Items.Add(radioItem1) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets the element. - - - - - - Represents form field with appearance custom support. - - Class - - - - Represents form's field with style parameters. - - Class - Class - Class - Class - - - - Internal variable to store color shift value. - - - - - Internal variable to store widget of the field. - - - - - Internal variable to store actions of the field. - - - - - Internal variable to store appearance template. - - - - - Internal variable to store back color. - - - - - Internal variable to store border pen. - - - - - Internal variable to store shadow brush. - - - - - Internal variable to store visibility of the field. - - - - - Initializes a new instance of the class with the specific page and name. - - The page where the field should be placed. - The name. - - - - Initializes a new instance of the class. - - - - - Draws this instance if it is flatten. - - - - - Removes the annotation from page. - - The page. - The widget. - - - - Adds the annotation to page. - - The page. - The widget. - - - - Bounds at loaded page. - - The page. - The value. - - - - Gets the bounds at loaded page. - - The page. - The rect. - The bounds of field. - - - - Initializes an instance. - - - - - Creates the border pen. - - - - - Creates the back brush. - - - - - Gets or sets the bounds of the field. - - The bounds. - - - - Gets or sets the location. - - The location. - - - - Gets or sets the size. - - The size. - - - - Gets or sets the color of the border. - - The color of the border. - - - - Gets or sets the color of the background. - - The color of the background. - - - - Gets or sets the width of the border. - - The width of the border. - - - - Gets or sets the highlighting mode. - - The highlighting mode. - - - - Gets the actions of the field.[Read-Only] - - The actions. - - - - Gets or sets the border style. - - The border style. - - - - Gets or sets a value indicating whether this is visible. - - true if visible; otherwise, false. - - - - Gets the right bottom beveled Shadow brush. - - The right bottom beveled Shadow brush. - - - - Gets the widget. - - The widget. - - - - Gets the appearance template. - - The appearance template. - - - - Gets the back brush. - - The back brush. - - - - Gets the border pen. - - The border pen. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - page - The name. - - - - Saves an object. - - - - - Draws this instance if it is flatten. - - - - - Draws the appearance. - - The template. - - - - Gets the appearance of the signature field.[Read-Only] - - The appearance. - - - - Represents signature field in the PDF Form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create signature field - PdfSignatureField sign = new PdfSignatureField(page, "sign1"); - sign.Bounds = new RectangleF(100, 420, 100, 50); - document.Form.Fields.Add(sign); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create signature field - Dim sign As PdfSignatureField = New PdfSignatureField(page, "sign1") - sign.Bounds = New RectangleF(100, 420, 100, 50) - document.Form.Fields.Add(sign) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Internal variable to store the signature. - - - - - Initializes a new instance of the class with the specific page and name. - - Page which the field to be placed on. - The name of the field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create signature field - PdfSignatureField sign = new PdfSignatureField(page, "sign1"); - sign.Bounds = new RectangleF(100, 420, 100, 50); - document.Form.Fields.Add(sign); - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create signature field - Dim sign As PdfSignatureField = New PdfSignatureField(page, "sign1") - sign.Bounds = New RectangleF(100, 420, 100, 50) - document.Form.Fields.Add(sign) - document.Save("Form.pdf") - - - Class - Class - - - - Initializes a new instance of the class. - - - - - Initializes an instance. - - - - - Saves the signature. - - - - - Draws the field. - - - - - Draws the appearance. - - The template. - - - - Gets the visual appearance of this field.[Read-Only] - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create signature field - PdfSignatureField sign = new PdfSignatureField(page, "sign1"); - sign.Bounds = new RectangleF(100, 420, 100, 50); - // Gets the signature appearance - PdfAppearance appearance = sign.Appearance; - document.Form.Fields.Add(sign); - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create signature field - Dim sign As PdfSignatureField = New PdfSignatureField(page, "sign1") - ' Gets the signature appearance - Dim appearance As PdfAppearance = sign.Appearance - sign.Bounds = New RectangleF(100, 420, 100, 50) - document.Form.Fields.Add(sign) - document.Save("Form.pdf") - - - Class - Class - - - - Gets or sets the digital signature for signing the field. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create signature field - PdfSignatureField sign = new PdfSignatureField(page, "sign1"); - sign.Signature = new PdfSignature(page, new PdfCertificate("PDF.pfx", "Syncfusion"), "Signature"); - sign.Bounds = new RectangleF(100, 420, 100, 50); - // Gets the signature appearance - PdfAppearance appearance = sign.Appearance; - document.Form.Fields.Add(sign); - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create signature field - Dim sign As PdfSignatureField = New PdfSignatureField(page, "sign1") - sign.Signature = New PdfSignature(page, New PdfCertificate("PDF.pfx", "Syncfusion"), "Signature") - sign.Bounds = New RectangleF(100, 420, 100, 50) - document.Form.Fields.Add(sign) - document.Save("Form.pdf") - - - Class - Class - - - - Represents text box field in the PDF form. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - Class - - - - The password chrackter. - - - - - Internal variable to store value. - - - - - Internal variable to store default value. - - - - - Internal variable to store value whether to check spelling. - - - - - Internal variable to store value whether the field has comb behavior. - - - - - Internal variable to store value whether the field should be multiline. - - - - - Internal variable to store value whether it is a password field. - - - - - Internal variable to store value whether the field is scrollable. - - - - - Internal variable to store field's maximum length. in characters. - - - - - Initializes a new instance of the class with the provided page and name. - - Page which the field to be placed on. - The name of the text box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - - - Class - Class - Class - - - - Initializes a new instance of the class. - - - - - Draws this instance if it is flatten. - - - - - Initializes an instance. - - - - - Draws the appearance. - - The template. - - - - Gets or sets the text in the text box. - - The text of the text box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Text = "Cris"; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Text = "Cris" - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the default value. - - The default value of the text box field. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.DefaultValue = "Cris"; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.DefaultValue = "Cris" - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether to check spelling. - - true if check spelling; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.SpellCheck = true; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.SpellCheck = True - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Meaningful only if the MaxLength property is set and the Multiline, Password properties are false. - If set, the field is automatically divided into as many equally spaced positions, or combs, - as the value of MaxLength, and the text is laid out into those combs. - - true if need to insert spaces; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.InsertSpaces = true; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.InsertSpaces = True - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether this is multiline. - - true if multiline; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Multiline = true; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Multiline = True - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether this is password field. - - true if password field; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Password = true; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Password = True - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether this is scrollable. - - true if scrollable; otherwise, false. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.Scrollable = true; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.Scrollable = True - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the maximum number of characters that can be entered in the text box. - - An integer value specifying the maximum number of characters that can be entered in the text box. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 12f); - //Create a text box - PdfTextBoxField firstNameTextBox = new PdfTextBoxField(page, "firstNameTextBox"); - firstNameTextBox.MaxLength = 8; - firstNameTextBox.Bounds = new RectangleF(100, 20, 200, 20); - firstNameTextBox.Font = font; - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55); - //Add the textbox in document - document.Form.Fields.Add(firstNameTextBox); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 12f) - 'Create a text box - Dim firstNameTextBox As PdfTextBoxField = New PdfTextBoxField(page, "firstNameTextBox") - firstNameTextBox.MaxLength = 8 - firstNameTextBox.Bounds = New RectangleF(100, 20, 200, 20) - firstNameTextBox.Font = font - page.Graphics.DrawString("First Name", font, PdfBrushes.Black, 10, 55) - 'Add the textbox in document - document.Form.Fields.Add(firstNameTextBox) - document.Save("Form.pdf") - document.Close(True) - - - Class - Class - Class - - - - Represents fields flags enum. - - - - - Default field flag. - - - - - If set, the user may not change the value of the field. Any associated widget annotations - will not interact with the user; that is, they will not respond to mouse clicks or - change their appearance in response to mouse motions. This flag is useful - for fields whose values are computed or imported from a database. - - - - - If set, the field must have a value at the time it is exported by a submit-form action. - - - - - If set, the field must not be exported by a submit-form action - - - - - If set, the field can contain multiple lines of text; - if clear, the field�s text is restricted to a single line. - - - - - If set, the field is intended for entering a secure password that should not be - echoed visibly to the screen. Characters typed from the keyboard should instead - be echoed in some unreadable form, such as asterisks or bullet characters. - - - - - If set, the text entered in the field represents the pathname of a file whose - contents are to be submitted as the value of the field. - - - - - If set, text entered in the field is not spell-checked. - - - - - If set, the field does not scroll (horizontally for single-line fields, vertically - for multiple-line fields) to accommodate more text than fits within its annotation - rectangle. Once the field is full, no further text is accepted. - - - - - Meaningful only if the MaxLen entry is present in the text field dictionary and if - the Multiline, Password, and FileSelect flags are clear. If set, the field is - automatically divided into as many equally spaced positions, or combs, as the - value of MaxLen, and the text is laid out into those combs. - - - - - If set, the value of this field should be represented as a rich text string. - If the field has a value, the RVentry of the field dictionary specifies - the rich text string. - - - - - If set, exactly one radio button must be selected at all times; clicking - the currently selected button has no effect. If clear, clicking the selected - button reselects it, leaving no button selected. - - - - - If set, the field is a set of radio buttons; if clear, the field is a check box. - This flag is meaningful only if the Pushbutton flag is clear. - - - - - If set, the field is a pushbutton that does not retain a permanent value. - - - - - If set, a group of radio buttons within a radio button field that use the same value - for the on state will turn on and off in unison; that is if one is checked, they - are all checked. If clear, the buttons are mutually exclusive. - - - - - If set, the field is a combo box; if clear, the field is a list box. - - - - - If set, the combo box includes an editable text box as well as a drop-down - list; if clear, it includes only a drop-down list. This flag is meaningful only - if the Combo flag is set. - - - - - If set, the field�s option items should be sorted alphabetically. This flag - is intended for use by form authoring tools, not by PDF viewer applications. - - - - - If set, more than one of the field�s option items may be selected simultaneously; - if clear, no more than one item at a time may be selected. - - - - - If set, the new value is committed as soon as a selection is made with the pointing - device. This option enables applications to perform an action once a selection is - made, without requiring the user to exit the field. If clear, the new value is not - committed until the user exits the field. - - - - - Specifies the available styles for a field border. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - // Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create submit button - PdfButtonField submitButton = new PdfButtonField(page, "submitButton"); - submitButton.Bounds = new RectangleF(100, 500, 90, 20); - submitButton.Font = font; - submitButton.Text = "Submit"; - // Set the border style for the button field - submitButton.BorderStyle = PdfBorderStyle.Dashed; - document.Form.Fields.Add(submitButton); - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - ' Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create submit button - Dim submitButton As PdfButtonField = New PdfButtonField(page, "submitButton") - submitButton.Bounds = New RectangleF(100, 500, 90, 20) - submitButton.Font = font - submitButton.Text = "Submit" - ' Set the border style for the button field - submitButton.BorderStyle = PdfBorderStyle.Dashed - document.Form.Fields.Add(submitButton) - document.Save("Form.pdf") - document.Close(True) - - - Default value is Solid. - - - - A solid rectangle surrounding the annotation. - - - - - A dashed rectangle surrounding the annotation. - - - - - A simulated embossed rectangle that appears to be raised above the surface - of the page. - - - - - A simulated engraved rectangle that appears to be recessed below the surface - of the page. - - - - - A single line along the bottom of the annotation rectangle. - - - - - Specifies the highlight mode for a field. - - - - // Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create the signature field - PdfSignatureField sign = new PdfSignatureField(page, "sign1"); - sign.Bounds = new RectangleF(100, 420, 100, 50); - // Set the high light mode for a signature field - sign.HighlightMode = PdfHighlightMode.Push; - document.Form.Fields.Add(sign); - document.Save("Form.pdf"); - document.Close(true); - - - ' Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create the signature field - Dim sign As PdfSignatureField = New PdfSignatureField(page, "sign1") - sign.Bounds = New RectangleF(100, 420, 100, 50) - ' Set the high light mode for a signature field - sign.HighlightMode = PdfHighlightMode.Push - document.Form.Fields.Add(sign) - document.Save("Form.pdf") - document.Close(True) - - - Default value is Invert. - - - - No highlighting. - - - - - Invert the contents of the field rectangle. - - - - - Invert the field's border. - - - - - Pushed highlighting. - - - - - Specifies the style for a check box field. - - The default value is Check. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create a check box - PdfCheckBoxField checkBox = new PdfCheckBoxField(page, "C#.NET"); - checkBox.Bounds = new RectangleF(100, 290, 20, 20); - // Add the check box field in form`s field collection - document.Form.Fields.Add(checkBox); - checkBox.HighlightMode = PdfHighlightMode.Push; - checkBox.BorderStyle = PdfBorderStyle.Beveled; - // Set the check style - checkBox.Style = PdfCheckBoxStyle.Star; - checkBox.Checked = true; - document.Save("Form.pdf"); - document.Close(true); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create a check box - Dim checkBox As PdfCheckBoxField = New PdfCheckBoxField(page, "C#.NET") - checkBox.Bounds = New RectangleF(100, 290, 20, 20) - ' Add the check box field in form`s field collection - document.Form.Fields.Add(checkBox) - checkBox.HighlightMode = PdfHighlightMode.Push - checkBox.BorderStyle = PdfBorderStyle.Beveled - ' Set the check style - checkBox.Style = PdfCheckBoxStyle.Star - checkBox.Checked = True - document.Save("Form.pdf") - document.Close(True) - - - - - - A check mark is used for the checked state. - - - - - A circle is used for the checked state. - - - - - A cross is used for the checked state. - - - - - A diamond symbol is used for the checked state. - - - - - A square is used for the checked state. - - - - - A star is used for the checked state. - - - - - Specifies Http request method. - - - - - Data submitted using Http Get method. - - - - - Data submitted using Http Post method. - - - - - Specifies the enumeration of submit data formats. - - - - - Data should be transmitted as Html. - - - - - Data should be transmitted as Pdf. - - - - - Data should be transmitted as Forms Data Format. - - - - - Data should be transmitted as XML Forms Data Format . - - - - - Represents states of the check field. - - - - - Indicated unchecked/unpressed state. - - - - - Indicated checked unpressed state. - - - - - Indicated pressed unchecked state. - - - - - Indicated pressed checked state. - - - - - Specifies the form field visibility types - - - - - Class which represents embedded file into Pdf document. - - - - - Internal variable to store file name. - - - - - Internal variable to store file path. - - - - - Internal variable to store mime type. - - - - - Internal variable to store embedded data. - - - - - Internal variable to store specification of the embedded file. - - - - - Internal variable to store stream. - - - - Name of the file. - - - Name of the file. - The data. - - - Name of the file. - The stream. - - - - Initializes an instance. - - - - - Saves an object. - - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Get attachment's name through names array. - - Attachment's file name. - - - The name of the file. - - - - Gets or sets the path of the file. - - The path of the file. - - - - Gets or sets the data. - - The data. - - - - Gets or sets the type of the MIME. - - The type of the MIME. - - - - Gets the params. - - The params. - - - - Gets the element. - - - - - - Defines additional parameters for the embedded file. - - - - - Internal variable to store creation date. - - - - - Internal variable to store modification date. - - - - - Internal variable to store size of the embedded file. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Gets or sets creation date. - - Creation date. - - - - Gets or sets modification date. - - Modification date. - - - - Gets or sets the size of the embedded file. - - The size. - - - - Gets the element. - - - - - - Implements PDF Exponential Interpolation Function. - - - - - Implements the base class for all functions. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - The internal dictionary. - - - - Gets or sets the domain of the function. - - - - - Gets or sets the range. - - - - - Gets the dictionary. - - The dictionary. - - - - Gets the element. - - - - - - Local variable to store the function result when x = 0. - - - - - Local variable to store the function result when x = 1. - - - - - Local variable to store the interpolation exponent. - - - - - Initializes a new instance of the class. - - init - - - - Initializes a new instance of the class. - - - - - TO calulate the interpolation exponent. - - singleArray1 - - - - - Gets or sets the function result when x = 0. - - - - - Gets or sets the function result when x = 1. - - - - - Gets or sets the Exponent. - - - - - Implements PDF PostScript Calculator Function - - - - - Initializes a new instance of the class. - - - - - Implements PDF Sampled Function. - - - - - Initializes a new instance of the class. - - The domain. - The range. - The sizes. - The samples. - - - - Initializes a new instance of the class. - - The domain, which represents the range of the input values. - The range, which represents the range of the output values. - The sizes. - The number of samples in each dimension. - - - - Initializes a new instance of the class. - - The domain of sampled function. - The range of sampled function. - The sizes. - The samples of sampled function, - which should be in the range. - The bit-per-sample value. - - - - Initializes a new instance of the class. - - - - - Checks the input parameters. - - The domain. - The range. - The sizes. - The samples. - If one of the parameters is null. - If dimentions of the arrays don't agree. - - - - Sets the domain and range. - - The domain. - The range. - - - - Sets the size and values. - - The sizes of the sample values. - The sample values. - - - - Sets the size and values. - - The sizes of the sample values. - The sample values. - - - - Implements PDF Stitching Function. - - - - - Initializes a new instance of the class. - - - - - Collection of the cached objects. - - - - - Stores the similar objects. - - - - - Initializes a new instance of the class. - - - - - Searches for the similar cached object. If is not found - adds the object to the cache. - - Object to search for. - Cached similar object if found, null otherwise. - - - - Checks whether a cache contains a group of such objects. - - The object. - true if contains, False otherwise. - - - - Returns number of cached object in a group. - - The object. - Returns number of cached object in a group if found, 0 otherwise. - - - - Removes the object from a cache. - - The object. - - - - Cleares cache. - - - - - Creates a new group. - - A created group. - - - - Searches for a corresponding group. - - A representative of a group. - A group if found, Null otherwise. - - - - Remove a group from the storage. - - A group of the objects. - - - - Gets the at the specified index. - - - - - - Gets the font offset table. - - The font offset table. - - - - Gets the font data. - - The font data. - - - - Represents default appearance string. - - - - - Internal variable to store fore color. - - - - - Internal variable to store font name. - - - - - Internal variable to store font size. - - - - - Initializes a new instance of the class. - - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the name of the font. - - The name of the font. - - - - Gets or sets the size of the font. - - The size of the font. - - - - Gets or sets the color of the fore. - - The color of the fore. - - - - Represents an anchor in the document where bookmarks or annotations can direct when clicked. - - - - - Type of the destination. - - - - - Zoom factor. - - - - - Location of the destination. - - - - - Parent page reference. - - - - - Pdf primitive representing this object. - - - - - Indicates whether destination is valid. - Destination is not valid if it has null location or zoom - otherwise it is valid. - - - - - Initializes a new instance of the class with specified page. - - The page. - - - - Initializes a new instance of the class with specified page base and location. - - The page. - The location. - - - - Sets the validation. - - if it is valid, set to true. - - - - Translates co-ordinates to PDF co-ordinate system (lower/left). - - The page. - Point in left/top co-ordinate system. - - Co-ordinates to PDF co-ordinate system (lower/left). - - - - - Infills array by correct values. - - - - - Initializes instance. - - - - - Gets or sets zoom factor. - - - - - Gets or sets a page where the destination is situated. - - - - - Gets or sets mode of the destination. - - - - - Gets or sets a location of the destination. - - - - - Gets a value indicating whether this instance is valid. - - true if this instance is valid; otherwise, false. - - - - Gets pdf primitive representing this object. - - - - - Represents sound embedded into pdf document. - - - - - Internal variable to store sampling rate. - - - - - Internal variable to store encoding format. - - - - - Internal variable to store number of sound channels. - - - - - Internal variable to store number of bits per sample value per channel. - - - - - Internal variable to store sound file name. - - - - - Internal variable to store stream. - - - - Name of the file. - - - - Initializes a new instance of the class. - - Name of the file. - if set to true [test]. - - - - Initializes a new instance of the class. - - - - - Handles the BeginSave event of the Stream control. - - The source of the event. - The instance containing the event data. - - - - Saves an instance. - - - - - Gets or sets the sampling rate, in samples per second (in Hz). - - - - - Gets or sets the number of bits per sample value per channel. - - - - - Gets or sets the encoding format for the sample data. - - - - - Gets or sets the number of sound channels. - - - - The name of the file. - - - - Gets the element. - - - - - - Represents specification of the references file in pdf document. - - - - - Internal variable to store file name. - - - - File name. - Path Type. - - - - Initializes a new instance of the class. - - - - - - Saves object. - - - - The name of the file. - - - - Optimized version of SortedList collection. Instead of keeping two - arrays, one for keys and one for values, the values array on - Hashtable collection are changed. Performance of this collection is better than that of SortedList. - - - - - Default capacity of internal buffers. - - - - - Array which store keys in sorted order. - - - - - Collection stores values. - - - - - Size of collection. - - - - - Version of collection data. - - - - - Default comparer for keys. - - - - - List of keys. - - - - - List of values. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The initial capacity. - - - - Initializes a new instance of the class. - - The comparer. - - - - Initializes a new instance of the class. - - The comparer. - The capacity. - - - - Initializes a new instance of the class. - - The d. - - - - Initializes a new instance of the class. - - The d. - The comparer. - - - - Returns a synchronized (thread-safe) wrapper for the SortedList. - - The SortedList to synchronize. - A synchronized (thread-safe) wrapper for the SortedList. - - When list is null. - - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - When key is null. - - - When list already contains specified key. - - - - - Removes all elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Clone current instance. - - Returns clone of current object. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the SortedListEx to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If specified array is null. - - - If rank of the array is not 1 or there are not enough elements. - - - If specified arrayIndex is less than zero. - - - - - Gets the value at the specified index of the SortedListEx. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the key at the specified index of the SortedListEx. - - The zero-based index of the key to get. - The key at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the keys in the SortedListEx. - - An IList containing the keys in the SortedListEx. - - - - Gets the values in the SortedListEx. - - An IList containing the values in the SortedListEx. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - If specified key is null. - - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - When index is less than zero or greater than size of the list. - - - - - Removes the element with the specified key from SortedListEx. - - The key of the element to remove. - - - - Replaces the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - When index is less than zero or greater than size of the list. - - - - - Sets the capacity to the actual number of elements. - - - - - Returns an IDictionaryEnumerator that can iterate through the SortedListEx. - - An IDictionaryEnumerator for the SortedListEx. - - - - Returns an IEnumerator that can iterate through the SortedListEx. - - An IEnumerator for the SortedListEx. - - - - Inserts element with specified key and value at specified index. - - The zero-based index to insert element at. - The key of the element to insert. - The value of the element to insert. - - - - Ensures that the capacity of this instance is at least the specified value. - - The minimum capacity to ensure. - - - - Gets or sets the capacity. - - The capacity. - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets an object containing the keys of the object. - - - - An object containing the keys of the object. - - - - - Gets an object containing the values in the object. - - - - An object containing the values in the object. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - - Gets an object that can be used to synchronize access to the . - - - - An object that can be used to synchronize access to the . - - - - - Gets or sets the value associated with the specified key. - - - - - Wrapped SortedListEx. - - - - - Sync object. - - - - - Initializes a new instance of the class. - - The list. - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - - - Removes all the elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Gets the value at the specified index of the list. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - - - Returns an IDictionaryEnumerator that can iterate through the list. - - An IDictionaryEnumerator for the list. - - - - Gets the key at the specified index of the list. - - The zero-based index of the key to get. - The key at the specified index of the list. - - - - Gets the keys in the list. - - An IList containing the keys in the list. - - - - Gets the values in the list. - - An IList containing the values in the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Replaces the value at a specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Sets the capacity to the actual number of elements. - - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Gets or sets the value associated with the specified key. - - key - - - - If it is assumed to getObjectRetType, Current will return key - of the current element. - - - - - If it is assumed to getObjectRetType, Current will return value - of the current element. - - - - - If it is assumed to getObjectRetType, Current will return both - - key and value (as DictionaryEntry). - - - - - List for which is this enumerator. - - - - - Key of the current element. - - - - - Values of the current element. - - - - - Index of current element. - - - - - Starting index for the enumerator. - - - - - Ending index for this enumerator. - - - - - Version of collection data. - - - - - True if current element is correct, False otherwise - (before beginning or after end). - - - - - Specifies what should return method Current (Key, Value or both). - - - - - Creates enumerator for specified list, starting from specified index - and with specified count. - - list for which to create enumerator. - Starting index. - Number of elements to enumerate. - Type of enumerating values (keys, value, DicEntry). - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; - False if the enumerator has passed the end of the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - The collection was modified after the enumerator was created. - - - - - Gets the key of the current dictionary entry. - - - - The key of the current element of the enumeration. - - - The is positioned before the first entry of the dictionary or after the last entry. - - - - - Gets both the key and the value of the current dictionary entry. - - - - A containing both the key and the value of the current dictionary entry. - - - The is positioned before the first entry of the dictionary or after the last entry. - - - - - Gets The current element in the collection. Read-only. - - - If current is false. - - - - - Gets the value of the current dictionary entry. - - - - The value of the current element of the enumeration. - - - The is positioned before the first entry of the dictionary or after the last entry. - - - - - List for which this collection was created. - - - - - Creates KeyList for specified SortedListEx. - - SortedListEx for which KeyList must be created. - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If array is null or rank of the array is not 1. - - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of the key, if the key is found; otherwise, -1. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether the is read-only. - - - true if the is read-only; otherwise, false. - - - - - Gets a value indicating whether the has a fixed size. - - - true if the has a fixed size; otherwise, false. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the key at the specified index. - - - - - List for which this collection was created. - - - - - Array list that contain values. - - - - - Creates ValueList for specified SortedListEx. - - SortedListEx for which ValueList must be created. - - - - Re-read values from the list. - - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified value. - - Value to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified value. - - The value to locate. - The zero-based index of the value, if the value is found, otherwise -1. - - - - Removes the specified value from list. - - The value to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Gets the size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value at the specified index. - - - - - Optimized version of SortedList collection. Instead of keeping two - arrays, one for keys and one for values, the values array on - Hashtable collection are changed. Performance of this collection is better than that of SortedList. - - - - - Default capacity of internal buffers. - - - - - Array which store keys in sorted order. - - - - - Collection stores values. - - - - - Size of collection. - - - - - Version of collection data. - - - - - Default comparer for keys. - - - - - List of keys. - - - - - List of values. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The initial capacity. - - - - Initializes a new instance of the class. - - The comparer. - - - - Initializes a new instance of the class. - - The comparer. - The capacity. - - - - Initializes a new instance of the class. - - The d. - - - - Initializes a new instance of the class. - - The d. - The comparer. - - - - Returns a synchronized (thread-safe) wrapper for the SortedList. - - The SortedList to synchronize. - A synchronized (thread-safe) wrapper for the SortedList. - - When list is null. - - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - When key is null. - - - When list already contains specified key. - - - - - Adds the specified pair. - - The pair. - - - - Removes all elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Clone current instance. - - Returns clone of current object. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Determines whether [contains] [the specified pair]. - - The pair. - - if it contains the specified pair, set to true . - - - - - Copies all the elements of the SortedListEx to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If specified array is null. - - - If rank of the array is not 1 or there are not enough elements. - - - If specified arrayIndex is less than zero. - - - - - Gets the value at the specified index of the SortedListEx. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the key at the specified index of the SortedListEx. - - The zero-based index of the key to get. - The key at the specified index of the SortedListEx. - - When index is less than zero or greater than size of the list. - - - - - Gets the keys in the SortedListEx. - - An IList containing the keys in the SortedListEx. - - - - Gets the values in the SortedListEx. - - An IList containing the values in the SortedListEx. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - If specified key is null. - - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - When index is less than zero or greater than size of the list. - - - - - Removes the element with the specified key from SortedListEx. - - The key of the element to remove. - - - - Removes the specified pair. - - The pair. - - - - - Replaces the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - When index is less than zero or greater than size of the list. - - - - - Sets the capacity to the actual number of elements. - - - - - Returns an IDictionaryEnumerator that can iterate through the SortedListEx. - - An IDictionaryEnumerator for the SortedListEx. - - - - Returns an IEnumerator that can iterate through the SortedListEx. - - An IEnumerator for the SortedListEx. - - - - Tries the get value. - - The key. - The value. - - - - - Inserts element with specified key and value at specified index. - - The zero-based index to insert element at. - The key of the element to insert. - The value of the element to insert. - - - - Ensures that the capacity of this instance is at least the specified value. - - The minimum capacity to ensure. - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - List of keys. Read-only. - - - - - List of keys. Read-only. - - - - - List of values. Read-only. - - - - - List of values. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value associated with the specified key. - - - - - Wrapped SortedListEx. - - - - - Sync object. - - - - - Creates SyncSortedListEx for specified SortedListEx. - - SortedListEx that will be wrapped. - - - - Adds an element with the provided key and value to the list. - - The Object to use as the key of the element to add. - The Object to use as the value of the element to add. - - - - Removes all the elements from the collection. - - - - - Creates a new object that is a copy of the current instance. - - A new object that is a copy of the current instance. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Determines whether the list contains the specified value. - - Value of the element to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Gets the value at the specified index of the list. - - The zero-based index of the value to get. - The value at the specified index of the SortedListEx. - - - - Returns an IDictionaryEnumerator that can iterate through the list. - - An IDictionaryEnumerator for the list. - - - - Gets the key at the specified index of the list. - - The zero-based index of the key to get. - The key at the specified index of the list. - - - - Gets the keys in the list. - - An IList containing the keys in the list. - - - - Gets the values in the list. - - An IList containing the values in the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of key, if key is found; otherwise, -1. - - - - Returns the zero-based index of the first occurrence of the specified value. - - The value to locate (can be NULL). - - The zero-based index of the first occurrence of value, if value is found; - otherwise, -1. - - - - - Removes the element at the specified index. - - The zero-based index of the element to remove. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Replaces the value at a specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Sets the capacity to the actual number of elements. - - - - - Capacity of internal buffers. - - - - - Size of the collection. Read-only. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Gets or sets the value associated with the specified key. - - - - - List for which is this enumerator. - - - - - Key of the current element. - - - - - Values of the current element. - - - - - Index of current element. - - - - - Starting index for the enumerator. - - - - - Ending index for this enumerator. - - - - - Version of collection data. - - - - - True if current element is correct, False otherwise - (before beginning or after end). - - - - - Shows if the object was disposed. - - - - - Creates enumerator for specified list, starting from specified index - and with specified count. - - list for which to create enumerator. - Starting index. - Number of elements to enumerate. - - - - Creates a new object that is a copy of the current instance. - - Copy of the current instance. - - - - Advances the enumerator to the next element of the collection. - - - True if the enumerator was successfully advanced to the next element; - False if the enumerator has passed the end of the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Sets the enumerator to its initial position, which is before - the first element in the collection. - - - When the current version is not equal to the SortedListEx version. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Returns key of the current element. Read-only. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - The current element in the collection. Read-only. - - - If current is false. - - - - - Returns value for the current element. - - - When the current version is not equal to the SortedListEx version - or if current is false. - - - - - Gets the element in the collection at the current position of the enumerator. - - - The element in the collection at the current position of the enumerator. - - - - List for which this collection was created. - - - - - Creates KeyList for specified SortedListEx. - - The sorted list ex. - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified key. - - Key of the element to search. - True if list contains specified key. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - If array is null or rank of the array is not 1. - - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns the zero-based index of the specified key. - - The key to locate. - The zero-based index of the key, if the key is found; otherwise, -1. - - - - Removes the element with the specified key from list. - - The key of the element to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the key at the specified index. - - - - - List for which this collection was created. - - - - - Array list that contain values. - - - - - Creates ValueList for specified SortedListEx. - - The sorted list ex. - - - - Re-read values from the list. - - - - - Adds an element with the provided key to the list. - - The Object to use as the key of the element to add. - - - - Removes all elements from the collection. - - - - - Determines whether the list contains an element with the specified value. - - Value to search. - True if list contains specified value. - - - - Copies all the elements of the list to the specified one-dimensional Array - starting at the specified destination Array index. - - The one-dimensional Array that is the destination of the - elements copied from the current list. - The index in array at which copying begins. - - - - Insert the value at the specific index. - - The zero-based index at which to save value. - The Object to save into. Can be NULL. - - - - Returns an IEnumerator that can iterate through the list. - - An IEnumerator for the list. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Returns the zero-based index of the specified value. - - The value to locate. - The zero-based index of the value, if the value is found, otherwise -1. - - - - Removes the specified value from list. - - The value to remove. - - - - Removes the element at the specified index from the list. - - The zero-based index of the element to remove. - - - - Size of the collection. Read-only. - - - - - Returns True if list is readonly, False otherwise. Read-only. - - - - - Returns True if collection has fixed size, False otherwise. - - - - - Returns True if the collection is synchronized, False otherwise. - - - - - Returns the object that can be used to synchronize access to the collection. - Read-only. - - - - - Gets or sets the value at the specified index. - - - - - Comparer for strings. - - - - - Compare two strings. - - String to compare. - String to compare. - Returns compared results. - - - - Compares two objects and returns a value indicating whether one is less than, - equal to, or greater than the other. - - The first object to compare. - The second object to compare. - - Value Condition Less than zero. x is less than y.Zero x equals - y.Greater than zero x is greater than y. - - - - - Represents Uri file specification. - - - - - Internal variable to store file name. - - - - File name. - - - - Initializes instance. - - - - - Saves object. - - - - - - - - Utility class. - - - - - Number of decimals in float rounding. - - - - - Initializes a new instance of the class. - - - - - Checks the file path. - - The path. - The path if it exist. - It's thrown if the file wasn't found. - - - - The encoding format for the sample data. - - - - - Unspecified or unsigned values in the range 0 to 2^B - 1. - - - - - Twos-complement values. - - - - - M-law�encoded samples. - - - - - A-law�encoded samples. - - - - - The number of sound channels. - - - - - One channel. - - - - - Two channels. - - - - - Enumeration that represents fit mode. - - - - - Display the page designated by page, with the coordinates (left, top) positioned - at the top-left corner of the window and the contents of the page magnified - by the factor zoom. A NULL value for any of the parameters left, top, or - zoom specifies that the current value of that parameter is to be retained unchanged. - A zoom value of 0 has the same meaning as a NULL value. - - - - - Display the page designated by page, with its contents magnified just enough - to fit the entire page within the window both horizontally and vertically. If - the required horizontal and vertical magnification factors are different, use - the smaller of the two, centering the page within the window in the other - dimension. - - - - - Display the page designated by page, with the vertical coordinate top positioned - at the top edge of the window and the contents of the page magnified - just enough to fit the entire width of the page within the window. - - - - - Represents the blend color space - - - - - Represents the base class for PdfBlend and PdfColorBlend classes. - - - - - Precision of the GCD calculations. - - - - - Local variable to store the count. - - - - - Local variable to store the positions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified elements count - - The number of the elements. - - - - Calculate the GCD of the specified values. - - The values. - The calculated GCD value. - - - - Determines greatest common divisor of the specified u and v. - - The u. - The v. - The GCD value - - - - Determines greatest common divisor of the specified u and v. - - The u. - The v. - The GCD value - - - - Determines if both parameters are even numbers. - - The first value. - The second value. - result - - - - Determines if the u value is even. - - The u value. - bool - - - - Interpolates the specified colours according to the t value. - - The t value, which show the imagine position on a line from 0 to 1. - The minimal colour. - The maximal colour. - The color space. - color - - - - - Sets the array. - - The array, which has values. - The array if it's passed all tests. - - - - Gets or sets the array of positions - - - - - Gets the number of elements that specify the blend. - - - - - Local variable to store the factors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified factor count - - The number of elements in the factors and positions arrays. - - - - Generates a correct color blend. - - The colours. - The color space. - A well formed colour blend. - - - - Clones this instance. - - The copy of this instance of PdfBlend. - - - - Gets or sets the array of factor to the blend. - - - - - Brushes for all the standard colors - - - - - Local variable to store the brushes. - - - - - Initializes a new instance of the class. - - - - - Creates the default brush. - - The color. - Name of the color. - The proper PdfBrush instance. - - - - Gets the AliceBlue brush. - - - - - Gets the antique white brush. - - - - - Gets the Aqua default brush. - - - - - Gets the Aquamarine default brush. - - - - - Gets the Azure default brush. - - - - - Gets the Beige default brush. - - - - - Gets the Bisque default brush. - - - - - Gets the Black default brush. - - - - - Gets the BlanchedAlmond default brush. - - - - - Gets the Blue default brush. - - - - - Gets the BlueViolet default brush. - - - - - Gets the Brown default brush. - - - - - Gets the BurlyWood default brush. - - - - - Gets the CadetBlue default brush. - - - - - Gets the Chartreuse default brush. - - - - - Gets the Chocolate default brush. - - - - - Gets the Coral default brush. - - - - - Gets the CornflowerBlue default brush. - - - - - Gets the Corn silk default brush. - - - - - Gets the Crimson default brush. - - - - - Gets the Cyan default brush. - - - - - Gets the DarkBlue default brush. - - - - - Gets the DarkCyan default brush. - - - - - Gets the DarkGoldenrod default brush. - - - - - Gets the DarkGray default brush. - - - - - Gets the DarkGreen default brush. - - - - - Gets the DarkKhaki default brush. - - - - - Gets the DarkMagenta default brush. - - - - - Gets the DarkOliveGreen default brush. - - - - - Gets the DarkOrange default brush. - - - - - Gets the DarkOrchid default brush. - - - - - Gets the DarkRed default brush. - - - - - Gets the DarkSalmon default brush. - - - - - Gets the DarkSeaGreen default brush. - - - - - Gets the DarkSlateBlue default brush. - - - - - Gets the DarkSlateGray default brush. - - - - - Gets the DarkTurquoise default brush. - - - - - Gets the DarkViolet default brush. - - - - - Gets the DeepPink default brush. - - - - - Gets the DeepSkyBlue default brush. - - - - - Gets the DimGray default brush. - - - - - Gets the DodgerBlue default brush. - - - - - Gets the Firebrick default brush. - - - - - Gets the FloralWhite default brush. - - - - - Gets the ForestGreen default brush. - - - - - Gets the Fuchsia default brush. - - - - - Gets the Gainsborough default brush. - - - - - Gets the GhostWhite default brush. - - - - - Gets the Gold default brush. - - - - - Gets the Goldenrod default brush. - - - - - Gets the Gray default brush. - - - - - Gets the Green default brush. - - - - - Gets the GreenYellow default brush. - - - - - Gets the Honeydew default brush. - - - - - Gets the HotPink default brush. - - - - - Gets the IndianRed default brush. - - - - - Gets the Indigo default brush. - - - - - Gets the Ivory default brush. - - - - - Gets the Khaki default brush. - - - - - Gets the Lavender default brush. - - - - - Gets the LavenderBlush default brush. - - - - - Gets the LawnGreen default brush. - - - - - Gets the LemonChiffon default brush. - - - - - Gets the LightBlue default brush. - - - - - Gets the LightCoral default brush. - - - - - Gets the LightCyan default brush. - - - - - Gets the LightGoldenrodYellow default brush. - - - - - Gets the LightGray default brush. - - - - - Gets the LightGreen default brush. - - - - - Gets the LightPink default brush. - - - - - Gets the LightSalmon default brush. - - - - - Gets the LightSeaGreen default brush. - - - - - Gets the LightSkyBlue default brush. - - - - - Gets the LightSlateGray default brush. - - - - - Gets the LightSteelBlue default brush. - - - - - Gets the LightYellow default brush. - - - - - Gets the Lime default brush. - - - - - Gets the LimeGreen default brush. - - - - - Gets the Linen default brush. - - - - - Gets the Magenta default brush. - - - - - Gets the Maroon default brush. - - - - - Gets the MediumAquamarine default brush. - - - - - Gets the MediumBlue default brush. - - - - - Gets the MediumOrchid default brush. - - - - - Gets the MediumPurple default brush. - - - - - Gets the MediumSeaGreen default brush. - - - - - Gets the MediumSlateBlue default brush. - - - - - Gets the MediumSpringGreen default brush. - - - - - Gets the MediumTurquoise default brush. - - - - - Gets the MediumVioletRed default brush. - - - - - Gets the MidnightBlue default brush. - - - - - Gets the MintCream default brush. - - - - - Gets the MistyRose default brush. - - - - - Gets the Moccasin default brush. - - - - - Gets the NavajoWhite default brush. - - - - - Gets the Navy default brush. - - - - - Gets the OldLace default brush. - - - - - Gets the Olive default brush. - - - - - Gets the OliveDrab default brush. - - - - - Gets the Orange default brush. - - - - - Gets the OrangeRed default brush. - - - - - Gets the Orchid default brush. - - - - - Gets the PaleGoldenrod default brush. - - - - - Gets the PaleGreen default brush. - - - - - Gets the PaleTurquoise default brush. - - - - - Gets the PaleVioletRed default brush. - - - - - Gets the PapayaWhip default brush. - - - - - Gets the PeachPuff default brush. - - - - - Gets the Peru default brush. - - - - - Gets the Pink default brush. - - - - - Gets the Plum default brush. - - - - - Gets the PowderBlue default brush. - - - - - Gets the Purple default brush. - - - - - Gets the Red default brush. - - - - - Gets the RosyBrown default brush. - - - - - Gets the RoyalBlue default brush. - - - - - Gets the SaddleBrown default brush. - - - - - Gets the Salmon default brush. - - - - - Gets the SandyBrown default brush. - - - - - Gets the SeaGreen default brush. - - - - - Gets the SeaShell default brush. - - - - - Gets the Sienna default brush. - - - - - Gets the Silver default brush. - - - - - Gets the SkyBlue default brush. - - - - - Gets the SlateBlue default brush. - - - - - Gets the SlateGray default brush. - - - - - Gets the Snow default brush. - - - - - Gets the SpringGreen default brush. - - - - - Gets the SteelBlue default brush. - - - - - Gets the Tan default brush. - - - - - Gets the Teal default brush. - - - - - Gets the Thistle default brush. - - - - - Gets the Tomato default brush. - - - - - Gets the Transparent default brush. - - - - - Gets the Turquoise default brush. - - - - - Gets the Violet default brush. - - - - - Gets the Wheat default brush. - - - - - Gets the White default brush. - - - - - Gets the WhiteSmoke default brush. - - - - - Gets the Yellow default brush. - - - - - Gets the YellowGreen default brush. - - - - - Represents the arrays of colors and positions used for - interpolating color blending in a multicolor gradient. - - - - - Array of colors. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified elements count - - The count of the element. - - - - Gets the function. - - The color space. - The properly prepared sampled function. - - - - Clones this instance. - - The copy of this instance of the PdfColorBlend class. - - - - Sets the range. - - The colour components. - The max value. - The ranges array. - - - - Calculates the color components count according to colour space. - - The color space. - The number of colour components. - - - - Gets samples values for specified colour space. - - The color space. - The sample count. - The max component value. - The step. - The byte array of the sample values. - - - - Gets the grayscale samples. - - The sample count. - The max component value. - The step. - - - - - Gets the CMYK samples. - - The sample count. - The max component value. - The step. - - - - - Gets the RGB samples. - - The sample count. - The max component value. - The step. - The values of RGB samples. - - - - Calculates the color that should be at the specified index. - - The index. - The step. - The color space. - The colour obtained from the calculation. - - - - Gets the indices. - - The position. - The index low. - The index hi. - - - - Calculates the max component value. - - The color space. - The maximal component value. - - - - Gets an intervals array from the positions array. - - The positions array. - The intervals obtained from the positions. - - - - Gets or sets the array of colors. - - - - - Encapsulates a with a gradient brush. - - - - - Local variable to store the background color. - - - - - Local variable to store the background color. - - - - - Local variable to store the dictionary. - - - - - Local variable to store the shading. - - - - - Local variable to store the Transformation Matrix. - - - - - Local variable to store the external state. - - - - - Local variable to store the colorSpace. - - - - - Local variable to store the function. - - - - - Initializes a new instance of the class. - - The shading. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectfully.. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - Indicates the indexed Color Space. - True if the brush was different. - - - - Resets the changes, which were made by the brush. - In other words resets the state to the initial one. - - The stream writer. - - - - Converts colorspace enum to a PDF name. - - The color space enum value. - The correct string value. - - - - Resets the pattern dictionary. - - A new pattern dictionary. - - - - Resets the function. - - - - - Clones the anti aliasing value. - - The brush. - - - - Clones the background value. - - The brush. - - - - Gets or sets the background color of the brush. - - This value is optional. If null is assigned to it, - the associated entry is removed from the appropriate dictionary. - - - - Gets or sets a value indicating whether use anti aliasing algorithm. - - - - - Gets or sets the function of the brush. - - - - - Gets or sets the boundary box of the brush. - - This value is optional. If null is assigned to it, - the associated entry is removed from the appropriate dictionary. - - - - Gets or sets the color space of the brush. - - - - - Gets or sets a value indicating whether - this is stroking. - - - - - Gets the pattern dictionary. - - - - - Gets or sets the shading dictionary. - - It's obligatory to set this dictionary - as soon as deriving class can. - - - - Gets or sets the transformation matrix. - - - - - Gets or sets the external graphics state, - which would be set temporary while this brush is active. - - The external graphics state. - - - - Gets the wrapped element. - - - - - Implements linear gradient brush by using PDF axial shading pattern. - - - - - Local variable to store the point start. - - - - - Local variable to store the point end. - - - - - Local variable to store the colours. - - - - - Local variable to store the colour Blend. - - - - - Local variable to store the blend. - - - - - Local variable to store the boundaries. - - - - - Initializes a new instance of the class. - - The starting point of the gradient. - The end point of the gradient. - The starting color of the gradient. - The end color of the gradient. - - - - Initializes a new instance of the class. - - A RectangleF structure that specifies the bounds of the linear gradient. - The starting color for the gradient. - The ending color for the gradient. - The mode. - - - - Initializes a new instance of the class. - - A RectangleF structure that specifies the bounds of the linear gradient. - The starting color for the gradient. - The ending color for the gradient. - The angle, measured in degrees clockwise from the x-axis, - of the gradient's orientation line. - - - - Initializes a new instance of the class. - - The color of the start point. - The color of the end point. - - - - Adds two points to each other. - - The point1. - The point2. - The resulting point. - - - - Subs the second point from the first one. - - The point1. - The point2. - The resulting point. - - - - Makes scalar multiplication of two points. - - The point1. - The point2. - The result of multiplication. - - - - Multiplies the point by the value specified. - - The point. - The value. - The result in point. - - - - Choosts the point according to the angle. - - The angle. - The correct point. - - - - Sets the start and end points. - - The point1. - The point2. - - - - Initializes the shading dictionary. - - - - - Creates a new copy of a brush. - - A new instance of the Brush class. - - - - Resets the function. - - - - - Gets or sets a PdfBlend that specifies positions - and factors that define a custom falloff for the gradient. - - - - - Gets or sets a ColorBlend that defines a multicolor linear gradient. - - - - - Gets or sets the starting and ending colors of the gradient. - - - - - Gets a rectangular region that defines - the boundaries of the gradient. - - - - - Gets or sets the value indicating whether the gradient - should extend starting and ending points. - - - - - Represent radial gradient brush. - - - - - Local varaible to store the point start. - - - - - Local varaible to store the point start. - - - - - Local varaible to store the point End. - - - - - Local varaible to store the radius End. - - - - - Local varaible to store the colours. - - - - - Local varaible to store the colour blend. - - - - - Local varaible to store the blend. - - - - - Local varaible to store the boundaries. - - - - - Initializes a new instance of the class. - - The start centre. - The start radius. - The end centre. - The end radius. - The start color. - The end color. - - - - Initializes a new instance of the class. - - The color1. - The color2. - - - - Sets the points. - - The point start. - The point end. - The radius start. - The radius end. - - - - Initializess the shading dictionary. - - - - - Creates a new copy of a brush. - - A new instance of the Brush class. - - - - Resets the function. - - - - - Gets or sets a PdfBlend that specifies positions - and factors that define a custom falloff for the gradient. - - - - - Gets or sets a ColorBlend that defines a multicolor linear gradient. - - - - - Gets or sets the starting and ending colors of the gradient. - - - - - Gets or sets the rectangle. - - The rectangle. - - - - Gets or sets the value indicating whether the gradient - should extend starting and ending points. - - - - - Represents a brush that fills any object with a solid colour. - - - - - The colour of the brush. - - - - - The color space of the brush. - - - - - Indicates if the brush is immutable. - - - - - Localvariable to store the Colorspace. - - - - - Initializes a new instance of the class. - - The color. - - - - Initializes a new instance of the class. - - color - - - - Initializes a new instance of the class. - - The color. - if set to true the brush is immutable. - - - - Initializes a new instance of the class. - - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - True if the brush was different. - - - - Monitors the changes of the brush and modify PDF state respectively. - - The brush. - The stream writer. - The get resources delegate. - if set to true the changes should be saved anyway. - The current color space. - check - Indicates the IccBased Color Space. - Indicates the indexed Color Space. - True if the brush was different. - - - - Resets the changes, which were made by the brush. - In other words resets the state to the initial one. - - The stream writer. - - - - Creates a new copy of a brush. - - A new instance of the Brush class. - - - - Gets or sets the color of the brush. - - - - - Gets or sets the Colorspace. - - - - - Specifies the gradient direction of the linear gradient brush. - - - - - Specifies a gradient from upper right to lower left. - - - - - Specifies a gradient from upper left to lower right. - - - - - Specifies a gradient from left to right. - - - - - Specifies a gradient from top to bottom. - - - - - Specifies the constant values specifying whether to extend the shading - beyond the starting and ending points of the axis. - - - - - Do not extend any point. - - - - - Extend start point. - - - - - Extend end point. - - - - - Extend both start and end points. - - - - - Shading type constants. - - - - - Function-based shading. - - - - - Axial shading. - - - - - Radial shading. - - - - - Free-form Gouraud-shaded triangle mesh - - - - - Lattice-form Gouraud-shaded triangle mesh. - - - - - Coons patch mesh. - - - - - Tensor-product patch mesh. - - - - - Specifies constant values of PdfHatchStyle pattern. - - - - - Represents an arc shape. - - It ignores brush setting. - - - - Represents a base class of arc and pie shapes. - - - - - Represents an area bound by a rectangle. - - - - - Represents an element to fill - - - - - Represents a graphics element which can be drawn by a pen. - - - - - Base class for the main shapes. - - - - - Gets the bounds. - - rect - - - - Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - This method doesn't take into consideration a rotation of the element. - - - - Layouts the element. - - Lay outing parameters. - Returns lay outing results. - - - - Layouts the element. - - Lay outing parameters. - Returns lay outing results. - - - - A pen object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified pen - - The pen. - - - - Gets the pen. If both pen and brush are not explicitly defined, default pen will be used. - - Gets the pen for drawing. - - - - - Gets or sets a pen that will be used to draw the element. - - - - - Internal variable to store brush. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The pen. - - - - Initializes a new instance of the class. - - The brush. - - - - Initializes a new instance of the class. - - The pen. - The brush. - - - - Gets the pen. If both pen and brush are not explicitly defined, default pen will be used. - - - brush - - - - Gets or sets the brush of the element - - - - - Bounds of the element. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The rectangle. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The rectangle. - - - - Overloaded. Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - - - - Gets or sets the X co-ordinate of the upper-left corner of this the element. - - - - - Gets or sets the Y co-ordinate of the upper-left corner of this the element. - - - - - Gets or sets the width of this element. - - - - - Gets or sets the height of this element. - - - - - Gets or sets the size of this element. - - - - - Gets or sets bounds of this element. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified pair of coordinates, width, height and sweep angle - - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - Angle in degrees measured clockwise from the x-axis to the starting point of the ellipse. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the ellipse. - - - - Initializes a new instance of the class with the specified structure and sweep angle - - RectangleF structure that defines the boundaries of the ellipse. - Angle in degrees measured clockwise from the x-axis to the starting point of the ellipse. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the ellipse. - - - - Initializes a new instance of the class with the specified pen, brush, pair of coordinates, width and height and sweep angle. - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - Angle in degrees measured clockwise from the x-axis to the starting point of the ellipse. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the ellipse. - - - - Initializes a new instance of the class. - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - Angle in degrees measured clockwise from the x-axis to the starting point of the ellipse. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the ellipse. - - - - Gets or sets the start angle. - - - - - Gets or sets the sweep angle. - - - - - Initializes a new instance of the class with the specified pair of coordinates, width, height and sweep angle - - Width of the rectangle that defines the arc. - Height of the rectangle that defines the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class with the specified pen, width, height and sweep angle - - Pen that determines the color, width, and style of the arc. - Width of the rectangle that defines the arc. - Height of the rectangle that defines the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class. - - The x-coordinate of the upper-left corner of the rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the rectangle that defines the ellipse. - Width of the rectangle that defines the arc. - Height of the rectangle that defines the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class with the specified structure and sweep angle - - RectangleF structure that defines the boundaries of the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class with the specified pen, pair of coordinates, width, height and sweep angle - - Pen that determines the color, width, and style of the arc. - The x-coordinate of the upper-left corner of the rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the rectangle that defines the ellipse. - Width of the rectangle that defines the arc. - Height of the rectangle that defines the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class with the specified pen, structure and sweep angle - - Pen that determines the color, width, and style of the arc. - RectangleF structure that defines the boundaries of the arc. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Initializes a new instance of the class. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Base class for elements lay outing. - - - - - - Layout the element. - - - - - Initializes a new instance of the class. - - The element. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the HtmlToPdf element. - - Lay outing parameters. - Lay outing result. - - - - Returns the next page. - - Current page. - The next page. - The next page is taken from the same section the current one was. - If there is not enough pages within the section, the new one is appended. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Gets paginate bounds. - - Layout parameters. - Gets paginate bounds. - - - - Gets element`s layout. - - - - - Represents a layouting format - - - - - Indicates whether PaginateBounds were set and should be used or not. - - - - - Bounds for the paginating. - - - - - Layout type of the element. - - - - - Break type of the element. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from the specified layout format - - The base format. - - - - Gets or sets layout type of the element. - - - - - Gets or sets break type of the element. - - - - - Gets or sets the bounds on the next page. - - If this property is set, the element will use it for the layouting on the next pages, - otherwise, the element will be layout according to the bounds, used on the first page. - - - - Gets a value indicating whether [use paginate bounds]. - - true if [use paginate bounds]; otherwise, false. - - - - Represents the layouting result format. - - - - - The last page where the element was drawn. - - - - - The bounds of the element on the last page where it was drawn. - - - - - Holds the total web page layout size - - - - - Creates a new object. - - The current page. - The current bounds. - The page might be null, which means that - lay outing was performed on PdfGraphics. - - - - Gets the last page where the element was drawn. - - - - - Gets the bounds of the element on the last page where it was drawn. - - - - - Holds the total web page layout size - - - - - Represents the layouting parameters. - - - - - Start lay outing page. - - - - - Lay outing bounds. - - - - - Layout settings. - - - - - Gets or sets the layouting page for the element. - - - - - Gets or sets layouting bounds for the element. - - - - - Gets or sets layouting settings for the element. - - - - - Layouts the metafiles. - - - - - ShapeLayouter class. - - - - - Determines the document link annotation border width. - - - - - Initializes the object to store older form elements of previous page. - - - - - Initializes the offset index. - - - - - Initializes the difference in page height. - - - - - Determines the end of Vertical offset values. - - - - - Total Page size of the web page - - - - - Text region manager to avoid text split between the pages - - - - - Image region manager to avoid image split between the pages - - - - - Form region manager to avoid form fields between pages - - - - - Initializes a new instance of the class. - - The element. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Gets paginate bounds. - - Layout parameters. - Gets paginate bounds. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the HtmlToPdf element. - - Lay outing parameters. - Lay outing result. - - - - Corrects current bounds on the page. - - Current page. - Current lay outing bounds. - The current active shape bounds. - Layout parameters. - Corrected lay outing bounds. - - - - Creates layout result. - - Page layout result. - Layout result. - - - - Corrects current bounds on the page. - - Current page. - Current lay outing bounds. - The current active shape bounds. - Layout parameters. - Corrected lay outing bounds. - - - - Repositions the links. - - The list. - The height. - - - - Layouts the element on the current page. - - The current page. - The current bounds. - Active shape bounds that aren't layouted. - Layout parameters. - Page lay outing result. - - - - Draws shape for Tagged PDF. - - - - - - - - - Calculates the next active shape bounds. - - The current active shape bounds. - The current page layout result. - The next active shape bounds. - - - - Checks whether shape rectangle fits to the lay outing bounds. - - Lay outing bounds. - Shape bounds. - True - if the shape fits into lay outing bounds, false otherwise. - - - - Returns Rectangle for element drawing on the page. - - Lay outing bounds. - Current shape bounds. - Returns Rectangle for element drawing on the page. - - - - Calculates bounds where the shape was layout on the page. - - Current lay outing bounds. - Shape bounds. - Bounds where the shape was layout on the page. - - - - Draws the shape. - - Current graphics. - Current page bounds. - Draw rectangle. - - - - Raises PageLayout event if needed. - - Page layout result. - Event arguments.. - - - - Raises BeforePageLayout event. - - The current page. - The current bounds. - If true, stop lay outing. - - - - Corrects the bounds to avoid blank page. - - Current lay outing bounds. - Shape bounds. - Current Page. - Corrected bounds. - - - - Gets shape element. - - - - - Text region manager to avoid text split between the pages - - - - - Image region manager to avoid image split between the pages - - - - - Form region manager to avoid form field split between the pages - - - - - Contains lay outing result settings. - - - - - The last page where the element was drawn. - - - - - The bounds of the element on the last page where it was drawn. - - - - - Indicates whether the lay outing has been finished. - - - - - List of names of the radio button collection. - - - - - ArrayList for store names, number of elements(i.e. count), selected index of each radio button collection. - - - - - Initializes a new instance of the class. - - The element. - - - - Repositions the links. - - The list. - The height. - - - - Corrects current bounds on the page. - - Current page. - Current lay outing bounds. - The current active shape bounds. - Lay outing parameters. - Corrected lay outing bounds. - - - - Corrects current bounds on the page to restrict blank pages. - - Current page. - Current lay outing bounds. - The current active shape bounds. - Corrected lay outing bounds. - - - - Gets shape element. - - - - - - Gets the Text regions manager. - - - - - Gets the Image regions manager. - - - - - Represents the Class which defines metafile lay outing settings. - - - - - Indicates whether text line can be split among the pages. - - - - - Indicates whether the images can be split among the pages. - - - - - Gets or sets a value indicating whether [split text lines]. - - true if [split text lines]; otherwise, false. - - - - Gets or sets a value indicating whether [split images]. - - true if [split images]; otherwise, false. - - - - Class that layouts the text. - - - - - String format. - - - - - Initializes a new instance of the class. - - The element. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Creates layout result. - - Page layout result. - Layout result. - - - - Layouts the text on the page. - - The text that should be printed. - Current page. - Current bounds. - Layout parameters. - Page layout result. - - - - Corrects current bounds on the page. - - Current page. - Current lay outing bounds. - Corrected lay outing bounds. - - - - Returns a rectangle where the text was printed on the page. - - Current page. - Current page text bounds. - Layout result. - Returns a rectangle where the text was printed on the page. - - - - Raises PageLayout event if needed. - - Page layout result. - Event arguments. - - - - Raises BeforePageLayout event. - - The current page. - The current bounds. - If true, stops the layout. - - - - Corrects string format. - - The last line infor layouted. - - - - Gets element`s layout. - - - - - - Contains lay outing result settings. - - - - - The last page where the text was drawn. - - - - - The bounds of the element on the last page where it was drawn. - - - - - Indicates whether the lay outing has been finished. - - - - - The text that was not printed. - - - - - Gets or sets a bounds of the last text line that was printed. - - - - - Represents the text lay outing result settings. - - - - - The text that was not printed. - - - - - The bounds of the last line that was printed. - - - - - Initializes a new instance of the class. - - The page. - The bounds. - The remainder. - The last line bounds. - - - - Gets a value that contains the text that was not printed. - - - - - Gets a value that indicates the bounds of the last line that was printed on the page. - - - - - Represents Bezier curve shape. - - - - - Local variable to store the start Point. - - - - - Local variable to store the firstC ontrol Point. - - - - - Local variable to store the second Control Point. - - - - - Local variable to store the end Point. - - - - - Initializes a new instance of the class with the specified structure - - PointF structure that represents the starting point of the curve. - PointF structure that represents the first control point for the curve. - PointF structure that represents the second control point for the curve. - PointF structure that represents the ending point of the curve. - - - - Initializes a new instance of the class with the specified pair of coordinates and control points - - The x-coordinate of the starting point of the curve. - The y-coordinate of the starting point of the curve. - The x-coordinate of the first control point of the curve. - The y-coordinate of the first control point of the curve. - The x-coordinate of the second control point of the curve. - The y-coordinate of the second control point of the curve. - The x-coordinate of the ending point of the curve. - The y-coordinate of the ending point of the curve. - - - - Initializes a new instance of the class with the specified pen and structure. - - Pen that determines the color, width, and style of the curve. - PointF structure that represents the starting point of the curve. - PointF structure that represents the first control point for the curve. - PointF structure that represents the second control point for the curve. - PointF structure that represents the ending point of the curve. - - - - Initializes a new instance of the class with the specified pair of coordinates and control points - - Pen that determines the color, width, and style of the curve. - The x-coordinate of the starting point of the curve. - The y-coordinate of the starting point of the curve. - The x-coordinate of the first control point of the curve. - The y-coordinate of the first control point of the curve. - The x-coordinate of the second control point of the curve. - The y-coordinate of the second control point of the curve. - The x-coordinate of the ending point of the curve. - The y-coordinate of the ending point of the curve. - - - - Initializes a new instance of the class. - - - - - Overloaded. Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Gets or sets the starting point of the curve - - - - - Gets or sets the first control point of the curve. - - - - - Gets or sets the second control point of the curve - - - - - Gets or sets the ending point of the curve. - - - - - Represents an ellipse shape. - - - - - Initializes a new instance of the class with the specified width and height - - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified pen, width and height. - - Pen that determines the color, width, and style of the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified brush, width and height. - - Brush that determines the color and texture of the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified pen, brush, width and height - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified pair of coordinates, width and height - - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the rectangle. - - RectangleF structure that defines the boundaries of the ellipse. - - - - Initializes a new instance of the class with the specified pen, pair of coordinates, width and height - - Pen that determines the color, width, and style of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified pen and structure - - Pen that determines the color, width, and style of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - - - - Initializes a new instance of the class with the specified brush, pair of coordinates, width and height - - Brush that determines the color and texture of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified brush and structure - - Brush that determines the color and texture of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - - - - Initializes a new instance of the class with the specified pen, brush, pair of coordinates, width and height - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Initializes a new instance of the class with the specified pen, brush and structure - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - - - - Initializes a new instance of the class. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Gets the radius X. - - - - - Gets the radius Y. - - - - - Gets the center point. - - - - - Represents a line shape. - - - - - Local variable to store x2. - - - - - Local variable to store Y1. - - - - - Local variable to store x1. - - - - - Local variable to store Y2. - - - - - Initializes a new instance of the class from the specified two pair fo coordinates. - - The x-coordinate of the first point. - The y1. - The x2. - The y2. - - - - Initializes a new instance of the class. - - The point1. - The point2. - - - - Initializes a new instance of the class. - - The pen. - The x1. - The y1. - The x2. - The y2. - - - - Initializes a new instance of the class. - - The pen. - The point1. - The point2. - - - - Initializes a new instance of the class. - - - - - Overloaded. Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Gets or sets the x coordinate of the start point. - - - - - Gets or sets the y coordinate of the start point. - - - - - Gets or sets the x coordinate of the end point. - - - - - Gets or sets the y coordinate of the end point. - - - - - Implements graphics path, which is a sequence of primitive graphics elements. - - - - - Local varaible to store the points. - - - - - Local varaible to store the path Types. - - - - - Local varaible to store the Start Figure. - - - - - Local varaible to store the fill Mode. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The points. - The path types. - - - - Initializes a new instance of the class. - - The pen. - - - - Initializes a new instance of the class. - - The brush. - - - - Initializes a new instance of the class. - - The brush. - The fill mode. - - - - Initializes a new instance of the class. - - The pen. - The points. - The path types. - - - - Initializes a new instance of the class. - - The brush. - The fill mode. - The points. - The path types. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The fill mode. - - - - Adds an arc. - - The boundaries of the arc. - The start angle. - The sweep angle. - - - - Adds an arc. - - The x. - The y. - The width. - The height. - The start angle. - The sweep angle. - - - - Adds a bezier curve. - - The start point. - The first control point. - The second control point. - The end point. - - - - Adds a bezier curve. - - The start point X. - The start point Y. - The first control point X. - The first control point Y. - The second control point X. - The second control point Y. - The end point X. - The end point Y. - - - - Adds an ellipse. - - The boundaries of the ellipse. - - - - Adds an ellipse. - - The x. - The y. - The width. - The height. - - - - Adds a line. - - The point1. - The point2. - - - - Adds a line. - - The x1. - The y1. - The x2. - The y2. - - - - Appends the path specified to this one. - - The path, which should be appended. - - - - Appends the path specified by the points and their types to this one. - - The points. - The path point types. - - - - Appends the pie to this path. - - The rectangle. - The start angle. - The sweep angle. - - - - Appends the pie to this path. - - The x. - The y. - The width. - The height. - The start angle. - The sweep angle. - - - - Append the closed polygon to this path. - - The points of the polygon. - - - - Appends the rectangle to this path. - - The rectangle. - - - - Appends the rectangle to this path. - - The x. - The y. - The width. - The height. - - - - Starts a new figure. - - The next added primitive will start a new figure. - - - - Closes the last figure. - - - - - Closes all non-closed figures. - - - - - Gets the last point. - - The last point. - - - - Overloaded. Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Adds the points along with their type to the path. - - The points. - Type of the points. - - - - Adds the points along with their type to the path. - - The points. - Type of the points. - The start index. - The end index. - - - - Adds a point and its type. - - The point. - Type of the point. - - - - Closes the figure. - - The index of the last figure point. - - - - Gets or sets the fill mode. - - - - - Gets the path points. - - - - - Gets the path point types. - - - - - Gets the point count. - - - - - Gets the last point. - - - - - Gets the points list. - - The points. - - - - Gets the types. - - The types. - - - - Represents a HTML text area with the ability to span several pages. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - The font. - - - - - The brush. - - - - - The HTML text. - - - - - The Text Alignment. - - - - - Initializes a new instance of the class. - - This Constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Initializes a new instance of the class with the specified HTML text, font and brush - - This Constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The HTML text. - The font. - The brush. - - - - Draws the text on the page. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Current page where the text should be drawn. - RectangleF structure that specifies the bounds of the text. - Layout format. - Layout result. - - - - Draws the text on the graphics. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Graphics context where the text should be drawn - RectangleF structure that specifies the bounds of the text. - - - - Raises EndPageLayout event. - - Event arguments. - - - - Raises BeginPageLayout event. - - Event arguments. - - - - Draws the text on the page. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Current page where the text should be drawn. - Start location on the page. - Width of the text bounds. - Layout format. - Lay outing result. - - - - Draws the text on the graphics. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Graphics context where the text should be drawn. - Start location on the page. - Width of the text bounds. - Height of the text bounds. - - - - Draws the text on the page. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Current page where the text should be drawn. - Start location on the page. - Width of the text bounds. - Height of the text bounds. - Lay outing format. - Lay outing result. - - - - Gets or sets the base font for the text element. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the brush for the text element. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the HTML Text. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the text alignment. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Event. Raises after the element was printed on the page. - - - - - Event. Raises before the element should be printed on the page. - - - - - Gets a value indicating whether EndPageLayout is not null. - - - - - Gets a value indicating whether BeginPageLayout is not null. - - - - - Represents Pdf Template object. - - - - - Graphics context of the template. - - - - - Content of the object. - - - - - Resources of the template. - - - - - Size of the template. - - - - - Indicates if the template is read-only. - - - - - Initializes a new instance of the class. - - The size. - - - - Initializes a new instance of the class. - - The rect. - - - - Initializes a new instance of the class. - - The width. - The height. - - - - Initializes a new instance of the class. - - The X. - The Y. - The width. - The height. - - - - Initializes a new instance of the class. - - The origin points of the Pdf Page - The size of the new template. - The data stream of the new template. - The resources of the new template. - The resulting template is read-only in order to avoid unexpected side effects - caused by non-restored graphics state. - - - - Initializes a new instance of the class. - - The size of the new template. - The data stream of the new template. - The resources of the new template. - The resulting template is read-only in order to avoid unexpected side effects - caused by non-restored graphics state. - - - - Initializes a new instance of the class. - - The template. - - - - Resets the template and sets the specified size. - - The size. - - - - Resets an instance. - - - - - Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - This method doesn't take into consideration a rotation of the element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Initializes object. - - - - - Gets the resources and modifies the template dictionary. - - Pdf resources. - - - - - Adds type key. - - - - - - Adds SubType key. - - - - - Sets the size of the template. - - The size. - - - - Sets the bounds of the template. - - The bounds. - - - - Sets the size of the template. - - The size. - - - - Copies the resources from the template. - - - - - Gets graphics context of the template. - - It will return null, if the template is read-only. - - - - Gets the size of the template. - - - - - Gets the width of the template. - - - - - Gets the height of the template. - - - - - Gets a value indicating whether the template is read-only. - - true if the template is read-only; otherwise, false. - Read-only templates does not expose graphics. They just return null. - - - - Gets the wrapped element. - - - - - Represents a pie shape. - - - - - Initializes a new instance of the class. - - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The brush. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The rectangle. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The x. - The y. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The rectangle. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The brush. - The x. - The y. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The brush. - The rectangle. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The x. - The y. - The width. - The height. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The rectangle. - The start angle. - The sweep angle. - - - - Initializes a new instance of the class. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Represents a set of points connected with lines, could be drawn and filled. - - - - - Array of the points. - - - - - Initializes a new instance of the class. - - The points. - - - - Initializes a new instance of the class. - - The pen. - The points. - - - - Initializes a new instance of the class. - - The brush. - The points. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The points. - - - - Initializes a new instance of the class. - - - - - Adds a point to the polygon. - - The last point of the polygon. - - - - Overloaded. Returns a rectangle that bounds this element. - - Returns a rectangle that bounds this element. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Gets or sets the points of the polygon. - - - - - Gets a number of the points in the polygon. - - - - - Represents a simple rectangle that could be drawn and/or filled. - - - - - Initializes a new instance of the class. - - The width. - The height. - - - - Initializes a new instance of the class. - - The pen. - The width. - The height. - - - - Initializes a new instance of the class. - - The brush. - The width. - The height. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The width. - The height. - - - - Initializes a new instance of the class. - - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The rectangle. - - - - Initializes a new instance of the class. - - The pen. - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The pen. - The rectangle. - - - - Initializes a new instance of the class. - - The brush. - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The brush. - The rectangle. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The x. - The y. - The width. - The height. - - - - Initializes a new instance of the class. - - The pen. - The brush. - The rectangle. - - - - Initializes a new instance of the class. - - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Internal class which is used converts the html string in to Rich Text. - - - - - Internal variable to store the status of the RichTextBox control. - - - - - Internal variable. - - - - - Internal variable used while parsing the html text. - - - - - Internal variable to check for nested tag. - - - - - Dictionary containg list of support html tags. - - - - - Internal variable to specify font. - - - - - Internal varible to specify the color. - - - - - Internal variable to store copy of m_color. - - - - - Internal variable to store the PDF font size; - - - - - Internal variable to store the Html font size. - - - - - Method for maintaining the performance of RTF control while - updating. - - - - - Method invoked once the RTF control is updated. - - - - - Invoked once the handle has been created. - - The Eventargs. - - - - Converts the the given colorref to Color - - The Color. - The RGB coded color. - - - - Initializes the dictionary. - - - - - Converts the the given color to colorref - - Red - Green - Blue - The ColorRef equivalent for color. - - - - Converts the the given color to colorref - - The color. - The ColorRef - - - - Renders the given html text in to the RTF Control. - - strHTML - font - color - - - - Parses the HtmlString. - - The HtmlString. - - - - Parses the each Html Elements (Xml node) and apply the formatting. - - The htmltag - The Character format. - The Paragraph format. - - - - Converts the the given text to safe text - - The text. - The safe text - - - - Gets or sets the text alignment. - - - - - Gets or sets the paragraph format. - - - - - Gets or sets the default paragraph format. - - - - - Gets or sets the character format. - - - - - Gets or sets the default character format. - - - - - Gets a value indicating whether [internal updating]. - - true if [internal updating]; otherwise, false. - - - - Specifies how text in a is - horizontally aligned. - - - - - The text is aligned to the left. - - - - - The text is aligned to the right. - - - - - The text is aligned in the center. - - - - - The text is justified. - - - - - internal variable to store Size. - - - - - internal variable to store Mask. - - - - - internal variable to store Numbering. - - - - - internal variable to store Reserved. - - - - - internal variable to store Start Indent. - - - - - internal variable to store Right Indent. - - - - - internal variable to store Offset. - - - - - internal variable to store Alignment. - - - - - internal variable to store Tab Count. - - - - - internal variable to store rgxTabs. - - - - - internal variable to store Space Before. - - - - - internal variable to store Space After. - - - - - internal variable to store Line Spacing. - - - - - internal variable to store Style. - - - - - internal variable to store Line Spacing Rule. - - - - - internal variable to store Out line Level. - - - - - internal variable to store Shading Weight. - - - - - internal variable to store Shading Style. - - - - - internal variable to store Numbering Start. - - - - - internal variable to store Numbering Style. - - - - - internal variable to store Numbering Tab. - - - - - internal variable to store Border Space. - - - - - internal variable to store Border Width. - - - - - internal variable to store Borders. - - - - - internal variable to store size. - - - - - internal variable to store Mask. - - - - - internal variable to store Effects. - - - - - internal variable to store Height. - - - - - internal variable to store Offset. - - - - - internal variable to store Text Color. - - - - - internal variable to store CharSet. - - - - - internal variable to store Pitch And Family. - - - - - internal variable to store Weight. - - - - - internal variable to store Spacing. - - - - - internal variable to store BackColor. - - - - - internal variable to store lcid. - - - - - internal variable to store Reserved. - - - - - internal variable to store Style. - - - - - internal variable to store Kerning. - - - - - internal variable to store Under line Type. - - - - - internal variable to store Animation. - - - - - internal variable to store RevAuthor. - - - - - internal variable to store Reserved. - - - - - Provides the data for a cancelable event. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //Begin Page Layout Event Handler - private void BeginPageLayout2(object sender, BeginPageLayoutEventArgs e) - { - e.Cancel=true; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - End Sub - 'Begin Page Layout Event Handler - Private Sub BeginPageLayout2(ByVal sender As object, ByVal e As BeginPageLayoutEventArgs) - e.Cancel=True - End Sub - - - - - - Indicates whether lay outing should be stopped. - - - - - Gets or sets a value indicating whether this is cancel. - - true if cancel; otherwise, false. - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - bounds = column; - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //Begin Page Layout Event Handler - private void BeginPageLayout2(object sender, BeginPageLayoutEventArgs e) - { - e.Cancel=true; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim rect As New RectangleF(0, 0, page.GetClientSize().Width, 50) - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - End Sub - 'Begin Page Layout Event Handler - Private Sub BeginPageLayout2(ByVal sender As object, ByVal e As BeginPageLayoutEventArgs) - e.Cancel=True - End Sub - - - - - - Provides data for event before lay outing the new page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //Begin Page Layout Event Handler - private void BeginPageLayout2(object sender, BeginPageLayoutEventArgs e) - { - RectangleF bounds = e.Bounds; - // First column. - if (!m_paginateStart) - { - bounds.X = bounds.Width + 20f; - bounds.Y = 10f; - } - e.Bounds = bounds; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'Begin Page Layout Event Handler - Private Sub BeginPageLayout2(ByVal sender As object, ByVal e As BeginPageLayoutEventArgs) - Dim bounds As RectangleF = e.Bounds - ' First column. - If (Not m_paginateStart) Then - bounds.X = bounds.Width + 20f - bounds.Y = 10f - End If - e.Bounds = bounds - End Sub - - - - - - The bounds of the lay outing on the page. - - - - - Page where the lay outing should start. - - - - - Initializes a new instance of the class with the specified rectangle and page - - The bounds. - The page. - - - - Gets or sets value that indicates the lay outing bounds on the page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //Begin Page Layout Event Handler - private void BeginPageLayout2(object sender, BeginPageLayoutEventArgs e) - { - RectangleF bounds = e.Bounds; - // First column. - if (!m_paginateStart) - { - bounds.X = bounds.Width + 20f; - bounds.Y = 10f; - } - e.Bounds = bounds; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'Begin Page Layout Event Handler - Private Sub BeginPageLayout2(ByVal sender As object, ByVal e As BeginPageLayoutEventArgs) - Dim bounds As RectangleF = e.Bounds - ' First column. - If (Not m_paginateStart) Then - bounds.X = bounds.Width + 20f - bounds.Y = 10f - End If - e.Bounds = bounds - End Sub - - - - - - Gets the page where the lay outing should start. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //Begin Page Layout Event Handler - private void BeginPageLayout2(object sender, BeginPageLayoutEventArgs e) - { - PdfPage page = e.pAGE; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'Begin Page Layout Event Handler - Private Sub BeginPageLayout2(ByVal sender As object, ByVal e As BeginPageLayoutEventArgs) - Dim page As PdfPage = e.Page - End Sub - - - - - - Provides data for event once lay outing completed on the new page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - m_columnBounds = column; - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Page Layout Event Handler - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Page Layout Event Handler - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - args.NextPage = tlr.Page - End Sub - - - - - - Layout result. - - - - - The next page for lay outing. - - - - - Initializes a new instance of the class. with the specified - - The result. - - - - Gets the lay outing result of the page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Page Layout Event Handler - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Page Layout Event Handler - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - args.NextPage = tlr.Page - End Sub - - - - - - Gets or sets a value indicating the next page where the element should be layout - - The default value is null. In this case the element will be layout on the next page. - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Page Layout Event Handler - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Page Layout Event Handler. - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - args.NextPage = tlr.Page - End Sub - - - - - - Represents the base class for classes that contain event data, and provides a value to use for events, once completed the text lay outing on the page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Text Page Layout Event - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Text Page Layout Event - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - args.NextPage = tlr.Page - End Sub - - - - - - Initializes a new instance of the class with the specified - - The result. - - - - Gets the lay outing result of the page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Text Page Layout Event - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Text Page Layout Event - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - End Sub - - - - - - Represents the method that will handle an event that before lay outing on the page. - - - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Page Layout Event Handler - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Page Layout Event Handler - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - args.NextPage = tlr.Page - End Sub - - - - - - Represents the method that will handle an event, once completed the text lay outing on the page. - - - - // Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - private bool m_paginateStart = true; - PdfSolidBrush brush = new PdfSolidBrush(Color.Black); - PdfPen pen = new PdfPen(Color.Black, 1f); - //Creates a new pdf font - PdfStandardFont pdfFont = new PdfStandardFont(PdfFontFamily.Helvetica, 11.5f); - Font font = new Font("Calibri", 14f, FontStyle.Bold); - PdfTrueTypeFont trueTypeFont = new PdfTrueTypeFont(font, true); - string path = @"..\..\Data\Essential studio.txt"; - StreamReader reader = new StreamReader(path, Encoding.ASCII); - string text = reader.ReadToEnd(); - reader.Close(); - RectangleF column = new RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height); - //Create text element - PdfTextElement element = new PdfTextElement(text, pdfFont); - element.Brush = new PdfSolidBrush(Color.Black); - PdfLayoutFormat layoutFormat = new PdfLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Raise the event when the text flows to next page. - element.BeginPageLayout += new BeginPageLayoutEventHandler(BeginPageLayout2); - //Get the remaining text that flows beyond the boundary. - PdfTextLayoutResult result = element.Draw(page, column, layoutFormat); - //Saves the document. - doc.Save("Sample.pdf"); - //End Text Page Layout Event Handler - private void EndPageLayout2(object sender, EndPageLayoutEventArgs e) - { - EndTextPageLayoutEventArgs args = (EndTextPageLayoutEventArgs)e; - PdfTextLayoutResult tlr = args.Result; - RectangleF bounds = tlr.Bounds; - args.NextPage = tlr.Page; - } - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim m_paginateStart As Bool= True - Dim brush As New PdfSolidBrush(Color.Black) - Dim pen As New PdfPen(Color.Black, 1f) - 'Creates a new pdf font - Dim pdfFont As New PdfStandardFont(PdfFontFamily.Helvetica, 11.5f) - Dim font As New Font("Calibri", 14f, FontStyle.Bold) - Dim trueTypeFont As New PdfTrueTypeFont(font, True) - Dim path As string = "..\..\..\..\..\..\..\..\..\Common\Data\PDF\Essential studio.txt" - Dim reader As New StreamReader(path, Encoding.ASCII) - Dim text As string = reader.ReadToEnd() - reader.Close() - Dim column As New RectangleF(0, 20, page.Graphics.ClientSize.Width / 2f - 10f, page.Graphics.ClientSize.Height) - 'Create text element - Dim element As New PdfTextElement(text, pdfFont) - element.Brush = New PdfSolidBrush(Color.Black) - Dim layoutFormat As New PdfLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Raise the event when the text flows to next page. - element.BeginPageLayout += New BeginPageLayoutEventHandler(BeginPageLayout2) - 'Get the remaining text that flows beyond the boundary. - Dim result As PdfTextLayoutResult = element.Draw(page, column, layoutFormat) - 'Saves the document. - doc.Save("Sample.pdf") - 'End Text Page Layout Event Handler - Private Sub EndPageLayout2(ByVal sender As object, ByVal e As EndPageLayoutEventArgs) - Dim args As EndTextPageLayoutEventArgs = CType(e, EndTextPageLayoutEventArgs) - Dim tlr As PdfTextLayoutResult = args.Result - Dim bounds As RectangleF = tlr.Bounds - args.NextPage = tlr.Page - End Sub - - - - - - Specifies type of paginating. - - - - - If the element exceeds the page, proceed it on the next page. - - - - - Draw the element on the one page only. - - - - - Specifies how the element should be contained on the page. - - - - - Fit the element according to the bounds specified or the page bounds. - - - - - If the element doesn't fit at the first page, don't draw it on this page. - - - - - Fit the columns withtin the page. - - - - - A Class representing Pdf document which is used for Cid Font Descryptor Factory. - - - - - Initializes a new instance of the class. - - The font family. - The font style. - The font metrics. - - - - Gets the system info. - - The font family. - The properly formed dictionary. - - - - A Class representing Pdf document which is used for Cjk Font Descryptor Factory. - - - - - Gets the font descryptor. - - The font family. - The font style. - The font metrics. - font Descryptor - - - - Fills the monotype sung light font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the heisei kaku gothic w5 font descryptor. - - The font descryptor. - The font style. - The font family. - The font metrics. - - - - Fills the hanyang systems shin myeong jo medium font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the heisei mincho w3 font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the sino type song light font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the monotype hei medium font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the hanyang systems gothic medium font descryptor. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the known info. - - The font descryptor. - The font family. - The font metrics. - - - - Fills the flags. - - The font descryptor. - The font family. - - - - Fills the font BBox. - - The font descryptor. - The font BBox. - - - - Represents the standard CJK fonts. - - - - - Defines a particular format for text, including font face, size, and style attributes. - - - - - Multiplier of the symbol width. - - - - - Synchronization object. - - - - - Size of the font. - - - - - Style of the font. - - - - - Metrics of the font. - - - - - PDf primitive of the font. - - - - - Initializes a new instance of the class. - - The size. - - - - Initializes a new instance of the class. - - The size. - The style. - - - - Measures a string by using this font. - - String to measure. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Number of characters in the string. - Number of text lines in the string. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - Maximum width of the string in points. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - Maximum width of the string in points. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - Maximum width of the string in points. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Number of characters in the string. - Number of text lines in the string. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - SizeF structure that specifies the maximum layout area for the text in points. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - SizeF structure that specifies the maximum layout area for the text in points. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Size of the text. - - - - Measures a string by using this font. - - String to measure. - SizeF structure that specifies the maximum layout area for the text in points. - PdfStringFormat that represents formatting information, such as line spacing, for the string. - Number of characters in the string. - Number of text lines in the string. - Size of the text. - - - - Checks whether the object is similar to another object. - - The object to compare with the current object. - True - if the objects have equal internals and can share them, False otherwise. - - - - Returns internals of the object. - - Returns internals of the object. - - - - Sets internals to the object. - - Internals of the object. - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False otherwise. - - - - Returns width of the char. - - Char symbol. - String format. - Width of the symbol. - - - - Returns width of the line. - - Text line. - String format. - Width of the line. - - - - Sets the style. - - The style. - - - - Applies settings to the default line width. - - Text line. - String format. - Default line width. - Line width with settings applied. - - - - Gets the face name of this Font. - - A string representation of the face name of this . - - - - Gets the size of this font. - - The em-size of this Font. - - - - Gets the height of the font in points. - - - - - Gets the style information for this font. - - - - - Gets a value indicating whether this is bold. - - true if bold; otherwise, false. - - - - Gets a value indicating whether this has the italic style applied. - - true if italic; otherwise, false. - - - - Gets a value indicating whether this is strikeout. - - true if strikeout; otherwise, false. - - - - Gets a value indicating whether this is underline. - - true if underline; otherwise, false. - - - - Gets or sets the metrics for this font. - - - - - Gets Pdf primitive representing the font. - - - - - First character position. - - - - - Font family - - - - - Initializes a new instance of the class with the specified , size and style - - The font family. - The size. - The style. - - - - Initializes a new instance of the class with the specified and size - - The font family. - The size. - - - - Initializes a new instance of the class with the specified and size - - The prototype. - The size. - - - - Initializes a new instance of the class with the specified , size and style - - The prototype. - The size. - The style. - - - - Checks whether fonts are equals. - - Font to compare. - - True if fonts are equal, False otherwise. - - - - - Returns width of the char. - - Char symbol. - String format. - Width of the symbol. - - - - Returns width of the line. - - Text line. - String format. - Width of the line. - - - - Initializes the internals. - - - - - Creates font's dictionary. - - font's dictionary. - - - - Returns descendant font. - - Returns descendant font. - - - - Gets the prope CJK encoding. - - The font family. - Proper PDF name for the encoding. - - - - Checks the style. - - - - - Gets the char width internal. - - The character code. - The format. - The width of the character. - - - - Gets the CJK font family. - - - - - A Class representing Pdf document which is used for Cjk Font Metrics Factory. - - - - - Multiplier of subscript superscript. - - - - - Initializes a new instance of the class. - - - - - Returns font metrics depending on the font settings. - - Font family. - Font style. - Size of the font. - Returns font metrics depending on the font settings. - - - - Gets the hanyang systems gothic medium font metrix. - - The font family. - The font style. - The size. - The filled font metrix. - - - - Gets the monotype hei medium metrix. - - The font family. - The font style. - The size. - The proper PdfFontMetrics class instance. - - - - Gets the monotype sung light metrix. - - The font family. - The font style. - The size. - The proper PdfFontMetrics class instance. - - - - Gets the sino type song light font metrics. - - The font family. - The font style. - The size. - PdfFontMetrics instance. - - - - Gets the heisei mincho w3. - - The font family. - The font style. - The size. - The proper PdfFontMetrics class instance. - - - - Gets the heisei kaku gothic w5 metrix. - - The font family. - The font style. - The size. - The proper PdfFontMetrics class instance. - - - - Gets the hanyang systems shin myeong jo medium metrix. - - The font family. - The font style. - The size. - The proper PdfFontMetrics class instance. - - - - Metrics of the font. - - - - - Gets ascent of the font. - - - - - Gets descent of the font. - - - - - Name of the font. - - - - - Gets PostScript Name of the font. - - - - - Gets size of the font. - - - - - Gets height of the font. - - - - - First char of the font. - - - - - Last char of the font. - - - - - Line gap. - - - - - Subscript size factor. - - - - - Superscript size factor. - - - - - Gets table of glyphs' width. - - - - - Indicate whether the ttfreader font has bold style. - - - - - Returns ascent taking into consideration font's size. - - Text format settings. - Returns ascent taking into consideration font's size. - - - - Returns descent taking into consideration font's size. - - Text format settings. - Returns descent taking into consideration font's size. - - - - Returns Line gap taking into consideration font's size. - - Text format settings. - Returns line gap taking into consideration font's size. - - - - Returns height taking into consideration font's size. - - Text format settings. - Returns height taking into consideration font's size. - - - - Calculates size of the font depending on the subscript/superscript value. - - Text format settings. - Size of the font depending on the subscript/superscript value. - - - - Clones the metrics. - - Cloned metrics. - - - - Gets or sets the width table. - - - - - The base class for a width table. - - - - - Clones this instance of the WidthTable class. - - A copy of this WidthTable instance. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Toes the array. - - - - - - Gets the at the specified index. - - index - - - - Implements a width table for standard fonts. - - - - - The widths of the supported characters. - - - - - Initializes a new instance of the class. - - The widths table. - - - - Clones this instance of the WidthTable class. - - A copy of this WidthTable instance. - - - - Converts width table to a PDF array. - - The properly formed pdf array. - - - - Gets the at the specified index. - - index - - - - Gets the length of the internal array. - - - - - Implements CJK width table, which is quite complex. - - - - - Local variable to store the width. - - - - - Local variable to store the default width. - - - - - Initializes a new instance of the class. - - The default width of the CJK characters. - This value will be returned if there is no width information for a character. - - - - Adds the specified widths. - - The CJK widths. - - - - Clones this instance of the WidthTable class. - - A copy of this WidthTable instance. - - - - Converts width table to a PDF array. - - A well formed PDF array. - - - - Gets the default character width. - - - - - Gets the at the specified index. - - index - - - - The base class of CJK widths types. - - - - - Appends internal data to a PDF array. - - The pdf array. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Clones this instance. - - The proper copy of this instance. - - - - Gets the starting character. - - - - - Gets the ending character. - - - - - Gets the width of the specified character. - - - - - Implements capabilities to control a range of character with the same width. - - - - - The Form - - - - - The to - - - - - The Width - - - - - Initializes a new instance of the class. - - From. - To. - The width. - - - - Appends internal data to a PDF array. - - The pdf array. - - - - Clones this instance. - - The proper copy of this instance. - - - - Gets the starting character. - - - - - Gets the ending character. - - - - - Gets the width of the specified character. - - - - - Implements capabilities to control a sequent range of characters with different width. - - - - - The form - - - - - The width - - - - - Initializes a new instance of the class. - - From. - The widths. - - - - Appends internal data to a PDF array. - - The pdf array. - - - - Clones this instance. - - The proper copy of this instance. - - - - Gets the starting character. - - - - - Gets the ending character. - - - - - Gets the width of the specified character. - - - - - Represents one of the 14 standard PDF fonts. - It's used to create a standard PDF font to draw the text in to the PDF - - - - - First character position. - - - - - FontFamily of the font. - - - - - Initializes a new instance of the class with font family and it's size - - The font family. - The size of the font. - - - - Initializes a new instance of the class with font family, size and font style - - The font family. - The size of the font. - The style of the font. - - - - Initializes a new instance of the class with as prototype and font size - - The using as prototype. - The size of the font. - - - Initializes a new instance of the class with as prototype,font size and font style - The using as prototype.. - The size of the font. - The style of the font. - - - - Returns the width of the char. - - Char symbol. - String format. - Width of the symbol. - - - - Returns width of the line. - - Text line. - String format. - Width of the line. - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False otherwise. - - - - Initializes font internals. - - - - - Creates font's dictionary. - - font's dictionary. - - - - Checks font style of the font. - - - - - Returns width of the char. This methods doesn't takes into consideration font's size. - - Char symbol. - String format. - Width of the symbol. - - - - Converts the specified text. - - The unicode text. - The ANSI string. - - - - Gets the FontFamily. - - The - - - - Factory of the standard fonts metrics. - - - - - Multiplier os subscript superscript. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Ascender value for the font. - - - - - Ascender value for the font. - - - - - Font type. - - - - - Arial widths table. - - - - - Arial bold widths table. - - - - - Fixed widths table. - - - - - Times widths table. - - - - - Times bold widths table. - - - - - Times italic widths table. - - - - - Times bold italic widths table. - - - - - Symbol widths table. - - - - - Zip dingbats widths table. - - - - - Initializes a new instance of the class. - - - - - Returns metrics of the font. - - Family of the font. - Style of the font. - Size of the font. - Returns metrics of the font. - - - - Creates Helvetica font metrics. - - FontFamily of the font. - Style of the font. - Size of the font. - Helvetica font metrics. - - - - Creates Courier font metrics. - - FontFamily of the font. - Style of the font. - Size of the font. - Helvetica font metrics. - - - - Creates Times font metrics. - - FontFamily of the font. - Style of the font. - Size of the font. - Helvetica font metrics. - - - - Creates Symbol font metrics. - - FontFamily of the font. - Style of the font. - Size of the font. - Helvetica font metrics. - - - - Creates ZapfDingbats font metrics. - - FontFamily of the font. - Style of the font. - Size of the font. - Helvetica font metrics. - - - - Represents the text layout information on PDF - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page to the document. - PdfPage page = document.Pages.Add(); - //Create PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Use the font installed in the machine - PdfFont font = new PdfTrueTypeFont(new Font("Arial", 14)); - //Create PDF text element - PdfTextElement element = new PdfTextElement("Hello World!!!", font, PdfBrushes.Black); - //Create layout format - PdfLayoutFormat format=new PdfLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw the text with layout format - element.Draw(page, new RectangleF(0, 0, 200, 400), format); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Create PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Use the font installed in the machine - Dim font As PdfFont = New PdfTrueTypeFont(New Font("Arial", 14)) - 'Create PDF text element - Dim element As New PdfTextElement("Hello World!!!", font, PdfBrushes.Black) - 'Create layout format - Dim format As New PdfLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw the text with layout format - element.Draw(page, New RectangleF(0, 0, 200, 400), format) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - Horizontal text alignment. - - - - - Vertical text alignment. - - - - - Indicates whether RTL should be checked. - - - - - Character spacing value. - - - - - Word spacing value. - - - - - Text leading. - - - - - Shows if the text should be a part of the current clipping path. - - - - - Indicates whether the text is in subscript or superscript mode. - - - - - The scaling factor of the text being drawn. - - - - - Indent of the first line in the text. - - - - - Indent of the first line in the paragraph. - - - - - Indicates whether entire lines are laid out in the formatting rectangle only or not. - - - - - Indicates whether spaces at the end of the line should be left or removed. - - - - - Indicates whether the text region should be clipped or not. - - - - - Indicates text wrapping type. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with horizontal alignment of a text - - The represents the horizontal alignment of a text in PDF . - - - - Initializes a new instance of the class with column format - - The column format. - - - Initializes a new instance of the class with horizontal and vertical alignment - The represents the horizontal alignment of a text in PDF . - The represents the vertical alignment of a text in PDF - - - - Clones the object. - - The new created object. - - - - Gets or sets the horizontal text alignment - - The represents the horizontal alignment of a text in PDF - Default value: PdfTextAlignment.Left - - - - Gets or sets the vertical text alignment. - - The represents the vertical alignment of a text in PDF - Default Value: PdfVerticalAlignment.Top - - - - Gets or sets the value that indicates text direction mode. - - true if RightToLeft; otherwise, false. - Note, that this property doesn't change any alignment of the text. - property should be set manually to align the text. This property just enables or disables - support of right to left approach. - If the value is False, the text won't be checked for right to left symbols occurrence. This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets value that indicates a size among the characters in the text. - When the glyph for each character in the string is rendered, this value is - added to the glyph�s displacement. - - - Default value is 0. - - - - Gets or sets value that indicates a size among the words in the text. - Word spacing works the same way as character spacing but applies only to the - space character, code 32. - - Default value is 0. - - - - Gets or sets value that indicates the vertical distance between the baselines of adjacent lines of text. - - Default value is 0. - - - - Gets or sets a value indicating whether the text - should be a part of the clipping path. - - true if ClipPath; otherwise, false. - - - - Gets or sets value indicating whether the text is in subscript or superscript mode. - - The indicating whether the text is in subscript or superscript mode - - - - Gets or sets the indent of the first line in the paragraph. - - - - - Gets or sets a value indicating whether [line limit]. - - true if [line limit]; otherwise, false. - - - - Gets or sets a value indicating whether [measure trailing spaces]. - - - true if [measure trailing spaces]; otherwise, false. - - - - - Gets or sets a value indicating whether [no clip]. - - true if [no clip]; otherwise, false. - - - - Gets or sets value indicating type of the text wrapping. - - The indicating type of the text wrapping - - - - Gets or sets the scaling factor. - - The default scaling factor is 100, which means 100% and original size. - It's used to make PDF font looking smaller when metafile is rendered into PDF. - - - - Gets or sets the indent of the first line in the text. - - - - - Represents TrueType font. - - [System.Security.Permissions.PermissionSet( System.Security.Permissions.SecurityAction.Assert, Name = "FullTrust" )] - - - - Code page for the encoding. - - - - - Encoding for the font. - - - - - Indicates whether the font should be embeded. - - - - - Indicates whether the font should use unicode symbols. - - - - - Internal font object. - - - - - - - - - - used to store style of the font - - - - - Indicates whether the font embeding is enabled or disabled . - - - - Initializes a new instance of the class with specified Font - The system font that defines the text format of the string - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - Initializes a new instance of the class with font and Boolean flag to set the Unicode of the PDF font - This Constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The system font that defines the text format of the string - The boolean flag represents the support of unicode text - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page to the document. - PdfPage page = document.Pages.Add(); - //Create PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Create a truetype font - PdfFont font = new PdfTrueTypeFont(new Font("Arial", 14),true); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Create PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Create a truetype font - Dim font As PdfFont = New PdfTrueTypeFont(New Font("Arial", 14), True) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - Initializes a new instance of the class. - - The system font that defines the text format of the string - The boolean flag represents the support of unicode text - - - - Initializes a new instance of the class with font and it's size - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The system font that defines the text format of the string - The size of the font. - - - Initializes a new instance of the class with font, size and Boolean flag to set Unicode. - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The system font that defines the text format of the string - The size of the font. - The boolean flag represents the support of unicode text - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page to the document. - PdfPage page = document.Pages.Add(); - //Create PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Create a truetype font - PdfFont font = new PdfTrueTypeFont(new Font("Arial", 14),12,true); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Create PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Create a truetype font - Dim font As PdfFont = New PdfTrueTypeFont(New Font("Arial", 14), 12, True) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - This constructor is specific for removing font from cach collection. - - - - - - - - - - - This constructor is specific for removing font from cach collection. - - - - - - - - - - Initializes a new instance of the class with font,font style,size,Boolean flag to set Unicode and Boolean flag to embed the font into the PDF - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - the system font that defines the text format of the string - The style of the font. - The size of the font. - the boolean flag represents the support of unicode text - the boolean flag represents to embed the font into the pdf - - - Initializes a new instance of the class with the path of the font file which has the extension of .ttf and it's size - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The font file path which has the extension of .ttf. - The size of the font. - - - - Initializes a new instance of the class. - - The font file path which has the extension of .ttf - The size of the font. - Type of the is true. - - - Initializes a new instance of the class with the path of the font file which has the extension of .ttf, size and font style - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The font file path. - The size of the font. - The style of the font. - - - - Initializes a new instance of the class. - - The font file. - The size. - The style. - - - - Initializes a new instance of the class. - - The font file. - The size. - The style. - - - - Initializes a new instance of the class. - - Font Stream. - Size of the font. - - - - Initializes a new instance of the class. - - The font stream. - The size. - - - - Initializes a new instance of the class with prototype and it's size - - The PdfTrutypeFont using as a prototype. - The size of the font. - - - - Initializes a new instance of the class. - - The prototype. - The size. - - - - Releases unmanaged resources and performs other cleanup operations before the - is reclaimed by garbage collection. - - - - - Releases all resources of the font. - - Don't dispose the font until the corresponding document is closed. - - - - Returns width of the char. - - Char symbol. - String format. - Width of the symbol. - - - - Returns width of the line. - - Text line. - String format. - Width of the line. - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False otherwise. - - - - Stores used symbols. - - String text. - - - - Stores used symbols. - - Glyphs, used by the line of the text. - - - - Creates internal font object. - - System font. - - - - Creates internal font object. - - Font file. - Suggested style of the font. - - - - Creates a new font from a prototype font. - - Prototype object. - - - - Creates internal font object. - - Font file. - Suggested style of the font. - - - - Initializes font internals. - - - - - Sets the style of the font. - - Suggested style of the font. - - - - Calculates size of the symbol. - - Symbol. - String format. - Symbol size. - - - - Calcuates width of the unicode line. - - String text. - Width of the line. - True if success, false otherwise. - - - Gets a value indicating whether this is Unicode enabled (Read only). - - true if Unicode; otherwise, false. - - - - Gets a value indicating whether this is embeded it to the PDF document - - true if embeded; otherwise, false. - - - - Gets internals of the font. - - - - - Gets font object of this font. - - - - - Gets path to the font file if the font was created from a file. - - - - - Represents the used fonts in a PDF document. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Initializes a new instance of the class. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The font. - - - - Replaces the specified new font. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The new font. - - - - Initializes the internals. - - The font. - - - - Gets the actual name of the font. - - - - - - Checks the preambula. - - - - - Gets the internal font. - - The internal font. - - - - Gets the name. - - The name. - - - - Gets the size. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The size. - - - - Gets the style. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The style. - - - - Gets the type. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The type. - - - - Gets the actual name of the font. - - The actual name of the font. - - - - Renderers text and layouts it for RTL support. - - - - - Open bracket symbol. - - - - - Close bracket symbol. - - - - - Bitmap used for text shaping. - - - - - Initializes a new instance of the class. - - - - - Layouts text. Changes blocks position in the RTL text. - Ligates the text if needed. - - Line of the text. - Font to be used for string printing. - Font alignment. - Indicates whether Word Spacing used or not. - Layout string. - - - - Layouts a string and splits it by the words and using correct lay outing. - - Text line. - Font object. - Indicates whether RTL should be applied. - Indicates whether word spacing is used. - Array of words if converted, null otherwise. - - - - Determines whether the specified word is english. - - The word. - - true if the specified word is english; otherwise, false. - - - - - Copies words remaining their order. - - The words. - The start index. - The number of the words. - The resulting array. - Index of the result. - - - - Uses system API to layout the text. - - Line of the text to be layouted. - Font which is used for text printing. - Indicates whether we use RTL or RTL lay outing of the text container. - If true - word spacing is used. - Layout string. - - - - Uses system API to layout the text. - - Line of the text to be layouted. - Font which is used for text printing. - Indicates whether we use RTL or RTL lay outing of the text container. - Layout string. - - - - Uses manual algorithm for text lay outing. - - Line of the text to be layouted. - Font which is used for text printing. - Indicates whether we use RTL or RTL lay outing of the text container. - If true - word spacing is used. - layout string array. - - - - Uses manual algorithm for text lay outing. - - Line of the text to be layouted. - Indicates whether we use RTL or RTL lay outing of the text container. - layout string. - - - - Reverses the words if they're RTL. - - The words. - The reversed words. - Keep English words in original order. - - - - Retrieves array of glyph indices. - - Line of the text. - Current font. - Indicates whether we use RTL or RTL lay outing of the text container. - Array of glyph indices. - True - if succeed, False otherwise. - - - - Breaks string to the blocks of the runs. - - String to be itemized. - Indicates whether text container is in RTL form or not. - Array describing each run. - Count of the runs in the string. - True - if operation succeed, False otherwise. - - - - Renders each run from the string. - - Input string text. - Run descriptors. - Font to be used for text printing. - Count of the significant runs in the array. - Visual to logical order of the runs. - Resulting glyphs for the specified font. - True - if operation succeed, False otherwise. - - - - Layouts the runs in the visual form. - - Bidi array of the runs. - Count of the runs. - Pointer to an array that receives the run levels reordered to visual order. - Pointer to an array that receives the visual run positions. - True - if succeed, False otherwise. - - - - Adds glyphs to the array. - - Array of the glyphs. - Contains glyphs. - Count of the glyphs. - - - - Gets bidi level for the runs. - - Runs desciprtors. - Count of the runs - Bidi level array. - - - - Add information about used glyphs to the font. - - Font used for text rendering. - Array of used glyphs. - String in the form to be written to the file. - - - - Add information about used glyphs to the font. - - Font used for text rendering. - Line of the text. - String in the form to be written to the file. - - - - Layouts a string and splits it by the words by using system lay outing. - - Text line. - Font object. - Indicates whether RTL should be applied. - Indicates whether word spacing is used. - Array of words if converted, null otherwise. - - - - Converts string data to RtL format if data contain any RtL symbols. - - Text data being converted. - Converted data. - - - - Converts string data to LtR format if data contain any RtL symbols. - - Text data being converted. - Converted data. - - - - Checks if current symbol is euro number. - - Array of elements types. - Index of current symbol. - True - if current symbol is euro number, False otherwise. - - - - Checks if current symbol is euro number. - - Array of elements types. - Index of current symbol. - True - if current symbol is euro number, False otherwise. - - - - Presevres symbol fro source string data and saves it to new string data. - - Array of new resulting data. - Current processing symbol. - Indicates if we process text in RTL or not. - Index of current symbol. - Length of symbols group. - - - - Checks if array of flags contains at least on RTL symbol. - - Array of flags. - True if array of flags contains at least on RTL symbol, False otherwise. - - - - Formats text which is writing from left to right. - - Array of symbols. - Current symbol. - Indicates if we process text in RTL or not. - Index of current symbol. - Length of symbols group. - - - - Reverses brackets in the text. - - Array of symbols. - Current symbol. - Index of current symbol. - Length of symbols group. - - - - Checks if symbol code is LTR text. - - Symbol code. - True - if symbol code is LTR text, False othervise. - - - - Checks if symbol code is RTL text or number. - - Symbol code. - True - if symbol code is RTL text or number, False othervise. - - - - Checks if symbol code is RTL text. - - Symbol code. - True - if symbol code is RTL text, False othervise. - - - - Checks if symbol code is euro number with separators. - - Symbol code. - True - if symbol code is euro number with separators, False othervise. - - - - Checks if symbol code is euro number. - - Symbol code. - True - if symbol code is euro number, False othervise. - - - - Checks if symbol code has euro terminator format. - - Symbol code. - True - if symbol code has euro terminator format, False othervise. - - - - Checks if symbol code is whitespace. - - Symbol code. - True - if symbol code is whitespace, False othervise. - - - - Checks if symbol is bracket. - - Symbol code. - True - if symbol is bracket, False othervise. - - - - Layouts a string and splits it by the words by using custom lay outing. - - Text line. - Font object. - Indicates whether RTL should be applied. - Indicates whether word spacing is used. - Array of words if converted, null otherwise. - - - - Class lay outing the text. - - - - - Text data. - - - - - Pdf font. - - - - - String format. - - - - - Bounds of the text. - - - - - String tokenizer. - - - - - Initializes a new instance of the class. - - - - - Layouts the text. - - String text. - Font for the text. - String format. - Bounds of the text. - Layout result. - - - - Initializes internal data. - - String text. - Font for the text. - String format. - Bounds of the text. - - - - Layouts the text. - - Lay outing data. - - - - Copies layout result from line result to entire result. Checks whether we can proceed lay outing or not. - - Final result. - Line result. - Lines array. - Number of symbols inserted. - True if we can proceed, False - to stop lay outing. - - - - Finalizes final result. - - Final result. - Lines array. - - - - Cleares all resources. - - - - - Calculates height of the line. - - Height of the line. - - - - Layouts line. - - Text line. - Line indent. - Layout result. - - - - Adds line to line result. - - Line resut. - Array of the lines. - Text line. - Line width. - Line break type. - - - - Trims whitespaces at the line. - - Line info. - Indicates whether the line is the first in the text. - Trimed line info. - - - - Calculates width of the line. - - String line. - Width of the line. - - - - Returns line indent for the line. - - If true - the line is the first in the text. - Line indent for the line. - - - - Returns wrap type. - - Returns wrap type. - - - - Layouter result. - - - - - Layouted lines. - - - - - The text wasn't lay outed. - - - - - Actual layouted text bounds. - - - - - Height of the line. - - - - - Gets the text which is not lay outed - - - - - Gets the actual layouted text bounds - - - - - Gets layouted lines information. - - - - - Gets the height of the line. - - - - - Gets value that indicates whether any text was layouted. - - - - - Gets number of the lines layouted. - - - - - Provides a line information - - - - - Line text. - - - - - Width of the text. - - - - - Breaking type of the line. - - - - - Gets the width of the line text. - - - - - Gets the line text. - - - - - Gets width of the line text. - - - - - Break type of the line. - - - - - Unknown type line. - - - - - The line has new line symbol. - - - - - layout break. - - - - - The line is the first in the paragraph. - - - - - The line is the last in the paragraph. - - - - - Utility class for working with strings. - - - - - Whitespace symbol. - - - - - Whitespace symbol. - - - - - Default RegEx checks object's options. - - - - - Pattern for WhiteSpace. - - - - - Array of spaces. - - - - - Whitespace regex. - - - - - Text data. - - - - - Current position. - - - - - Initializes a new instance of the class. - - The text. - - - - - Returns number of symbols occurred in the text. - - Text data. - Symbol to be searched. - - Number of symbols occurred in the text. - - - - - - Returns number of symbols occurred in the text. - - Text data. - Array of symbols to be searched. - - Number of symbols occurred in the text. - - - - - Reads line of the text. - - Text line. - - - - Reads line of the text. - - Text line. - - - - reads a word from the text. - - A word from the data. - - - - Peeks a word from the text. - - A word from the data. - - - - Reads char form the data. - - Char symbol. - - - - Reads count of the symbols. - - Number of symbols. - String text. - - - - Reads data till the symbol. - - Specified symbol. - If true - to read the symbol. - The data read. - - - - Peeks char form the data. - - Char symbol. - - - - Closes a reader. - - - - - Reads text to the end. - - Reads text to the end. - - - - Indicates whether user specified token is whitespace symbols or not. - - Token to check. - True if token is whitespace; False otherwise. - - - - Indicates whether user specified token is whitespace symbols or not. - - Token to check. - True if token is whitespace; False otherwise. - - - - Indicates whether user specified token is tab symbols or not. - - Token to check. - True if token is whitespace; False otherwise. - - - - Calculates number of the whitespace symbols at the start or at the end of the line. - - String line. - If true - check start of the line, end of the line otherwise. - Number of the whitespace symbols at the start or at the end of the line. - - - - Checks whether array contains a symbol. - - Array of symbols. - Char symbol. - True - if comtains, False otherwise. - - - - Gets a value indicating whether this is EOF. - - true if EOF; otherwise, false. - - - - Gets text length. - - - - - Gets or sets the position. - - The position. - - - - Creator of TrueType type font. - - - - - Base interface for true type internal fonts. - - - - - Gets the pdf primitive. - - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False ofhtrwise. - - - - Creates font internals. - - - - - Returns width of the char symbol. - - Char symbol. - Width of the char symbol in universal units. - - - - Returns width of the text line. - - String line. - Width of the char symbol in universal units. - - - - Releases all resources. - - - - - Gets system font. - - - - - Gets size of the font. - - - - - Gets font metrics. - - - - - Suffix for bold font name. - - - - - Suffix for bold italic font name. - - - - - Suffix for italic font name. - - - - - Coefficient for calculating font size. - - - - - Display driver name. - - - - - String for generating font name. - - - - - Indicates whether truetypefont has to be emdeded - - - - - ttf reader object. - - - - - Ttf metrics structure. - - - - - System font. - - - - - Size of the font. - - - - - Array of used chars. - - - - - Pdf primitive describing the font. - - - - - Font program. - - - - - Holds font-specific info such as first char/last char, etc. - - - - - Font metrics. - - - - - Indicates the azure rendering - - - - - Initializes a new instance of the class. - - The font. - The size. - - - - Initializes a new instance of the class. - - The font. - The size. - if set to true [embed]. - - - - Creates font program. - - Font program. - - - - Returns binary reader of the font's data. - - Returns binary reader of the font's data. - - - - Gets binary data of font. - - Font object. - Bimary data from font file. - - - - Gets Pdf primitive reprsenting font. - - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False otherwise. - - - - Creates font internals. - - - - - Runs before font program stream save. - - Sender of the event. - Event arguments. - - - - Generates font program. - - - - - Stores used symbols. - - String text. - - - - Returns width of the char symbol. - - Char symbol. - Width of the char symbol in universal units. - - - - Returns width of the text line. - - String line. - Width of the char symbol in universal units. - - - - All resources are being to be closed. - - - - - Creates font dictionary. - - Font descriptor. - - - - Creates font descriptor. - - Font descriptor object. - - - - Retrieves data from the font. - - - - - Calculates BoundBox of the descriptor. - - BoundBox of the descriptor. - - - - Calculates flags for the font descriptor. - - Flags for the font descriptor. - - - - Infills font metrics. - - Graphics DC. - - - - Creates width table. - - Graphics DC. - Width table. - - - - Returns error message. - - Returns error message. - - - - Gets the name of the font. - - string - - - - Formats name - - - - - Indicates whether byte of font name needs special formatting. - - - - - Indicates whether byte of font name needs special formatting. - - - - - Gets a value indicating whether font is symbolic - - - - - Gets a value indicating whether font is fixed pitch - - - - - Gets a value indicating whether font is script - - - - - Gets a value indicating whether font is serif - - - - - Gets size of the font. - - - - - Gets system font. - - - - - Gets font metrics. - - - - - Gets ttf reader. - - - - - Reader of the TTF data. - - - - - Width multiplier. - - - - - Version of Ttf file. - - - - - Version of Ttf file. - - - - - FP. - - - - - Encoding class. - - - - - Aray of table names. - - - - - Array of table names. - - - - - Integer's table. One of this integer would be used as a key - for writing some info in the header of the font program. - - - - - Binary reader object. - - - - - The whole list of tables loaded from Ttf. - - - - - Ttf metrics. - - - - - Width table. - - - - - Glyphs for Macintosh or Symbol fonts (char - key, glyph - value). - - - - - Glyphs for Microsoft Unicode fonts (char - key, glyph - value).. - - - - - Glyphs for Macintosh or Symbol fonts (glyph index - key, glyph - value). - - - - - Glyphs for Microsoft Unicode fonts (glyph index - key, glyph - value). - - - - - Indicates whether loca table is short. - - - - - Indicates whether font is truetype subset - - - - - Indicates the azure rendering - - - - - Indicates the current font which is currently under processing. - - - - - Static constructor. - - - - - Creates a new object. - - The reader. - - - - Creates a new object. - - The reader. - - - - Closes all the resources. - - - - - Gets glyph's info by char code. - - Char symbol. - - - - Gets glyph's info by glyph index.. - - Glyph index. - - - - Creates fonts internals. - - - - - Reads a font's program. - - Array of used chars. - Binary font data. - - - - Reconverts string to be in proper format saved into PDF file. - Return value would be in string. - - String to be reconverted. - Reconverted string. - - - - Gets char width. - - Char for which to measure the width. - Char width. - - - - Gets hashtable with chars indexed by glyph index. - - Chars that are used in destination output. - Hashtable with chars indexed by glyph index. - - - - Provides basic parsing required for font comparing (FontFamily and MacStyle). - - - - - Reads font directory. - - - - - Fixes the offsets of the font tables. - - - - - Reads font metrics. - - - - - Initializes metrics. - - Name table. - Head table. - Horizontal head table. - OS/2 table. - Post table. - Cmap subtables. - - - - Reads name table. - - Name table. - - - - Reads head table. - - Head table. - - - - Reads horizontal header table. - - Horizontal header table. - - - - Reads OS2 table. - - - - - - Reads post table. - - - - - - Reads Width of the glyphs. - - Number of glyphs. - Power of 2. - Width of the glyphs. - - - - Reads cmap table. - - Array of subtables. - - - - Reads cmap subtables. - - Cmap subtable. - - - - Reads Symbol cmap table. - - Cmap subtable. - Encoding ID. - - - - Reads Symbol cmap table. - - Cmap subtable. - Encoding ID. - - - - Reads Trimed cmap table. - - Cmap subtable. - Encoding ID. - - - - Reads loca table. - - If True - table is int16, int32 otherwise. - Loca table. - - - - Reads ushort array. - - Length of the array. - Ushort array. - - - - Reads uint array. - - Length of the array. - Uint array. - - - - Adds glyph to the collection. - - Glyph info. - Encoding ID. - - - - Returns width of the glyph. - - Code of the glyph. - Returns width of the glyph. - - - - Updates chars structure which is used in the case - of ansi encoding (256 bytes). - - - - - Indicates whether code is right Ttf preambula code: - - - - - Gets CMAP encoding based on platform ID and encoding ID. - - - - - Returns table. - - Name of the table. - Returns table. - - - - Updates hashtable of used glyphs. - - Dictionary of used glyphs. - Loca table. - - - - Checks if glyph is composite or not. - If True, it provides additional work. - - Dictionary of glyphs. - Glyph index. - Loca table. - - - - Creates new glyph tables based on chars that are used for output. - - dictionary of glyphs. - Loca table. - The updated table that stores the offsets to the - locations of the glyphs in the font. - The updated glyph table that holds only the glyphs that - are used for destination output. - Glyph table size. - - - - Updates new Loca table. - - New Loca table. - Indicates whether loca is short. - Updated new loca table. - Updated loca table size. - - - - Returns font program data. - - New updated loca table. - New glyph table. - Size of glyph table. - Size of loca table. - Font program data. - - - - Calculate size of the font program. - - Updated new loca table. - New glyph table. - Number of tables used. - Size of the font program. - - - - Gets checksum from source buffer. - - Byte array. - - - - Writing to destination buffer - checksums and sizes of used tables. - - Writer object. - Number of tables. - New updated loca table. - New glyph table. - Size of glyph table. - Size of loca table. - - - - // Writing to destination buffer - used glyphs. - - Writer object. - New updated loca table. - New glyph table. - - - - Initializes font name. - - Name table. - - - - Reads structure from the binary reader. - - Binary reader class. - Type of teh structure. - Structure object. - - - - Aligns number to be divisible on 4. - - - - - Returns default glyph. - - Returns default glyph. - - - - Gets the font data. - - The font. - Name of the table. - - - - - Checks for the additional offset of the tables. - - TTF table. - Name of the table. - Additional ofset of the tables. - Reader of the data. - - - - Checks whether two arrays are equal. - - The first array. - The second array. - True if arrays are equal. - - - - Formats name of the table to int value. - - Name of the table. - Code of the table name. - - - - Gets or sets binary reader. - - - - - Gets BigEndian internal reader. - - - - - Gets metrics of the font. - - - - - The whole list of tables loaded from Ttf. - - - - - Gets glyphs for Macintosh or Symbol fonts (char - key, glyph - value). - - - - - Gets glyphs for Microsoft Unicode fonts (char - key, glyph - value).. - - - - - Gets glyphs for Macintosh or Symbol fonts (glyph index - key, glyph - value). - - - - - Gets glyphs for Microsoft Unicode fonts (glyph index - key, glyph - value). - - - - /// - Array of table names. - - Table names - - - - Gets the font. - - The font. - - - - Indicates the truetypefont is subet - - true if embeded subset; otherwise, false. - - - - Creator of Unicode TrueType type font. - - - - - Display driver name. - - - - - String for generating font name. - - - - - Cmap table's start prefix. - - - - - Cmap table's start suffix. - - - - - Cmap table's end - - - - - Cmap's begin range marker. - - - - - Cmap's end range marker. - - - - - Cmap's next range default value - - - - - Default registry's value - - - - - Index of the default symbol. - - - - - Length of Cid Stream - - - - - - - - - - System font. - - - - - Path to ttf file. - - - - - Size of the font. - - - - - Font metrics. - - - - - Pdf primitive describing the font. - - - - - Descendant font. - - - - - font descripter - - - - - Font program. - - - - - Cmap stream. - - - - - Cid set stream - - - - - ttf reader object. - - - - - Array of used chars. - - - - - Name of the font subset. - - - - - Ttf metrics structure. - - - - - Specifies the composite font types. - - - - - Indicates the azure rendering - - - - - creates a new object. - - Font object. - Font size. - - - - creates a new object. - - Path to ttf file. - Font size. - - - - creates a new object. - - Font object. - Font size. - - - - Creates a new object from a prototype object. - - Prototype object. - - - - Stores used symbols. - - String text. - - - - Stores used symbols. - - Glyphs, used by the line of the text. - - - - Gets Pdf primitive reprsenting font. - - - - - Checks whether fonts are equals. - - Font to compare. - True if fonts are equal, False otherwise. - - - - Creates font internals. - - - - - Returns width of the char symbol. - - Char symbol. - Width of the char symbol in universal units. - - - - Returns width of the text line. - - String line. - Width of the char symbol in universal units. - - - - All resources are being to be closed. - - - - - Initializes the object. - - - - - Returns binary reader of the font's data. - - Returns binary reader of the font's data. - - - - Gets binary data of font. - - Font object. - Bimary data from font file. - - - - Initializes the object. - - - - - Initializes metrics. - - - - - Creates font program. - - Font program. - - - - Generates font program. - - - - - Generates font dictionary. - - - - - Creates descendant font. - - - - - Creates cmap. - - - - - Creates CidSet. - - - - - Creates cmap. - - - - - Creates system info dictionary for CID font. - - Pdf primitive. - - - - Creates font descriptor. - - Pdf primitive. - - - - Generates name of the font. - - - - - Gets random string. - - - - - Gets width description pad array for cid font. - - Width description pad array for cid font. - - - - Converts integer of decimal system to hex integer. - - Integer to be converted. - Hex string. - - - - Calculates flags for the font descriptor. - - Flags for the font descriptor. - - - - Calculates BoundBox of the descriptor. - - BoundBox of the descriptor. - - - - Runs before font Dictionary will be saved. - - Sender of the event. - Event arguments. - - - - Runs before font Dictionary will be saved. - - Sender of the event. - Event arguments. - - - - Runs before font program stream save. - - Sender of the event. - Event arguments. - - - - Runs before cmap will be saved. - - Sender of the event. - Event arguments. - - - - Runs before Cid will be saved. - - Sender of the event. - Event arguments. - - - - Runs before font Dictionary will be saved. - - Sender of the event. - Event arguments. - - - - This is important for PDF/A conformance validation - - - - - - - Gets size of the font. - - - - - Gets system font. - - - - - Gets or set Embed font. - - - - - Gets font metrics. - - - - - Gets ttf reader. - - - - - Gets path to the font file if the font was created from a file. - - - - - Gets TtfMetrics structure. - - - - - Gets the type. - - The type. - - - - Specifies style information applied to text. - - - - - Normal text. - - - - - Bold text. - - - - - Italic text. - - - - - Represents the underline text. - - - - - Strikeout text. - - - - - Indicates type of standard PDF fonts. - - - - - Represents the Helvetica font. - - - - - Represents the Courier font. - - - - - Represents the Times Roman font. - - - - - Represents the Symbol font. - - - - - Represents the ZapfDingbats font. - - - - - Specifies the type of CJK font. - - - - - Represents the Hanyang Systems Gothic Medium font. - - - - - Represents the Hanyang Systems shin myeong Jo Medium font. - - - - - Represents the Heisei kaku GothicW5 font. - - - - - Represents the Heisei MinchoW3 font. - - - - - Represents the Monotype Hei Medium font. - - - - - Represents the monotype sung Light font. - - - - - Represents the sinotype song light font. - - - - - Specifies the type of the font. - - - - - Indicates the standard Adobe fonts. - - - - - Indicates the non-embedded TrueType fonts. - - - - - Indicates the Embedded TrueType fonts. - - - - - Specifies the types of text wrapping. - - - - - Text wrapping between lines when formatting within a rectangle is disabled. - - - - - Text is wrapped by words. If there is a word that is longer than bounds' width, this word is wrapped by characters. - - - - - Text is wrapped by words. If there is a word that is longer than bounds' width, it won't be wrapped at all - and the process will be finished. - - - - - Text is wrapped by characters. In this case the word at the end of the text line can be split. - - - - - Specifies type of the SubSuperScript. - - - - - Specifies no subscript or superscript. - - - - - Specifies superscript format. - - - - - Specifies subscript format. - - - - - Ttf platform ID. - - - - - Apple platform. - - - - - Macintosh platform. - - - - - Iso platform. - - - - - Microsoft platform. - - - - - Ttf Name ID. - - - - - The Copyright - - - - - The Font Family - - - - - The Font Sub Family - - - - - The Font Identifier - - - - - The Font Name - - - - - The Version - - - - - The PostScriptName - - - - - The Trademark - - - - - Enumerator that implements CMAP encodings. - - - - - Unknown encoding. - - - - - When building a symbol font for Windows. - - - - - When building a Unicode font for Windows. - - - - - For font that will be used on a Macintosh. - - - - - Microsoft encoding ID - - - - - Undefined encoding. - - - - - Unicode encoding. - - - - - Macintosh encoding ID. - - - - - Roman encoding. - - - - - Japanese encoding. - - - - - Chinese encoding. - - - - - Enumerator that implements CMAP formats. - - - - - This is the Apple standard character to glyph index mapping table. - - - - - This is the Microsoft standard character to glyph index mapping table. - - - - - Format 6: Trimmed table mapping. - - - - - ttf composite glyph flags. - - - - - The ARG_1_AND_2_ARE_WORDS. - - - - - The ARGS_ARE_XY_VALUES. - - - - - The ROUND_XY_TO_GRID. - - - - - The WE_HAVE_A_SCALE. - - - - - The RESERVED. - - - - - The MORE_COMPONENTS. - - - - - The WE_HAVE_AN_X_AND_Y_SCALE. - - - - - The WE_HAVE_A_TWO_BY_TWO. - - - - - The WE_HAVE_INSTRUCTIONS. - - - - - The USE_MY_METRICS. - - - - - Character set encoding type of the font. - - - - - Unknown encoding - - - - - Adobe standard Latin-text encoding - - - - - Mac OS standard encoding - - - - - An encoding for use with expert fonts - - - - - Windows Code Page 1252 - - - - - Encoding for text strings in a PDF document outside the document's content streams. - - - - - The horizontal identity mapping for 2-byte CIDs; may be used with CIDFonts using any - Registry, Ordering, and Supplement values. It maps 2-byte character codes ranging from - 0 to 65,535 to the same 2-byte CID value, interpreted high-order byte first. - - - - - Enumerator that implements font descriptor flags. - - - - - All glyphs have the same width (as opposed to proportional or variable-pitch - fonts, which have different widths). - - - - - Glyphs have serifs, which are short strokes drawn at an angle on the top and - bottom of glyph stems (as opposed to sans serif fonts, which do not). - - - - - Font contains glyphs outside the Adobe standard Latin character set. The - flag and the nonsymbolic flag cannot both be set or both be clear. - - - - - Glyphs resemble cursive handwriting. - - - - - Font uses the Adobe standard Latin character set or a subset of it. - - - - - Glyphs have dominant vertical strokes that are slanted. - - - - - Bold font. - - - - - Specifies the composite font types. - - - - - - - - - - - - - - - Holds offset for TTF table from beginning of TrueType font file. - - - - - Gets or sets ofset from beginning of TrueType font file. - - - - - Gets or sets length of this table. - - - - - Gets or sets table checksum. - - - - - Gets a value indicating whether this is empty. - - true if empty; otherwise, false. - - - - ttf metrics. - - - - - Typographic line gap. - Negative LineGap values are treated as DEF_TABLE_CHECKSUM. - - - - - Gets or sets contains CFF. - - - - - Gets or sets value indicating if Symbol font is used. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets post-script font name. - - - - - Gets or sets font family name. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets description font item. - - - - - Gets or sets widths table for the font. - - - - - Regular: 0 - Bold: 1 - Italic: 2 - Bold Italic: 3 - Bit 0- bold (if set to 1) - Bit 1- italic (if set to 1) - Bits 2-15- reserved (set to 0). - NOTE: - Note that macStyle bits must agree with the 'OS/2' table fsSelection bits. - The fsSelection bits are used over the macStyle bits in Microsoft Windows. - The PANOSE values and 'post' table values are ignored for determining bold or italic fonts. - - - - - Subscript size factor. - - - - - Superscript size factor. - - - - - Gets a value indicating whether this instance is italic. - - true if this instance is italic; otherwise, false. - - - - Gets a value indicating whether this instance is bold. - - true if this instance is bold; otherwise, false. - - - - name ttf table. - - - - - Local variable to store Format Selector. - - - - - Local variable to store Records Count. - - - - - Local variable to store Offset. - - - - - Local variable to store Name Records. - - - - - Name record. - - - - - The PlatformID. - - - - - The EncodingID. - - - - - The PlatformIDLanguageID - - - - - The NameID. - - - - - The Length. - - - - - The Offset. - - - - - The Name. - - - - - Names of the tables. - - - - - The cmap. - - - - - The glyf. - - - - - The head. - - - - - The hhea. - - - - - The cmap. - - - - - The loca. - - - - - The maxp. - - - - - The cmap. - - - - - The post. - - - - - The OS2. - - - - - The CFF. - - - - - The cvt. - - - - - The fpgm. - - - - - The prep. - - - - - Head table. - - - - - Modified: International date (8-byte field). - - - - - Created: International date (8-byte field). - - - - - MagicNumber: Set to 0x5F0F3CF5. - - - - - CheckSumAdjustment: To compute: set it to 0, sum the entire font as ULONG, - then store 0xB1B0AFBA - sum. - - - - - FontRevision: Set by font manufacturer. - - - - - Table version number: 0x00010000 for version 1.0. - - - - - Minimum x for all glyph bounding boxes. - - - - - Minimum y for all glyph bounding boxes. - - - - - Valid range is from 16 to 16384. - - - - - Maximum y for all glyph bounding boxes. - - - - - Maximum x for all glyph bounding boxes. - - - - - Regular: 0 - Bold: 1 - Italic: 2 - Bold Italic: 3 - Bit 0 - bold (if set to 1) - Bit 1 - italic (if set to 1) - Bits 2-15 - reserved (set to 0) - NOTE: - Note that macStyle bits must agree with the 'OS/2' table fsSelection bits. - The fsSelection bits are used over the macStyle bits in Microsoft Windows. - The PANOSE values and 'post' table values are ignored for determining bold or italic fonts. - - - - - Bit 0 - baseline for font at y=0 - Bit 1 - left SideBearing at x=0 - Bit 2 - instructions may depend on point size - Bit 3 - force ppem to integer values for all private scaler math; may use fractional ppem sizes if this bit is clear - Bit 4 - instructions may alter advance width (the advance widths might not scale linearly) - Note: All other bits must be zero. - - - - - LowestRecPPEM: Smallest readable size in pixels. - - - - - FontDirectionHint: - 0 Fully mixed directional glyphs - 1 Only strongly left to right - 2 Like 1 but also contains neutrals - -1 Only strongly right to left - -2 Like -1 but also contains neutrals. - - - - - 0 for short offsets, 1 for long. - - - - - 0 for current format. - - - - - This table contains information for horizontal layout. - The values in the minRightSidebearing, minLeftSideBearing, and xMaxExtent should be computed - using only glyphs that have contours. - Glyphs with no contours should be ignored for the purpose of these calculations. - All reserved areas must be set to 0. - - - - - Version. - - - - - Typographic ascent. - - - - - Maximum advance width value in HTML table. - - - - - Typographic descent. - - - - - Number of hMetric entries in HTML table; - may be smaller than the total number of glyphs in the font. - - - - - Typographic line gap. Negative LineGap values are treated as DEF_TABLE_CHECKSUM - in Windows 3.1, System 6, and System 7. - - - - - Minimum left SideBearing value in HTML table. - - - - - Minimum right SideBearing value; calculated as Min(aw - lsb - (xMax - xMin)). - - - - - Max(lsb + (xMax - xMin)). - - - - - Used to calculate the slope of the cursor (rise/run); 1 for vertical. - - - - - 0 for vertical. - - - - - 0 for current format. - - - - - The OS/2 table consists of a set of metrics that are required by Windows and OS/2. - - - - - Struct field. - - - - - The Average Character Width parameter specifies - the arithmetic average of the escapement (width) - of all of the 26 lowercase letters a through z of the Latin alphabet - and the space character. If any of the 26 lowercase letters are not present, - this parameter should equal the weighted average of all glyphs in the font. - For non-UGL (platform 3, encoding 0) fonts, use the unweighted average. - - - - - Indicates the visual weight (degree of blackness or thickness of strokes) - of the characters in the font. - - - - - Indicates a relative change from the normal aspect ratio (width to height ratio) - as specified by a font designer for the glyphs in a font. - - - - - Indicates font embedding licensing rights for the font. - Embeddable fonts may be stored in a document. - When a document with embedded fonts is opened on a system that does not have the font installed - (the remote system), the embedded font may be loaded for temporary (and in some cases, permanent) - use on that system by an embedding-aware application. - Embedding licensing rights are granted by the vendor of the font. - - - - - The recommended horizontal size in font design units for subscripts for this font. - - - - - The recommended vertical size in font design units for subscripts for this font. - - - - - The recommended horizontal offset in font design units for subscripts for this font. - - - - - The recommended vertical offset in font design units from the baseline for subscripts for this font. - - - - - The recommended horizontal size in font design units for superscripts for this font. - - - - - The recommended vertical size in font design units for superscripts for this font. - - - - - The recommended horizontal offset in font design units for superscripts for this font. - - - - - The recommended vertical offset in font design units from the baseline for superscripts for this font. - - - - - Width of the strikeout stroke in font design units. - - - - - The position of the strikeout stroke relative to the baseline in font design units. - - - - - This parameter is a classification of font-family design. - - - - - This 10 byte series of numbers are used to describe the visual characteristics - of a given typeface. These characteristics are then used to associate the font with - other fonts of similar appearance having different names. The variables for each digit are listed below. - The specifications for each variable can be obtained in the specification - PANOSE v2.0 Numerical Evaluation from Microsoft or Elseware Corporation. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - The four character identifier for the vendor of the given type face. - - - - - Information concerning the nature of the font patterns. - - - - - The minimum Unicode index (character code) in this font, - according to the cmap subtable for platform ID 3 and encoding ID 0 or 1. - For most fonts supporting Win-ANSI or other character sets, this value would be 0x0020. - - - - - usLastCharIndex: The maximum Unicode index (character code) in this font, - according to the cmap subtable for platform ID 3 and encoding ID 0 or 1. - This value depends on which character sets the font supports. - - - - - The typographic ascender for this font. - Remember that this is not the same as the Ascender value in the 'hhea' table, - which Apple defines in a far different manner. - DEF_TABLE_OFFSET good source for usTypoAscender is the Ascender value from an AFM file. - - - - - The typographic descender for this font. - Remember that this is not the same as the Descender value in the 'hhea' table, - which Apple defines in a far different manner. - DEF_TABLE_OFFSET good source for usTypoDescender is the Descender value from an AFM file. - - - - - The typographic line gap for this font. - Remember that this is not the same as the LineGap value in the 'hhea' table, - which Apple defines in a far different manner. - - - - - The ascender metric for Windows. - This too is distinct from Apple's Ascender value and from the usTypoAscender values. - usWinAscent is computed as the yMax for all characters in the Windows ANSI character set. - usTypoAscent is used to compute the Windows font height and default line spacing. - For platform 3 encoding 0 fonts, it is the same as yMax. - - - - - The descender metric for Windows. - This too is distinct from Apple's Descender value and from the usTypoDescender values. - usWinDescent is computed as the -yMin for all characters in the Windows ANSI character set. - usTypoAscent is used to compute the Windows font height and default line spacing. - For platform 3 encoding 0 fonts, it is the same as -yMin. - - - - - This field is used to specify the code pages encompassed - by the font file in the 'cmap' subtable for platform 3, encoding ID 1 (Microsoft platform). - If the font file is encoding ID 0, then the Symbol Character Set bit should be set. - If the bit is set (1) then the code page is considered functional. - If the bit is clear (0) then the code page is not considered functional. - Each of the bits is treated as an independent flag and the bits can be set in any combination. - The determination of "functional" is left up to the font designer, - although character set selection should attempt to be functional by code pages if at all possible. - - - - - This field is used to specify the code pages encompassed - by the font file in the 'cmap' subtable for platform 3, encoding ID 1 (Microsoft platform). - If the font file is encoding ID 0, then the Symbol Character Set bit should be set. - If the bit is set (1) then the code page is considered functional. - If the bit is clear (0) then the code page is not considered functional. - Each of the bits is treated as an independent flag and the bits can be set in any combination. - The determination of "functional" is left up to the font designer, - although character set selection should attempt to be functional by code pages if at all possible. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Ttf structure. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Struct field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Holds glyph info and its width of character. - - - - - Holds glyph index. - - - - - Holds character's width. - - - - - Code of the char symbol. - - - - - Compares two WidthDescriptor objects. - - Another object for comparing. - A signed integer that indicates the relative order of this instance and value. - - - - Gets a value indicating whether this is empty. - - true if empty; otherwise, false. - - - - Ttf structure. - - - - - Structure field. - - - - - Ttf structure. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Structure field. - - - - - Helping class that allows to control the graphic handles. - It controls numbering for such handles that are changing - during actions such as SelectObject, DeleteObject - - - - - Flag checking if object is system or created by user. - - - - - Help flag for retrieving object from the stock. - - - - - The collection of standard graphic objects that can be used currently. - - - - - Holds the collection of created graphic objects that can be used currently - - - - - Holds the list of avaible indexes - - - - - Initializes the class. - - - - - Adds the object under specified unique index - - object to be added - unique index for the object - - - - Adds the object under specified unique index - - object to be added - - - - Selects object by the unique index - - unique index for the object - selected object - - - - Deletes objects - - unique index for the object to be deleted - Deleted object. - - - - Cleares collection of selected objects. - - - - - Checks if object is stock object. - - Object for checking. - True -if object is in stock, False otherwise. - - - - Retrieves object from the stock. - - ID of the object. - Object from the stock if found, Null otherwise. - - - - Checks if object is in the stock or it's created by user. - - ID of the object. - True - if object is in the stock, False otherwise. - - - - Retrieves object from the stock. - - ID of the object. - Object from the stock if found, Null otherwise. - - - - Gets the collection of created graphic objects that can be used currently - - - - - Gets the list of avaible indexes - - - - - Help data during EMF metafiles parsing. - - - - - Number of 0.01 millimeter per inch. - - - - - Collection of created objects. - - - - - Unmanaged handle used by the most of the GDI WinApi functions. - - - - - Font object. - - - - - Font object. - - - - - Pen object. - - - - - Current graphics path object. - - - - - Image resource. - - - - - Graphic state of the graphics context. - - - - - Graphics object. - - - - - Indicates if there is open graphics path object. - - - - - Angle of the text. - - - - - Cointrex stack. - - - - - Bitmap for getting graphics from it. - - - - - REsolution of the screen. - - - - - Initializes a new instance of the class. - - The dpi. - - - - Disposes object. - - - - - Recognizes selected object. - - Selected object. - - - - Deletes object from the context. - - Object to be deleted. - - - - Saves state to context stack. - - - - - Restores state from context stack. - - Index in the stack. - - - - Copies data from current object to specified. - - Destination data object. - - - - Disposes selected objects. - - - - - Gets collection of selected objects. - - - - - Gets unmanaged handle used by the most of the GDI WinApi functions. - - - - - Gets or sets graphic state of the graphics context. - - - - - Gets or sets the font. - - The font. - - - - Gets or sets current brush object. - - - - - Gets or sets current pen object. - - - - - Gets or sets current graphics path. - - - - - Gets or sets image object. - - - - - Gets graphics object. - - - - - Gets or sets the current point at DC. - - - - - Gets or sets a value indicating whether this instance is open path. - - - true if this instance is open path; otherwise, false. - - - - - Gets or sets arc direction of current device context. - - - - - Gets or sets text align. - - - - - Gets or sets Text color. - - - - - Gets or sets back color. - - - - - Gets or sets polygon fill mode. - - - - - Gets default resolution of the screen. - - - - - Gets or sets angle of the text. - - - - - Gets context stack object. - - - - - Class holding font and it's rotating angle. - - - - - Font object. - - - - - Structure describing font. - - - - - Initializes a new instance of the class. - - The font. - The structure. - - - - Disposes object. - - - - - Gets font object. - - - - - Gets text rotating angle. - - - - - Gets LOGFONT structure from which font was created. - - - - - Class implementing capabilities to parse EMF metafiles. - - - - - Number of numbers in the point type. - - - - - Number of numbers in the rectangle type. - - - - - Size of Int32 type. - - - - - Size of Short type. - - - - - Size of Single type. - - - - - Handler of function parsing metafile. - - - - - Graphics context object. - - - - - Asociated with parser context object. - - - - - Asociated with parser context object. - - - - - Parsing metafile object. - - - - - - - - - - - - - - - Initializes the class. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The renderer. - - - - Disposes object. - - - - - Check result of function. If function failed - writes debug message. - - Result of the function. - - - - Creates handler of parsing function. - - Handler of parsing function. - - - - Reads number from the array. - - Array of data. - Index in the array. - Size of the number. - Number form the array. - - - - Gets handler of parsing method. - - - - - Gets or sets Graphics context. - - - - - Gets or sets context of the parser. - - - - - Gets or sets context of the parser. - - - - - Gets or sets the parsing metafile object. - - - - - Gets or sets the page scale. - - The page scale. - - - - Gets or sets the page unit. - - The page unit. - - - - Gets type of metafile parser is able to parse. - - - - - Pixels per inch amount - - - - - Number of degrees in one radian. - - - - - Help objects. - - - - - Type of metafile. - - - - - Text Rotation Angle - - - - - Holds the selected font - - - - - Emf text Scaling factor - - - - - Initializes a new instance of the class. - - The type. - The dpi. - - - - Initializes a new instance of the class. - - The dpi. - - - - Initializes a new instance of the class. - - The renderer. - - - - Overloaded. Disposes resources. - - - - - Overloaded. Creates handler of parsing function. - - Handler of parsing function. - - - - Enumerates metafile. - - Type of record. - Help flags. - Size of the data for the record. - Pointer on the memory where data are located. - Callback function. - True - to proceed enumeration, False otherwise. - - - - Starts enumeration. - - - - - Finishes enumeration. - - - - - Saves graphic state of the graphics context. - - Data for the record. - - - - Restores device context to the previous state. - - Data for the record. - - - - Stores miter limit. - - Pointer to data. - - - - Process record of metafile. - - Pointer on record data. - - - - Process record of metafile. - - Pointer on record data. - - - - Process record of metafile. - - The data. - - - - Process record of metafile. - - The data. - - - - Process record of metafile. - - Pointer on record data. - - - - Process record of metafile. - - Pointer on record data. - - - - Process record of metafile. - - Record data. - Indicates if it's 32 or 16 bit version. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - Record data. - Indicates if it's 32 or 16 bit version. - - - - Process record of metafile. - - The PTR. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Record data. - Indicates if it's 32 or 16 bit version. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Datra of the record. - Pointer to record data. - - - - Process record of metafile. - - Data of the record. - Pointer to record data. - - - - Process record of metafile. - - Datra of the record. - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - if b is arc, set to true. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - - Implements the final stage of the 'Blt'-family functions. - - - - - - - - - - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - True - if string is unicode, False - otherwise. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Process record of metafile. - - Pointer to record data. - - - - Converts glyph indices to unicode charachter codes. - - The glyph indices. - The font. - The unicode string. - - - - Trims the name of the font. - - Name of the font. - - - - - Makes dump of the data. - - Data array. - The type. - - - - Gets structure with data from Record data. - - The PTR. - The type. - Structure from the data. - - - - Gets structure with data from Record data. - - Record data. - Sample structure object. - Structure with data from IntPtr. - This method marshals structures with arrays of unknown length. - - - - Converts logical point to device point. - - Logical point to be converted. - Converted point to device point. - - - - Converts rectangle from logic units to device units. - - System.Drawing.Rectangle object. - Converted rectangle. - - - - Converts logical point to device point. - - Logical point to be converted. - Converted point to device point. - - - - Converts logical point to device point. - - Logical point to be converted. - Converted point to device point. - - - - Converts logic value to device value; - - Value in logic coordinates. - - - - - Converts logic value to device value; - - Value in logic coordinates. - - - - - Converts device point to logical point. - - Device point to be converted. - Converted point to logical point. - - - - Converts device value to logical value; - - Value in device coordinates. - - - - - Converts device value to logical value; - - Value in device coordinates. - - - - - Converts device System.Drawing.Rectangle to logical value; - - The rectangle. - Converted rectangle - - - - Reads RECT structure. - - Data array. - Current index. - RECT structure. - - - - Reads array from the record. - - Record data. - Size of the array. - Current index. - Array of data. - - - - Creates array of points. - - Record data. - Size of the array. - Current index. - If true - reads Int32 numbers, otherwise reads Short numbers. - Array of data. - - - - Reads number. - - Data array. - Current index. - If true - reads Int32 numbers, otherwise reads Short numbers. - Number from the data. - - - - Sets proper graphics mode. - - - - - Converts points from GDI poiont type to PointF. - - Array of points. - Converted array. - - - - Converts points from GDI poiont type to PointF. - - Array of points. - Converted array. - - - - Converts points from GDI poiont type to PointF. - - Array of points. - Converted array. - - - - Adds current point to array of points. - - Array of points. - Array with current point. - - - - Converts XFORM structure to Matrix object. - - XFORM structure. - Matrix object. - - - - Calculates angle between two vectors. - - x coordinate of start origin. - y coordinate of start origin. - x coordinate of vector. - y coordinate of vector. - Angle between vector and x origin. - - - - Returns point on the ellipse bounded by rectangle intersecyet with radial point. - - Bounds structure. - Radial point. - Point of intersection. - - - - Creates bitmap image. - - Offset to image data. - Size of the image data. - Pointer to the data. - Pointer to the BitmapInfo structure. - Bitmap Info header. - Usage of the pixels. - Bitmap image. - - - - Creates bitmap image. - - Offset to image data. - Size of the image data. - Pointer to the data. - Pointer to the BitmapInfo structure. - Usage of the pixels. - Bitmap image. - - - - Creates bitmap image. - - Offset to image data. - Size of the image data. - Pointer to the data. - Pointer to the BitmapInfo structure. - Usage of the pixels. - Bitmap image. - - - - Converts logical height of the font to it's point's value. - - Logical height of the font. - Size of the font. - - - - Returns metric of the font. - - Font object. - Metric of the font. - - - - Returns string format for the text. - - String format for the text. - - - - Draws text. - - Text to be printed. - String format object. - System.Drawing.Rectangle structure. - Structure describing text settings. - The widths. - - - - Gets current map mode. - - Current map mode. - - - - Retireves array of bytes from the unmanaged memory. - - Pointer to the memory. - Size of the data. - Byte array. - - - - Implements the final stage of the 'Blt'-family functions. - - - - - - - - - - - - - Overloaded. Gets MetafileType.Emf - - - - - Gets help objects. - - - - - Gets text region mananger. - - - - - Gets image region mananger. - - - - - Class for parsing EmfPlus metafiles. - - - - - Flag for recognizing type of region. - - - - - Flag for objects recognizing. - - - - - Flag for object index recognizing. - - - - - Represents path filling type. - - - - - Flag indicating whether color is in the data or it's index of the pen/brush. - - - - - Represents flag indicating whether short type should be used. - - - - - Storage of help objects. - - - - - Type of metafile. - - - - - Indicates whether we should start emf record processing. - - - - - Store the path of current pen's end cap. - - - - - Flag for connecting last and first points. - - - - - Creates new object. - - The dpi. - - - - Creates new object. - - The renderer. - The dpi. - - - - Overloaded. Creates handler of function parsing metafile. - - - - - - Enumerates metafile. - - Type of record. - Help flags. - Size of the data for the record. - Pointer on the memory where data are located. - Callback function. - True - to proceed enumeration, False otherwise. - - - - Parses the meta record. - - The data. - The flags. - - - - Parsing method. - - Method data. - - - - Headers this instance. - - - - - Ends the of file. - - - - - Begins the container. - - The data. - The flags. - - - - Begins the container no params. - - The data. - - - - Clears the specified data. - - The data. - - - - Draws the arc. - - The data. - The flags. - - - - Draws the beziers. - - The data. - The flags. - - - - Draws the closed curve. - - The data. - The flags. - - - - Draws the curve. - - The data. - The flags. - - - - Draws the ellipse. - - The data. - The flags. - - - - Draws the image. - - The data. - The flags. - - - - Draws the image points. - - The data. - The flags. - - - - Draws the lines. - - The data. - The flags. - - - - Draws the path. - - The data. - The flags. - - - - Draws the pie. - - The data. - The flags. - - - - Draws the rectangle. - - The data. - The flags. - - - - Draws string. - - Buffer containing record data. - Record flags. - - - - Draws Driver string. - - Buffer containing record data. - Record flags. - - - - Parses EndContainer record. - - Record data. - - - - Parses FillClosedCurve record. - - Record data. - Record flags. - - - - Parses FillEllipse method. - - Record data. - Record flags. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fills the region. - - The data. - The flags. - - - - - - - - - Objects the specified data. - - The data. - The flags. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Scales the world transform. - - The data. - The flags. - - - - Sets the antialias mode. - - The data. - The flags. - - - - Sets the clip path. - - The data. - The flags. - - - - - - - - - - - - - - - - - - Sets the composing mode. - - The data. - The flags. - - - - Sets the compositing quality. - - The data. - The flags. - - - - Sets the interpolation mode. - - The data. - The flags. - - - - Sets the page transform. - - The data. - The flags. - - - - Sets the pixel offset mode. - - The data. - The flags. - - - - Sets the rendering origin. - - The data. - - - - Sets the text contrast. - - The flags. - - - - Sets the text rendering hint. - - The flags. - - - - Sets the world transform. - - The data. - - - - Translates the world transform. - - The data. - The flags. - - - - Reads the pen. - - The data. - The index. - - - - - Creates the path of pen's custom end cap. - - The data. - The index. - The flags. - - - - - Reads the image. - - The data. - The index. - - - - - Reads the path. - - The data. - The index. - - - - - Reads the region. - - The data. - The index. - - - - - Reads the font. - - The data. - The index. - - - - - Reads the string format. - - The data. - The index. - - - - - Reads the brush. - - The data. - The index. - - - - - Reads the hatch brush. - - The data. - The index. - - - - - Reads the gradient brush. - - The data. - The index. - - - - - Reads path gradient brush. - - Data for the brush. - The index. - - - - - Reads the texture brush. - - The data. - The index. - The texture brush. - - - - Gets the rectangle step. - - The flags which holds the step value. - The rectangle step. - - - - Reads the wrap mode. - - The data. - The index. - The WrapMode enum. - - - - Reads the gradient brush flags. - - The byte data array. - The index of the flags. - The initialized GradientBrushFlags. - - - - Reads the blend. - - The byte data array. - The start position in the data. - The size of the single value. - The positions array. - The factors array. - The final index within the data. - - - - Reads the color blent. - - The byte data array. - The start position in the data. - The size of the single value. - The blend object. - - - - Reads the points. - - The data. - The index. - The number. - The step. - - - - - Reads the point. - - The data. - The index. - The step. - - - - - - - - - - - - - - Reads an integer from a data array at an index specified. - - The data array. - The index which the integer starts at. - The integer read. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dumps the record data. - - The data. - The type of the record. - - - - Read Graphics path from the region. - - Data of the record. - Current index. - step value. - Graphics path object. - - - - Reads base region from the data. - - Record data. - Current index. - Step value. - Region object. - - - - Combines regions. - - Source region. - Destination region. - Combine mode. - Result region. - - - - Returns index of the object in the table. - - Flags data. - Index of the object in the table. - - - - Checks whether data contains color or index of the object. - - Flags data. - Checks whether data contains color or index of the object. - - - - Gets the fill mode. - - The flags. - - - - - Gets the brush. - - The data. - The index. - The flags. - - - - - Reads the RectL structure. - - The data. - The index. - Rectangle structure initialized. - - - - Starts processing of emf records. - - Type of record. - Help flags. - Size of the data for the record. - Pointer on the memory where data are located. - Callback function. - - - - Determines whether [is valid rect] [the specified rect]. - - The rect. - - true if [is valid rect] [the specified rect]; otherwise, false. - - - - - Converts bitmap to PNG. - - The img. - - - - - Overloaded. Returns metafile type. - - - - - Gets a collection of objects in the stack. - - - - - Region of the space in which image in metafile can take. - - - - - Y co-ordinate of the region. - - - - - Height of the region. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The y. - The height. - - - - Joins two regions. - - Image region to be joined. - Image region to be joined. - Joined region. - - - - Checks whether region intersect with the current one. - - Region object. - True - if they're intersected, False - otherwise. - - - - Gets or sets Y co-ordinate of the region when the text starts. - - - - - Gets or sets Height of the text region. - - - - - Manages ImageRegion objects. - - - - - Collection of the regions. - - - - - Initializes a new instance of the class. - - - - - Adds a Image region into the collection. - - region - - - - Searches for the largest Y co-ordinate of the region if the y is inside of any region - or returns y if it's out of any region. - - Y co-ordinate of some text region. - - Searches for the largest Y co-ordinate of the region if the y is inside of any region - or returns y if it's out of any region. - - - - - Searches for the image region. - - Y co-ordinate of some image region. - - Returns the Y co-ordinate of last before image region. - - - - - Clears the collection. - - - - - Searches for all regions in the collection that are intersested with the current one. - - Current text region. - Array of regions that intersect with the current. - - - - Removes region from the colection. - - Region that should be removed from he collection. - - - - Removes regions from the collection. - - Array of regions that should be removed from he collection. - - - - Joins array of regions and the region into one region. - - Array of the regions. - Current image region. - - - - Number of numbers in the point type. - - - - - Number of numbers in the rectangle type. - - - - - Flag for recognizing type of region. - - - - - Flag for objects recognizing. - - - - - Type of path filling. - - - - - Index where type of the brush is located. - - - - - Size of Int32 type. - - - - - Size of Short type. - - - - - Size of Single type. - - - - - Parsing metafile object. - - - - - Parser of metafile. It depends on the metafile. - - - - - Gets graphics context object. - - - - - Checks if object is already disposed or not. - - - - - Indicates whether image is WMF file and needs to be disposed. - - - - - Static constructor. - - - - - Creates new object. - - - - - Creates new object. - - The renderer. - Metafile for parsing. - - - - Disposes the object. - - - - - Enumerates a metafile. - - True - successful enumeration, False otherwise. - - - - Assigns the metafile. - - The metafile. - - - - Recognizes which parser must be created according to metafile. - - Header of metafile. - The dpi. - - - - Gets or sets the renderer. - - - - - Gets or sets parsing metafile object. - - - - - Gets context data of the parser. - - - - - Gets context data of the parser. - - - - - Gets parser object. - - - - - Summary description for ObjectData. - - - - - Mask for object index recognizing. - - - - - Stores collection of the GDI objects. - - - - - Holds all graphigcs states. - - - - - Internal graphics context. - - - - - Internal image object. - - - - - Creates a new object. - - - - - Disposes the object. - - - - - Gets font by its index. - - Index of the object in the table of GDI objects. - Font by its index. - - - - Gets brush by its index. - - Index of the object in the table of GDI objects. - Brush by its index. - - - - Gets the pen from the collection. - - The index of the pen within the collection. - The pen. - - - - Sets the pen. - - The index of the pen object. - The pen which should be stored.. - - - - Gets object by its index. - - Index of the object in the table of GDI objects. - Object by its index. - - - - Sets object to the collection. - - Index of the object in the collection. - GDI object. - - - - Gets the state by its index. - - The index of the state. - The graphics state stored previously. - - - - Sets the state with it index. - - The index of the state. - The state. - - - - Disposes collection of the GDI objects. - - - - - Gets internal graphics context. - - - - - - - - - - - - - - - - - - - - Matrix indicating bounds for the metafile output. - - - - - Shows if the graphics state was changed. - - - - - Shows if it's the first call to the OnDrawPrimitive method. - - - - - UnitConvertor instance for X coorditate. - - - - - UnitConvertor instance for Y coorditate. - - - - - Holds mapping between .NET graphics states and PDF graphics states. - - - - - Shows if it was the first transformation operation. - - - - - Gets or sets the quality. - - When the image is stored into PDF not as a mask, - you may reduce its quality, which saves the disk space. - - - - get or sets the image resolution - - When the image is stored into PDF not as a mask, - you may reduce its resolution, which saves the disk space - - - - Represents flag indicating whether the page has been already transformed or not. - TODO : Process Begin and End Container. - - - - - Shows if the graphics state was restored. - - - - - - - - - - Internal varible to store the alpha pen. - - - - - Internal varible to store the alpha brush. - - - - - Internal varible to store tranaparency is applied or not. - - - - - Internal varible to store the pdf blend mode. - - - - - Internal variable to store whether to connect last and first points. - - - - - Internal variable to store whether the EMF being drawn in a Tagged PDF. - - - - - Asociated with parser context object. - - - - - Used to store real clip value - - - - - Internal variable to store the state change of the EMFplus and EMF - - - - - used to store current emf record type - - - - - used to store prvious record type - - - - - stores the text clip - - - - - internal variable to store custom line cap arrow data - - - - - used to confirm wheather the text is clipped or not. - - - - - Internal variable to store current pdf document - - - - - internal variable to store identical image collection - - - - - used as local font collection to avoid multi threading issues - - - - - Initializes a new instance of the class. - - The graphics. - - - - Initializes a new instance of class. - - - - - - - - Initializes a new instance of the class. - - The graphics. - The bitmap quality. - - - - Initializes a new instance of the - - The Graphics - The Bitmap quality - - - - - Begins a new virtual graphics container. - - A GraphicsContainer instance. - - - - Begins a new virtual container. - - The destination rectangle. - The source rectangle. - The unit. - A GraphicsContainer instance. - - - - Fills the entire graphics with the specified color. - - The color. - - - - Draws an arc. - - The pen. - The rectangle specifying the boundaries of the full circle, - of which the arc is a part. - The start angle. - The sweep angle. - - - - Draws one or more Bezier curves. - - The pen. - The points. - - - - Draws a closed curve. - - The pen. - The points. - The tension. - The fill mode. - - - - Draws a curve. - - The pen. - The points. - Points to custom cap. - The offset. - The number of the segments. - The tension. - It isn't supported. - - - - Draws an ellipse. - - The pen. - The rectangle specifying the boundaries of the ellipse. - - - - Draws an image. - - The image. - The destination rectangle. - The source rectangle. - The units. - - - - Draws an image. - - The image. - The points. - The source rectangle. - The units. - - - - Used to change the image resolution - - value of image resolution to set - original image - - - - - Draws an image and/or brush. - - The image to draw. - The brush to draw. - Where to draw. - Where to draw from. - Raster Operation Code. - - - - Draws extra line between the last and first points. - - The pen. - The points. - If true, connects last and first points. - - - - Draws lines specified by vertices. - - The pen. - The points. - - - - Darw the multiple Line - - - - - - - - - Convert the pen to PdfPen - - - PdfPen - - - - Draws a path. - - The pen. - The path. - - - - Draws polygon. - - Pen object. - Array of points. - - - - Draws a pie. - - The pen. - The rectangle specifying the boundaries of the complete circle, - of which the pie is a part. - The start angle. - The sweep angle. - - - - Draws a series of rectangles. - - The pen. - An array of rectangles. - - - - Draws a text string. - - The text. - The font. - The brush. - The boundaries of the text. - - - - Draws a text string. - - The text. - The font. - The brush. - The text boundaries. - The string format. - - - - Checks if the given rectangle overflows the current page. - - - - - - - - Draws a text string. - - The text. - The font. - The brush. - The text boundaries. - The string format. - Rotation Angle - - - - Corrects the location. - - The location. - The size. - The real size of the text. - The format. - The corrected location. - - - - Ends the specified graphics container. - - The container. - Restores the graphics state saved - by the appropriate BeginContainer method. - - - - Fills a closed curve. - - The brush. - The points of the curve. - The fill mode. - The tension. - It isn't supported. - - - - Fills an ellipse. - - The brush. - The boundaries of the ellipse. - - - - Fills a path. - - The brush. - The path. - - - - Fills a pie. - - The brush. - The x coordinate of the ellipse boundaries, which the pie is a part of. - The y coordinate of the ellipse boundaries, which the pie is a part of. - The width of the ellipse boundaries, which the pie is a part of. - The height of the ellipse boundaries, which the pie is a part of. - The start angle. - The sweep angle. - - - - Fills a polygon. - - The brush. - The points of the polygon. - - - - Fills rectangles. - - The brush. - The rectangles. - - - - Fills a region. - - The brush. - The region. - - - - Performs multiply transformations. - - The matrix. - The order. - - - - Translates the current clip region. - - The dx. - The dy. - - - - Resets the current clip region to the infinite region. - - - - - Resets the transformations. - - - - - Performs the rotate transformations. - - The angle. - The order. - - - - Saves the current graphics state. - - A GraphicsState instance that stores - information about the current graphic state. - - - - Restores the graphics state to the specified graphics state. - - The saved graphics state. - - - - Performs scaling transformations. - - The scaling facto by x coordinate. - The scaling facto by y coordinate. - The order. - - - - Sets the current clip region. - - The path specifying the clip region. - The combining mode. - - - - Sets the current clip region. - - The rectangle specifying the new clip region. - The combining mode. - - - - Sets the current clip region. - - The region. - The combining mode. - - - - Updates the clip region of this Graphics object to exclude the area specified by a Rectangle structure. - - Rectangle structure that specifies the rectangle to exclude from the clip region. - - - - Updates the clip region of this Graphics object to exclude the area specified by a Region object. - - Region object that specifies the region to exclude from the clip region. - - - - Updates the clip region of this Graphics object to the intersection of the current clip region and the specified RectangleF structure. - - RectangleF structure to intersect with the current clip region. - - - - Updates the clip region of this Graphics object to the intersection of the current clip region and the specified Region object. - - Region object to intersect with the current region. - - - - Transforms points. - - Destination space. - Source space. - Array of points. - - - - Sets the current rendering origin. - - The origin. - - - - Sets the specified transformation matrix. - - The matrix. - - - - Performs translate transformation of the graphics. - - The offset by the x coordinate. - The offset by the y coordinate. - The order of the matrix operations. - - - - Is called when the metafile parsing have been started. - - - - - Is called when the metafile is at the end. - - - - - Raises when error occured during metafile parsing. - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Sets location / bounds for metafile object. - - Location of the metafile. - Size of the metafile. - - - - Sets the Boundaries box. - - The bounds. - - - - Sets transformation matrix. - - - - - Sets clip region. - - - - - Sets clip region. - - - - - Extracts fill mode of the path. - - Graphics path. - Fill mode of the path. - - - - Gets clip path for the graphics. - - - - - Gets PDF font for the text. - - Text to be printed. - Font which will be used for printing. - PDF font object. - - - - Called when we need to draw a primitive. - - - - - Called when the graphics state was changed. - - - - - Draws the cap. - - The cap. - The points. - The Start point index. - The end point index. - The width. - The brush. - - - - Draws the customarrow end cap in the line - - - - - - - - - - - Calculates scaling factor for text that fits to the specifiedboundaries. - - String text to be scaled. - Font object. - Text' boundaries. - Size of the text. - The format. - The scaling factor. - - - - Converts GraphicsUnits to PrintUnits. - - - returns PrintUnits - - - - Converts the .NET pen to a PDF pen. - - The pen. - The alpha channel value. - The proper PDF pen. - - - - Converts a .NET brush into a PDF brush. - - The brush. - The alpha channel value. - The proper PdfBrush class instance. - - - - Checks the alpha. - - The bitmap. - The proper transparency mask. - - - - Checks if the alpha channel is present. - - The flags. - The bitmap. - The array. - The proper mask. - - - - Converts a .NET hatch brush to a PDF tiling brush. - - The hatch brush. - The alpha channel value. - The well formed PdfBrush instance. - - - - Converts the .NET colors to PdfColor array. - - The colors. - The well formed PdfColor array. - - - - Gets the brush from pen. - - The PDF pen. - The brush initialized from pen parameters. - - - - Converts the System.Drawing.StringFormat format to - Syncfusion.Pdf.Graphics.PdfStringFormat format. - - The format. - Proper Syncfusion.Pdf.Graphics.PdfStringFormat format. - - - - Gets the type of the wrap. - - The string format flags. - Proper StringWrapType value. - - - - Converts the line alignment. - - The string alignment. - The proper VerticalAlignment value. - - - - Converts the alingnmet. - - The string alignment. - The proper TextAlignment value. - - - - Converts a .NET pen to a PDF pen and sets transparency. - - The pen. - - - - - Converts a .NET brush to a PDF brush and sets transparency. - - The brush. - - - - - Internally resets clip region. - - - - - Internally resets transformation. - - - - - Draws custom cap. - - Pen used to draw cap. - Path points. - Custom points for cap. - Indicates whether cap is start. - - - - Checks is points line or not. - - Points to be check. - Is points line or not. - - - - Converts a System.Drawing.Drawing2D.LineCap value to the Syncfusion.Pdf.Graphics.LineCap. - - The cap value. - Syncfusion.Pdf.Graphics.LineCap type value. - - - - Converts a System.Drawing.Drawing2D.LineJoin values to respective - Syncfusion.Pdf.Graphics.LineJoin values. - - The join value. - Proper Syncfusion.Pdf.Graphics.LineJoin value. - - - - Converts a System.Drawing.Drawing2D.DashStyle dash style to the corresponding Syncfusion.Pdf.Graphics.DashStyle dash style. - - The dash style. - Proper Syncfusion.Pdf.Graphics.DashStyle value. - - - - Prepares a matrix to PDF. - - The matrix. - A properly prepared PdfTransformationMatrix class instance. - - - - Prepares a matrix to PDF. - - The matrix. - The page scale value. - - A properly prepared PdfTransformationMatrix class instance. - - - - - Draws the cross brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the backward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the forward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the horizontal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the vertical pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the downward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws Weave style. - - Pdf Graphics on which style draws. - Pdf pen which draws style. - The size of the brush. - - - - Draws the upward diagonal brush pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the brick tails for the brick pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws the horizontal brick pattern. - - The graphics. - The pen. - Size of the brush. - - - - Draws a checker board dash pattern. - - The graphics. - The pen. - Size of the brush. - Size of the cell. - - - - Locates the font file. - - The font. - Not the best way, but will work in most cases incase font substitution fails. - - - - - Gets the font suffix. - - The fs. - - - - - Get or Sets transparency is applied or not. - - - - - - Get or Sets the alpha pen - - - - - Get or Sets the alpha brush. - - - - - Get or Sets the Blend mode. - - - - - get or set the bool value to to idetenctical image - - - - - get or set the PdfDocument - - - - - Gets the PDF graphics object. - - - - - Gets the native graphics object. - - - - - Gets the clip bounds. - - - - - Gets or sets transformation of graphics. - - - - - Gets or sets the scaling between world units and page units for this Graphics object. - - - - - Gets or sets the unit of measure used for page coordinates in this Graphics object. - - - - - Gets the unit converter for X axis. - - - - - Gets the unit converter for Y axis. - - - - - Gets or sets a value indicating whether [page transformed]. - - true if [page transformed]; otherwise, false. - - - - Gets a value indicating whether [embed fonts]. - - true if [embed fonts]; otherwise, false. - - - - Gets text region manager - - - - - Gets or sets context of the parser. - - - - - Gets or Sets real clip value - - - - - Region of the space which text in metafile can take. - - - - - Y co-ordinate of the region. - - - - - Height of the region. - - - - - Creates new text region object. - - - - - Creates new text region object. - - Gets or sets Y co-ordinate of the region when the text starts. - Gets or sets Height of the text region. - - - - Joins two regions. - - Text region to be joined. - Text region to be joined. - Joined region. - - - - Checks whether region intersect with the current one. - - Region object. - True - if they're intersected, False - otherwise. - - - - Gets or sets Y co-ordinate of the region when the text starts. - - - - - Gets or sets Height of the text region. - - - - - Manages TextRegion objects. - - - - - Collection of the regions. - - - - - Creates new object. - - - - - Adds a text region into the collection. - - - - - - Searches for the largest Y co-ordinate of the region if the y is inside of any region - or returns y if it's out of any region. - - Y co-ordinate of some text region. - - Searches for the largest Y co-ordinate of the region if the y is inside of any region - or returns y if it's out of any region. - - - - - Searches for the last before text region. - - Y co-ordinate of some text region. - - Returns the Y co-ordinate of last before text region. - - - - - Clears the collection. - - - - - Searches for all regions in the collection that are intersested with the current one. - - Current text region. - Array of regions that intersect with the current. - - - - Removes region from the colection. - - Region that should be removed from he collection. - - - - Removes regions from the colection. - - Array of regions that should be removed from he collection. - - - - Joins array of regions and the region into one region. - - Array of the regions. - Current text region. - - - - Type of the object. - - - - - Invalid object type. - - - - - Brush object. - - - - - Pen object. - - - - - Path object. - - - - - Region object. - - - - - Image object. - - - - - Font object. - - - - - String format object. - - - - - Image attributes object. - - - - - Custom line cap object. - - - - - Type of the brush. - - - - - Default value. - - - - - Hatch brush. - - - - - Texture brush. - - - - - Path gradient brush. - - - - - Linear gradient brush. - - - - - Flags for a linear gradient brush. - - - - - Minimal data are present. - - - - - The brush applies a transformation matrix to the source image. - - - - - The brush contains a ColorBlend object for use with its InterpolationColors property. - - - - - The brush contains a Blend object for use with its Blend property. - - - - - The brush has a non-default value for the FocusScales property. - - - - - The brush uses gamma correction. - - - - - Represents pen flags. - - - - - Pen just with color set. - - - - - Transformation set. (20-... - float ) - - - - - StartCap set. ( 20 - int ) - - - - - EndCap set. ( 20 - int ) - - - - - LineJoin set. ( 20 - int ) - - - - - MiterLimit set. ( 20 - float ) - - - - - Pen has DashStyle defined. - - - - - DashCap set. ( 20 - int ) - - - - - DashOffset is defined. (20 - float) - - - - - DashPattern is defined. (20 - int: numArray; 24-... - float: DashPattern ) - - - - - Alignment set. (20 - int ) - - - - - CompoundArray set. (20 - int: numArray; 24-... - float: compoundArray ) - - - - - The pen uses a custom start cap. - - - - - The pen uses a custom end cap. - - - - - Indicates types of the images in the Object record. - - - - - Unknown format. - - - - - Bitmap image. - - - - - Metafile image. - - - - - Initial state of the region. - - - - - Region is from rectangle. - - - - - Region is from graphics path. - - - - - Region is empty. - - - - - Region is infinity. - - - - - Applicable only for monochrome TIFF images. - - - - - Default compression. - - - - - Uses JBIG2 compression for monochrome TIFF images. - - - - - The contains methods and properties to handle the Bitmap images - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the disk. - PdfBitmap image = new PdfBitmap("Autumn Leaves.jpg"); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the disk. - Dim image As New PdfBitmap("Autumn Leaves.jpg") - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Represents the base class for images and provides functionality for the class - - /// - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the disk. - PdfImage image = PdfImage.FromFile("Autumn Leaves.jpg"); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the disk. - Dim image As PdfImage = PdfImage.FromFile("Autumn Leaves.jpg") - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - The stream containing image data. - - - - - The size of the image in points. - - - - - Horizontal image resolution. - - - - - Vertical image resolution. - - - - - Holds mask type flag. - - - - - Holds list of color space - - - - - Creates from the specified file.. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - A string that contains the name of the file from which to create the - Returns a created PdfImage object. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the disk. - PdfImage image = PdfImage.FromFile("Autumn Leaves.jpg"); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the disk. - Dim image As PdfImage = PdfImage.FromFile("Autumn Leaves.jpg") - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Creates PdfImage from the specified data stream.. - - A Stream that contains the data for this . - Returns a created PdfImage object. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the disk. - PdfImage image = PdfImage.FromStream(File.OpenRead("Autumn Leaves.jpg")); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the disk. - Dim image As PdfImage = PdfImage.FromStream(File.OpenRead("Autumn Leaves.jpg")) - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Creates a from the existing . - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The from which to create the new . - Returns a created PdfImage object. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load image from file - Image picture = Image.FromFile("Autumn Leaves.jpg"); - //Load the image from the Image object - PdfImage image = PdfImage.FromImage(picture); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load image from file - Dim picture As Image = Image.FromFile("Autumn Leaves.jpg") - 'Load the image from the Image object - Dim image As PdfImage = PdfImage.FromImage(picture) - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Creates a new image instance from RTF text with the specified RTF text, width and image type - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The RTF text from which to create the new - Width of the image in points. - Type of the image that should be created. - PdfImage containing RTF text. - - - - Creates a new image instance from RTF text with the specified RTF text, width, height and image type - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The RTF text from which to create the new . - Width of the image in points. - Height of the image in points. - Type of the image that should be created. - PdfImage containing RTF text. - - - - Checks the stream existence. - - The stream. - The stream if it exists. - It's thrown if the stream is null. - - - - Calculates the width and height of the image. - - Width of the image in points. - Height of the image in points. - Calculates the width and height of the image. - - - - Saves the image into stream. - - - - - Sets the content stream. - - The content. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Gets bounds of image. - - The DPI is standard, not image DPI. - Bounds of image. - - - - Calculates size of the image in points. - - Width in pixels. - Height in pixels. - size of the image in points. - - - - Calculates size of the image in points. - - Width in pixels. - Height in pixels. - Horizontal resolution. - Vertical resolution. - size of the image in points. - - - - Sets resolution of the image. - - Horizontal resolution of the image. - Vertical resolution of the image. - - - - Gets the height of the image in pixels (Read only). - - The height of the image. - - - - Gets the width of the image in pixels (Read only). - - The width of the image. - - - - Gets the horizontal resolution, in pixels per inch, of this Image (Read only). - - The horizontal resolution of the image. - - - - Gets the vertical resolution, in pixels per inch, of this Image (Read only). - - The vertical resolution of the image. - - - - Gets the size of the image in points (Read only). - - The size of the image in points - This property uses HorizontalResolution and VerticalResolution for calculating the size in points. - - - - Holds list of color space - - An array of component values specifying the matte color - with which the image data in the parent image has been preblended. - The array consists of numbers, where n is the number of components - in the color space specified by the ColorSpace entry in the parent image�s - image dictionary; the numbers must be valid color components - in that color space. - - - - Gets the image. - - The image. - - - - Gets the image stream. - - - - - Gets the mask type. - - true if soft mask; otherwise, hard mask false. - - - - Gets the wrapped element. - - - - - Start of image marker. - - - - - JFIF marker. - - - - - Start of scan marker. - - - - - End of image marker. - - - - - Holds image. - - - - - Holds the index of active frame for multiframe images. - - - - - Holds image frame dimention. - - - - - Holds mask for current image. - - - - - Holds bits per component. - - - - - Holds image color space. - - - - - A flag indicating whether the image is to be treated as an image mask. - - - - - Holds list of saved frames. - - - - - Indicates if the object has been disposed. - - - - - The quality of the stored image. - - When the image is stored into PDF not as a mask, - you may reduce its quality, which saves the disk space. - - - - Internal variable to store the check value. - - - - - Holds the raw image stream - - - - - Indicates whether the quality is set to custom. - - - - - Initializes a new instance of the class from the specified existing image. - - The from which to create the new Bitmap. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load image from file - Image picture = Image.FromFile("Autumn Leaves.jpg"); - //Load the image from the Image object - PdfBitmap image = new PdfBitmap(picture); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load image from file - Dim picture As Image = Image.FromFile("Autumn Leaves.jpg") - 'Load the image from the Image object - Dim image As New PdfBitmap(picture) - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Initializes a new instance of the class from the specified file. - - The bitmap file name and path. - The file name and path can be relative to the application or an absolute path. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the disk. - PdfBitmap image = new PdfBitmap("Autumn Leaves.jpg"); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the disk. - Dim image As New PdfBitmap("Autumn Leaves.jpg") - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Initializes a new instance of the class from the specified data stream. - - The data stream used to load the image. - /// - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the image from the stream - PdfBitmap image = new PdfBitmap(File.OpenRead("Autumn Leaves.jpg")); - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the image from the stream - Dim image As New PdfBitmap(File.OpenRead("Autumn Leaves.jpg")) - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Releases unmanaged resources and performs other cleanup operations before the - is reclaimed by garbage collection. - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Disposes the specified disposing. - - if it is disposing, set to true. - - - - Saves the image into stream. - - - - - Gets the bits per pixel. - - The pixel format of the image. - Number of bits per pixel - - - - Gets the encoder info. - - Type of the MIME. - - - - - Saves the image as JPG. - - - - - Saves the current image as pixel matrix. - - - - - Gets the color space from image stream. - - Memory stream of image. - Color space. - - - - Sets the mask for image. - - - - - Saves the required items. - - - - - Creates the mask from ARGB image. - - The ARGB image. - - - - - Creates the mask from an indexed image. - - The image. - The proper greyscale image, which represents the mask. - - - - Saves the image by pixel format. - - - - - Saves the image. - - The image filters. - - - - Sets the color space. - - - - - Saves the additional items. - - - - - Checks if frame was saved already. - - The frame index. - - true if frame was saved, otherwise false. - - - - - Get or sets the Check Value. - - - - - Gets or sets the active frame of the image. - - The index of the active frame. - - - //Create a PDF document - PdfDocument pdfDocument = new PdfDocument(); - //Add a section to the PDF document - PdfSection section = pdfDocument.Sections.Add(); - //Declare the PDF page - PdfPage page; - //Declare PDF page graphics - PdfGraphics graphics; - //Load multi frame Tiff image - PdfBitmap tiffImage = new PdfBitmap("image.tiff"); - //Get the frame count - int frameCount = tiffImage.FrameCount; - - //Access each frame draw into the page - for (int i = 0; i!=frameCount-1; i++) - { - page = section.Pages.Add(); - section.PageSettings.Margins.All = 0; - graphics = page.Graphics; - tiffImage.ActiveFrame = i; - graphics.DrawImage(tiffImage, 0, 0, page.GetClientSize().Width, page.GetClientSize().Height); - } - //Save and close the document - pdfDocument.Save("Sample.pdf"); - pdfDocument.Close(true); - - - 'Create a PDF document///Dim pdfDocument As New PdfDocument() - 'Add a section to the PDF document - Dim section As PdfSection = pdfDocument.Sections.Add() - 'Declare the PDF page - Dim page As PdfPage - 'Declare PDF page graphics - Dim graphics As PdfGraphics - 'Load multi frame Tiff image - Dim tiffImage As New PdfBitmap("image.tiff") - 'Get the frame count - Dim frameCount As Integer = tiffImage.FrameCount - 'Access each frame draw into the page - For i As Integer = 0 To frameCount - 1 - page = section.Pages.Add() - section.PageSettings.Margins.All = 0 - graphics = page.Graphics - tiffImage.ActiveFrame = i - graphics.DrawImage(tiffImage, 0, 0, page.GetClientSize().Width, page.GetClientSize().Height) - Next - 'Save and close the document - pdfDocument.Save("Sample.pdf") - pdfDocument.Close(True) - - - - - - Gets the number of frames in the bitmap (Read only). - - The frame count of the image. - - - - Gets or sets the mask of bitmap. - - New PdfMask represents the mask image. - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Add pages to the document - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the Tiff image - PdfBitmap image = new PdfBitmap("image.tif"); - //Create masking image - PdfImageMask mask = new PdfImageMask(new PdfBitmap("mask.bmp")); - image.Mask = mask; - //Draw the image - graphics.DrawImage(image, 0, 0); - //Saves the document - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Add pages to the document - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the Tiff image - Dim image As New PdfBitmap("image.tif") - 'Create masking image - Dim mask As New PdfImageMask(New PdfBitmap("mask.bmp")) - image.Mask = mask - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Saves the document - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets or sets the quality of the image. - - When the image is stored into PDF not as a mask, - you may reduce its quality, which saves the disk space. - - - - Gets the image. - - - - - Gets or sets the encoding type of the images - - The which represents the compression type of the image - - - - Represents the color mask for Bitmap images. - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load image from file - Image picture = Image.FromFile("Autumn Leaves.jpg"); - //Load the image from the Image object - PdfBitmap image = new PdfBitmap(picture); - //Create a color mask - PdfColorMask mask = new PdfColorMask(new PdfColor(Color.Red), new PdfColor(Color.Aqua)); - //Apply a mask to the image - image.Mask = mask; - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load image from file - Dim picture As Image = Image.FromFile("Autumn Leaves.jpg") - 'Load the image from the Image object - Dim image As New PdfBitmap(picture) - 'Create a color mask - Dim mask As New PdfColorMask(New PdfColor(Color.Red), New PdfColor(Color.Aqua)) - 'Apply a mask to the image - image.Mask = mask - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Base class for bitmap masking objects. - - - - - Holds start color of color mask. - - - - - Holds end color of color mask. - - - - - Initializes a new instance of the class with the specified start and end color - - The start color of the color mask. - The end color of the color mask. - - - //Create a new PDF document.///PdfDocument doc = new PdfDocument(); - //Add a page to the document. - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load image from file - Image picture = Image.FromFile("Autumn Leaves.jpg"); - //Load the image from the Image object - PdfBitmap image = new PdfBitmap(picture); - //Create a color mask - PdfColorMask mask = new PdfColorMask(new PdfColor(Color.Red), new PdfColor(Color.Aqua)); - //Apply a mask to the image - image.Mask = mask; - //Draw the image - graphics.DrawImage(image, 0, 0); - //Save the document. - doc.Save("Output.pdf"); - //Close the document. - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load image from file - Dim picture As Image = Image.FromFile("Autumn Leaves.jpg") - 'Load the image from the Image object - Dim image As New PdfBitmap(picture) - 'Create a color mask - Dim mask As New PdfColorMask(New PdfColor(Color.Red), New PdfColor(Color.Aqua)) - 'Apply a mask to the image - image.Mask = mask - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document. - doc.Close(True) - - - - - - Gets or sets the start color of the mask. - - The which represents the starting color of the color mask. - - - - Gets or sets the end color of the mask. - - The which represents the ending color of the color mask. - - - - Represents the image mask object for bitmap images. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Add pages to the document - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the Tiff image - PdfBitmap image = new PdfBitmap("image.tif"); - //Create masking image - PdfImageMask mask = new PdfImageMask(new PdfBitmap("mask.bmp")); - image.Mask = mask; - //Draw the image - graphics.DrawImage(image, 0, 0); - //Saves the document - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Add pages to the document - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the Tiff image - Dim image As New PdfBitmap("image.tif") - 'Create masking image - Dim mask As New PdfImageMask(New PdfBitmap("mask.bmp")) - image.Mask = mask - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Saves the document - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - - - - Holds mask image. - - - - - Holds mask type flag. - - - - - Initializes a new instance of the PdfImageMask class from the specified - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The PdfBitmap which represents the image - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Add pages to the document - PdfPage page = doc.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Load the Tiff image - PdfBitmap image = new PdfBitmap("image.tif"); - //Create masking image - PdfImageMask mask = new PdfImageMask(new PdfBitmap("mask.bmp")); - image.Mask = mask; - //Draw the image - graphics.DrawImage(image, 0, 0); - //Saves the document - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Add pages to the document - Dim page As PdfPage = doc.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Load the Tiff image - Dim image As New PdfBitmap("image.tif") - 'Create masking image - Dim mask As New PdfImageMask(New PdfBitmap("mask.bmp")) - image.Mask = mask - 'Draw the image - graphics.DrawImage(image, 0, 0) - 'Saves the document - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - - - - Gets the image mask for the bitmap (Read only). - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The represents the image mask. - - - - Gets the mask type for the bitmap (Read only). - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - true if soft mask; otherwise, hard mask false. - - - - Class representing metafile image - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Holds image. - - - - - Holds template for metafile. - - - - - Indicates if the metafile has been parsed. - - - - - Contains the information about the text regions in the metafile. - - - - - Contains the information about the image regions in the metafile. - - - - - Indicates if the object has been disposed. - - - - - Indicates whether we should dispose image or not. - - - - - Indicates the quality of the image. - - - - - Indicates the image resolution - - - - - Contains the html hyperlink - - - - - Contains document links. - - - - - Contains form's input elements. - - - - - Contains select elements. - - - - - Contains button elements. - - - - - - - - - - - - - - - Internal varible to store the alpha pen. - - - - - Internal varible to store the alpha brush. - - - - - Internal varible to store tranaparency is applied or not. - - - - - Internal varible to store the pdf blend mode. - - - - - Internal variable to store current pdf document - - - - - internal variable to store identical image collection - - - - - - - - - - Internal variable to store ShapeLayoutBounds - - - - - Check whether the metafile has PdfGrid - - - - - internal variable to store GridbottomCellpadding - - - - - Initializes a new instance of the class with - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The metafile. - - - - Initializes a new instance of the class with metafile path - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The metafile path. - - - - Initializes a new instance of the class from stream of the metafile - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The stream. - - - - Releases unmanaged resources and performs other cleanup operations before the - is reclaimed by garbage collection. - - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Disposes the specified disposing. - - if it is disposing, set to true. - - - - Saves the image into stream. - - This methods prepares a PDF template (XObject) - for saving and drawing. - - - - Layouts the element. - - Layout parameters. - Returns lay outing results. - - - - Layouts the HtmlToPdf element. - - Layout parameters. - Returns lay outing results. - - - - Checks the format of the metafile. Converts it to supported format. - - Input metafile. - Resulted metafile. - - - - Converts WMF/EmfPlusDual metafile to EMF metafile. - - WMF/EmfPlusDual metafile. - EMF metafile converted from WMF/EmfPlusDual metafile. - - - - Sets the transparency. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The alpha value for pen operations. - The alpha value for brush operations. - The blend mode. - Transparency is applied or not. - - - - Get or Sets transparency is applied or not. - - - - - Get or Sets the alpha pen - - - - - Get or Sets the alpha brush. - - - - - Get or Sets the Blend mode. - - - - - Gets the image. - - The image. - - - - Gets the information about the text regions in the metafile. - - - - - Gets the information about the image regions in the metafile. - - - - - Returns the internal template. - - - - - get or set the PdfDocument - - - - - get or set the bool value to to idetenctical image - - - - - get or set the bool value to to embed font - - - - - get or set the bool value to to embed complete font - - - - - Gets or sets the quality of the image. - - When the image is stored into PDF not as a mask, - you may reduce its quality, which saves the disk space. - - - - Gets or sets the resolution of the image - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Contains the html hyperlink collection. - Used during html to pdf conversion to preserve live-links. - - - - - Contains document links. - - - - - Contains Input Elements. - - - - - Contains List elements. - - - - - Contains List elements. - - - - - Gets or sets the page scale. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The page scale. - - - - Gets or sets the page graphics unit. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The page unit. - - - - Checks whether the image is direct rendering or template based. - - - - - Get or set current page graphics - - - - - Summary description for RtfToWmf. - - - - - Message code. - - - - - Message code. - - - - - Message code. - - - - - Message code. - - - - - Type object of this class. - - - - - Rectangle needed for content displaying inside of rich text paint. - - - - - Creates new object. - - - - - Converts RTF text to Wmf metafile. - - RTF text. - Width of the text. - Height of the text. May be -1. - Type of the image. - Image created from RTF. - - - - Retrieves data from RichTextBox control. - - RichTectBox control instance. - Width of the output. - Height of the output. - Type of the image. - Image created from RTF. - - - - Converts rtf to metafile. - - RichTextBox control. - Width of the image. - Height of the image. - Image from RTF. - - - - Converts rtf to metafile. - - HtmlRichTextBox control. - Width of the image. - Height of the image. - Image from RTF. - - - - Converts rtf to bitmap. - - RichTextBox control. - Width of the image. - Height of the image. - Image from RTF. - - - - Draws rtf on the graphics context. - - RichTextBox control. - Graphics context. - Bounds of the image. - - - - Convert between inches and twips (1/1440 inch, used by Win32 API calls). - - Value in inches. - Value in twips. - - - - Convert between inches and twips (1/1440 inch, used by Win32 API calls). - - Value in inches. - Value in twips. - - - - Convert between pixels and inches. - - Value in pixels. - Horizontal device resolution. - Vertical device resolution. - Value in inches.. - - - - Determines whether [is valid RTF] [the specified RTF]. - - The RTF. - - if it is valid RTF, set to true. - - - - - - Sets RTF text box. - - Rich text box control. - Rtf text. - - - - Handles contentsResized event. - - Sender of the event. - Event parameters. - - - - Implements structures and routines working with color. - - - - - - - Max value of color channel. - - - - - - - Holds RGB colors converted into strings. - - - - - - - Holds Grayscale colors converted into strings for stroking. - - - - - - - Holds Grayscale colors converted into strings for filling. - - - - - - - Holds the system-wide empty PDF color. - - - - - - - Value of Red channel. - - - - - - - Value of Cyan channel. - - - - - - - Value of Green channel. - - - - - - - Value of Magenta channel. - - - - - - - Value of Blue channel. - - - - - - - Value of Yellow channel. - - - - - - - Value of Black channel. - - - - - - - Value of Gray channel. - - - - - - - Alpha channel. - - - - - - - Shows if the color is empty. - - - - - Initializes a new instance of the class with source color - - Source color object. - - - - - Initializes a new instance of the class with object - - Source color object. - - - - - Initializes a new instance of the class with gray value - - Gray value. - - - - - Initializes a new instance of the class with Red,Green and Blue values. - - Red channel value. - Green channel value. - Blue channel value. - - - - - Initializes a new instance of the class. - - The red colour value in the range from 0.0 to 1.0. - The green value in the range from 0.0 to 1.0. - The blue value in the range from 0.0 to 1.0. - - - - - - Creates new object. - - Alpha channel. - Red channel value. - Green channel value. - Blue channel value. - - - - Initializes a new instance of the class with Cyan,Magenta,Yellow and Black channels. - - Cyan channel value. - Magenta channel value. - Yellow channel value. - Black channel value. - - - - - Creates the Alpha ,Red ,Green, and Blue value of this PDFColor structure. - - ARGB value. - - - - - Implicit operator. - - System.Drawing.Color. - PDFColor. - - - - - Implicit operator. - - System.Drawing.Color. - PDFColor. - - - - - Operator ==. - - The color 1. - The color 2. - - True if color 1 is equal to color 2; otherwise False. - - - - - - Operator !=. - - The color 1. - The color 2. - - True if color 1 is not equal to color 2; otherwise False. - - - - - - Determines whether the specified - is equal to the current . - - The to - compare with the current . - - True if the specified is equal - to the current ; otherwise - - False. - - - - - - Determines if the specified color is equal to this one. - - The color. - - True if the color is equal; otherwise - False. - - - - - - Serves as a hash function for a particular type, suitable for - use in hashing algorithms and data structures like a hash - table. - - - A hash code for the current . - - - - - - - - Sets RGB color. - - If color stroking. - - Result string. - - - - - Sets Calibrated RGB color. - - - - - - - Sets Calibrated Lab color. - - - - - - - Sets Calibrated Gray color. - - - - - - - Sets Calibrated RGB color. - - - - - - - Sets Calibrated CMYK color. - - - - - - - Sets Calibrated Lab color. - - - - - - - Sets Calibrated Gray color. - - - - - - - - - Sets gray color. - - If color stroking. - - Result string. - - - - - - - Sets CMYK color. - - If color stroking. - - Result string. - - - - - - - Writes RGB colour to string builder. - - The string builder. - If set to True stroke. - - - - - - Writes CMYK color to string builder. - - The string builder. - If set to true stroke; otherwise, false. - - - - - - Writes grayscale color to string builder. - - The string builder. - If set to True stroke. - - - - - - Converts PDFColor to PDF string representation. - - Color space. - If color stroking. - - Result string. - - - - - Converts PDFColor to PDF string representation. - - - - - - - - - - Writes color value to a string builder. - - The string builder. - The color space. - If set to True stroke. - - - - - - Converts RGB to CMYK. - - Red channel value. - Green channel value. - Blue channel value. - - - - - - Converts CMYK to RGB. - - Cyan channel value. - Magenta channel value. - Yellow channel value. - Black channel value. - - - - - - Compares colors. - - The color 1. - The color 2. - - True if colors are identical; otherwise - False. - - - - - Converts colour to a PDF array of R, G and B float values. - - Filled PdfArray object. - - - - Converts colour to a PDF array. - - The color space. - The well filled PdfArray object. - - - - Gets a null color. - - The empty. - - - - - Gets whether the PDFColor is Empty or not. - - true if this instance is empty; otherwise, false. - - - - - Gets or sets Blue channel value. - - The B. - - - - - Gets the blue color - - - - - Gets or sets Cyan channel value. - - The C. - - - - - Gets or sets Green channel value. - - The G. - - - - - Gets the green value - - The green. - - - - Gets or sets Gray channel value. - - The gray. - - - - - Gets or sets Black channel value. - - The K. - - - - - Gets or sets Magenta channel value. - - The M. - - - - - Gets or sets Red channel value. - - The R. - - - - - Gets the red color - - - - - Gets or sets Yellow channel value. - - The Y. - - - - - - - Gets or sets Alpha channel value. - - - - - This class helps to fill correctly - External graphics state dictionary. - - - - - Gets the element. - - - - - The Syncfusion.Pdf.Graphics namespace contains classes to render graphics objects - - - - - Represents a graphics context of the objects. - It's used for performing all the graphics operations. - - - - - Specifies the mask of path type values. - - - - - Check whether it is an emf call - - - - - Check whether it is an emf plus call - - - - - check whether to use font size to calculate the shift - - - - - Check whether it is an emf call - - - - - - Represents the Stream writer object. - - - - - Represents the Resource container for the graphics. - - - - - Represents the Size of the canvas. - - - - - Represents the size of the canvas reduced by margins and templates. - - - - - Represents the state, whether it is saved or not. - - - - - Represents the Current pen. - - - - - Represents the Current brush. - - - - - Represents the Current font. - - - - - Represents the Current color space. - - - - - Indicates whether color space was initialized. - - - - - Stack of the graphics states. - - - - - The transformation matrix monitoring all changes with CTM. - - - - - Stores previous rendering mode. - - - - - Previous character spacing value or 0. - - - - - Previous word spacing value or 0. - - - - - The previously used text scaling value. - - - - - Holds transparencies used in the graphics. - - - - - Current string format. - - - - - Internal variable to store layer on which this graphics lays. - - - - - Internal variable to store collection of automatic fields. - - - - - Internal variable to store layout result after drawing string. - - - - - Internal variable to store position of split. - - - - - Indicates whether the object had trasparency. - - - - - Helps to lock s_mask to avoid race conditions. - - - - - Emf Text Scaling Factor - - - - - Check whether it is an emf Text Matrix - - - - - Identifying the Optimized image - - - - - To check wihether its a direct text rendering. - - - - - To store the previous document color spaace. - - - - - To store the previous graphics color spaace. - - - - - To check whether the last color space of document and garphics is saved. - - - - - Stores Text rendering mode. - - - - - Indicates whether the text rendering mode is set. - - - - - Shows if the graphics state was changed. - - - - - Shows if it was the first transformation operation. - - - - - Shows if the graphics state was restored. - - - - - Shows if it's the first call to the OnDrawPrimitive method. - - - - - stores the text clip - - - - - Indicate whether the Word to PDF DirectConversion. - - - - - Initializes a new instance of the class. - - The size. - The resources. - The stream writer of the current layer. - - - - Initializes a new instance of the class. - - The size. - The resources. - The stream of the current layer. - - - - - Draws a line connecting the two points specified by the coordinate pairs. - - Pen that determines the color, width, and style of the line. - The x-coordinate of the first point. - The y-coordinate of the first point. - The x-coordinate of the second point. - The y-coordinate of the second point. - - - - Draws a rectangle specified by a pen, a Rectangle structure. - - A Pen that determines the color, width, and style of the rectangle. - A Rectangle structure that represents the rectangle to draw. - - - - Draws a rectangle specified by a pen, a coordinate pair, a width, and a height. - - A Pen that determines the color, width, and style of the rectangle. - The x-coordinate of the upper-left corner of the rectangle to draw. - The y-coordinate of the upper-left corner of the rectangle to draw. - Width of the rectangle to draw. - Height of the rectangle to draw. - - - - - Draws a rectangle specified by a brush, coordinate pair, a width, and a height. - - Brush that determines the color and texture of the rectangle. - The x-coordinate of the upper-left corner of the rectangle to draw. - The y-coordinate of the upper-left corner of the rectangle to draw. - Width of the rectangle to draw. - Height of the rectangle to draw. - - - - Draws a rectangle specified by a pen, a brush and a Rectangle structure. - - A Pen that determines the color, width, and style of the rectangle. - Brush that determines the color and texture of the rectangle. - A Rectangle structure that represents the rectangle to draw. - - - - Draws a rectangle specified by a pen, a coordinate pair, a width, and a height. - - A Pen that determines the color, width, and style of the rectangle. - Brush that determines the color and texture of the rectangle. - The x-coordinate of the upper-left corner of the rectangle to draw. - The y-coordinate of the upper-left corner of the rectangle to draw. - Width of the rectangle to draw. - Height of the rectangle to draw. - - - - Draws an ellipse specified by a pen, a bounding Rectangle structure. - - Pen that determines the color, width, and style of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - - - - Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width. - - Pen that determines the color, width, and style of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - - Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width. - - Brush that determines the color and texture of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - Draws an ellipse specified by a bounding Rectangle structure. - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - RectangleF structure that defines the boundaries of the ellipse. - - - - Draws an ellipse specified by a pen, a brush and coordinates for the upper-left corner of the rectangle, a height, and a width. - - Pen that determines the color, width, and style of the ellipse. - Brush that determines the color and texture of the ellipse. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse. - Width of the bounding rectangle that defines the ellipse. - Height of the bounding rectangle that defines the ellipse. - - - - - Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. - - Pen that determines the color, width, and style of the arc. - The x-coordinate of the upper-left corner of the rectangle that defines the ellipse. - The y-coordinate of the upper-left corner of the rectangle that defines the ellipse. - Width of the rectangle that defines the ellipse. - Height of the rectangle that defines the ellipse. - Angle in degrees measured clockwise from the x-axis to the starting point of the arc. - Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc. - - - - Draws a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines. - - Pen that determines the color, width, and style of the pie shape. - Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes. - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. - - - - Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines. - - Pen that determines the color, width, and style of the pie shape. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - Width of the bounding rectangle that defines the ellipse from which the pie shape comes. - Height of the bounding rectangle that defines the ellipse from which the pie shape comes. - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. - - - - - Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines. - - Brush that determines the color and texture of the pie. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - Width of the bounding rectangle that defines the ellipse from which the pie shape comes. - Height of the bounding rectangle that defines the ellipse from which the pie shape comes. - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. - - - - Draws a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines. - - Pen that determines the color, width, and style of the pie shape. - Brush that determines the color and texture of the pie. - Rectangle structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes. - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. - - - - Draws a pie shape defined by an ellipse specified by a Rectangle structure and two radial lines. - - Pen that determines the color, width, and style of the pie shape. - Brush that determines the color and texture of the pie. - The x-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - The y-coordinate of the upper-left corner of the bounding rectangle that defines the ellipse from which the pie shape comes. - Width of the bounding rectangle that defines the ellipse from which the pie shape comes. - Height of the bounding rectangle that defines the ellipse from which the pie shape comes. - Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape. - - - - Draws a polygon defined by a pen, an array of Point structures. - - Pen that determines the color, width, and style of the polygon. - Array of PointF structures that represent the vertices of the polygon. - - - - - Draws a polygon defined by a pen, a brush, an array of Point structures. - - Pen that determines the color, width, and style of the polygon. - Brush that determines the color and texture of the pie. - Array of Point structures that represent the vertices of the polygon. - - - - - Draws a B�zier spline defined by four ordered pairs of coordinates that represent points. - - Pen structure that determines the color, width, and style of the curve. - The x-coordinate of the starting point of the curve. - The y-coordinate of the starting point of the curve. - The x-coordinate of the first control point of the curve. - The y-coordinate of the first control point of the curve. - The x-coordinate of the second control point of the curve. - The y-coordinate of the second control point of the curve. - The x-coordinate of the ending point of the curve. - The y-coordinate of the ending point of the curve. - - - - Draws a GraphicsPath defined by a pen and path - - Pen that determines the color, width, and style of the path. - GraphicsPath to draw. - - - - - Draws a GraphicsPath defined by a pen, a brush and path - - Pen that determines the color, width, and style of the path. - Brush that determines the color and texture of the path. - GraphicsPath to draw. - - - - Draws the specified PdfImage, using its original physical size, at the specified location.. - - PdfImage to draw. - Point structure that represents the location of the upper-left corner of the drawn image. - - - //Creates a new PDF document. - PdfDocument doc = new PdfDocument(); - //Adds a page to the document. - PdfPage page = doc.Pages.Add(); - //Creates PDF graphics for the page. - PdfGraphics g = page.Graphics; - //Creates an image object. - PdfBitmap image = new PdfBitmap("Autumn Leaves.jpg"); - //Draws the image. - g.DrawImage(image, new PointF(0, 0)); - //Saves the document. - doc.Save("Output.pdf"); - //Closes the document. - doc.Close(true); - - - 'Creates a new PDF document. - Dim doc As New PdfDocument() - 'Adds a page to the document. - Dim page As PdfPage = doc.Pages.Add() - 'Creates PDF graphics for the page. - Dim g As PdfGraphics = page.Graphics - 'Creates an image object. - Dim image As New PdfBitmap("Autumn Leaves.jpg") - 'Draws the image. - g.DrawImage(image,New PointF(0, 0)) - 'Saves the document. - doc.Save("Output.pdf") - 'Closes the document. - doc.Close() - - - - - - Draws the specified image, using its original physical size, at the location specified by a coordinate pair. - - PdfImage to draw. - The x-coordinate of the upper-left corner of the drawn image. - The y-coordinate of the upper-left corner of the drawn image. - - - - Draws the specified Image at the specified location and with the specified size. - - PdfImage to draw. - RectangleF structure that specifies the location and size of the drawn image. - - - - Draws the specified Image at the specified location and with the specified shape and size. - - PdfImage to draw. - Point structure that represents the location of the upper-left corner of the drawn image. - SizeF structure that represents the height and width of the drawn image. - - - - Draws the specified image, using its original physical size, at the location specified by a coordinate pair. - - PdfImage to draw. - The x-coordinate of the upper-left corner of the drawn image. - The y-coordinate of the upper-left corner of the drawn image. - Width of the drawn image. - Height of the drawn image. - - - - Set the Page xobject in page parent dictionary. - - - - - - - - - Gets the identical Xobject from Image collection. - - - - - - - - - Draws the specified text string at the specified location with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - PointF structure that specifies the upper-left corner of the drawn text. - - - //Creates a new PDF document. - PdfDocument document = new PdfDocument(); - //Adds a page.PdfPage - page = document.Pages.Add(); - //Creates PDF graphics for the page. - PdfGraphics graphics = page.Graphics; - //Creates a solid brush. - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Sets the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12); - //Draws the String. - graphics.DrawString("Hello world!", font, brush, new PointF(20, 20)); - //Saves the document. - document.Save("Sample.pdf"); - //Closes the document. - document.Close(true); - - - 'Creates a new PDF document. - Dim document As PdfDocument = New PdfDocument() - 'Adds a page to the document. - Dim page As PdfPage = document.Pages.Add() - 'Creates PDF graphics for the page. - Dim graphics As PdfGraphics = page.Graphics - 'Creates a solid brush. - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Sets the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12) - 'Draws the text. - graphics.DrawString("Hello world!", font, brush,new PointF(20,20)) - 'Saves the document. - document.Save("Sample.pdf") - 'Closes the document - document.Close(true) - - - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - PointF structure that specifies the upper-left corner of the drawn text. - The text string format. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - The x. - The y. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - The x-coordinate of the upper-left corner of the drawn text. - The y-coordinate of the upper-left corner of the drawn text. - The text string format. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - PointF structure that specifies the upper-left corner of the drawn text. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - PointF structure that specifies the upper-left corner of the drawn text. - The text string format. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - The x-coordinate of the upper-left corner of the drawn text. - The y-coordinate of the upper-left corner of the drawn text. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string.. - Pen that determines the color, width, and style of the path. - The x-coordinate of the upper-left corner of the drawn text. - The y-coordinate of the upper-left corner of the drawn text. - The text string format. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - Brush that determines the color and texture of the drawn text. - PointF structure that specifies the upper-left corner of the drawn text. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - Brush that determines the color and texture of the drawn text. - PointF structure that specifies the upper-left corner of the drawn text. - StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - The text string. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - Brush that determines the color and texture of the drawn text. - The x-coordinate of the upper-left corner of the drawn text. - The y-coordinate of the upper-left corner of the drawn text. - The text string format. - - - - Draws the specified text string at the specified location - with the specified Brush and Font objects. - - The text string. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - Brush that determines the color and texture of the drawn text. - The x-coordinate of the upper-left corner of the drawn text. - The y-coordinate of the upper-left corner of the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Brush and Font objects. - - The text string. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - RectangleF structure that specifies the bounds of the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Brush that determines the color and texture of the drawn text. - RectangleF structure that specifies the bounds of the drawn text. - StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Brush, shift value and Font objects. - - - - - Draws the specified text string at the specified location and size - with the specified Pen and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - RectangleF structure that specifies the bounds of the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Pen and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - RectangleF structure that specifies the bounds of the drawn text. - StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Pen, Brush and Font objects. - - String to draw. - Font that defines the text format of the string. - Pen that determines the color, width, and style of the path. - The brush. - RectangleF structure that specifies the bounds of the drawn text. - StringFormat that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text. - - - - Draws the specified text string at the specified location and size - with the specified Pen, Brush, shift Value and Font objects. - - - - - Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics. - - The x-coordinate of the translation. - The y-coordinate of the translation. - - - - Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix. - - Scale factor in the x direction. - Scale factor in the y direction. - - - - - Applies the specified rotation to the transformation matrix of this Graphics. - - Angle of rotation in degrees. - - - - - Skews the coordinate system axes. - - Skews the X axis by this angle (in - degrees). - Skews the Y axis by this angle (in - degrees). - - - - - Multiplies the world transformation of this Graphics and specified the Matrix. - - The matrix that multiplies the world transformation. - - - - Draws a template using its original size, at the specified location. - - object. - PointF structure that specifies the upper-left corner of the drawn template. - - - //Creates a new PDF document. - PdfDocument pdfDocument = new PdfDocument(); - //Adds a page to the PDF document. - PdfPage pdfPage = pdfDocument.Pages.Add(); - //Create a PDF Template. - PdfTemplate template = new PdfTemplate(100, 50); - //Draws a rectangle into the graphics of the template. - template.Graphics.DrawRectangle(PdfBrushes.BurlyWood, new System.Drawing.RectangleF(0, 0, 100, 50)); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14); - PdfBrush brush = new PdfSolidBrush(Color.Black); - //Draws a string into the graphics of the template. - template.Graphics.DrawString("Hello World", font, brush, 5, 5); - //Draws the template into the page graphics of the document. - pdfPage.Graphics.DrawPdfTemplate(template, PointF.Empty); - //Saves the document. - pdfDocument.Save("Output.pdf"); - //Close the document - pdfDocument.Close(true); - - - 'Creates a new PDF document. - Dim pdfDocument As New PdfDocument() - 'Adds a page to the PDF document - Dim pdfPage As PdfPage = pdfDocument.Pages.Add() - 'Creates a PDF Template. - Dim template As New PdfTemplate(100, 50) - 'Draws a rectangle into the graphics of the template. - template.Graphics.DrawRectangle(PdfBrushes.BurlyWood, New System.Drawing.RectangleF(0, 0, 100, 50)) - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14) - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - 'Draws a string into the graphics of the template. - template.Graphics.DrawString("Hello World", font, brush, 5, 5) - 'Draws the template into the page graphics of the document. - pdfPage.Graphics.DrawPdfTemplate(template, PointF.Empty) - 'Saves the document. - pdfDocument.Save("Output.pdf") - 'Close the document - pdfDocument.Close(True) - - - - - Draws a template at the specified location and size. - - object. - PointF structure that specifies the upper-left corner of the drawn template. - Size of the template. - - - - Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish. - - - - - Saves the current state of this Graphics and identifies the saved state with a GraphicsState. - - This method returns a GraphicsState that represents the saved state of this Graphics. - This method works similar to method. - - - - Restores the state of this Graphics to the state represented by a GraphicsState. - - - - - Restores the state of this Graphics to the state represented by a GraphicsState. - - GraphicsState that represents the state to which to restore this Graphics. - This method works similar to method. - - - - Sets the clipping region of this Graphics to the rectangle specified by a RectangleF structure. - - RectangleF structure that represents the new clip region. - - - - Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a RectangleF structure. - - RectangleF structure to combine. - Member of the PdfFillMode enumeration that specifies the filling operation to use. - - - - Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified PdfPath. - - PdfPath to clip. - - - - Modifying the current clipping path by intersecting it with the current path. - - PdfPath to fill. - Member of the PdfFillMode enumeration that specifies the filling operation to use. - - - - Sets the transparency of this Graphics with the specified value for pen - - The alpha value for both pen - and brush operations. - - - - Sets the transparency of this Graphics with the specified value for pen and brush - - The alpha value for pen operations. - The alpha value for brush operations. - - - - Sets the transparency of this Graphics with the specified PdfBlendMode - - The alpha value for pen operations. - The alpha value for brush operations. - The blend mode. - - - - Normalizes the text. - - The font. - The text. - The normalized string. - - - - Initializes this instance. - - - - - Sets the layer for the graphics. - - The layer. - - - - Handles the Save event of the Page control. - - The source of the event. - The instance containing the event data. - - - - Updates y co-ordinate. - - Y co-ordinate. - Updated y co-ordinate. - - - - Writes a comment line. - - The comment. - - - - Clears an instance. - - - - - Restores graphics state. - - The restored graphics state. - - - - Controls all state modifications and react repectively. - - The pen. - The brush. - The font. - - - - Controls all state modifications and react respectively. - - The pen. - The brush. - The font. - Text settings. - - - - Saves the font and other font settings. - - Current font. - Current format. - If set to true the state's been changed. - - - - Saves the ColorSpace and other ColorSpace settings. - - - - - - Controls the brush state. - - The brush. - if set to true the state's been changed. - - - - Initializes the current color space. - - - - - Initializes the current color space. - - - - - - Controls the pen state. - - The pen. - if set to true the state's been changed. - - - - Draws custom or sets predefined line cap style. - - The pen. - The x2. - The y2. - The x1. - The y1. - - - - Draws the path. - - The pen. - The brush. - if it is need to close, set to true. - - - - Draws the path. - - The pen. - The brush. - The fill mode. - if it is need to close, set to true. - - - - Gets the bezier points for arc constructing. - - The x1. - The y1. - The x2. - The y2. - The start angle. - The extent. - - - - - Constructs the arc path using Bezier curves. - - The x1. - The y1. - The x2. - The y2. - The start angle. - The sweep angle. - - - - Builds up the path. - - The path. - - - - Gets the bezier points from respective arrays. - - The points. - The types. - The i. - The p2. - The p3. - - - - Builds up the path. - - The points. - The types. - - - - Checks path point type flags. - - The path point type. - - - - Gets the text rendering mode. - - The pen. - The brush. - The format. - Proper TextRenderingMode value. - - - - Sets the drawing area and translates origin. - - X co-ordinate of the co-ordinate system. - Y co-ordinate of the co-ordinate system. - Left margin value. - Top margin value. - Right margin value. - Bottom margin value. - - - - Sets the drawing area and translates origin. - - Clip bounds of the graphics. - - - - Initializes coordinate system. - - - - - Initializes coordinate system. - - - - - Flips the hirizontally. - - - - - Flips the coordinates vertically. - - - - - Translates coordinates of the input matrix. - - X translation. - Y translation. - Input matrix. - Output matrix. - - - - Scales coordinates of the input matrix. - - X scaling. - Y scaling. - Input matrix. - Output matrix. - - - - Rotates coordinates of the input matrix. - - Rotation angle. - Input matrix. - Output matrix. - - - - Skews coordinates of the input matrix. - - X skewing. - Y skewing. - Input matrix. - Output matrix. - - - - Draws a CJK string. - - The line info. - The layout rectangle. - The font. - The format. - - - - Gets a CJK string. - - The line. - A proper PdfString class instance. - - - - Draws Ascii line. - - Text line. - Lay outing rectangle. - Font object. - Text format. - - - - Creates PdfString from ASCII string. - - String line. - PdfString object. - - - - Draws unicode line. - - Text line. - Lay outing rectangle. - Font object. - Text format. - - - - Creates PdfString from the unicode text. - - Unicode text. - PdfString object. - - - - Breakes the unicode line to the words and converts symbols to glyphs. - - String text. - TTF font. - Array of real words. - Array of text in glyphs. - - - - Converts to unicode format. - - Unicode text. - The TTF font. - Converted string - - - - Draws array of unicode tokens. - - Unicode tokens. - Array of the real words. - Font object. - Text formatting. - Word spacing value if need to be justified. - - - - Gets the text lines from the text. - - The text. - - - - - Applies all the text settings. - - Font object. - Pen object. - Brush object. - Text format. - - - - Calculates shift value if the line is horizontaly aligned. - - Line width. - Bounds width. - Text format. - Shift value. - - - - Calculates shift value if the text is vertically aligned. - - Text height. - Bounds height. - Text format. - Shift value. - - - - Justifies the line if needed. - - String text. - Width of the bounds. - Text format. - Space width for justifying. - - - - Checks whether the line should be justified. - - String text. - Width of the bounds. - Text format. - True if the line should be justified. - - - - Checks and corrects layoutRectangle for text lay outing. - - Text bounds. - True - if some part of the layoutRectangle fits the canvas ClipBounds, false otherwise. - - - - Creates lay outed rectangle depending on the text settings. - - Size of the text. - X co-ordinate of the text. - Y co-ordinate of the text. - Text format settings. - layout rectangle. - - - - Emulates Underline, Strikeout of the text if needed. - - Current pen. - Current brush. - Lay outing result. - Font object. - Lay outing rectangle. - Text format. - - - - Creates a pen for drawing lines in the text. - - Current pen. - Current brush. - Current font. - Text format. - Pen for the lines. - - - - Draws layout result. - - Layout result. - Text font. - Text format. - Layout rectangle. - - - - Draws a layout result with shift value. - - - - - Draws a layout result. - - Layout result. - Text font. - The pen object. - The brush object. - Layout rectangle. - Text format. - - - - Returns line indent for the line. - - Line info. - Text settings. - Layout Bounds. - Indicates whether the line is the first in the text. - Returns line indent for the line. - - - - Checks whether RTL is enabled. - - Text settings. - Tre if RTL is enabled. - - - - Returns bounds of the line info. - - index of the line in the result. - Layout result. - Font used for this text. - Layout rectangle. - Text settings. - Returns bounds of the line info. - - - - Sets the BBox entry of the graphics dictionary. - - The bounds. - - - - Raise the event on property changed. - - - - - - Draws a text string. - - The text. - The font. - The brush. - The text boundaries. - The string format. - - - - Calculates scaling factor for text that fits to the specifiedboundaries. - - String text to be scaled. - Font object. - Text' boundaries. - Size of the text. - The format. - The scaling factor. - - - - Resets the current clip region to the infinite region. - - - - - Prepares a matrix to PDF. - - The matrix. - The page scale value. - - A properly prepared PdfTransformationMatrix class instance. - - - - - Sets the current clip region. - - The rectangle specifying the new clip region. - The combining mode. - - - - Called when we need to draw a primitive. - - - - - Converts the System.Drawing.StringFormat format to - Syncfusion.Pdf.Graphics.PdfStringFormat format. - - The format. - Proper Syncfusion.Pdf.Graphics.PdfStringFormat format. - - - - Converts the line alignment. - - The string alignment. - The proper VerticalAlignment value. - - - - Gets the type of the wrap. - - The string format flags. - Proper StringWrapType value. - - - - Converts the alingnmet. - - The string alignment. - The proper TextAlignment value. - - - - Performs translate transformation of the graphics. - - The offset by the x coordinate. - The offset by the y coordinate. - The order of the matrix operations. - - - - Performs the rotate transformations. - - The angle. - The order. - - - - Converts GraphicsUnits to PrintUnits. - - - returns PrintUnits - - - - Internally resets clip region. - - - - - Sets transformation matrix. - - - - - Resets the transformations. - - - - - Sets clip region. - - - - - Sets clip region. - - - - - Gets clip path for the graphics. - - - - - Extracts fill mode of the path. - - Graphics path. - Fill mode of the path. - - - - Internally resets transformation. - - - - - Saves the current graphics state. - - A GraphicsState instance that stores - information about the current graphic state. - - - - Restores the graphics state to the specified graphics state. - - The saved graphics state. - - - - Gets the size of the canvas. - - Usually, this value is equal to the size of the object this graphics belongs to. - - - - Gets the size of the canvas reduced by margins and page templates. - - It indicates a size of the canvas reduced by margins and template dimensions. - This value doesn't change when any custom clip is set. - - - - Gets or sets the current color space of the document - - The value change of this property has impact on the objects - which will be drawn after the change. - - - - Gets the stream writer. - - - - - Gets the transformation matrix reflecting current transformation. - - - - - Gets the layer for the graphics, if exists. - - The layer. - - - - Gets the page for this graphics, if exists. - - The page. - - - - Gets the automatic fields. - - The automatic fields. - - - - Returns the result after drawing string. - - - - - Gets or sets the split before being processed by Text and Image region managers. - - - - - Gets the transparency object value - - - - - Gets or sets tag for the element - - - - - Gets a value indicating whether the document is auto-tagged. - - - - - Gets or sets the current tag type. - - - - - Gets or sets a value, indicating the template graphics. - - - - - Gets or sets transformation of graphics. - - - - - Gets or sets the scaling between world units and page units for this Graphics object. - - - - - Gets or sets the unit of measure used for page coordinates in this Graphics object. - - - - - Get or set a value indicates to enable the Direct Word to PDF conversion. - - - - - Delegate declaring a method returning resources. - - - - - - Delegate declaring a method to process tag. - - - - - - Holds info about transparency. - - - - - Initializes a new instance of the class. - - The alpha pen. - The alpha brush. - The blend mode. - - - - Indicates whether this instance and a specified object are equal. - - Another object to compare to. - - true if obj and this instance are the same type and - represent the same value; otherwise, false. - - - - - Returns the hash code for this instance. - - - A 32-bit signed integer that is the hash code for this instance. - - - - - Represents the state of a Graphics object. This object is returned by a call to the Save methods. - - - - - Parent graphics object. - - - - - The current transformation matrix. - - - - - Stores previous rendering mode. - - - - - Previous character spacing value or 0. - - - - - Previous word spacing value or 0. - - - - - The previously used text scaling value. - - - - - Current pen. - - - - - Current brush. - - - - - Current font. - - - - - Current color space. - - - - - default constructor. - - - - - Creates new object. - - Parent graphics state. - The current transformation matrix. - - - - Gets the parent graphics object. - - - - - Gets the current matrix. - - - - - Gets or sets the current character spacing. - - - - - Gets or sets the word spacing value. - - - - - Gets or sets the text scaling value. - - - - - Gets or sets the current pen object. - - - - - Gets or sets the brush. - - - - - Gets or sets the current font object. - - - - - Gets or sets the current color space value. - - - - - Gets or sets the text rendering mode. - - - - - A class representing PDF page margins. - - - - - Represents the Default Page Margin value. - - - - - Initializes a new instance of the class. - - - - - Sets the margins. - - The margin size. - - - - Sets the margins. - - The left right. - The top bottom. - - - - Sets the margins. - - The left. - The top. - The right. - The bottom. - - - - Clones the object. - - The cloned object. - - - - Gets or sets the left margin size. - - Default value: 40 pixels - - - - Gets or sets the top margin size. - - Default value: 40 pixels - - - - Gets or sets the right margin size. - - Default value: 40 pixels - - - - Gets or sets the bottom margin size. - - Default value: 40 pixels - - - - Sets margin of each side of the page - - Margin of each side. - Default value: 40 pixels - - - - A class defining settings for drawing operations, that determines the color, width, and style of the drawing elements. - - - - - Indicates if the pen is immutable. - - - - - Initializes a new instance of the class. - - Doesn't change current colour. - - - - Initializes a new instance of the class. - - The color. - - - - Initializes a new instance of the class. - - The system color. - - - - Initializes a new instance of the class with color and width of the pen - - The provides color to the pen. - Width of the pen's line. - - - - Initializes a new instance of the class with color and width of the pen - - The provides color to the pen. - Width of the pen's line. - - - - Initializes a new instance of the class with - - The provides color and texture to the pen. - - - - - Initializes a new instance of the class. - - The provides color to the pen. - if set to true the pen is immutable. - - - - Initializes a new instance of the class with color. - - The provides color to the pen. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Clones this instance. - - A new pen with the same properties. - - - - Sets the brush. - - The brush. - - - - Sets the stroking flag to brush. - - The brush. - - - - Resets the stroking. - - The brush. - - - - Monitors the changes. - - The current pen. - The stream writer. - The get resources. - if it is save state, set to true. - The current color space. - The current transformation matrix. - True if the pen was different. - - - - Gets the pattern. - - The initialized pattern. - - - - Controls the dash style and behaviour of each line. - - The pen. - if set to true the state should be changed anyway. - The stream writer. - True if the dash is different. - - - - Checks the immutability. - - Name of the property. - - - - Get or set the Colorspace. - - - - - Gets or sets the brush, which specifies the pen behavior. - - The that determines the color and texture - If the brush is set, the color values are ignored, - except for PdfSolidBrush. - - - - Gets or sets the color of the pen. - - The provide the color to pen - - - - Gets or sets the dash offset of the pen. - - - - - Gets or sets the dash pattern of the pen. - - we can't set the Dash pattern for solid dash style - - - - Gets or sets the dash style of the pen. - - The provides the various dash styles - - - - Gets or sets the line cap of the pen. - - The gives various line cap options - - - - Gets or sets the line join style of the pen. - - The provides various line join options. - - - - Gets or sets the width of the pen. - - - - - Gets or sets the miter limit. - - - - - The collection of the default pens. - - - - - Creates the default pen. - - The color. - Name of the color. - The proper PdfPen instance. - - - - Disallows to create an instance of PDfPens class. - - - - - Gets the AliceBlue pen. - - - - - Gets the antique white pen. - - - - - Gets the Aqua default pen. - - - - - Gets the Aquamarine default pen. - - - - - Gets the Azure default pen. - - - - - Gets the Beige default pen. - - - - - Gets the Bisque default pen. - - - - - Gets the Black default pen. - - - - - Gets the BlanchedAlmond default pen. - - - - - Gets the Blue default pen. - - - - - Gets the BlueViolet default pen. - - - - - Gets the Brown default pen. - - - - - Gets the BurlyWood default pen. - - - - - Gets the CadetBlue default pen. - - - - - Gets the Chartreuse default pen. - - - - - Gets the Chocolate default pen. - - - - - Gets the Coral default pen. - - - - - Gets the CornflowerBlue default pen. - - - - - Gets the Corn silk default pen. - - - - - Gets the Crimson default pen. - - - - - Gets the Cyan default pen. - - - - - Gets the DarkBlue default pen. - - - - - Gets the DarkCyan default pen. - - - - - Gets the DarkGoldenrod default pen. - - - - - Gets the DarkGray default pen. - - - - - Gets the DarkGreen default pen. - - - - - Gets the DarkKhaki default pen. - - - - - Gets the DarkMagenta default pen. - - - - - Gets the DarkOliveGreen default pen. - - - - - Gets the DarkOrange default pen. - - - - - Gets the DarkOrchid default pen. - - - - - Gets the DarkRed default pen. - - - - - Gets the DarkSalmon default pen. - - - - - Gets the DarkSeaGreen default pen. - - - - - Gets the DarkSlateBlue default pen. - - - - - Gets the DarkSlateGray default pen. - - - - - Gets the DarkTurquoise default pen. - - - - - Gets the DarkViolet default pen. - - - - - Gets the DeepPink default pen. - - - - - Gets the DeepSkyBlue default pen. - - - - - Gets the DimGray default pen. - - - - - Gets the DodgerBlue default pen. - - - - - Gets the Firebrick default pen. - - - - - Gets the FloralWhite default pen. - - - - - Gets the ForestGreen default pen. - - - - - Gets the Fuchsia default pen. - - - - - Gets the Gainsborough default pen. - - - - - Gets the GhostWhite default pen. - - - - - Gets the Gold default pen. - - - - - Gets the Goldenrod default pen. - - - - - Gets the Gray default pen. - - - - - Gets the Green default pen. - - - - - Gets the GreenYellow default pen. - - - - - Gets the Honeydew default pen. - - - - - Gets the HotPink default pen. - - - - - Gets the IndianRed default pen. - - - - - Gets the Indigo default pen. - - - - - Gets the Ivory default pen. - - - - - Gets the Khaki default pen. - - - - - Gets the Lavender default pen. - - - - - Gets the LavenderBlush default pen. - - - - - Gets the LawnGreen default pen. - - - - - Gets the LemonChiffon default pen. - - - - - Gets the LightBlue default pen. - - - - - Gets the LightCoral default pen. - - - - - Gets the LightCyan default pen. - - - - - Gets the LightGoldenrodYellow default pen. - - - - - Gets the LightGray default pen. - - - - - Gets the LightGreen default pen. - - - - - Gets the LightPink default pen. - - - - - Gets the LightSalmon default pen. - - - - - Gets the LightSeaGreen default pen. - - - - - Gets the LightSkyBlue default pen. - - - - - Gets the LightSlateGray default pen. - - - - - Gets the LightSteelBlue default pen. - - - - - Gets the LightYellow default pen. - - - - - Gets the Lime default pen. - - - - - Gets the LimeGreen default pen. - - - - - Gets the Linen default pen. - - - - - Gets the Magenta default pen. - - - - - Gets the Maroon default pen. - - - - - Gets the MediumAquamarine default pen. - - - - - Gets the MediumBlue default pen. - - - - - Gets the MediumOrchid default pen. - - - - - Gets the MediumPurple default pen. - - - - - Gets the MediumSeaGreen default pen. - - - - - Gets the MediumSlateBlue default pen. - - - - - Gets the MediumSpringGreen default pen. - - - - - Gets the MediumTurquoise default pen. - - - - - Gets the MediumVioletRed default pen. - - - - - Gets the MidnightBlue default pen. - - - - - Gets the MintCream default pen. - - - - - Gets the MistyRose default pen. - - - - - Gets the Moccasin default pen. - - - - - Gets the NavajoWhite default pen. - - - - - Gets the Navy default pen. - - - - - Gets the OldLace default pen. - - - - - Gets the Olive default pen. - - - - - Gets the OliveDrab default pen. - - - - - Gets the Orange default pen. - - - - - Gets the OrangeRed default pen. - - - - - Gets the Orchid default pen. - - - - - Gets the PaleGoldenrod default pen. - - - - - Gets the PaleGreen default pen. - - - - - Gets the PaleTurquoise default pen. - - - - - Gets the PaleVioletRed default pen. - - - - - Gets the PapayaWhip default pen. - - - - - Gets the PeachPuff default pen. - - - - - Gets the Peru default pen. - - - - - Gets the Pink default pen. - - - - - Gets the Plum default pen. - - - - - Gets the PowderBlue default pen. - - - - - Gets the Purple default pen. - - - - - Gets the Red default pen. - - - - - Gets the RosyBrown default pen. - - - - - Gets the RoyalBlue default pen. - - - - - Gets the SaddleBrown default pen. - - - - - Gets the Salmon default pen. - - - - - Gets the SandyBrown default pen. - - - - - Gets the SeaGreen default pen. - - - - - Gets the SeaShell default pen. - - - - - Gets the Sienna default pen. - - - - - Gets the Silver default pen. - - - - - Gets the SkyBlue default pen. - - - - - Gets the SlateBlue default pen. - - - - - Gets the SlateGray default pen. - - - - - Gets the Snow default pen. - - - - - Gets the SpringGreen default pen. - - - - - Gets the SteelBlue default pen. - - - - - Gets the Tan default pen. - - - - - Gets the Teal default pen. - - - - - Gets the Thistle default pen. - - - - - Gets the Tomato default pen. - - - - - Gets the Transparent default pen. - - - - - Gets the Turquoise default pen. - - - - - Gets the Violet default pen. - - - - - Gets the Wheat default pen. - - - - - Gets the White default pen. - - - - - Gets the WhiteSmoke default pen. - - - - - Gets the Yellow default pen. - - - - - Gets the YellowGreen default pen. - - - - - Dictionary of the objects names. - - - - - Dictionary of the properties names. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The base dictionary. - - - - Generates name for the object and adds to the resource if the object is new. Otherwise - returns object's name in the context of the resources. - - Object contained by a resource. - Returns object's name in the context of the resources. - - - - Gets resource names to font dictionaries. - - The names to font dictionaries. - - - - Requires the proc set. - - Name of the proc set. - - - - Generates Unique string name. - - - - - - Adds object to the resources. - - Object to be added to resources. - Name of the object. - - - - Adds the font to the "Fonts" sub dictionary. - - The font to add. - The name. - - - - Adds the Layer Properties to the "Properties" dictionary. - - The layer properties to add. - The reference. - - - - Adds the template to the "XObject" sub dictionary. - - The template to add. - The name. - - - - Adds the image to the "XObject" sub dictionary. - - The image to add. - The name. - - - - Adds the specified brush to the resources. - - The brush. - The name of the brush. - - - - Adds the specified transparancy to the resources. - - The transparancy. - The name of the brush. - - - - Adds the specified ColorSpaces to the resources. - - - - - - - Adds the specified Dictionary to the resources. - - - - - - - Gets the font names. - - - - - Get or set the type1 font name other than PdfStandardFonts,inorder to refer exact font from page's font resource - - - - - Get or set the page document. - - - - - - - Class for representing Root transformation matrix. - - - - - - - Value for angle converting. - - - - - - - Value for angle converting. - - - - - - - Transformation matrix. - - - - - Initializes object. - - - - - - Initializes object. - - - - - - Translates coordinates by specified coordinates. - - Offsets for translation. - - - Order of transformation sequence is significant. - - - - - Translates coordinates by specified coordinates. - - The X value by which to translate - coordinate system. - The Y value by which to translate - coordinate system. - - - Order of transformation sequence is significant. - - - - - - - Scales coordinates by specified coordinates. - - Scaling values. - - Order of transformation sequence is significant. - - - - - Scales coordinates by specified coordinates. - - The value by which to scale coordinate - system in the X axis direction. - The value by which to scale coordinate - system in the Y axis direction. - - - Order of transformation sequence is significant. - - - - - Rotates coordinate system in counterclockwise direction. - - The angle of the rotation (in degrees). - - - Order of transformation sequence is significant. - - - - - Skews coordinate system axes. - - Skew angles. - - - Order of transformation sequence is significant. - - - - - Skews coordinate system axes. - - Skews the X axis by this angle (in - degrees). - Skews the Y axis by this angle (in - degrees). - - - Order of transformation sequence is significant. - - - - - Applies the specified shear vector to this Matrix - by prepending the shear transformation. - - The shear X factor. - The shear Y factor. - The transformation applied in this method - is a pure shear only if one of the parameters is 0. - Applied to a rectangle at the origin, when the shearY - factor is 0, the transformation moves the bottom edge - horizontally by shearX times the height of the rectangle. - When the shearX factor is 0, it moves the right edge - vertically by shearY times the width of the rectangle. - Caution is in order when both parameters are nonzero, - because the results are hard to predict. For example, - if both factors are 1, the transformation is singular - (hence noninvertible), squeezing the entire plane to - a single line. - - - - Applies a clockwise rotation about the specified point. - - The angle. - The point. - - - - - - Gets PDF representation. - - - PDF representation. - - - - - - - Multiplies matrixes (changes coordinate system.) - - Matrix to be multiplied. - - - - Converts degrees to radians. - - The degrees X. - The value in radians. - - - - - Converts radians to degress. - - The radians. - The value in degress. - - - - - Clones this instance. - - The cloned instance. - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Gets the X translation value. - - - - - Gets the Y translation value. - - - - - - - Gets or sets the internal matrix object. - - - - - Represents a simple transparency. - - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - The stroke operation alpha value. - The fill operation alpha value. - The blend mode. - - - - Determines whether the specified - is equal to the current . - - The - to compare with the current . - - true if the specified - is equal to the current ; otherwise, false. - - - - - Serves as a hash function for a particular type. - is suitable - for use in hashing algorithms and data structures like a hash table. - - - A hash code for the current . - - - - - Gets the number value. - - Name of the key. - The value of the number specified by the string key. - - - - Gets the name value. - - Name of the key. - The name value specified by the key. - - - - Gets the stroke operation alpha value. - - - - - Gets the fill operation alpha value. - - - - - Gets the blend mode. - - - - - Gets the element. - - - - - - Class allowing to convert different unit metrics. Converting is - based on Graphics object DPI settings that is why for differ - graphics settings must be created new instance. For example: - printers often has 300 and greater dpi resolution, for compare - default display screen dpi is 96. - - - - - Indicates default horizontal resolution. - - - - - Indicates default vertical resolution. - - - - - Width, in millimeters, of the physical screen. - - - - - Height, in millimeters, of the physical screen. - - - - - Width, in pixels, of the screen. - - - - - Height, in pixels, of the screen. - - - - - Matrix for conversations between different numeric systems - - - - - Static constructor. - - - - - Initializes a new instance of the class with default DPI value of 96. - - - - - Initializes a new instance of the class with DPI value - - The dpi. - - - - Initializes a new instance of the class with System.Drawing.Graphics. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Graphics for measuring the DPI value - - - - Converts the value, from one graphics unit to another graphics unit. - - Value to convert - Indicates units to convert from - Indicates units to convert to - Value stored in "to" units - - - - Converts the value to pixel from specified graphics unit. - - Value to convert - Indicates units to convert from - Value stored in pixels - - - - Converts the rectangle location and size to Pixels from specified - measure units - - source rectangle - source rectangle measure units - Rectangle with Pixels - - - - Converts point from specified graphics units to pixels - - source point for convert - measure units - point in pixels coordinates - - - - Converts size from specified graphics units to pixels - - source size - measure units - size in pixels - - - - Converts value, to specified graphics unit from Pixel. - - Value to convert - Indicates units to convert to - Value stored in "to" units - - - - Converts rectangle in Pixels into rectangle with specified - measure units - - source rectangle in pixels units - convert to units - output Rectangle in specified units - - - - Converts rectangle from pixels to specified units - - point in pixels units - convert to units - output Point in specified units - - - - Converts Size in pixels to size in specified measure units - - source size - convert to units - output size in specified measure units - - - - Update proportions matrix according to Graphics settings - - The pixel per inch value. - - - - Represents the Painting and graphics state - - - - - Text - - - - - Grayscale images or image masks - - - - - Color images - - - - - Indexed (color-table) images - - - - - Specifies the type of Horizontal alignment. - - - - - Specifies the element is aligned to Left. - - - - - Specifies the element is aligned to Center. - - - - - Specifies the element is aligned to Right. - - - - - Specifies the type of Vertical alignment. - - - - - Specifies the element is aligned to Top. - - - - - Specifies the element is aligned to Middle. - - - - - Specifies the element is aligned to Bottom. - - - - - Specifies the type of horizontal text alignment. - - - - - Specifies the text is aligned to Left. - - - - - Specifies the text is aligned to Center. - - - - - Specifies the text is aligned to Right. - - - - - Specifies the text as Justified text. - - - - - Specifies the text rendering mode. - - - - - Fill text. - - - - - Stroke text. - - - - - Fill, then stroke text. - - - - - Neither fill nor stroke text (invisible). - - - - - The flag showing that the text should be a part of a clipping path. - - - - - Fill text and add to path for clipping (see above). - - - - - Stroke text and add to path for clipping. - - - - - Fill, then stroke text and add to path for clipping. - - - - - Add text to path for clipping. - - - - - Specifies the corner style of the shapes. - - - - - The outer edges for the two segments are extended - until they meet at an angle. - - - - - An arc of a circle with a diameter equal to the line width is drawn - around the point where the two segments meet, connecting the outer edges for the two segments. - - - - - The two segments are finished with caps - and the resulting notch beyond the ends of the segments is filled - with a triangle. - - - - - Specifies the line cap style to be used at the ends of the lines. - - - - - The stroke is squared off at the endpoint of the path. There is no - projection beyond the end of the path. - - - - - A semicircular arc with a diameter equal to the line width is - drawn around the endpoint and filled in. - - - - - The stroke continues beyond the endpoint of the path - for a distance equal to half the line width and is squared off. - - - - - Possible dash styles of the pen. - - - - - Solid line. - - - - - Dashed line. - - - - - Dotted line. - - - - - Dash-dot line. - - - - - Dash-dot-dot line. - - - - - User defined dash style. - - - - - - - Specifies how the shapes are filled. - - - - - - - Nonzero winding number rule of determining "insideness" - of point. - - - - - - - Even odd rule of determining "insideness" of point. - - - - - - - Defines set of color spaces. - - - - - - - RGB color space. - - - - - - - CMYK color space. - - - - - - - GrayScale color space. - - - - - Indexed color space used internally. - - - - - Describes the Color intents. - - - - - Colors are represented solely with respect to the light source; - no correction is made for the output medium�s white point - (such as the color of unprinted paper). - - - - - Colors are represented with respect to the combination of - the light source and the output medium�s white point - (such as the color of unprinted paper). - - - - - Colors are represented in a manner that preserves - or emphasizes saturation. - - - - - Colors are represented in a manner that provides a pleasing - perceptual appearance. - - - - - Specifies the blend mode for transparency. - - - - - Selects the source color, ignoring the backdrop. - - - - - Multiplies the backdrop and source color values. - The result color is always at least as dark as either - of the two constituent colors. Multiplying - any color with black produces black; multiplying - with white leaves the original color unchanged. - Painting successive overlapping objects with a color - other than black or white produces progressively darker colors. - - - - - Multiplies the complements of the backdrop and source - color values, then complements the result. The result - color is always at least as light as either of the two - constituent colors. Screening any color with white - produces white; screening with black leaves the original - color unchanged. The effect is similar to projecting - multiple photographic slides simultaneously onto a single screen. - - - - - Multiplies or screens the colors, depending on - the backdrop color value. Source colors overlay - the backdrop while preserving its highlights and - shadows. The backdrop color is not replaced but - is mixed with the source color to reflect the - lightness or darkness of the backdrop. - - - - - Selects the darker of the backdrop and source colors. - The backdrop is replaced with the source where the source - is darker; otherwise, it is left unchanged. - - - - - Selects the lighter of the backdrop and source colors. - The backdrop is replaced with the source where the source - is lighter; otherwise, it is left unchanged. - - - - - Brightens the backdrop color to reflect the source color. - Painting with black produces no changes. - - - - - Darkens the backdrop color to reflect the source color. - Painting with white produces no change. - - - - - Multiplies or screens the colors, depending on the source color value. - The effect is similar to shining a harsh spotlight on the backdrop. - - - - - Darkens or lightens the colors, depending on the source color value. - The effect is similar to shining a diffused spotlight on the backdrop. - - - - - Subtracts the darker of the two constituent colors from the lighter color. - Painting with white inverts the backdrop color; painting with black produces no change. - - - - - Produces an effect similar to that of the Difference mode - but lower in contrast. Painting with white inverts - the backdrop color; painting with black produces no change. - - - - - Creates a color with the hue of the source color and - the saturation and luminosity of the backdrop color. - - - - - Creates a color with the saturation of the source color - and the hue and luminosity of the backdrop color. Painting - with this mode in an area of the backdrop that is a pure - gray (no saturation) produces no change. - - - - - Creates a color with the hue and saturation of - the source color and the luminosity of the backdrop - color. This preserves the gray levels of the backdrop - and is useful for coloring monochrome images or tinting color images. - - - - - Creates a color with the luminosity of the source color - and the hue and saturation of the backdrop color. This - produces an inverse effect to that of the Color mode. - - - - - Specifies the type of the PdfImage. - - - - - Specifies the image is bitmap. - - - - - Specifies the image is metafile. - - - - - Specifies the types of the page's logical units. - - - - - Specifies the Measurement is in centimeters. - - - - - Specifies the Measurement is in picas. A pica represents 12 points. - - - - - Specifies the unit of measurement is 1 pixel. - - Pixel unit is device dependent unit. The result depends on the default Dpi on the machine. - - - - Specifies a printer's point (1/72 inch) as the unit of measure. - - - - - Specifies the inch as the unit of measure. - - - - - Specifies the document unit (1/300 inch) as the unit of measure. - - - - - Specifies the Measurement is in millimeters. - - - - - Specifies the alignment type. - - - - - Represents the html hyperlink used during the html to pdf conversion to preserve live-links. - - This class is used internally and should not be used directly. - - - - The bounds which the html element occupies. - - - - - The target Url. - - - - - The matching name of the document link. - - - - - The id of the destination. - - - - - Initializes a new instance of the class. - - The bounds. - The href. - - - - Converts the bounds from pixel to point. - - - - - Gets or sets the bounds. - - - - - Gets or sets the id of the destination. - - - - - Gets or sets the name (id) of the document link. - - - - - Gets or Sets the Url. - - - - - The matching type of form elements (i.e. input,select,button...). - - - - - The bounds which the html form element occupies. - - - - - The matching indepth type of the form element (i.e. radio,select,button,text,password...). - - - - - The matching name of the form element. - - - - - The matching value of the form element. - - - - - The matching isChecked value of the form element. - - - - - The parent name of the form element (form name/body name). - - - - - The matching value of the form element. - - - - - The matching value of the form element. - - - - - The readOnly value of the form element. - - - - - The color of background rectangle of the form element. - - - - - The background color of the form element. - - - - - The text color of the form element. - - - - - The border color of the form element. - - - - - The matching value of the multiple. - - - - - The matching value of the selected Index of select options. - - - - - The matching value of the list element's text,value pair. - - - - - Initializes a new instance of the class. - - The bounds. - The button type (ex: submit,reset,..). - The name of the button element. - The actual value of the button element. - The color value of background rectangle of each button element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the form element. - The actual value of the form element. - The value of checked property of form element. - The parent element name of the form element. - The color value of background rectangle of each form element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the form element. - The actual value of the form element. - The possible of maximum no.of. char in form element. - The readOnly value of form element (true/false). - The color value of background rectangle of each form element. - The background color value of each form element. - The text color value of each form element. - The border color value of each form element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the form element. - The actual value of the form element. - The color value of background rectangle of each form element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the form element. - The actual value of the form element. - The value of checked property of form element. - The color value of background rectangle of each form element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the form element. - The actual value of the form element. - The readOnly value of form element (true/false). - The color value of background rectangle of each form element. - The background color value of each form element. - The text color value of each form element. - The border color value of each form element. - - - - Initializes a new instance of the class. - - The bounds. - The input type (ex: text, radio...). - The name of the select element. - The actual value of the select element. - The multi select value (if true, select element is list. Else Combo) of select element. - The selected index value of the select element. - The color value of background rectangle of each select element. - The list of option vlues of each select element. - - - - Converts the bounds from pixel to point. - - - - - Gets or sets the input type of the form element(i.e. input,select,button...). - - - - - Gets or sets the bounds. - - - - - Gets or sets the indepth input type of the form element(i.e. radio,select,button,text,password...). - - - - - Gets or sets the name/id of the document link/form element. - - - - - Gets or sets the value of the form element. - - - - - Gets or sets the isChecked value of the form element. - - - - - Gets or sets the parent name of the form element. - - - - - Gets or sets the id of the form element. - - - - - Gets or sets the id of the form element. - - - - - Gets or sets the readOnly bool value of the form element. - - - - - Gets or sets the Background Rectangle's Color value of the form element. - - - - - Gets or sets the Background Color value of the form element. - - - - - Gets or sets the text Color value of the form element. - - - - - Gets or sets the border Color value of the form element. - - - - - Gets or sets the value of the selected item's index of select element. - - - - - Gets or sets the value of the multiple field of select element. - - - - - Gets or sets the value of the selected item's index of select element. - - - - - Represents the html forms used during the html to pdf conversion to preserve forms in pdf. - - - - - Gets or sets form field id - - - - - Gets or sets form field value - - - - - Gets or sets a value indicating whether the field is read only. - - - - - Gets or sets whether the element is selected or not - - - - - Gets or sets the field type - - - - - Gets or sets the field page number - - - - - Gets or sets the field bounds - - - - - Represents the layout parameters. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Start lay outing page. - - - - - The top - - - - - Lay outing bounds. - - - - - Layout settings. - - - - - Gets or sets the starting layout page. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the lay outing bounds. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the vertical offsets. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The vertical offsets. - - - - Gets or sets the lay outing settings. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Start lay outing page. - - - - - Lay outing bounds. - - - - - Layout settings. - - - - - Gets or sets start layouting page. - - - - - Gets or sets layouting bounds. - - - - - Gets or sets layouting settings. - - - - - Indicates whether PaginateBounds were set and should be used or not. - - - - - Bounds for the paginating. - - - - - Layout type of the element. - - - - - Break type of the element. - - - - - Is Text Split - - - - - Is Image Split - - - - - Holds the total webpage layout size - - - - - Holds the total Page count - - - - - Holds the Page Number of PDF document - - - - - Holds the split page size - - - - - Image region manager to avoid split between pages - - - - - Text region manager to avoid split between pages - - - - - Form region manager to avoid split between pages - - - - - Holds the Hyperlink Collections - - - - - Holds the internal link collections - - - - - Initializes a new instance of the class. - - - - - Gets or sets layout type of the element. - - - - - Gets or sets layout type of the element. - - - - - Gets or sets layout type of the element. - - - - - Gets or sets break type of the element. - - - - - Gets or sets the bounds on the next page. - - If this property is set, the element will use it for the layouting on the next pages, - otherwise, the element will be layout according to the bounds, used on the first page. - - - - Gets a value indicating whether [use paginate bounds]. - - true if [use paginate bounds]; otherwise, false. - - - - The Syncfusion.Pdf.HtmlToPdf namespace contains classes to perform HTML to PDF conversion - - - - - Represents the result of html to PDF conversion. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - //Create new PDF document - PdfDocument doc = new PdfDocument(); - //Add a new page - page = doc.Pages.Add(); - //Set the dimension of the PDF page - float width = new PdfUnitConvertor().ConvertToPixels(page.GetClientSize().Width, PdfGraphicsUnit.Point); - float height = -1f; - //Initialize HTML to PDF converter - using (Syncfusion.HtmlConverter.HtmlConverter html = new Syncfusion.HtmlConverter.HtmlConverter()) - { - //Convert the URL - HtmlToPdfResult result = html.Convert("http://www.syncfusion.com", ImageType.Metafile, (int)width, (int)height, AspectRatio.KeepWidth); - if (result != null) - { - //Get the HTML as PdfMetafile - PdfMetafile mf = new PdfMetafile(result.RenderedImage as Metafile); - //Formatting options - PdfMetafileLayoutFormat format = new PdfMetafileLayoutFormat(); - format.Break = PdfLayoutBreakType.FitPage; - format.Layout = PdfLayoutType.Paginate; - doc.PageSettings.Height = result.RenderedImage.Size.Height; - format.SplitTextLines = false; - format.SplitImages = false; - //Render the PdfMetafile in the PDF document - result.Render(page, format); - } - } - //Save the PDF - doc.Save(@"Output.pdf"); - //Close the PDF - doc.Close(true); - - - 'Create new PDF document - Dim doc As New PdfDocument() - 'Add a new page - page = doc.Pages.Add() - 'Set the dimension of the PDF page - Dim width As Single = New PdfUnitConvertor().ConvertToPixels(page.GetClientSize().Width, PdfGraphicsUnit.Point) - Dim height As Single = -1F - 'Initialize HTML to PDF converter - Using html As New Syncfusion.HtmlConverter.HtmlConverter() - 'Convert the URL - Dim result As HtmlToPdfResult = html.Convert("http://www.syncfusion.com", ImageType.Metafile, CInt(width), CInt(height), AspectRatio.KeepWidth) - If result IsNot Nothing Then - 'Get the HTML as PdfMetafile - Dim mf As New PdfMetafile(TryCast(result.RenderedImage, Metafile)) - 'Formatting options - Dim format As New PdfMetafileLayoutFormat() - format.Break = PdfLayoutBreakType.FitPage - format.Layout = PdfLayoutType.Paginate - doc.PageSettings.Height = result.RenderedImage.Size.Height - format.SplitTextLines = False - format.SplitImages = False - 'Render the PdfMetafile in the PDF document - result.Render(page, format) - End If - End Using - 'Save the PDF - doc.Save("Output.pdf") - 'Close the PDF - doc.Close(True) - - - - - - Holds the list of Page-Breaks. - - - - - Holds the list of hyperlinks. - - - - - Holds the list of hyperlinks. - - - - - Holds the list of document links. - - - - - Holds the list of input elements. - - - - - Holds the list of select elements. - - - - - Holds the list of button elements. - - - - - Holds the list of internal links - - - - - Holds the list of Form field details. - - - - - Holds the resultant images. - - - - - - Internal variable to hold if conversion is completed. - - - - - Internal variable to store the scroll position. - - - - - Internal variable to store the height yet to be converted. - - - - - Internal variable to store layout result of HTML to PDF. - - - - - Hold the WebKit File path - - - - - Layout details of whole document to update the form field bounds. - - - - - - Initializes a new instance of the class. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The image. - The page breaks. - The anchors. - The document links. - - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Initializes new instance of the class. - - - - - - - - - - Initializes new instance of the class. - - - - - - - - - - Delete the file - - - - - Draw the rendered HTML image to the PDF document - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The PDF document where the output should be drawn. - - - - Renders the WebKit result to single page and returns the PDF document - - PdfDocument - PdfLayoutFormat - PdfDocument with single PDF page - - - - Draw the rendered HTML image to the PDF document - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The page where the output will draw. - The Metafile layout format. - - - - Draw the rendered HTML image to the PDF document - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The page where the output will draw. - The Metafile layout format. - The Metafile layout result - - - - Renders the HTML conversion and returns the layout result - - - - - - - Draws the meta file. - - The page. - The format. - - - - Draws the bitmap. - - The bitmap. - The page. - The bounds. - The format. - - - - - Update the bounds based on the layout result - - Actual size of the page - - - - updates the internal link destination - - - - - Create pdf forms from m_webkitAutoCreateForms list - - Document to draw pdf forms - - - - Performs application-defined tasks associated with releasing, or resetting unmanaged resources. - - - - - Gets or sets the value indicating whether to preserve the bookmark in the converted document or not;By default false - This property is used internally and should not be used directly. - - - - - Gets or sets a value indicating whether to preserve the TOC in the converted document or not;By default false - This property is used internally and should not be used directly. - - - - - Gets or sets TOC styles - /// This property is used internally and should not be used directly. - - - - - Gets the Page-Break Collection. - - - - - Gets the hyper-links Collection. - - - - - Gets if conversion is complete. - - - - - Gets or sets enable forms. - - - - - Gets the next scroll height. - - - - - Gets the rendered image. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The rendered image. - - - - Returns the image array after the conversion. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The images. - - - - Handles the quality of Bitmap images in HTML. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets or sets the single page layout type - - - - - Gets or sets a WebKit created temp directory. - - - - - Use this option to render the whole HTML content into a single PDF page - - - - - Do not apply single page layout - - - - - The page width is not resized to fit the HTML content to PDF page - - - - - The page height is not resized to fit the HTML content PDF page - - - - - Reader of the big endian data. - - - - - Size of Int32 type. - - - - - Size of Int16 type. - - - - - Size of long type. - - - - - Fraction coefficient for getting fixed type. - - - - - Reader encoding. - - - - - Binary reader. - - - - - Initializes a new instance of the class. - - The reader. - - - - Closes all resources. - - - - - Seeks reader to the sepcified position. - - Position of the reader. - - - - Skips number of bytes. - - Number of bytes to skip. - - - - Reverts array elements. - - Byte array. - Reverted array. - - - - Reads 64 bit integer. - - 64 bit integer. - - - - Reads 64 bit integer. - - 64 bit integer. - - - - Reads 32 bit integer. - - 32 bit integer. - - - - Reads 32 bit integer. - - 32 bit integer. - - - - Reads 16 bit integer. - - 16 bit integer. - - - - Reads 16 bit integer. - - 16 bit integer. - - - - Reads one byte. - - One byte. - - - - Reads FIXED data type (16.16) fixed point number. - - FIXED data type (16.16) fixed point number. - - - - Reads bytes from the reader. - - Number of bytes. - Byte array. - - - - Reads string. - - Size of the string in bytes. - String data. - - - - Reads string. - - Size of the string in bytes. - Indicates whethere string is unicode or not. - String data. - - - - Reads bytes to array in BigEndian order. - - Byte array. - Start index. - Number bytes to read. - Number bytes that was read. - - - - Gets or sets binary reader. - - - - - Gets base stream. - - - - - Writes data in BigEndian order. - - - - - Size of Int32 type. - - - - - Size of Int16 type. - - - - - Size of long type. - - - - - Fraction coefficient for getting fixed type. - - - - - Reader encoding. - - - - - Internal buffer. - - - - - Current position. - - - - - Creates a new writer. - - Capacity of the data. - - - - Writes short value. - - Value. - - - - Writes ushort value. - - Value. - - - - Writes int value. - - Value. - - - - Writes uint value. - - Value. - - - - Writes string value. - - Value. - - - - Writes byte[] value. - - Value. - - - - Writes array to the buffer. - - Byte data. - - - - Gets data written to the writter. - - - - - Gets position of the internal buffer. - - - - - CrossTable is a class that performs low-level I/O - for parsing a PDF cross reference table. - - - - - Holds the stream. - - - - - Holds the stream reader. - - - - - The parser of the reader. - - - - - A container of all object offsets. - - - - - The document trailer. - - - - - A chache variable for chaching the document catalog offset. - - - - - The last cross-reference table. - - - - - The storage for stream object readers. - - - - - The table of the archives within the document. - - - - - The document encryptor. - - - - - The high level cross-table. It's required for convertion - PDFReferences into PDFReferenceHolders. - - - - - - - - - Repairing wrong offset values - - - - - Read the whitespaces in front of the document - - - - - Searches for all instances of reference tables and parses them. - - The stream with the document. - The high-level cross table. - - - - Retrieves an object by its reference. - - The reference of the object. - The object read from its reference. - - - - Retrieves a PDF stream from a PDF document. - - The reference object to the stream. - The array of bytes taken from the PDF stream. - - - - Parses the new table. - - The cross-reference table stream. - The hash table of the objects. - - - - Parses current subsection. - - The PDF stream reader with the file in. - The table with the offsets foud. - - - - Retrieves a PDF reader by the archive information. - - - - - - Retrieves an archive by its number. - - The archive. - - - - Parses the dictionary and retrieves the subsection information - in the ArrayList. - - A PDF stream representing a cross-reference - stream dictionary. - The information about subsections. - - - - Parses a subsection within a cros-reference stream. - - A cross-reference stream. - A structure that specifies a subsection. - The table with the offsets foud. - The start position within the stream data. - The start position of the next subsection. - - - - Retrieves an object by its reference. - - The PDF parser. - The position within the reader's stream. - The object read from its reference. - - - - Skip junk string from the PDF - - - - - - Dispose the corsstable. - - - - - Returns the offset of an obkect specified. - - - - - Returns the number of the objects which have been found. - - - - - Gets the document catalog address. - - - - - Returns the stream. - - Use with caution. - - - - Returns the offset of the last cross-reference table. - - - - - Returns the steream reader. - - - - - Gets the parser. - - The parser. - - - - Returns the document's trailer. - - - - - - Gets or sets the encryptor. - - - - - Represents a subsection in a cross-reference stream. - - - - - The first object number in the subsection. - - - - - The total number of the objects within the subsection. - - - - - Initialize the subsection with start number and count. - - The first object number in the subsection. - The total number of the objects within the subsection. - - - - - Initialize the subsection with count. - - The total number of the objects within the subsection. - - - - - Represents a type of an object. - - - - - Stores information about a PDF packed object. - - - - - A number of an object stream that holds the object. - - - - - The index of the object within the archive. - - - - - The archive. - - - - - Delegate that retrieves an archive by its number. - - - - - Initialize the archive information class with the archive number and - the index within the archive. - - The archive number. - The index within the archive. - The GetArchive delegade. - - - - Gets a number of an object stream that holds the object. - - - - - Gets the index of the object within the archive. - - - - - Gets the archive number. - - - - - Stores information about an PDF indirect object. - - - - - The type of the object. - - - - - The archive information. - - - - - The PDF reader wich can read from the archive. - - - - - The offset of the object. - - - - - The CrossTable class instance. - - - - - Converts an Object information into the offset. - - An ObjectInformation class instance. - The offset of zero. - - - - Holds the parsed object. - - - - - Initialize the object information object. - - The object's type. - The object's offset or zero. - The archive info or null. - The low-level reading cross table. - - - - Gets the type of the object. - - - - - The PDF reader wich can read from the archive. - - - - - The offset of the object. - - - - - Gets the archive information. - - - - - - - Implements functionality of PDF object stream (or PDF - archive). - - - - - Interface of the objects that support Decryptable of their internals. - - - - - Decrypts the specified encryptor. - - The encryptor. - The curr obj number. - - - - Gets a value indicating whether [was encrypted]. - - true if [was encrypted]; otherwise, false. - - - - Gets a value indicating whether this is decrypted. - - true if decrypted; otherwise, false. - - - - Internal variable to hold cloned object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary. - The data. - - - - Gets bytes of the stream. - - Stream to be converted. - Destination bytes. - - - - Gets bytes of the stream. - - Stream to be converted. - Indicates whether to write the whole stream. - Destination bytes. - - - - Converts a stream to bigendian format. - - A stream containing data. - A stream in bigendian format. - - - - Writes the specified symbol. - - The symbol. - - - - Writes the specified text. - - The text. - - - - Writes the specified data. - - The data. - - - - Blocks the encryption. - - - - - Decompresses this instance. - - - - - Hex to Decimal conversion - - Hex character to convert into Decimal - Equivalent decimal value - - - - Decode hex stream to decimal equivalent - - hexadecimal byte stream - decimal equivalent for the hexadecimal byte stream - - - - Cleares a stream. - - - - - Dispose the stream data. - - - - - Saves the object using the specified writer. - - The writer. - - - - Creates a copy of PdfStream. - - - - - Decrypts the data using the specified encryptor. - - The encryptor. - The current object number. - - - - Decompresses the stream data. - - The data to decompress. - The filter name. - Uncompressed byte array. - - - - Returnes a compressor by its name. - - The name of the compressor. - IPDFCompressor interface. - - - - Performs postprocessing of the data for the filter specified. - - The data to process. - The filter. - Restored data. - - - - Normalizes the filter. If the filter array has only one element store that element - instead of entire array. - - - - - Compresses the content if it's required. - - The writer. - The compressed data. - - - - Adds a filter to the filter array. - - Name of the filter. - - - - Encrypts the stream content. - - The data. - The writer. - The encrypted content. - - - - Gets the internal stream. - - - - - Gets or sets the data. - - The modifications of the returned stream - have no impact on the real data. - - - - Gets or sets compression flag. - - true if compress; otherwise, false. - - - - Returns cloned object. - - - - - Gets a value indicating whether the object was encrypted. - - - - - Gets a value indicating whether this is decrypted. - - true if decrypted; otherwise, false. - - - - - - Holds sorted indices. - - - - - - - Holds the objects. - - - - - - - PDF stream writer. - - - - - - - PDF stream writer. - - - - - - - The current document. - - - - - - - Initializes a new instance of the - class. - - The document. - - - - - - Saves the object. - - The object. - The reference. - - - - - - Gets the index of the object referenced by its number. - - The object number. - - The index of the object. - - - - - - - Writes object to defined writer. - - Writer for object saving. - - - - Clears the PdfArchiveStream. - - - - - - - Saves objects. - - - - - - - Saves indices. - - - - - - - Gets the count of objects. - - - - - - - Stores information about current object and index. - - - - - - - Current object. - - - - - - - The current index within the object. - - - - - - - Initializes a new instance of the - class. - - The object. - - - - PDFCrossTable is responsible for intermediate level parsing - and savingof a PDF document. - - - - - The low level implementation of the cross-reference table. - - - - - The document catalog. - - - - - The stream the file within. - - - - - The modified objects that should be saved. - - - - - The number of the objects. - - - - - Shows if the class have been dicposed. - - - - - The trailer for a new document. - - - - - The main PdfDocument class instance. - - - - - Flag that forces an object to be 'a new'. - - - - - The obj number stack. Holds object numbers - that are used to decode strings and streams. - - - - - Holds maximal generation number or offset to object. - - - - - The current object archive. - - - - - The mapped references. - - - - - The value of the count stored - before count was wiped out. - - - - - The list of the completed archives. - - - - - Internal variable to identify the current object is PdfEncryptor or not. - - - - - Internal variable to store pages. - - - - - Internal variable to store reference. - - - - - Internal variable to store if document is being merged. - - - - - internal varible to conform colorspace - - - - - Repair the docuemnt which contains wrong offset values - - - - - Indicates whether the crosstable completely disposed or not. - - - - - Indicates whether the base class is disposed or not. - - - - - The costructor of the table. - - A stream which contains the document. - - - - The costructor of the table. - - A stream which contains the document. - Repair the crosstable witch contains wrong offsets - - - - The costructor of the table. - - - - - - - A costructor thar initialize a new cross table. - - - - - Initializes a new instance of the class. - - The count. - The encryption dictionary. - - - - Initializes a new instance of the class. - - The count. - The encryption dictionary. - - - - Releases unmanaged resources and performs other cleanup operations before the - is reclaimed by garbage collection. - - - - - Dereferences the specified primitive object. - - The primitive object. - Dereferenced object. - - - - Retrieves an object by its reference. - - The reference of the object. - The object read from its reference. - - - - Decrypt a decryptable object. Should be called during Prepare(). - - The decrypted object. - - - - Decrypts the specified obj. - - The obj. - - - - Retrieves a PDF stream from a PDF document. - - The reference object to the stream. - The array of bytes taken from the PDF stream. - - - - Registers the object in the cross reference table. - - The offset of the object within the file - The representation of the reference to the object. - - - - - Registers an archived object. - - The archive. - The reference to the object. - - - - Registers the object in the cross reference table. - - The offset of the object within the file - The representation of the reference to the object. - - True if object is free. - - - - Saves the cross-reference table into the stream. - - The stream writer to save the cross-reference table into. - - - - - Retrieves the reference of the object given. - - The object. - The reference. - If there is no registered reference, create a new one and register - it. - - - - Retrieves the reference of the object given. - - The object. - The output flag, which shows if the object is new. - The reference. - - - - Forces all object to be 'a new'. - - - - - Marks the trailer references being saved. - - - - - Checks if an object is a page and convert it into a loaded page if necessary. - - The object, which should be checked. - The checked and modified object. - - - - Prepares the cross-reference stream. - - The offset to the previous cross-reference stream. - The current position. - The reference. - Prepared cross-reference stream. - - - - Gets the minimal number of bytes required to save the number. - - The number. - How much bytes required. - - - - Saves the subsection. - - The binary writer of cross-reference stream. - The object number. - The count. - The format. - - - - Saves the long. - - The xref stream. - The number. - The count of bytes. - - - - - - Sets the security to the document. - - - - - - - Saves all objects in the collection. - - Writer object. - - - - Saves the archives. - - The writer. - - - - Gets the mapped reference. - - The reference. - The mapped reference. - - - - Finds the archive reference. - - The archive. - The reference found. - - - - - - Saves indirect object. - - Indirect object that should be saved. - Writer object. - - - - Retrieves the reference of the given object. - - The object. - The reference. - The writer. - - - - Saves the current archive. - - The writer. - - - - Performs real saving of the save object. - - The object. - The reference. - The writer. - - - - Generates the document page root dictionary object. - - The document page root dictionary object. - - - - Saves the xref section. - - The stream writer. - - - - Prepares a subsection of the current section within the cross-reference table. - - The first object in the subsection. - The number of the entries in the section. - - - - Saves a subsection. - - A PDF writer. - The firs object in the subsection. - The number of the indirect objects in the subsection. - - - - - Generates string for xref table item. - - Offset of the object in the file. - The generation number of the object. - Indicates whether object is free. - String representation of the item. - - - - Saves the new trailer dictionary. - - A PDF writer. - The total number of the objects. - The PrevXRef value. - - - - Forces the ID to be in hex. - - The trailer. - - - - Saves the endess of the file. - - A PDF writer. - The xref position. - - - - Saves the head. - - The writer. - - - - Generates the version of the file. - - the parent document. - The version of the file. - - - - Checks the cross-reference type in the document. - - The parent document. - True if cross-reference is a stream, False otherwise. - - - - Frees all resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and - unmanaged resources; false to release only unmanaged resources. - - - - Gets or sets the current object is PdfEncryptor or not. - - - - - Returns the document catalog. - - - - - Returns the source stream. - - - - - Returns next available object number. - - - - - Returns a low-level cross-reference table parser. - - - - - Gets or sets the number of the objects within the document. - - - - - Gets or sets the main PdfDocument class instance. - - - - - Gets the chached PDF object main collection. - - - - - Gets the trailer. - - - - - Gets or sets if the document is merged. - - - - - Gets or sets the encryptor. - - - - - Gets the object collection. - - - - - Gets the security dictionary. - - The security dictionary. - - - - Gets or sets page correspondance up on each page import. - - - - - Gets or sets the PdfReference of latest processed object. - - - - - Represents a registered object. - - - - - The object number of the indirect object. - - - - - The generation number of the indirect object. - - - - - The offset of the indirect object within the file. - - - - - Archive. - - - - - Shows if the object is free. - - - - - Holds the current cross-reference table. - - - - - Initialize the structure with the proper values. - - The offset of the object. - The reference representing the object number and - the generation number of the indirect object. - - - - Initialize the structure with the proper values. - - The offset of the object. - The reference representing the object number and - the generation number of the indirect object. - Shows if the object is free. - - - - Initializes a new instance of the class. - - The xref table. - The archive. - The reference. - - - - Gets the object number. - - - - - Gets the offset. - - - - - Stores information about an archive. - - - - - The object number of the archive. - - - - - The archive stream. - - - - - Initializes a new instance of the class. - - The reference. - The archive. - - - - PDF dictionary properties. - - - - - Start marker for dictionary. - - - - - Holds the current string being read. - - - - - Holds the current parentessis index. - - - - - Holds the current dictionary is structured or unstructured. - - - - - Resets the lexer. - - - - - Reads the count bytes from the stream. - - The number of bytes to read. - - The data which were read from the stream. - - - - - Skips the new line. - - - - - Skips the token. - - - - - Gets the next token. - - - - - - Returns the current text value. - - - - - Gets current line number. - - - - - Gets the current string being read. - - - - - Returns file position. - - - - - Gets or sets the current dictionary is structured or unstructured. - - - - - The collection of all objects within a PDF document. - - - - - The collection of the indirect objects. - - - - - The collection of the Indirect objects - - - - - The collection of primitive objects. - - - - - Holds the index of the object. - - - - - Initializes a new instance of the - class. - - - - - Adds the specified element. - - The element. - - - - Adds the specified object. - - The object. - The reference. - - - - Removes the entry using index. - - - - - Determines whether the specified element is within the collection. - - The element. - - true if the specified element is within the collection; otherwise, false. - - - - - Determines whether the collection contains the specified reference. - - The reference. - - true if there is the specified reference; otherwise, false. - - - - - Gets the reference of the object. - - The index. - The reference of the object. - - - - Gets the reference of the object. - - The object. - if set to true the object hasn't been found in the collection. - The reference of the object. - - - - Gets the object specified by the index. - - The index. - The object. - - - - Gets the object specified by the index. - - The index. - The object. - - - - Gets the index of the object. - - The reference. - The index of the object within the general object collection. - - - - Tries to set the reference to the object. - - The object. - The reference. - if set to true the object was found. - - True if the reference have been set successfully. - - - - - Determines the index of the element within the collection. - - The element. - The index of the element. - - - - Reregisters the reference. - - Old index of the obj. - The new object. - - - - Reregisters reference from one object to another. - - The old (primitive) object. - The new (complex) object. - This method is useful when PDF primitives are converted into - More complex objects. - - - - Looks through the collection for the object specified. - - The object to look for. - The index of the object. - - - - Looks through the collection for the object specified by the reference. - - The reference. - The index of the objec. - - - - Gets the at the specified index. - - - - - Gets the count. - - - - - Stores info about objects in the PDF document. - - - - - Shows if the object was modified and requires saving. - - - - - The PDF object. - - - - - Object number and generation number of the object. - - - - - Initializes a new instance of the class. - - The PDF object. - - - - Initializes a new instance of the class. - - The PDF object. - The reference. - - - - Marks the object modified. - - - - - Sets the reference. - - The reference. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Implements the operator ==. - - The object information. - The object. - The result of the operator. - - - - Implements the operator !=. - - The oi. - The obj. - The result of the operator. - - - - Determines whether the specified - is equal to the current . - - The - to compare with the current . - - true if the specified - is equal to the current ; otherwise, false. - - - - - Gets a value indicating whether the object has been modified. - - - - - Gets the reference. - - - - - Gets the object. - - - - - Utility class to store information about Image transaction or scale matrix. - - - - - Local variable to store content stream. - - - - - Local variable to store the key value. - - - - - Local variable to store the width. - - - - - Local variable to store the height. - - - - - Local variable to store the X co-ordinate value. - - - - - Local variable to store the Y co-ordinate value. - - - - - Local variable to store the transaction matrix value. - - - - - Local variable to store the scale matrix value. - - - - - Local variable to store the page size. - - - - - Local variable to store the cm entries. - - - - - Local variable to store the page margin cm. - - - - - Local variable to store current Rectangle cm.. - - - - - Local variable to store Previous Rectangle cm. - - - - - Local variable to store eftMargin. - - - - - Local variable to store topMargin. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Content Stream. - Key Value. - Page Size. - - - - Calculate the matrix value from the content stream. - - The matrix value in the form of array list. - - - - Calculate the scale matrix value. - - Page size. - - - - Calculate the translation matrix value. - - - - - Convert the matrix value as array. - - Matrix value. - - - - Gets the X co-ordinate value. - - - - - Gets the Y co-ordinate value. - - - - - Gets the image height - - - - - Gets the image width value. - - - - - gets the image leftmargin - - - - - Gets the top margin - - - - - A class of string messages. - - - - - Class of string PDF common operators. - - - - - Operator for starting indirect object. - - - - - Operator for ending indirect object. - - - - - Operator for reference on indirect object. - - - - - Whitespace symbol. - - - - - Slash symbol. - - - - - Less than symbol. - - - - - Greater than symbol. - - - - - New Line symbol. - - - - - Regex New Line symbol. - - - - - Operator for starting stream object. - - - - - Operator for ending indirect object. - - - - - Operator for starting cross-reference table. - - - - - Operator in cross-reference table. - - - - - Operator in cross-reference table. - - - - - Trailer begining. - - - - - Operator in trailer object. - - - - - End of File (trailer) operator. - - - - - Start of File (trailer) operator. - - - - - Begin text operator. - - - - - End text operator. - - - - - Begin path operator. - - - - - Append line segment operator. - - - - - Stroke operator. - - - - - Fill by nonzero winding rule operator. - - - - - Fill by even-odd rule operator. - - - - - Fill && Stroke operator. - - - - - Fill && Stroke operator. - - - - - Append a cubic Bezier curve to the current path. - - - - - Append a rectangle to the current path as a complete subpath. - - - - - Save graphics state operator. - - - - - Restore graphics state operator. - - - - - Paint XObject operator. - - - - - Modifies CTM (current transformation matrix). - - - - - Modifies CTM (current transformation matrix). - - - - - Sets line width. - - - - - Sets line cap style. - - - - - Sets line join style. - - - - - Sets dash pattern. - - - - - Sets flatness tolerance. - - - - - Closes path. - - - - - Closes and strokes path. - - - - - Operator for closing then filling and stroking a path. - - - - - Sets character space. - - - - - Sets word space. - - - - - Sets horizontal scaling. - - - - - Sets text leading. - - - - - Sets font operator. - - - - - Sets rendering mode. - - - - - Sets text rise. - - - - - Sets text horizontal scaling. - - - - - Set coordinates operator. - - - - - Operator that sets the start of the new line and leading simultaneously. - - - - - Sets text pointer to next line. - - - - - Set text operator - - - - - Operator to set text with formatting. - - - - - Operator that writes text on the new line. - - - - - Operator that writes text on the new line and set spacings. - - - - - Selects a color space for the stroking color. - - - - - Selects a color space for the nonstroking color. - - - - - Sets RGB color for stroking operations. - - - - - Same as RGB but for nonstroking operations. - - - - - Sets CMYK color for stroking operations. - - - - - Same as CMYK but for nonstroking operations. - - - - - Sets gray color for stroking operations. - - - - - Same as RGB but for nonstroking operations. - - - - - Set pattern operator. - - - - - Same as SC, but also supports Pattern, Separation, DeviceN, and ICCBased - color spaces. For non-stroking operations. - - - - - Same as SC, but also supports Pattern, Separation, DeviceN, and ICCBased - color spaces. For stroking. - - - - - Modify the current clipping path by intersecting it with the current path, using the - nonzero winding number rule to determine which regions lie inside the clipping path. - - - - - Modify the current clipping path by intersecting it with the current path, using the - odd-even rule to determine which regions lie inside the clipping path. - - - - - End the path object without filling or stroking it. This operator is a "path-painting - no-op," used primarily for the side effect of changing the current clipping path (see - "Clipping Path Operators"). - - - - - Graphics state operator. - - - - - Symbol of commenting. - - - - - Indicates any symbol (regex syntax). - - - - - Begins a marked-content sequence. - - - - - Ends a marked-content sequence. - - - - - Even-odd filling method marker. - - - - - The operator to apped bezier curve with x2 y2 x3 y3 set. - - - - - The operator to apped bezier curve with x1 y1 x3 y3 set. - - - - - Set miter limit operator. - - - - - Set color rendering intent operator. - - - - - Set colour of the current colour space for stroking. - - - - - Set colour of the current colour space for non-stroking operations. - - - - - Private constructor. - - - - - The cross-reference table. - - - - - The reader. - - - - - PDF lexer. - - - - - The next token. - - - - - Holds all integers that have been read ahead. - - - - - he high level cross-table. It's required for convertion - PDFReferences into PDFReferenceHolders. - - - - - Internal variable to identify the current object is PdfEncryptor or not. - - - - - To identify whether the dictionary contains colorspace - - - - - Internal variable to indicate the string is password or not. - - - - - Initializes a new instance of the class. - - The cross-reference table. - The reader. - The cross table. - - - - Parses a PDF object. - - The offset to the object. - The object. - - - - Parses a PDF object. - - The object. - - - - Reads a trailer from the stream at the offset. - - The offset. - The trailer dictionary. - - - - Reads a trailer from the stream at the offset. - - The trailer dictionary. - - - - Reads startxref entry. - - The offset to the XRef table. - - - - Sets the offset. - - The offset. - - - - Parses the XRef table. - - The objects. - The cross-reference table. - The trailer dictionary. - - - - Rebuild the xref table for corrupted PDF Documents - - - - - - - Reads a simple object from the stream. - - - - - - Reads the object flag. - - A string that holds the flag. - - - - Starts from the offset specified. - - The offset. - - - - Parses old xref table. - - Cross table object. - A collection of the objects. - - - - Determines whether there is a subsection. - - - true if there is subsection; otherwise false. - - - - - Reacts on an error. - - The error. - The additional information. - - - - Matches the specified token. - - The token. - The match. - - - - Reads the next token. - - - - - Reads the name. - - The PDFName. - - - - Reads the boolean. - - The PDF boolean object. - - - - Reads the unicode string. - - The PDF string object. - - - - Processes the unicode escapes. - - The text. - A nornal string. - - - - Reads the string. - - The string. - - - - Checks if the string is Big Endian Encoded - - Encoded string - True if the string is Big Endian Encoded - - - - Processes escapes. - - A text string. - A string without escape sequences. - - - - Processes the octal number. - - The text. - The index. - The caracter which value is equal to the octal number. - - - - Read a string coded in hexadecimal digits. - - A string object. - - - - Reads an integer number. - - A PDF integer. - - - - Parses the integer. - - The integer. - - - - Read a real number. - - A PDF real. - - - - Reads an array. - - The well formed array. - - - - Reads a dictionary from the stream. - - The filled PDF dictionary object. - - - - Reads the stream. - - The stream dictionary. - The PDFStream. - - - - Checks the given stream length is correct or not. - - - - - - - - Reads the pair. - - The well filled pair on success or Pair.Emty on failure. - - - - Gets or sets the current object is PdfEncryptor or not. - - - - - Contains constants of errors. - - - - - Holds the name-value pair. - - - - - Holds the empty pair. - - - - - Compares an object and a pair. - - The pair. - The obj. - True if the object is equal to the pair. - - - - Compares an object and a pair. - - The pair. - The obj. - True if the object is not equal to the pair. - - - - The name. - - - - - The value. - - - - - Initializes a new instance of the class. - - The name. - The value. - - - - Indicates whether this instance and a specified object are equal. - - Another object to compare to. - - true if obj and this instance are the same type and represent the same value; otherwise, false. - - - - - Returns the hash code for this instance. - - - A 32-bit signed integer that is the hash code for this instance. - - - - - Summary description for PDFReader. - - - - - The stream our reader works with. - - - - - A string with all delimeter characters except whitespaces, - which are listed elsewhere. - - - - - Holds peeked byte. - - - - - Indicates if a byte was peeked. - - - - - Initialize an instance of the PDFReader class. - - The stream. - - - - Disposes the object. - - - - - - Closes the object. - - - - - Reads a single line from the stream. - - The line read. - - - - Reads a character from the stream and andvances the current position. - - A character read, or -1 if EOF reached. - - - - Reads a character from the stream and preserves the current position of - the stream. - - A character read, or -1 if EOF reached. - - - - Read the sequence of bytes from the stream. - - The storage for the characters. - The index in the buffer. - The number of characters to read. - The count of the characters read. - - - - Read the sequence of bytes from the stream. - - The storage for the characters. - The index in the buffer. - The number of characters to read. - The count of the characters read. - - - - Read all bytes to the end of the stream and returns them as a single string. - - The characters read. - - - - Informs whether the character is from the EOL character. - - The character to test. - True if the character is from EOL characters, false otherwise. - - - - - Determines if the character specified is a separator character. - - The character to test. - True is the character is a separator character. - - - - Determines if the character specified is a delimeter character. - - The character to test. - True is the character is a delimeter character, false otherwise. - - - - - Looks up for the token. - - What to look for. - - - - - Searches for a token specified by 'token' string. - - What to search. - The position of the found token. - - - - Reads a string from a stream in the oppozite direction. - - The string. - - - - Skip any whitespace at the tail. - NOTE: stream.Position points to the last encounted whitespace. - - - - - Skips all white spaces. stream.Position will point to the first nonspase - character or EOF. - - - - - Returns next string separated by delimiters. - - A string. - - - - Seeks for the position specified. - - The origin relative offset. - The origin for the offset. - The zero based position in the stream. - - - - Appends a line with the next character from the stream. - Also it advances the current stream position. - - A text string. - The resulting the character read, - or -1 if EOF was reached during reading. - - - - Gets the peeked byte value. - - The byte value. - True if the byte was acquired. - - - - Sets or gets the position within the stream. - - - - - Returns the underlying stream. - - - - - Helper class to write PDF graphic streams easily. - - - - - Defines the basic interace of the various writers. - - - - - Writes the specified PDF object. - - The PDF object. - - - - Writes the specified number. - - The number. - - - - Writes the specified number. - - The number. - - - - Writes the specified text. - - The text. - - - - Writes the specified text. - - The text. - - - - Writes the specified data. - - The data. - - - - Gets or sets the current position within the stream. - - - - - Stream length. - - - - - The document required for saving process. - - - - - The PDF stream where the data should be write into. - - - - - Initializes a new instance of the class. - - The PDF stream. - - - - Modifies TM (text matrix). - - Matrix to be inserted. - - - - Sets font. - - The font. - The name of the font. - Font size. - - - - Sets font. - - The font. - The name of the font. - Font size. - - - - Set the Colorspace. - - - - - - - Sets the character spacing. - - The character spacing value. - - - - Sets the word spacing. - - The word spacing value. - - - - Sets the scaling. - - The scaling factor. - The scaling factor of 100 means "normal size". - - - - Sets text leading. - - The leading value. - - - - Sets the text rendering mode. - - The rendering mode. - - - - Sets text rise. - - The text rise value. - - - - Sets the text scaling. - - The text scaling. - - - - Starts the next line. - - - - - Starts the next line. - - The start point of the line. - - - - Shifts the text to the point. - - The x coordinate. - The y coordinate. - - - - Sets the start of the next line and set leading. - - The point. - - - - Sets the start of the next line and set leading. - - The x. - The y. - - - - Shows the text. - - The text. - if set to true the text is in hex. - - - - Shows the text. - - The text. - if set to true the text should be in hex. - - - - Shows the text. - - The text. - - - - Flushes tokens to the stream. - - String tokens. - - - - Shows the next line text. - - The text. - if set to true the text should be in hex. - - - - Shows the next line text. - - The text. - if set to true the text should be in hex. - - - - Shows the next line text. - - The text. - - - - Shows the text on the next line and sets word and character spacings. - - The word spacing. - The char spacing. - The text. - if set to true the text should be in hex. - - - - Shows the text on the next line and sets word and character spacings. - - The word spacing. - The char spacing. - The text. - if set to true the text should be in hex. - - - - Shows the text on the next line and sets word and character spacings. - - The word spacing. - The char spacing. - The text. - - - - Shows the text. - - The formatting. - - - - Begins text. - - - - - Writes tags. - - - - - - Ends text. - - - - - Begins start markup sequence text. - - The name of the markup sequence. - - - - Begins start markup sequence text. - - The name of the markup sequence. - - - - Ends markup sequence text. - - - - - Writes comment to the file. - - - - - - Begins the path. - - The start point. - - - - Begins the path. - - The x. - The y. - - - - Appends bezier segment. - - - - - Appends bezier segment. - - The x1. - The y1. - The x2. - The y2. - The x3. - The y3. - - - - Appends the bezier segment. - - The p2. - The p3. - if set to true p2 is used as p1. - - - - Appends the bezier segment. - - The x2. - The y2. - The x3. - The y3. - if set to true - x2 is used as x1 and y2 is used as y1. - - - - Appends a line segment. - - The point. - - - - Appends a line segment. - - The x. - The y. - - - - Appends the rectangle. - - The rectangle. - - - - Appends the rectangle. - - The x. - The y. - The width. - The height. - - - - Closes path object. - - - - - Closes the sub path. - - - - - Fills path. - - if set to true use even-odd rule. - - - - Strokes path. - - - - - Fills and strokes path. - - if set to true use even-odd rule. - - - - Closes and strokes the path. - - - - - Closes, then fills and strokes the path. - - if set to true use even odd rule. - - - - Closes and fills the path. - - if set to true [use even odd rule]. - - - - Clips the path. - - if set to true use even odd rule. - - - - Ends the path. - - - - - Saves the graphics state. - - - - - Restores the graphics state. - - - - - Modifies current transformation matrix. - - Matrix to be inserted. - - - - Sets the width of the line. - - The width. - - - - Sets the line cap. - - The line cap style. - - - - Sets the line join. - - The line join style. - - - - Sets the miter limit. - - The miter limit. - - - - Sets the line dash pattern. - - The pattern. - The pattern offset. - - - - Sets the line dash pattern. - - The pattern. - The pattern offset. - - - - Sets the color rendering intent. - - The intent value. - - - - Sets the flatness tolerance. - - The tolerance value. - - - - Sets the graphics state. - - Name of the graphics state dictionary. - - - - Sets the graphics state. - - Name of the graphics state dictionary. - - - - Sets the color space. - - The name of the colour space. - if set to true - the space is set for stroking operations. - - - - Sets the color space. - - The name of the colour space. - if set to true - the space is set for stroking operations. - - - - Sets the color and color space. - - The color. - The color space. - if set to true - the colour is set for stroking operations. - - - - Sets the color and color space. - - - - - - - - - Sets the color and space. - - The color. - The color space. - if it is for stroking, set to true. - if it is check, set to true. - if it is iccbased, set to true. - - - - Sets the color and space. - - The color. - The color space. - if it is for for stroking, set to true. - if it is to check, set to true. - if it is iccbased, set to true. - if it is indexed, set to true. - - - - Sets the color. - - The color. - The current space. - if set to true - the colour is set for stroking operations. - - - - Sets the colour with pattern. - - The colour array. - The name of the pattern. - if set to true the colours and pattern - are set for stroking operations. - - - - Executes the XObject. - - The name of the XObject. - - - - Executes the XObject. - - The name of the XObject. - - - - Gets the stream. - - The internal PdfStream object. - - - - Clears a stream. - - - - - Writes the point. - - The point. - - - - Writes the point. - - The x. - The y. - - - - Writes the text. - - The text. - - - - Writes the text. - - The text. - if set to true the text is in hex. - - - - Writes the text. - - The text. - if set to true the text is in hex. - - - - Writes the text. - - The text. - - - - Writes the operator. - - The operator code. - - - - Checks the text param. - - The text. - - - - Checks the text param. - - The text. - - - - Checks the text param. - - The text. - - - - Writes the specified PDF object. - - The PDF object. - - - - Writes the specified number. - - The number. - - - - Writes the specified number. - - The number. - - - - Writes the specified text. - - The text. - - - - Writes the specified text. - - The text. - - - - Writes the specified data. - - The data. - - - - Gets or sets the current position within the stream. - - - - - Gets stream length. - - - - - - Represents structure tree required to store document logical structure. - - - - - Internal variable to hold structure elements. - - - - - Internal variable to store PdfPage associated with the element. - - - - - Internal variable to store structure id. - - - - - Internal variable to store the bounding rectangle of the element. - - - - - Internal Variable to store the order for the elements - - - - - Internal Variable to store structure element parent and the tag. - - - - - Internal variable to store current structure element's child - - - - - Internal variable to store structure element's parent hierarchy. - - - - - Internal variable to store tree root's child nodes - - - - - Internal variable to store structure elements's childs - - - - - Internal variable to store tags - - - - - Internal variable to store tree root childs. - - - - - Internal variable to store current parent data. - - - - - Internal variable to store structure element parent data - - - - - Internal variable to store sub-list dictionary - - - - - Internal variable to store sub-list collection - - - - - Internal variable to check whether order included. - - - - - Internal variable to check whether nested grid rendering done. - - - - - Constructor - - - - - Adds the specified element to the document structure tree. - - - - - - - - - - Adds the specified element to the document structure tree. - - - - - - - - - Adds annotation/form fields element to the structure tree root. - - the structure element - Page - the annotation dictionary - - - - Adds structure element to the document tree root - - the structure element - Page - returns an integer marked content identifier denoating marked content sequence - - - - Adds parent entry for Table/List - - structure element's parent hierarchy - returns true if parent is identical - - - - Add entries for the structure elements Table/List - - structure elements's parent hierarchy - returns true if parent is identical - - - - Checks whether table has child grid. - - the structure elements's hierarchy - returns true if the table has child grid. - - - - Adds parent entry for the elements - - the structure element - structure element's parent hierarchy - returns true if parent is identical - - - - Checks whether List element has sub-list - - the structure element's parent hierarchy - returns true if the list has sub-list. - - - - Set sub entries data. - - structure element's parent hierarchy - current parent dictionary - - - - Adds tag for the structure elements - - - - - - - Indicates whether the tag is identical - - - returns true if tag is identical - - - - Sets parent entry for structure element hierarchy. - - the structure element hierarchy - top level structure element dictionary - the start index to add parent entry - - - - Set child entry for tree root - - the structure parent hierarchy - - - - Set child for the structure elements List/Table - - the structure parent hierarchy - the child collection - - - - Dispose all the resources from strurture tree root. - - - - - Finds structure elements parent - - the structure element - returns the parent hierarchy for structure element - - - - Adds order value from structure element - - the structure element - - - - Converts equivalent name for the tag type. - - - returns the converted tag name - - - - Re-Order the List - - the maximum child entries in parent - the order list - - - - Re-arrange the structure elements from tree root - - the tree root child entries - the order list - - - - Arranges order list from zero - - the child element count - - - - - Gets Child elements from structure tree root. - - the structure tree root - - - - Initializes a new instance of the class. - - The stream. - - - - Performs application-defined tasks associated with freeing, - releasing, or resetting unmanaged resources. - - - - - Closes this instance. - - - - - Writes the specified PDF object. - - The PDF object. - - - - Writes the specified number. - - The number. - - - - Writes the specified number. - - The number. - - - - Writes the specified text. - - The text. - - - - Writes the specified text. - - The text. - - - - Writes the specified data. - - The data. - - - - Gets the stream. - - The stream. - - - - Gets the stream. - - - - - Gets or Sets the document required for saving process. - - - - - Gets or sets the current position within the stream. - - - - - Gets stream length. - - - - - Holds all tokens which might appear in every PDF file. - - - - - All element types. - - - - - Specfies the status of the IPdfPrmitive. Status is registered if it has a reference or else none. - - - - - Summary description for CryptoApi. - - - - - Default constructor. - - - - - WinAPi functions. - - - - - To prevent construction of a class, we make a private constructor. - - - - - Adds the font resource from the specified file to the system font table. - The font can subsequently be used for text output by any application. - - String that contains a valid font file name. - If the function fails, the return value is zero. - - - - Removes the fonts in the specified file from the system font table. - - String that names a font resource file. - If the function fails, the return value is zero. - - - - Selects an object into the specified device context (DC). - The new object replaces the previous object of the same type. - - Handle to the DC. - Handle to the object to be selected. - If the selected object is not a region and the function succeeds, - the return value is a handle to the object being replaced. - - - - Deletes a logical pen, brush, font, bitmap, region, or palette, - freeing all system resources associated with the object. - After the object is deleted, the specified handle is no longer valid. - - Handle to a logical pen, brush, font, - bitmap, region, or palette. - If the function succeeds, the return value is nonzero. - - - - Retrieves font metric data for a TrueType font. - - Handle to the device context. - Specifies the name of a font metric table - from which the font data is to be retrieved - Specifies the offset from the beginning of the font metric table - to the location where the function should begin retrieving information. - Pointer to a buffer that receives the font information. - Specifies the length in bytes of the information to be retrieved - If the function succeeds, the return value is the number of bytes returned. - - - - Retrieves the widths, in logical coordinates, - of consecutive characters in a specified range from the current font. - - Handle to the device context. - Specifies the first character in - the group of consecutive characters. - Specifies the last character in - the group of consecutive characters, - which must not precede the specified first character. - Pointer to a buffer that receives - the character widths, in logical coordinates. - If the function succeeds, the return value is nonzero. - - - - Computes the width and height of the specified string of text. - - Handle to the device context. - Pointer to a buffer that specifies the text string. - Specifies the length of the lpString buffer. - Pointer to a size structure that receives the dimensions of the string - in logical units. - If the function succeeds, the return value is nonzero. - - - - Computes the width and height of the specified string of text. - - Handle to the device context. - Specifies the first character in the group of - consecutive characters from the current font. - Specifies the last character in the group of - consecutive characters from the current font. - Pointer to an array of ABC structures that receives - the character widths, in logical units. - The function succeeds, the return value is nonzero. - - - - The SetTextColor function sets the text color for the specified - device context to the specified color. - - Handle to the device context. - Specifies the color of the text. - If the function succeeds, the return value is - a color reference for the previous text color as a COLORREF value. - - - - The SetTextAlign function sets the text-alignment flags for - the specified device context. - - Handle to the device context. - Specifies the text alignment by using a mask of values. - If the function succeeds, the return value is the previous - text-alignment setting. - - - - The SetBkColor function sets the current background color to - the specified color value or to the nearest physical color - if the device cannot represent the specified color value. - - Handle to the device context. - Specifies the new background color. - If the function succeeds, the return value specifies - the previous background color as a COLORREF value. - - - - The SaveDC function saves the current state of the specified - device context (DC) - - Handle to the DC whose state is to be saved. - If the function succeeds, the return value identifies - the saved state. - - - - The GetTextColor function retrieves the current text color - for the specified device context. - - Handle to the device context. - If the function succeeds, the return value is - the current text color as a COLORREF value. - - - - The GetBkColor function returns the current background color - for the specified device context. - - Handle to the device context whose - background color is to be returned. - If the function succeeds, the return value is - a COLORREF value for the current background color. - - - - The GetTextAlign function retrieves the text-alignment - setting for the specified device context. - - Handle to the device context. - The function succeeds, the return value is the status of - the text-alignment flags. - - - - The RestoreDC function restores a device context (DC) to the specified state - - Handle to the DC. - Specifies the saved state to be restored. - If the function succeeds, the return value is nonzero. - - - - The LPtoDP function converts logical coordinates into device coordinates. - - Handle to device context. - Pointer to an array of POINT structures. - Specifies the number of points in the array. - If the function succeeds, the return value is nonzero. - - - - The LPtoDP function converts logical coordinates into logical coordinates. - - Handle to device context. - Pointer to an array of POINT structures. - Specifies the number of points in the array. - If the function succeeds, the return value is nonzero. - - - - The CreateIC function creates an information context for the specified device. - - Driver name. - Device name. - Port or file name. - Optional initialization data. - If the function succeeds, the return value is - the handle to an information context. - - - - The SetWindowExtEx function sets the horizontal and vertical extents of - the window for a device context by using the specified values. - - Handle to the device context. - Specifies the window's horizontal extent in - logical units. - Specifies the window's vertical extent in - logical units. - Pointer to a size structure that receives - the previous window extents, in logical units. - - - - - The SetWindowOrgEx function specifies which window point maps - to the viewport origin (0,0). - - Handle to the device context. - Specifies the X coordinate in logical units - of the new window origin. - Specifies the Y coordinate in logical units - of the new window origin. - Pointer to a point structure that receives - the previous origin of the window, in logical units. - If the function succeeds, the return value is nonzero. - - - - The SetViewportExtEx function sets the horizontal and vertical extents - of the viewport for a device context by using the specified values. - - Handle to the device context. - Specifies the horizontal extent - in device units of the viewport. - Specifies the vertical extent - in device units of the viewport. - Pointer to a size structure that - receives the previous viewport extents in device units. - If the function succeeds, the return value is nonzero. - - - - The GetViewportExtEx function retrieves the horizontal extent and vertical extent - of the current viewport for the specified device context. - - Handle to the device context. - Pointer to a size structure that - receives the previous viewport extents in device units. - If the function succeeds, the return value is nonzero. - - - - The SetViewportOrgEx function specifies which device point maps - to the window origin (0,0). - - Handle to the device context. - Specifies the x-coordinate, in device units, - of the new viewport origin. - Specifies the Y coordinate in device units - of the new viewport origin. - Pointer to a point structure that receives - the previous viewport origin in device coordinates. - If the function succeeds, the return value is nonzero. - - - - The ScaleWindowExtEx function modifies the window for a device context using - the ratios formed by the specified multiplicands and divisors. - - Handle to the device context. - Specifies the amount by which to multiply - the current horizontal extent. - Specifies the amount by which to divide - the current horizontal extent. - Specifies the amount by which to multiply - the current vertical extent - Specifies the amount by which to divide - the current vertical extent - Pointer to a size structure that receives - the previous window extents in logical units. - If the function succeeds, the return value is nonzero. - - - - The ScaleViewportExtEx function modifies the viewport for a device context - using the ratios formed by the specified multiplicands and divisors. - - Handle to the device context. - Specifies the amount by which to multiply - the current horizontal extent. - Specifies the amount by which to divide - the current horizontal extent. - Specifies the amount by which to multiply - the current vertical extent. - Specifies the amount by which to divide - the current vertical extent. - Pointer to a size structure that receives - the previous viewport extents in device units. - If the function succeeds, the return value is nonzero. - - - - The SetMapMode function sets the mapping mode of the specified device context. - - Handle to device context. - New mapping mode. - If the function succeeds, the return value identifies - the previous mapping mode. - - - - The GetGraphicsMode function retrieves the current graphics mode - for the specified device context. - - Handle to device context. - If the function succeeds, the return value is the current graphics mode. - - - - The GetDeviceCaps function retrieves device-specific information - for the specified device. - - Handle to the DC. - Specifies the item to return. - The return value specifies the value of the desired item. - - - - The GetDC function retrieves a handle to a display device context (DC) - for the client area of a specified window or for the entire screen. - - Handle to the window whose DC is to be retrieved - If the function succeeds, the return value is a handle to the DC - for the specified window's client area. - - - - The CreateDC function creates a device context (DC) for a device using the specified name. - - Driver name. - Device name. - Not used; should be NULL. - Optional printer data. - If the function succeeds, the return value is the handle to a DC for the specified device. - - - - The DeleteDC function deletes the specified device context (DC). - - Handle to the device context. - If the function succeeds, the return value is nonzero. - - - - The ModifyWorldTransform function changes the world transformation for a device context using the specified mode. - - handle to device context. - transformation data. - The modififcation mode. - modification mode. - - - - The SetWorldTransform function sets the world transformation for a device context using the specified mode. - - handle to device context. - transformation data. - modification mode. - - - - The GetMapMode function retrieves the current mapping mode. - - handle to device context. - If the function succeeds, the return value specifies the mapping mode. - - - - The SetMiterLimit function sets the limit for the length of miter joins for the specified device context. - - handle to DC - new miter limit - previous miter limit - If the function succeeds, the return value is nonzero. - - - - The GetMiterLimit function retrieves the miter limit for the specified device context. - - handle to DC - miter limit - If the function succeeds, the return value is nonzero. - - - - The SetPolyFillMode function sets the polygon fill mode for functions that fill polygons. - - handle to DC - polygon fill mode - The return value specifies the previous filling mode. If an error occurs, the return value is zero. - - - - The GetPolyFillMode function retrieves the current polygon fill mode. - - handle to DC - The return value specifies the filling mode. If an error occurs, the return value is zero. - - - - The SetGraphicsMode function sets the graphics mode for the specified device context. - - Handle to the device context. - Specifies the graphics mode. - - - - - The BeginPath function opens a path bracket in the specified device context. - - Handle to the device context. - If the function succeeds, the return value is nonzero. - - - - The MoveToEx function updates the current position to the specified point and optionally returns the previous position. - - Handle to the device context. - Specifies the x-coordinate, in logical units, of the new position, in logical units. - Specifies the y-coordinate, in logical units, of the new position, in logical units. - Pointer to a POINT structure that receives the previous current position. - If the function succeeds, the return value is nonzero. - - - - The LineTo function draws a line from the current position up to, but not including, the specified point. - - Handle to a device context. - Specifies the x-coordinate, in logical units, of the line's ending point. - Specifies the y-coordinate, in logical units, of the line's ending point. - If the function succeeds, the return value is nonzero. - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Retrieves text metrics for TrueType fonts. - - Handle to the device context. - Specifies the size in bytes of the array - that receives the text metrics. - Pointer to an array of OUTLINETEXTMETRIC structures. - If the function succeeds, the return value is nonzero - or the size of the required buffer. - - - - Retrieves text metrics for TrueType fonts. - - Handle to the device context. - Specifies the size in bytes of the array - that receives the text metrics. - Pointer to an array of OUTLINETEXTMETRIC structures. - If the function succeeds, the return value is nonzero - or the size of the required buffer. - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - Exported function from Windows GDI. For more details see Windows GDI reference. - - - - - This function allows an application to get a font that is embedded in a document or a webpage. - A font that is added by AddFontMemResourceEx is always private to the process that made the call and is not enumerable. - - A pointer to a font resource. - The number of bytes in the font resource that is pointed to by pbFont. - Reserved. Must be 0. - A pointer to a variable that specifies the number of fonts installed. - The return value specifies the handle to the font added - - - - WinAPi functions. - - - - - To prevent construction of a class, we make a private constructor. - - - - - The GetLastError function retrieves the calling thread's last-error code value. - - The return value is the calling thread's last-error code value. - - - - Retrieves character-type information for the characters in the specified source string. - - Value that specifies the locale identifier. - Value that specifies the type of character information the user wants to retrieve. - Pointer to the string for which character types are requested. - Size, in characters, of the string pointed to by the lpSrcStr parameter. - Pointer to an array of 16-bit values. - Boolean result, indicates success of WinAPI call - - - - Class containing API for RTL support. - - - - - Operation succeed. - - - - - Out of memory to suceed an operation. - - - - - Default size of the buffer. - - - - - Font doesn't support such glyphs. - - - - - Default script program. - - - - - Mask for setting script as SCRIPT_UNDEFINED. - - - - - Identifies that layout is RTL. - - - - - Default constructor. - - - - - Retieves value from the structure. - - Value of the structure. - Start position of the item inside of the structure. - Length of the item in bits. - Value from the structure. - - - - Class containing API for RTF support. - - - - - Exported funtion. - - - - - Exported funtion. - - - - - Exported funtion. - - - - - Specifies the type of character information the user wants to retrieve. - - - - - Retrieves character type info - - - - - Retrieves bi-directional layout info - - - - - Retrieves text processing info - - - - - These types support ANSI C and POSIX (LC_CTYPE) character-typing functions. - A combination of these values is returned in the array pointed to by the lpCharType parameter - when the dwInfoType parameter is set to CT_CTYPE1. - - - - - Uppercase - - - - - Lowercase - - - - - Decimal digits - - - - - Space characters - - - - - Punctuation - - - - - Control characters - - - - - Blank characters - - - - - Hexadecimal digits - - - - - Any linguistic character: alphabetic, syllabary, or ideographic - - - - - These types support proper layout of Unicode text. The direction attributes are assigned - so that the bidirectional layout algorithm standardized by Unicode produces accurate results. - These types are mutually exclusive. - - - - - Left to right - - - - - Right to left - - - - - European number, European digit - - - - - European numeric separator - - - - - European numeric terminator - - - - - Arabic number - - - - - Common numeric separator - - - - - Block separator - - - - - Segment separator - - - - - White space - - - - - Other neutrals - - - - - No implicit directionality (for example, control codes) - - - - - These types are intended to be placeholders for extensions to the POSIX types - required for general text processing or for the standard C library functions. - A combination of these values is returned when dwInfoType is set to CT_CTYPE3. - - - - - Diacritic nonspacing mark - - - - - Vowel nonspacing mark - - - - - Symbol - - - - - Katakana character - - - - - Hiragana character - - - - - Half-width (narrow) character - - - - - Full-width (wide) character - - - - - Ideographic character - - - - - Arabic Kashida character - - - - - Punctuation which is counted as part of the word - (Kashida, hyphen, feminine/masculine ordinal indicators, equal sign, and so forth) - - - - - All linguistic characters (alphabetical, syllabary, and ideographic) - - - - - Not applicable - - - - - Native enum. - - - - - Record of Emf metafile. - - - - - New miter limit. - - - - - Record of Emf metafile. - - - - - The XFORM structure specifies a world-space to page-space transformation. - - - - - Specifies scaling/rotation/reflection - - - - - Specified shear/rotation - - - - - Specified shear/rotation - - - - - Specifies scaling/rotation/reflection - - - - - Specifies the horizontal translation component, in logical units. - - - - - Specifies the vertical translation component, in logical units. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Point creation from lParam's data. - - lParam's data for initialing point structure. - - - - Performs an implicit conversion from to . - - The p. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The p. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The p. - The result of the conversion. - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - ABC structure. - - - - - Structure for 32 bit images saving. - - - - - Value of Blue chanel. - - - - - Value of Green chanel. - - - - - Value of Red chanel. - - - - - Value of Alpha chanel. - - - - - Structure for 24 bit images saving. - - - - - Value of Blue chanel. - - - - - Value of Green chanel. - - - - - Value of Red chanel. - - - - - Structure for 24 bit images saving. - - - - - Value of Blue chanel. - - - - - Value of Green chanel. - - - - - Value of Red chanel. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Windows structure. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Record of Emf metafile. - - - - - Structure for information about font. - - - - - Class with simple constants. - - - - - ExtTextOut options constants. - - - - - The current background color should be used to fill the rectangle. - - - - - The text will be clipped to the rectangle. - - - - - Windows 95 and Windows NT 4.0 and later: - The lpString array refers to an array returned from - GetCharacterPlacement and should be parsed directly by GDI - as no further language-specific processing is required. - Glyph indexing only applies to TrueType fonts, but the flag - can be used for bitmap and vector fonts to indicate that no further - language processing is necessary and GDI should process the string - directly. - - Note that all glyph indexes are 16-bit values even though the string is - assumed to be an array of 8-bit values for raster fonts. - - For ExtTextOutW, the glyph indexes are saved to a metafile. - However, to display the correct characters the metafile must be - played back using the same font. For ExtTextOutA, the glyph indexes are not saved. - - - - - Windows 95 and Windows NT 4.0 and later: To display numbers, use European digits. - - - - - Windows 95 and Windows NT 4.0 and later: To display numbers, use digits appropriate to the locale. - - - - - Windows 95 and Windows NT 4.0 and later for Middle East - language edition of Windows: If this value is specified - and a Hebrew or Arabic font is selected into the device - context, the string is output using right-to-left reading - order. If this value is not specified, the string is output - in left-to-right order. The same effect can be achieved - by setting the TA_RTLREADING value in SetTextAlign. This - value is preserved for backward compatibility. - - - - - Windows NT 4.0 and later: Reserved for system use. - If an application sets this flag, it loses international scripting - support and in some cases it may display no text at all. - - - - - Windows 2000/XP: When this is set, the array pointed to by lpDx - contains pairs of values. The first value of each pair is, - as usual, the distance between origins of adjacent character cells, - but the second value is the displacement along the vertical direction of the font. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Copies the source rectangle directly to the destination rectangle. - - - - - Combines the colors of the source and destination rectangles by using the Boolean OR operator. - - - - - Combines the colors of the source and destination rectangles by using the Boolean AND operator. - - - - - Combines the colors of the source and destination rectangles by using the Boolean XOR operator. - - - - - Combines the inverted colors of the destination rectangle with the colors of the source rectangle - by using the Boolean AND operator. - - - - - Copies the inverted source rectangle to the destination. - - - - - Combines the colors of the source and destination rectangles - by using the Boolean OR operator and then inverts the resultant color. - - - - - Merges the colors of the source rectangle with the specified pattern - by using the Boolean AND operator. - - - - - Merges the colors of the inverted source rectangle with the colors of the destination rectangle - by using the Boolean OR operator. - - - - - Copies the specified pattern into the destination bitmap. - - - - - Combines the colors of the pattern with the colors of the inverted source rectangle by using the Boolean OR operator. - The result of this operation is combined with the colors of the destination rectangle by using the Boolean OR operator. - - - - - Combines the colors of the specified pattern with the colors of the destination rectangle - by using the Boolean XOR operator. - - - - - Inverts the destination rectangle. - - - - - Fills the destination rectangle using the color associated with index 0 in the physical palette. - This color is black for the default physical palette. - - - - - Fills the destination rectangle using the color associated with index 1 in the physical palette. - This color is white for the default physical palette. - - - - - Combines the colors of the source and destination rectangles by using the Boolean AND operator. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Constants from WinGdi.h file. - - - - - Gdi Charset. - - - - - The class represents the graphics state data. - - - - - Represents the method that executes on a PdfDocument when a new page is created. - - The source of the event. - A that contains the event data. - - - - Provides data for event. - - - This event raises when adding the new PDF page to the PDF document - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the event - document.Pages.PageAdded += new PageAddedEventHandler(Pages_PageAdded); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - page = document.Pages.Add(); - //Saves the document - document.Save("Sample.pdf"); - document.Close(true); - //Event handler for PageAdded event - void Pages_PageAdded(object sender, PageAddedEventArgs args) - { - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - args.Page.Graphics.DrawString("New Page", font, PdfBrushes.Black, new PointF(100, 100)); - } - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the event - document.Pages.PageAdded += New PageAddedEventHandler(Pages_PageAdded) - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - page = document.Pages.Add() - 'Saves the document - document.Save("Sample.pdf") - document.Close(True) - 'Event handler for PageAdded event - Private Sub Pages_PageAdded(sender As Object, args As PageAddedEventArgs) - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - args.Page.Graphics.DrawString("New Page", font, PdfBrushes.Black, New PointF(100, 100)) - End Sub - - - Delegate. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with . - - A object representing the page which is added in the document. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the event - document.Pages.PageAdded += new PageAddedEventHandler(Pages_PageAdded); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - page = document.Pages.Add(); - //Saves the document - document.Save("Sample.pdf"); - document.Close(true); - //Event handler for PageAdded event - void Pages_PageAdded(object sender, PageAddedEventArgs args) - { - PdfPage page = args.Page; - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - page.Graphics.DrawString("New Page", font, PdfBrushes.Black, new PointF(100, 100)); - } - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the event - document.Pages.PageAdded += New PageAddedEventHandler(Pages_PageAdded) - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - page = document.Pages.Add() - 'Saves the document - document.Save("Sample.pdf") - document.Close(True) - 'Event handler for PageAdded event - Private Sub Pages_PageAdded(sender As Object, args As PageAddedEventArgs) - Dim page As PdfPage = args.Page - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - page.Graphics.DrawString("New Page", font, PdfBrushes.Black, New PointF(100, 100)) - End Sub - - - Class. - - - - Gets the newly added page. - - A object representing the page which is added in the document. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the event - document.Pages.PageAdded += new PageAddedEventHandler(Pages_PageAdded); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - //Create font with Bold font style. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 12f, PdfFontStyle.Bold); - //Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, new PointF(10, 10)); - page = document.Pages.Add(); - //Saves the document - document.Save("Sample.pdf"); - document.Close(true); - //Event handler for PageAdded event - void Pages_PageAdded(object sender, PageAddedEventArgs args) - { - PdfPage page = args.Page; - PdfFont font = new PdfStandardFont(PdfFontFamily.Courier, 10); - page.Graphics.DrawString("New Page", font, PdfBrushes.Black, new PointF(100, 100)); - } - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the event - document.Pages.PageAdded += New PageAddedEventHandler(Pages_PageAdded) - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - 'Create font with Bold font style. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 12F, PdfFontStyle.Bold) - 'Draw text in the new page. - page.Graphics.DrawString("Essential PDF", font, PdfBrushes.Black, New PointF(10, 10)) - page = document.Pages.Add() - 'Saves the document - document.Save("Sample.pdf") - document.Close(True) - 'Event handler for PageAdded event - Private Sub Pages_PageAdded(sender As Object, args As PageAddedEventArgs) - Dim page As PdfPage = args.Page - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Courier, 10) - page.Graphics.DrawString("New Page", font, PdfBrushes.Black, New PointF(100, 100)) - End Sub - - - Class. - - - - Represents information about various predefined page sizes. - - - - - - - Letter format. - - - - - - - Note format. - - - - - - - Legal format. - - - - - - - A0 format. - - - - - - - A1 format. - - - - - - - A2 format. - - - - - - - A3 format. - - - - - - - A4 format. - - - - - - - A5 format. - - - - - - - A6 format. - - - - - - - A7 format. - - - - - - - A8 format. - - - - - - - A9 format. - - - - - - - A10 format. - - - - - - - B0 format. - - - - - - - B1 format. - - - - - - - B2 format. - - - - - - - B3 format. - - - - - - - B4 format. - - - - - - - B5 format. - - - - - - - ArchE format. - - - - - - - ArchD format. - - - - - - - ArchC format. - - - - - - - ArchB format. - - - - - - - ArchA format. - - - - - - - The American Foolscap format. - - - - - - - HalfLetter format. - - - - - - - 11x17 format. - - - - - - - Ledger format. - - - - - - - Private constructor. - - - - - Implements a virtual collection of all pages in the document. - - - - - Parent document. - - - - - It holds the page collection with the index - - - - - It counts the index of the page - - - - - Initializes a new instance of the class. - - The document. - - - - Creates a page and adds it to the last section in the document. - - Created object. - - - - Adds the specified page to the last section. - - The page.i - - - - Inserts a page at the specified index to the last section in the document. - - The index of the page in the section. - The . - - - - Inserts a loaded page in the new PDF document at specified index. - - The index at which the page to be inserted - The page to be inserted - - - - Gets the index of the page in the document. - - The current page. - Index of the page in the document if exists, -1 otherwise. - - - - Removes the specified page. - - The page. - - - - - Clears the page collection. - - - - - Counts the pages. - - The total number of pages. - - - - Searches a page by its index in the document. - - Zero-based index of the page. - Page by its index in the document. - - - - Adds a loaded page to the last section in the document. - - The loaded page. - - - - Returns last section in the document. - - Returns last section in the document. - - - - Called when new page has been added - - Event arguments. - - - - Adds a cloned page from a loaded document. - - The loaded document. - The page. - The destinations. - - - - - Determines whether the page fit last section. - - The page. - - true if the page fit last section; otherwise, false. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the total number of the pages. - - - - - Gets a page by its index in the document. - - - - - Gets a page index from the document. - - - - - Represents the method that executes on a PdfDocument when a new page is created. - - - - - Section collection enumerator. - - - - - Parent page collection. - - - - - Current index of the enumerator. - - - - - Initializes a new instance of the class. - - The section collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; - false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Checks the index. - - - - - Gets the current section. - - - - - Encapsulates a page template for all the pages in the document. - - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height); - //Creates a new page and adds it as the last page of the document template - PdfPageTemplateElement footer = new PdfPageTemplateElement(rect); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - PdfSolidBrush brush = new PdfSolidBrush(Color.Gray); - //Create page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, brush); - //Create page count field - PdfPageCountField count = new PdfPageCountField(font, brush); - PdfCompositeField compositeField = new PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count); - compositeField.Bounds = footer.Bounds; - compositeField.Draw(footer.Graphics, new PointF(40, footer.Height - 50)); - //Add the footer template at the bottom - doc.Template.Bottom = footer; - //Save the document - doc.Save("Template.pdf"); - //Close the document - doc.Close(true); - - - 'Create a PDF document - Dim doc As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As RectangleF = New RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height) - 'Create a page template - Dim footer As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - Dim brush As PdfSolidBrush = New PdfSolidBrush(Color.Gray) - 'Create page number field - Dim pageNumber As PdfPageNumberField = New PdfPageNumberField(font, brush) - 'Create page count field - Dim count As PdfPageCountField = New PdfPageCountField(font, brush) - Dim compositeField As PdfCompositeField = New PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count) - compositeField.Bounds = footer.Bounds - compositeField.Draw(footer.Graphics, New PointF(40, footer.Height - 50)) - 'Add the footer template at the bottom - doc.Template.Bottom = footer - doc.Save("Template.pdf") - 'Close the document - doc.Close(True) - - - - - - Left page template object. - - - - - Top page template object. - - - - - Right page template object. - - - - - Bottom page template object. - - - - - Even Left page template object. - - - - - Even Top page template object. - - - - - Even Right page template object. - - - - - Even Bottom page template object. - - - - - Odd Left page template object. - - - - - Odd Top page template object. - - - - - Odd Right page template object. - - - - - Odd Bottom page template object. - - - - - The collection of the stamp elements. - - - - - Initializes a new instance of the class. - - - - - Returns left template. - - Page where the template should be printed. - Returns left template. - - - - Returns top template. - - Page where the template should be printed. - Returns top template. - - - - Returns right template. - - Page where the template should be printed. - Returns right template. - - - - Returns bottom template. - - Page where the template should be printed. - Returns bottom template. - - - - Checks whether the page is even or odd. - - The page object. - True if the page is even, false otherwise. - - - - Checks a template element. - - The template element. - The type that should be assigned to the template element. - - The template element which passed the check. - - - - - Gets or sets a left page template. - - The to draw into the PDF page - - - - Gets or sets a top page template. - - The to draw into the PDF page - - - - Gets or sets a right page template. - - The to draw into the PDF page - - - - Gets or sets a bottom page template. - - The to draw into the PDF page - - - - Gets or sets a left page template using on the even pages. - - The to draw into the PDF page - - - - Gets or sets a top page template using on the even pages. - - The to draw into the PDF page - - - - Gets or sets a right page template using on the even pages. - - The to draw into the PDF page - - - - Gets or sets a bottom page template using on the even pages. - - The to draw into the PDF page - - - - Gets or sets a left page template using on the odd pages. - - The to draw into the PDF page - - - - Gets or sets a top page template using on the odd pages. - - The to draw into the PDF page - - - - Gets or sets a right page template using on the odd pages. - - The to draw into the PDF page - - - - Gets or sets a bottom page template using on the odd pages. - - The to draw into the PDF page - - - - Gets a collection of stamp elements. - - The ,a collection of stamps that are applied to the page templates. - - - - Represents a page loaded from a PDF document. - - - - //Load the document - PdfLoadedDocument lDoc = new PdfLoadedDocument("input.pdf"); - //get the first page from the document - PdfLoadedPage page = lDoc.Pages[0] as PdfLoadedPage; - //Get the annotation collection - PdfLoadedAnnotationCollection annotations = page.Annotations; - //Save the document - lDoc.Save("output.pdf"); - lDoc.Close(true); - - - 'Load the document - Dim lDoc As New PdfLoadedDocument("input.pdf") - 'get the first page from the document - Dim page As PdfLoadedPage = TryCast(lDoc.Pages(0), PdfLoadedPage) - 'Get the annotation collection - Dim annotations As PdfLoadedAnnotationCollection = page.Annotations - 'Save the document - lDoc.Save("output.pdf") - lDoc.Close(True) - - - - - - The abstract base class for all pages, Provides methods and properties to create PDF pages and its elements - - - - - Collection of the layers of the page. - - - - - Collection of the annotations of the page. - - - - - Index of the default layer. - - - - - Local variable to store the Font Names. - - - - - Local variable to store the Font Refences. - - - - - Local variable to store information about images. - - - - - Local variable to store page template. - - - - - Local variable to store if page updated. - - - - - Local variable to store annotation count in the page. - - - - - Internal variable to store layers count. - - - - - Internal variable to store combined length. - - - - - Internal variable to store image count for the page. - - - - - Internal variable to store if the page is imported. - - - - - Internal variable to store tab order type for form fields - - - - - Local variable to store resource information - - - - - Local variable to store image information. - - - - - ArrayList to store the extracted images. - - - - - List to store the image information. - - - - - List to store image keys. - - - - - Stack to maintain the current matrix. - - - - - Clear the page resource and record collection - - - - - Initializes a new instance of the class. - - The page dictionary. - - - - Replace the Image at index's Position. - - index of an image - The New Replace image - - - //Load the PDF document - PdfLoadedDocument doc = new PdfLoadedDocument(@"input.pdf"); - //Create an image instance - PdfBitmap bmp = new PdfBitmap(@"Autumn Leaves.jpg"); - //Replace the first image in the page. - doc.Pages[0].ReplaceImage(0, bmp); - //Save the document - doc.Save("output.pdf"); - //Close the document - doc.Close(true); - - - 'Load the PDF document///Dim doc As New PdfLoadedDocument("input.pdf") - 'Create an image instance - Dim bmp As New PdfBitmap("Autumn Leaves.jpg") - 'Replace the first image in the page. - doc.Pages(0).ReplaceImage(0, bmp) - 'Save the document - doc.Save("output.pdf") - 'Close the document - doc.Close(True) - - - - - - Replace the Image at index's Position. - - index of an image - The New Replace image - - - - Replace the Paginated Image. - - Loaded Page - Image key name - New image Reference - Object index - The image is replaced or not - - - - Creates a template from page content and all annotation appearances. - - The created PdfTemplate. - - - //Load an existing PDF. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName); - //Load the page - PdfLoadedPage loadedPage = loadedDocument.Pages[0] as PdfLoadedPage; - //Create the template from the page. - PdfTemplate template = loadedPage.CreateTemplate(); - //Create a new PDF document - PdfDocument document = new PdfDocument(); - //Set the document margin - document.PageSettings.SetMargins(2); - //Add the page - PdfPage page = document.Pages.Add(); - //Create the graphics - PdfGraphics graphics = page.Graphics; - //Draw the template - graphics.DrawPdfTemplate(template, PointF.Empty,new SizeF(page.Size.Width/2,page.Size.Height)); - //Save the new document. - document.Save("output.pdf"); - //Close the documents - loadedDocument.Close(true); - document.Close(true); - - - 'Load the existing PDF document. - Dim loadedDocument As New PdfLoadedDocument(fileName) - 'Load the page - Dim loadedPage As PdfLoadedPage = TryCast(loadedDocument.Pages(0), PdfLoadedPage) - 'Create the template from the page. - Dim template As PdfTemplate = loadedPage.CreateTemplate() - 'Create a new PDF document - Dim document As New PdfDocument() - 'Set the document margin - document.PageSettings.SetMargins(2) - 'Add the page - Dim page As PdfPage = document.Pages.Add() - 'Create the graphics - Dim graphics As PdfGraphics = page.Graphics - 'Draw the template - graphics.DrawPdfTemplate(template, PointF.Empty, New SizeF(page.Size.Width \ 2, page.Size.Height)) - 'Save the new document. - document.Save("output.pdf") - 'Close the documents - loadedDocument.Close(True) - - - - - - Extracts text from the PDF Page. - - The Extracted Text. - - - //Load an existing PDF. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName); - //Load the first page. - PdfPageBase page = loadedDocument.Pages[0]; - //Extract text from first page. - string extractedText = page.ExtractText(); - //Close the document - loadedDocument.Close(true); - - - 'Load an existing PDF. - Dim loadedDocument As New PdfLoadedDocument(fileName) - 'Load the first page. - Dim page As PdfPageBase = loadedDocument.Pages(0) - 'Extract the text from first page. - Dim extractedText As String = page.ExtractText() - 'close the document. - loadedDocument.Close(True) - - - - - - Extracts text from the PDF Page based on its layout - - Extracts text based on the Layout of PDF Document if the parameter is set to true, else Extracts text normally. - The Extracted Text. - Extracting the text based on the layout may take additional processing time when compared to the normal extraction. - - - //Load an existing PDF. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName); - //Load first page. - PdfPageBase page = loadedDocument.Pages[0]; - //Extract text from first page. - string extractedTexts = page.ExtractText(true); - //close the document - loadedDocument.Close(true); - - - 'Load an existing PDF. - Dim loadedDocument As New PdfLoadedDocument(fileName) - 'Load first page. - Dim page As PdfPageBase = loadedDocument.Pages(0) - 'Extract text from first page. - Dim extractedTexts As String = page.ExtractText(True) - 'close the document - loadedDocument.Close(True) - - - - - - Gets the Font from the Xobject. - - - - - Get the XObject font collection - - xobject resource dictionary - font collection dictionary - - - - Collects the Font. - - - - - Gets the XObject from the Resource dictionary - - Page resource - XObject - - - - Get the XObject form the resource dictionary. - - Resource dictionary - xobject - - - - Extracts images from the given PDF Page. - - Returns the extracted image as Image[]. - - - - Extract the Inner XObject Images. - - - - - - Extract the images from the PDF - - returns the List of images - - - //Load an existing PDF. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName); - //Load an existing PDF. - PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName); - //Load first page. - PdfPageBase pageBase = loadedDocument.Pages[0]; - //Extract images from first page. - Image[] extractedImages = pageBase.ExtractImages(); - //close the document - loadedDocument.Close(true); - - - 'Load an existing PDF - Dim loadedDocument As New PdfLoadedDocument(fileName) - 'Load first page. - Dim pageBase As PdfPageBase = loadedDocument.Pages(0) - 'Extract images from first page. - Dim extractedImages As Image() = pageBase.ExtractImages() - 'close the document. - loadedDocument.Close(True) - - - - - - Gets the resources and modifies the page dictionary. - - Pdf resources. - - - - Sets the resources. - - The resources object. - - - - Gets the content of the page in form of a PDF template. - - A read-only PdfTemplate object that represents the content of the page - (w/o annotations and other interactive elements). - - - - Re-Initialize page contents references. - - /// Returns the array of re-initialized page contents - - - - Checks the type of External object - - /// Returns the initialized page XObject reference - - - - Re-Initialize External form object references - - - - - Checks the Optical content and re-initialize the references - - - re-initialized Optical content - - - - Re-initialize image External object references - - - - - - Re-Initialize indirect reference for page resources. - - /// Returns the initialized page resources - - - - Checks the references of Page shading and re-initialize it. - - PageShading dictionary - - - - Re-Initialize the page annotation references - - Acroform dictionary - - - - Checks the annotation appearance and re-initialize the references - - The Appearance dictionary - - - - Re-Initialize the acroform references. - - AcroForm dictionary - - - - Re-Initialize thumbnail data references - - - - - Re-initialize the ColorSpace references. - - The ColorSpace dictionary - - - - Re-initialize the page pattern references - - pattern dictionary - - - - Checks the font internals to re-initialize the reference - - The font dictionary - - - - Re-initialize font descriptor reference - - Font descriptor dictionary - re-initialized font descriptor - - - - Re-initialize the external graphics state references. - - External graphics state dictionary - Returns the initialized graphics state reference - - - - Re-Initialize ExternalObject resources - - External object's resource dictionary - - - - Gets the page orientation. - - The orientation of the page. - - - - Clears PdfPageBase. - - - - - Imports all annotations from a page. - - The loaded document. - The page. - The destination list containing the destinations from annotations. - - - - Imports all annotations from a page. - - The loaded document. - The page. - - - - Gets the destination. - - The loaded document. - The annotation. - The destination dictionary. - - - - Gets the annotations array. - - The array of the annotations. - - - - Returns number of annotations in the page. - - - - - - Gets the page rotation. - - The rotation of the page. - - - - Draws the annotation templates. - - The graphics. - - - - Normalizes the annotation location. - - The location. - The graphics. - The annotation template. - The normalized location. - Annotation location treats low left page corner as coordinates origin. - However, graphics translate the origin to the top left corner. This method makes - location relative to the top left page corner. - - - - Gets the annotation location. - - The annotation dictionary. - The annotation location. - - - - Gets the size of the annotation. - - The annotation dictionary. - The size of the annotation. - - - - Gets the size of the interactive element. - - The dictionary. - Name of the property containing size rectangle (e.g. Rect, BBox). - The size of the annotation. - - - - Gets the annotation template. - - The annotation. - The annotation template. - - - - Gets the information about the extracted image from the PDF page - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - /// - - //Load PDF document. - PdfLoadedDocument document = new PdfLoadedDocument("Input.pdf"); - //Gets ImageInfo from the first page. - PdfImageInfo[] imageInfo = document.Pages[0].ImagesInfo; - //Gets the Image Boundary location. - RectangleF imageBounds = imageInfo[0].Bounds; - //Gets the Image. - Image image = imageInfo[0].Image; - //Gets the Image index. - int imageIndex = imageInfo[0].Index; - //Closing the PDF document. - document.Close(true); - - - 'Load PDF document. - Dim document As New PdfLoadedDocument("Input.pdf") - 'Gets ImageInfo from the first page. - Dim imageInfo As PdfImageInfo() = document.Pages(0).ImagesInfo - 'Gets the Image Boundary location. - Dim imageBounds As RectangleF = imageInfo(0).Bounds - 'Gets the Image. - Dim image As Image = imageInfo(0).Image - 'Gets the Image index. - Dim imageIndex As Integer = imageInfo(0).Index - 'Closing the PDF document. - document.Close(True) - - - - - - Gets the graphics of the . - - - The that represents a graphics of the page. - - /// - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a PDF page - PdfPage page = document.Pages.Add(); - //Get graphics - PdfGraphics graphics = page.Graphics; - //Draw a rectangle - graphics.DrawRectangle(PdfBrushes.Red, new RectangleF(0, 0, 100, 200)); - //Save and close the document - document.Save("output.pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a PDF page - Dim page As PdfPage = document.Pages.Add() - 'Get graphics - Dim graphics As PdfGraphics = page.Graphics - 'Draw a rectangle - graphics.DrawRectangle(PdfBrushes.Red, New RectangleF(0, 0, 100, 200)) - 'Save and close the document - document.Save("output.pdf") - document.Close(True) - - - - - - Gets or sets if a page is imported. - - - - - Gets the collection of the page's layers (Read only). - - - The that represents the page's layers - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Add page to the document - PdfPage page=document.Pages.Add(); - //Get the page layer - PdfPageLayerCollection angle = page.Layers; - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Add page to the document - Dim page As PdfPage = document.Pages.Add() - 'Get the page layer - Dim angle As PdfPageLayerCollection = page.Layers - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Gets the collection of the page's annotations (Read only). - - - The that represents the page's annotations - - - - //Load the document - PdfLoadedDocument lDoc = new PdfLoadedDocument("inputAnnotation.pdf"); - //get the first page from the document - PdfLoadedPage page = lDoc.Pages[0] as PdfLoadedPage; - //Get the annotation collection - PdfLoadedAnnotationCollection annotations = page.Annotations; - //Save the document - lDoc.Save("sample.pdf"); - lDoc.Close(true); - - - 'Load the document - Dim lDoc As New PdfLoadedDocument("inputAnnotation.pdf") - 'Get the first page from the document - Dim page As PdfLoadedPage = TryCast(lDoc.Pages(0), PdfLoadedPage) - 'Get the annotation collections - Dim annotations As PdfLoadedAnnotationCollection = page.Annotations - 'Save the document - lDoc.Save("sample.pdf") - lDoc.Close(True) - - - - - - Gets or sets the tab order type for form fields - - - - - Gets or sets index of the default layer. - - - - - Gets the default layer of the page (Read only). - - - The of the Page - - - - - Gets the size of the page (Read only). - - - - - Gets the origin of the page - - - - - Gets array of page's content. - - - - - Gets the page dictionary. - - - - - Gets the PDF page rotation (Read only). - - - The PdfPageRotateAngle that represents the page rotation - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Get rotation - PdfPageRotateAngle angle = page.Rotation; - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Get rotation - Dim angle As PdfPageRotateAngle = page.Rotation - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Gets the page orientation. - - - - - Returns the page template. - - - - - Gets the page fields count. - - - - - Return true, when the page contains colored content. - - - - - Gets the wrapped element. - - - - - Dictionaries of terminal annotation. - - - - - Collection of annotations. - - - - - Holds the reference numbers of the widget annotations - - - - - Internal variable to store array of annotation reference - - - - - Gets the resources and modifies the page dictionary. - - Pdf resources. - - - - Initializes a new instance of the class. - - The document. - The cross-reference table. - The page's dictionary. - - - - Retrieves the terminal annotations. - - - - - Check whether annotation is form field or not. - - The annotation need to be check - Returns true if the annotation is used by Acroform field, otherwise false. - - - - Gets the documents widget reference collection - - - - - - Removes field and kids annotation from dictionaries. - - The field. - - - - Removes all the reference for particular object - - The annotation need to be removed - - - - Raises event. - - Event arguments. - - - - Raises when page dictionary is going to be saved. - - Sender of the event. - Event arguments. - - - - Raises after the page dictionary was saved. - - Sender of the event. - The - instance containing the event data. - - - - Extract the font which are used in a given page. - - returns the extracted fonts as a PdfFont[]. - - - - Clears PdfLoadedPage. - - - - - Gets the text size of a specified font. - - Font key - Returns the text size of the specified font - - - - Gets the content size of the specified font. - - Font Key - Content stream - Font height - - - - Reading Font Name from Dictionary. - - - - - - - - Create metrics for embed font - - - - - - - Gets the font style. - - The font family string. - The style of pdf font. - - - - Gets the font family. - - The font family string. - The font family. - - - - Gets the key value for a given font - - PdfFont value. - Returns the key value. - - - - Gets or Sets the collection of the page's annotations. - - - The that represents the page's annotations - - - - //Load the document - PdfLoadedDocument lDoc = new PdfLoadedDocument("inputAnnotation.pdf"); - //get the first page from the document - PdfLoadedPage page = lDoc.Pages[0] as PdfLoadedPage; - //Get the annotation collection - PdfLoadedAnnotationCollection annotations = page.Annotations; - //Save the document - lDoc.Save("sample.pdf"); - lDoc.Close(true); - - - 'Load the document - Dim lDoc As New PdfLoadedDocument("inputAnnotation.pdf") - 'Get the first page from the document - Dim page As PdfLoadedPage = TryCast(lDoc.Pages(0), PdfLoadedPage) - 'Get the annotation collections - Dim annotations As PdfLoadedAnnotationCollection = page.Annotations - 'Save the document - lDoc.Save("sample.pdf") - lDoc.Close(True) - - - - - - Gets the size of the page (Read only). - - /// - The SizeF that represents the size of the page - - - - - Gets the visible region of the page (Read only). - - /// - The RectangleF that represents the crop box of the page - - - - - Gets page region after clipping (Read only). - - - The RectangleF that represents the bleed box of a page - - - - - Returns page region after trimming (Read only). - - - The RectangleF that represents the trim box of a page - - - - - Gets page region containing meaningful content (Read only). - - - The RectangleF that represents the art box of the page - - - - - Gets the base document (Read only). - - - The , which is base class of PdfLoadedDocument - - - - - Gets the cross table. - - - - - Gets or sets the terminal fields. - - - - - Gets the origin coordinate of the loaded page - - - - - Gets or sets the array of annotation reference - - - - - Raises before the page saves. - - - - - The class provides methods and properties to handle the collections of loaded PDF pages - - - - - Initializes a new instance of the class. - - The document. - The cross table. - - - - Creates a new page and adds it to the collection. - - The created page. - - - - Creates a new page of the specified size and adds it to the collection. - - The size of the new page. - The created page. - - - - Creates a new page of the specified size and with the specified margins - and adds it to the collection. - - The size of the new page. - The margins of the new page. - The created page. - - - - Creates a new page of the specified size and with the specified margins - and adds it to the collection. - - The size of the new page. - The margins of the new page. - The rotation of the new page. - The created page. - - - - Creates a new page of the specified size and with the specified margins - and adds it to the collection. - - The size of the new page. - The margins of the new page. - The rotation of the new page. - The location of the new page. - The created page. - - - - Adds a cloned page from a loaded document. - - The loaded document. - The page. - The destinations. - - - - - Adds a cloned page from a loaded document. - - The loaded document. - The page. - - - - - Creates a new page and inserts it at the specified index. - - The index. - The created page. - - - - Creates a new page and inserts it at the specified index with specified size. - - The index. - The size of the page. - The created page. - - - - Creates a new page and inserts it at the specified index with specified size and margins. - - The index. - The size of the page. - The margins of the page. - The created page. - - - - Creates a new page and inserts it at the specified index with specified size, margins and rotation angle - - The index. - The size of the page. - The margins of the page. - The rotation of the new page. - The created page. - - - - Removes the page at the given specified index. - - Index of the page. - - - - Removes the specified page. - - The page to be remove. - - - - Re arrange the Pages in the Loaded Document. - - The page sequence to arrange the pages. - - - //Load the PDF document - PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.pdf"); - //Rearrange the page by index - loadedDocument.Pages.ReArrange(new int[] {1, 0}); - //Save and close the document - loadedDocument.Save("Output.pdf"); - loadedDocument.Close(true); - - - 'Load the PDF document - Dim loadedDocument As New PdfLoadedDocument("Input.pdf") - 'Rearrange the page by index - loadedDocument.Pages.ReArrange(New Integer() {1, 0}) - 'Save and close the document - loadedDocument.Save("Output.pdf") - loadedDocument.Close(True) - - - - - - Creates a new page and inserts it at the specified index with specified size,margins,rotation angle and orientation - - The index. - The size of the page. - The margins of the page. - The rotation of the new page. - The orientation of the new page. - The created page. - - - - Inserts loaded page into loaded document at specified index - - The index at which page to be inserted. - The page to be inserted. - - - - Gets the page. - - The page dictionary. - The loaded page. - - - - Updates number of leaf nodes of corresponding page tree nodes starting with . - - The parent dictionary - - - - Returns the index of the page. - - The page. - The index of the page. - This might be a time consuming operation. - - - - Gets the page by its index. - - The index. - The proper PdfPageBase instance. - - - - Determines whether a node is a leaf nide. - - The node. - - true if the specified node is a leaf node; otherwise, false. - - - - - Gets the node kids. - - The node. - The node kids array. - - - - Gets the node count. - - The node. - The number of the kids in the node. - - - - Gets the parent parent node. - - The index. - Index of the local. - if set to true zero index is a valid index. - - - - - Clears page cache. - - - - - Returns an enumerator that iterates through a collection. - - - An - object that can be used to iterate through the collection. - - - - - Gets the number of sections present in the document - - - - - Get and set the Pdfloaded Document. - - - - - Gets the at the specified index. - - - - - Gets the number of pages presnt in the document - - - - - Gets the page cache. - - - - - Implements enumerator to the loaded page collection. - - - - - Initializes a new instance of the class. - - The . - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; - false if the enumerator has passed the end of the collection. - - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, - which is before the first element in the collection. - - - The collection was modified after the enumerator was created. - - - - Gets the current element in the collection. - - - The current element in the collection. - - The enumerator is positioned before the first element of the collection - or after the last element. - - - - The class provides methods and properties to handle the collections of . - - - - - Local variable to store the PageLabel Count. - - - - - Internal variable to store page Label. - - - - - Internal variable to store page Label Collection. - - - - - Add the to the collection - - - - - - Gets the number of from collection (Read only). - - The count. - - - - Gets the at the specified index (Read only). - - - - - - Gets the element. - - - - - Provides methods and properties to create PDF pages and its elements, PdfPage class inherited from the PdfPageBase class - - The following example shows the several properties and methods of PdfPage class - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Get annotation collection - PdfAnnotationCollection annotation = page.Annotations; - //Get Graphics - PdfGraphics graphics = page.Graphics; - //Get page Layers - PdfPageLayerCollection layers = page.Layers; - //Get actual page size - SizeF clientSize = page.GetClientSize(); - //Insert page in the document - document.Pages.Insert(0, page); - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Get annotation collection - Dim annotation As PdfAnnotationCollection = page.Annotations - 'Get Graphics - Dim graphics As PdfGraphics = page.Graphics - 'Get page Layers - Dim layers As PdfPageLayerCollection = page.Layers - 'Get actual page size - Dim clientSize As SizeF = page.GetClientSize() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - Initializes a new instance of the PdfPage class. - - The following code example demonstrates how to construct a PdfPage - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - Get the PDF page size reduced by page margins and page template dimensions. - - - It's the actual size of the page where some output can be performed. - - - Type: System.Drawing.SizeF - The actual page size reduced by page margins and page template dimensions - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Get size of the page - SizeF size = page.GetClientSize(); - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Get size of the page - Dim size As SizeF = page.GetClientSize() - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Raises event. - - Event arguments. - - - - Clears PdfPage. - - - - - Sets parent section to the page. - - The parent section. - - - - Sets the progress. - - - - - Resets the progress. - - - - - Initializes a page. - - - - - Draws page templates. - - Parent document. - - - - Removes template layers from the page layers. - - Parent document. - - - - Raises when page dictionary is going to be saved. - - Sender of the event. - Event arguments. - - - - Raises after the page dictionary was saved. - - Sender of the event. - The - instance containing the event data. - - - - Gets the section of a page- Read only - - - The PdfSection. - - Page must be added to some section before using. - /// - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Get Section of a page - PdfSection section = page.Section; - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Get Section of a page - Dim section As PdfSection = page.Section - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Gets size of the PDF page- Read only - - - A SizeF that represents the size of the page - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Get size of a page - SizeF size = page.Size; - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Get size of a page - Dim size As SizeF = page.Size - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Gets the origin of the page - - - - - Gets a collection of the annotations of the page- Read only - - - A PdfAnnotationCollection that represents the annotations of the page - - - - //Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a page - PdfPage page = new PdfPage(); - //Insert page in the document - document.Pages.Insert(0, page); - //Get annotation collection - PdfAnnotationCollection annotation = page.Annotations; - //Save and close the PDF document - document.Save("output.Pdf"); - document.Close(true); - - - 'Create a PDF document - Dim document As New PdfDocument() - 'Create a page - Dim page As New PdfPage() - 'Insert page in the document - document.Pages.Insert(0, page) - 'Get annotation collection - Dim annotation As PdfAnnotationCollection = page.Annotations - 'Save and close the PDF document - document.Save("output.Pdf") - document.Close(True) - - - - - - Gets current document. - - The pdf document. - - - - Raises before the page saves. - - - - - - - - The used to identify each page visually on the screen or in print. - - Page labels and page indices need not coincide: the indices are fixed, - running consecutively through the document starting from 0 for the first page, - but the labels can be specified in any way that is appropriate for the particular document. - - - - Internal variable to store dictionary. - - - - - Initializes a new instance of the class. - - - - - Converts style to a string. - - The style. - The PDF name value representing the specified style. - - - - Converts string to numbering style. - - The PDF name of the style. - The converted numbering style. - - - - Gets or sets the numbering style to be used for the numeric portion of each page label. - - The specifies numbering style of page labels. - - - - Gets or sets the label prefix for page labels. - - - - - Gets or sets the value of the numeric portion for the first page label in the range - - The number must be greater than or equal to 1 - - - - Gets the element. - - - - - - The used to create layers in PDF document. - Layers refers to sections of content in a PDF document that can be selectively viewed or hidden by document authors or consumers - - /// - - //Create PDF document. - PdfDocument document = new PdfDocument(); - PdfPage page = document.Pages.Add(); - //Add the first layer. - PdfPageLayer layer = page.Layers.Add("Layer1"); - PdfGraphics graphics = layer.Graphics; - graphics.TranslateTransform(100, 60); - //Draw arc. - PdfPen pen = new PdfPen(System.Drawing.Color.Red, 50); - RectangleF bounds = new RectangleF(0, 0, 50, 50); - graphics.DrawArc(pen, bounds, 360, 360); - //Add another layer on the page. - PdfPageLayer layer2 = page.Layers.Add("Layer2"); - graphics = layer2.Graphics; - graphics.TranslateTransform(100, 180); - //Draw ellipse. - graphics.DrawEllipse(pen, bounds); - //Save the document. - document.Save("Sample.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document. - Dim document As New PdfDocument() - Dim page As PdfPage = document.Pages.Add() - 'Add the first layer. - Dim layer As PdfPageLayer = page.Layers.Add("Layer1") - Dim graphics As PdfGraphics = layer.Graphics - graphics.TranslateTransform(100, 60) - 'Draw arc. - Dim pen As New PdfPen(System.Drawing.Color.Red, 50) - Dim bounds As New RectangleF(0, 0, 50, 50) - graphics.DrawArc(pen, bounds, 360, 360) - 'Add another layer on the page. - Dim layer2 As PdfPageLayer = page.Layers.Add("Layer2") - graphics = layer2.Graphics - graphics.TranslateTransform(100, 180) - 'Draw ellipse. - graphics.DrawEllipse(pen, bounds) - 'Save the document. - document.Save("Sample.pdf") - 'Close the document - document.Close(True) - - - - - - Parent page of the layer. - - - - - Graphics context of the layer. - - - - - Content of the object. - - - - - Graphics state of the Graphics. - - - - - Indicates whether the layer should clip page template dimensions or not. - - - - - Indicates if the graphics stream was saved. - - - - - Local Variable to store the colorspace of the document. - - - - - Local Variable to store the layer id - - - - - Local Variable to store the name - - - - - Local Variable to set visiblity - - - - - Collection of the layers of the page. - - - - - Indicates if Sublayer is present. - - - - - Local variable to store length of the graphics. - - - - - Stores the print Option dictionary - - - - - Stores the usage dictionary - - - - - Indicates printing state - - - - - Indicates the current layer have end state or not. - - - - - Adds a new PDF Page layer. - - The - - - - Initializes a new instance of the class with specified PDF page. - - The ,parent page of the layer. - - - - Initializes a new instance of the class. - - The page. - The stream. - - - - Creates a new layer. - - Parent page of the layer. - Indicates whether the layer should clip page template dimensions or not. - - - - Initializes Graphics context of the layer. - - The page. - - - - Clears PdfPageLayer. - - - - - Catches BeforeSave of the content event. - - Sender of the event. - event arguments. - - - - Get or set the Colorspace. - - - - - Gets parent page of the layer. - - - - - Gets or sets the name of the layer - - - - - Gets Graphics context of the layer, used to draw various graphical content on layer. - - The used to draw various graphical content - - - - Gets and sets printing state of the PDF page layer - - - - - Gets the collection of , this collection handle by the class - - The used to handle collection of - - - - Gets the wrapped element. - - - - - The class provides methods and properties to handle the collections of - - - - //Create PDF document. - PdfDocument document = new PdfDocument(); - PdfPage page = document.Pages.Add(); - //Add the first layer. - PdfPageLayer layer = page.Layers.Add("Layer1"); - PdfGraphics graphics = layer.Graphics; - graphics.TranslateTransform(100, 60); - //Draw arc. - PdfPen pen = new PdfPen(System.Drawing.Color.Red, 50); - RectangleF bounds = new RectangleF(0, 0, 50, 50); - graphics.DrawArc(pen, bounds, 360, 360); - //Add another layer on the page. - PdfPageLayer layer2 = page.Layers.Add("Layer2"); - graphics = layer2.Graphics; - graphics.TranslateTransform(100, 180); - //Draw ellipse. - graphics.DrawEllipse(pen, bounds); - //Save the document. - document.Save("Sample.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document. - Dim document As New PdfDocument() - Dim page As PdfPage = document.Pages.Add() - 'Add the first layer. - Dim layer As PdfPageLayer = page.Layers.Add("Layer1") - Dim graphics As PdfGraphics = layer.Graphics - graphics.TranslateTransform(100, 60) - 'Draw arc. - Dim pen As New PdfPen(System.Drawing.Color.Red, 50) - Dim bounds As New RectangleF(0, 0, 50, 50) - graphics.DrawArc(pen, bounds, 360, 360) - 'Add another layer on the page. - Dim layer2 As PdfPageLayer = page.Layers.Add("Layer2") - graphics = layer2.Graphics - graphics.TranslateTransform(100, 180) - 'Draw ellipse. - graphics.DrawEllipse(pen, bounds) - 'Save the document. - document.Save("Sample.pdf") - 'Close the document - document.Close(True) - - - - - - Parent page. - - - - - Indicates if Sublayer is present. - - - - - Stores the number of first level layers in the document. - - - - - Stores the optional content dictionary - - - - - Stores the layer id and helps to avoid the duplicate entries. - - - - - Initializes a new instance of the class - - - - - Initializes a new instance of the class with PDF page - - Parent page for the layers in the collection. - - - - Creates a new and adds it to the end of the collection. - - Created - - - - Creates a new with name and Boolean flag to set the visibility of layer, - and adds it to the end of the collection. - - Layer Name. - Layer Visibility. - Created . - - - - Creates a new with name and adds it to the end of the collection. - - Layer Name. - Created . - - - - Adds to the collection. - - The object. - The layers belonging to the same page can be added to the collection only. - - - - Creates a Optional Content Properties and adds it to Catalog. - - Layer. - - - - Creates Usage Dictionary and adds it to OCG dictionary - - - - - - - creates a pdf page layer from loaded page - - - - - - Inserts into the collection at specified index - - Index of the layer. - object. - The layers belonging to the same page can be added to the collection only. - - - - Creates a Optional Content Groups and adds it to OC Properties. - - Layer. - primitive as pdfarray. - - - - Creates a Optional Content Groups and adds it to OC Properties. - - Layer. - primitive as pdfarray. - - - - Writes End of Marked Content in Content Stream - - - - - Creates Optional Content Views and adds it to OC Properties. - - Layer. - m_dictionary. - - - - Creates Optional Content Views and adds it to OC Properties. - - Layer. - m_dictionary. - - - - Removes layer from the collection. - - object. - - - - Removes from the collection by its name. - - Name of the layer. - - - - Removes layer by its index from collections - - Index of the layer. - - - - Checks whether collection contains . - - object. - True - if collection contains layer, False otherwise. - - - - Returns index of the in the collection if exists, -1 otherwise. - - object. - Returns index of the layer in the collection if exists, -1 otherwise. - - - - Clears layers from the . - - - - - Combines the content into the specified stream. - - The stream. - - - - Registers layer at the page. - - Index of the layer in the collection. - The new layer. - - - - Removes layer from the page. - - The layer. - - - - Registers layer at the page. - - Index of the layer in the collection. - The new layer. - - - - Parses the layers. - - The loaded page. - - - - Gets or sets by its index from - - The layers belonging to the same page can be added to the collection only. - - - - The class provides various setting related with PDF pages - - /// - - //Create a new document - PdfDocument doc = new PdfDocument(); - //Set page settings - doc.PageSettings.Orientation = PdfPageOrientation.Landscape; - doc.PageSettings.Rotate = PdfPageRotateAngle.RotateAngle180; - //Create a new page - PdfPage page = doc.Pages.Add(); - doc.Save("output.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As New PdfDocument() - 'Set page settings - doc.PageSettings.Orientation = PdfPageOrientation.Landscape - doc.PageSettings.Rotate = PdfPageRotateAngle.RotateAngle180 - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - doc.Save("output.pdf") - doc.Close(True) - - - - - - Internal variable to store transition. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with size. - - The size. - - - - Initializes a new instance of the class with page orientation. - - The . - - - - Initializes a new instance of the class with size and page orientation. - - The size. - The page orientation. - - - - Initializes a new instance of the class with margins. - - The margins. - - - - Initializes a new instance of the class with left margin,top margin,right margin. - - The left margin. - The top margin. - The right margin. - The bottom margin. - - - - Initializes a new instance of the class with size and margins - - The size of the page. - The margins. - - - - Initializes a new instance of the class with size left,top,right,bottom margins. - - The size. - The left margin. - The top margin. - The right margin. - The bottom margin. - - - - Initializes a new instance of the class with size,page orientation,margins - - The size. - The page orientation. - The margins. - - - - Initializes a new instance of the class with size page orientation,left,top,right,bottom margins. - - The size. - The page orientation. - The left margin. - The top margin. - The right margin. - The bottom margin. - - - - Sets the margins to the page. - - The margins. - - - - Sets the left right and top bottom margins. - - The left right margin. - The top bottom margin. - - - - Sets the left,top,right,bottom margins. - - The left margin. - The top margin. - The right margin. - The bottom margin. - - - - Creates a clone of the object. - - Cloned object. - - - - Returns size, shrinked by the margins. - - Returns size, shrinked by the margins. - - - - Gets the transition. - - - - - - Update page size depending on orientation. - - Page orientation settings. - - - - Sets size to the page aaccording to the orientation. - - Size of the page. - - - - Gets or sets the page orientation. - - The , provides the orientation of the PDF page - - - - Gets or sets the size of the page. - - Default value: 595 * 842 pixels - - - - Gets or sets the width of the page. - - Default value: 595 pixels - - - - Gets or sets the height of the page. - - Default value: 842 pixels - - - - Gets or sets the margins of the page. - - The , provides margins to the PDF page - - - - Gets or sets the number of degrees by which the page should be rotated clockwise when displayed or printed. - - The ,provides number of degrees by which the page should be rotated clockwise when displayed or printed - Default value: RotateAngle0 - - - - Gets or sets the transition, it determines how to display the page in the presentation mode - - The determines how to display the page in the presentation mode. - - - - Gets or sets the type of default user space units. - - For PDF 1.6 and later versions. - - - - Gets or sets the origin of the page - - - - - Describes a page template object that can be used as header/footer, watermark or stamp. - - - - - Layer type of the template. - - - - - Docking style. - - - - - Alignment style. - - - - - PdfTemplate object. - - - - - Usage type of this template. - - - - - Location of the template on the page. - - - - - Creates a new page template. - - Bounds of the template. - - - - Initializes a new instance of the class. - - The bounds. - The page. - - - - Creates a new page template. - - Location of the template. - Size of the template. - - - - Initializes a new instance of the class. - - The location. - The size. - The page. - - - - Creates new page template object. - - Size of the template. - - - - Creates a new page template. - - Width of the template. - Height of the template. - - - - Creates a new page template. - - Width of the template. - Height of the template. - The Current Page object. - - - - Creates a new page template. - - X co-ordinate of the template. - Y co-ordinate of the template. - Width of the template. - Height of the template. - - - - Creates a new page template. - - X co-ordinate of the template. - Y co-ordinate of the template. - Width of the template. - Height of the template. - The Current Page object. - - - - Draws the template. - - Parent layer. - Parent document. - - - - Updates Dock property if template is used as header/footer. - - Type of the template. - - - - Resets alignment of the template. - - - - - Sets alignment of the template. - - Alignment style. - - - - Calculates bounds of the page template. - - Parent page. - Parent document. - Bounds of the page template. - - - - Calculates bounds according to the alignment. - - Parent page. - Parent document. - Bounds according to the alignment. - - - - Calculates bounds according to the alignment. - - Parent page. - Parent document. - Bounds according to the alignment. - - - - Calculates bounds according to the alignment. - - Parent page. - Parent document. - Bounds according to the alignment. - - - - Calculates bounds according to the docking. - - Parent page. - Parent document. - Bounds according to the docking. - - - - Calculates template bounds basing on docking if template is not page template. - - Parent page. - Parent document. - - - - Calculates template bounds basing on docking if template is a page template. - - Parent page. - Parent document. - - - - Gets or sets the dock style of the page template element. - - - - - Gets or sets alignment of the page template element. - - - - - Indicates whether the page template is located in front of - the page layers or behind of it. - - - - - Indicates whether the page template is located behind of - the page layers or in front of it. - - - - - Gets or sets location of the page template element. - - - - - Gets or sets X co-ordinate of the template element on the page. - - - - - Gets or sets Y co-ordinate of the template element on the page. - - - - - Gets or sets size of the page template element. - - - - - Gets or sets width of the page template element. - - - - - Gets or sets height of the page template element. - - - - - Gets or sets bounds of the page template element. - - - - - Gets graphics context of the page template element. - - - - - Gets Pdf template object. - - - - - Gets or sets type of the usage of this page template. - - - - - Gets or sets the tag for the element - - - - - Represents parameters how to display the page in the presentation mode. - - - - //Create a new document - PdfDocument doc = new PdfDocument(); - doc.ViewerPreferences.PageMode = PdfPageMode.FullScreen; - //create a page transition - PdfPageTransition transition = new PdfPageTransition(); - transition.Direction = PdfTransitionDirection.TopLeftToBottomRight; - transition.Dimension = PdfTransitionDimension.Vertical; - transition.Motion = PdfTransitionMotion.Outward; - transition.PageDuration = 3; - doc.PageSettings.Transition = transition; - //Create a new page - PdfPage page = doc.Pages.Add(); - doc.Save("output.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As New PdfDocument() - doc.ViewerPreferences.PageMode = PdfPageMode.FullScreen - 'create a page transition - Dim transition As New PdfPageTransition() - transition.Direction = PdfTransitionDirection.TopLeftToBottomRight - transition.Dimension = PdfTransitionDimension.Vertical - transition.Motion = PdfTransitionMotion.Outward - transition.PageDuration = 3 - doc.PageSettings.Transition = transition - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - doc.Save("output.pdf") - doc.Close(True) - - - - - - Internal variable to store dictionary. - - - - - Internal variable to store transition style. - - - - - Internal value to store transtion duration. - - - - - Internal variable to store transition dimension. - - - - - Internal variable to store transition motion. - - - - - Internal variable to store transition motion. - - - - - Internal variable to store scale. - - - - - Internal variable to store page duration. - - - - - Initializes a new instance of the class. - - - - - Converts transition motion to string. - - The motion. - - - - - Converts transition dimension to string. - - The dimension. - - - - - Converts style to string. - - The style. - - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Gets or sets the transition style to use when moving to this page from another - during a presentation. - - The , handles the various transition styles - - - - Gets or sets the duration of the transition effect, in seconds. - - The transition duration. - - - - Gets or sets the dimension in which the specified transition effect occurs. - - The handles the dimensions . - - - - Gets or sets the the direction of motion for the specified transition effect. - - The handles the various transition motions - - - - The direction in which the specified transition effect moves, expressed in degrees counter - clockwise starting from a left-to-right direction. (This differs from the page object�s - Rotate property, which is measured clockwise from the top.) - - The handles the various directions - - - - Gets or sets the starting or ending scale at which the changes are drawn. - If Motion property specifies an inward transition, the scale of the changes drawn progresses - from Scale to 1.0 over the course of the transition. If Motion specifies an outward - transition, the scale of the changes drawn progresses from 1.0 to Scale over the course - of the transition. - - - This property has effect for Fly transition style only. - - The scale. - - - - Gets or sets The page�s display duration (also called its advance timing): the maximum - length of time, in seconds, that the page is displayed during presentations before - the viewer application automatically advances to the next page. By default, - the viewer does not advance automatically. - - The page duration. - - - - Gets the element. - - - - - - Represents a section entity. A section it's a set of the pages with similar page settings. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Get the document section collection - PdfSectionCollection sections = document.Sections; - //Add the section - PdfSection section = sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Get the document section collection - Dim sections As PdfSectionCollection = document.Sections - 'Add the section - Dim section As PdfSection = sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Page settings of the pages in the section. - - - - - Page template for the section. - - - - - An instance of the class manipulating with a page label. - - - - - Indicates if the progress is turned on. - - - - - Internal variable to store initial page settings. - - - - - Internal variable to store cached saved settings. - - - - - Internal variable to store whether transition has been saved already. - - - - - A virtual collection of pages. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The page settings. - - - - Creates a new instance of PDfSection class. - - Parent document for the section. - - - - Creates a page and adds it to the collection. - - Created page. - - - - Adds the specified page. - - The page. - - - - Inserts a page at the specified index. - - The index of the page in the section. - The page. - - - - Inserts a page at the specified index. - - The index of the page in the section. - The page to be inserted. - - - - Get the index of the page. - - The page. - The index of the page. - - - - Determines whether the page in within the section. - - The page. - - true if the specified page is within the section; otherwise, false. - - - - - Removes the page from the section. - - The page that should be removed from the section. - - - - Removes the page by its index in the section. - - Zero-based index of the page in the section. - - - - Removes all the pages from the section. - - If the document contains one section only, this section should contain at least one page. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Checks whether any template should be printed on this layer. - - Parent document. - The parent page. - Layer z-order. - True - if some content should be printed on the layer, False otherwise. - - - - draws page templates on the page. - - The page. - Page layer where the templates should be drawn. - Parent document. - Foreground layer if True, False otherwise. - - - - Calculates actual bounds of the page. - - Page where the bounds should be calculated. - If true - take into consideration Margins. - Actual bounds of the page. - - - - Calculates actual bounds of the page. - - Parent document. - Page where the bounds should be calculated. - If true - take into consideration Margins. - Actual bounds of the page. - - - - Calculates width of the left indent. - - Parent document. - Page where the bounds should be calculated. - If true - take into consideration Margins. - Width of the left indent. - - - - Calculates Height of the top indent. - - Parent document. - Page where the bounds should be calculated. - If true - take into consideration Margins. - Height of the top indent. - - - - Calculates width of the right indent. - - Parent document. - Page where the bounds should be calculated. - If true - take into consideration Margins. - Width of the right indent. - - - - Calculates Height of the bottom indent. - - Parent document. - Page where the bounds should be calculated. - If true - take into consideration Margins. - Height of the top indent. - - - - Translates point into native coordinates of the page. - - The parent page. - Point to translate. - Point in native page coordinates. - - - - Draws an array of the templates. - - Parent layer. - PArent document. - Array of templates. - - - - Returns array of the document templates. - - Parent document. - the parent page. - If true - return headers/footers, if false - return simple templates. - If true - return foreground templates, if false - return background templates. - Returns array of the document templates. - - - - Returns array of the section templates. - - The parent page. - If true - return headers/footers, if false - return simple templates. - If true - return foreground templates, if false - return background templates. - Returns array of the document templates. - - - - Called when the page has been added - - Event arguments. - - - - Sets the progress. - - - - - Resets the progress. - - - - - Called when a page is being saved. - - The page. - - - - Checks the presence. - - The page. - - - - Infills dictionary by the data from Page settings. - - Pdf container of the data. - Parent page settings. - - - - Initializes the object. - - - - - Gets the transition settings. - - Transition settings of the section. - - - - Resets crop box to the default one. - - - - - Call two event's methods - - Added page - - - - Catches the Save event of the dictionary. - - Sender of the event. - Event arguments. - - - - End save event handler. - - The sender. - The instance containing the event data. - - - - Gets the collection of pages in a section (Read only) - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Get the page collection from a section - PdfSectionPageCollection pageCollection = document.Sections[0].Pages; - //Add the page - PdfPage page = pageCollection.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Get the page collection from a section - Dim pageCollection As PdfSectionPageCollection = document.Sections(0).Pages - 'Add the page - Dim page As PdfPage = pageCollection.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Gets or sets the page label. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create the page label - PdfPageLabel label = new PdfPageLabel(); - label.NumberStyle = PdfNumberStyle.LowerRoman; - label.StartNumber = 2; - section.PageLabel = label; - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create the page label - Dim label As New PdfPageLabel() - label.NumberStyle = PdfNumberStyle.LowerRoman - label.StartNumber = 2 - section.PageLabel = label - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - - Gets or sets the page settings of the section. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add another section - PdfSection section1 = document.Sections.Add(); - //Add the pages to section1 - PdfPage page1 = section1.Pages.Add(); - //Set the page settings - section.PageSettings.Orientation = PdfPageOrientation.Landscape; - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add another section - Dim section1 As PdfSection = document.Sections.Add() - 'Add the pages to section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Set the page settings - section.PageSettings.Orientation = PdfPageOrientation.Landscape - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Gets or sets a template for the pages in the section. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create a header and draw the image. - RectangleF bounds = new RectangleF(0, 0, document.Pages[0].GetClientSize().Width, 50); - PdfSectionTemplate template = new PdfSectionTemplate(); - template.ApplyDocumentTopTemplate = true; - //Create a page template - PdfPageTemplateElement header = new PdfPageTemplateElement(bounds); - PdfImage image = new PdfBitmap(@"Input.jpg"); - //Draw the image in the header. - header.Graphics.DrawImage(image, bounds); - template.Top = header; - //Add the header at the top of the section - section.Template = template; - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create a header and draw the image. - Dim bounds As New RectangleF(0, 0, document.Pages(0).GetClientSize().Width, 50) - Dim template As New PdfSectionTemplate() - template.ApplyDocumentTopTemplate = True - 'Create a page template - Dim header As New PdfPageTemplateElement(bounds) - Dim image As PdfImage = New PdfBitmap("Input.jpg") - 'Draw the image in the header. - header.Graphics.DrawImage(image, bounds) - template.Top = header - 'Add the header at the top of the section - section.Template = template - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Gets the at the specified index. - - - - - Gets the count of the pages in the section. - - - - - Gets or sets the parent. - - The parent. - - - - Gets the resources. - - The resources. - - - - Gets the document. - - The document. - - - - Gets the parent document. - - - - - Event rises when the new page has been added - - - - - Gets the wrapped element. - - - - - Initializes a new instance of the class. - - The section. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, - which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Checks the index. - - - - - Gets the current. - - - - - Represents the collection of the sections. - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Get the document section collection - PdfSectionCollection sections = document.Sections; - //Add the section - PdfSection section = sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Get the document section collection - Dim sections As PdfSectionCollection = document.Sections - 'Add the section - Dim section As PdfSection = sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Rotate factor for page rotation. - - - - - Initializes a new instance of the class. - - - - - Creates a section and adds it to the collection. - - Created section object. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add another section - PdfSection section1 = document.Sections.Add(); - //Add the pages to section1 - PdfPage page1 = section1.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add another section - Dim section1 As PdfSection = document.Sections.Add() - 'Add the pages to section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - - Determines the index of the section. - - The section which is to be found the index. - The index of the section. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add another section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Get the index of the specified section - int index = document.Sections.IndexOf(section); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add another section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Get the index of the specified section - Dim index As Integer = document.Sections.IndexOf(section) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Inserts the section at the specified index. - - The index of the section to be added. - The section to be added. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //insert the section at specified index - document.Sections.Insert(0, section1); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'insert the section at specified index - document.Sections.Insert(0, section1) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Checks whether the collection contains the section. - - The - True - if the sections belongs to the collection, False otherwise. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Check whether the specified section is in the collection - bool isExists = document.Sections.Contains(section1); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Check whether the specified section is in the collection - Dim isExists As Boolean = document.Sections.Contains(section1) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Informs the section collection that the page labels were set. - - - - - Resets the progress. - - - - - Sets the progress. - - - - - Called when a page is saving. - - The page. - - - - Infills dictionary by the data from Page settings. - - Pdf container of the data. - Page settings. - - - - Checks if the section is within the collection. - - The section. - The reference holder of the section. - Throws ArgumentException - if the section is within the collection. - - - - Counts the pages. - - - - - - Adds the specified section. - - The section. - Index of the section in the collection. - - - - Initializes the object. - - - - - Clears section collection of the document. - - - - - Catches the Save event of the dictionary. - - Sender of the event. - Event arguments. - - - - Gets the at the specified index.Read only. - - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section1 - PdfPage page = section.Pages.Add(); - //Get the section from collection - PdfSection section2 = document.Sections[0]; - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page As PdfPage = section.Pages.Add() - 'Get the section from collection - Dim section2 As PdfSection = document.Sections(0) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Gets the number of sections in a document. - - The count of the sections. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add another section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Get the sections count - int count = document.Sections.Count; - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add another section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Get the sections count - Dim count As Integer = document.Sections.Count - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Gets a parent document. - - - - - Gets the wrapped element. - - - - - Section collection enumerator. - - - - - Initializes a new instance of the class. - - The section collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; - false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Checks the index. - - - - - Gets the current section. - - - - - Represents the collection of pages in a section. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Get the page collection from a section - PdfSectionPageCollection pageCollection = document.Sections[0].Pages; - //Add the page - PdfPage page = pageCollection.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Get the page collection from a section - Dim pageCollection As PdfSectionPageCollection = document.Sections(0).Pages - 'Add the page - Dim page As PdfPage = pageCollection.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The section. - - - - Creates a new page and adds it into the collection. - - The new page. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Adds a page into collection. - - The page. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Create a new pdf page - PdfPage page = new PdfPage(); - //Add the page into section - document.Sections[0].Pages.Add(page); - //Create PDF graphics for the page - PdfGraphics graphics = page.Graphics; - //Set the font. - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20); - //Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Create a new pdf page - Dim page As New PdfPage() - 'Add the page into section - document.Sections(0).Pages.Add(page) - 'Create PDF graphics for the page - Dim graphics As PdfGraphics = page.Graphics - 'Set the font. - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 20) - 'Draw the text. - graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Inserts a page at the specified index. - - The index of the page to be added. - The page to be added. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create a page - PdfPage page1 = new PdfPage(); - //Insert a page at specified index - document.Sections[0].Pages.Insert(0, page); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create a page - Dim page1 As New PdfPage() - 'Insert a page at specified index - document.Sections(0).Pages.Insert(0, page) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Returns the index of the specified page. - - The - The index of the page. - - - - Determines whether the specified page is within the collection. - - The - - true if the collection contains the specified page; otherwise, false. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //check whether the specified page is in collection - bool isExists = document.Sections[0].Pages.Contains(page1); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'check whether the specified page is in collection - Dim isExists As Boolean = document.Sections(0).Pages.Contains(page1) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Removes the specified page from collection. - - The page. - - - - Removes a page at the specified index. - - The index of the page to be removed. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Remove the page at specified index - document.Sections[0].Pages.RemoveAt(0); - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Remove the page at specified index - document.Sections(0).Pages.RemoveAt(0) - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Clears this collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object - that can be used to iterate through the collection. - - - - - Gets the at the specified index. - - - - - Gets the count of the pages. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Add the section - PdfSection section1 = document.Sections.Add(); - //Add pages to the section1 - PdfPage page1 = section1.Pages.Add(); - //Get the page count in a section - int count = document.Sections[0].Pages.Count; - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Add the section - Dim section1 As PdfSection = document.Sections.Add() - 'Add pages to the section1 - Dim page1 As PdfPage = section1.Pages.Add() - 'Get the page count in a section - Dim count As Integer = document.Sections(0).Pages.Count - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - Represents a page template for all the pages in the section. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add the section - PdfSection section = document.Sections.Add(); - //Add pages to the section - PdfPage page = section.Pages.Add(); - //Create a header and draw the image. - RectangleF bounds = new RectangleF(0, 0, document.Pages[0].GetClientSize().Width, 50); - PdfSectionTemplate template = new PdfSectionTemplate(); - template.ApplyDocumentTopTemplate = true; - //Create a page template - PdfPageTemplateElement header = new PdfPageTemplateElement(bounds); - PdfImage image = new PdfBitmap(@"Input.jpg"); - //Draw the image in the header. - header.Graphics.DrawImage(image, bounds); - template.Top = header; - //Add the header at the top of the section - section.Template = template; - //Save the document. - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add the section - Dim section As PdfSection = document.Sections.Add() - 'Add pages to the section - Dim page As PdfPage = section.Pages.Add() - 'Create a header and draw the image. - Dim bounds As New RectangleF(0, 0, document.Pages(0).GetClientSize().Width, 50) - Dim template As New PdfSectionTemplate() - template.ApplyDocumentTopTemplate = True - 'Create a page template - Dim header As New PdfPageTemplateElement(bounds) - Dim image As PdfImage = New PdfBitmap("Input.jpg") - 'Draw the image in the header. - header.Graphics.DrawImage(image, bounds) - template.Top = header - 'Add the header at the top of the section - section.Template = template - 'Save the document. - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - - - - - - Left settings. - - - - - Top settings. - - - - - Right settings. - - - - - Bottom settings. - - - - - Other templates settings - - - - - Creates a new object. - - - - - Gets or sets value indicating whether parent Left page template should be used or not. - - - - - Gets or sets value indicating whether parent Top page template should be used or not. - - - - - Gets or sets value indicating whether parent Right page template should be used or not. - - - - - Gets or sets value indicating whether parent Bottom page template should be used or not. - - - - - Gets or sets value indicating whether - the parent stamp elements should be used or not. - - - - - A collection of stamps that are applied to the page templates. - - - - - Creates a new instance of the class. - - - - - Adds a stamp element to the collection. - - The used here to create stamp element. - The index of the stamp element. - - - - Creates a stamp element and adds it to the collection. - - X co-ordinate of the stamp. - Y co-ordinate of the stamp. - Width of the stamp. - Height of the stamp. - The created stamp element. - - - - Checks whether the stamp element exists in the collection. - - The used here to create stamp element. - True - if stamp element exists in the collection, False otherwise. - - - - Inserts a stamp element to the collection at the specified position. - - The index of the stamp in the collection. - The . - - - - Removes the stamp element from the collection. - - The . - - - - Removes a stamp element from the specified position in the collection. - - The index of the stamp in the collection. - - - - Clears the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets a stamp element by its index. - - The describes a page template object - - - - PdfPageTemplate enumerator. - - - - - Stamps collection - - - - - Current index of the enumerator. - - - - - Initializes a new instance of the class. - - The stanps collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; - false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Checks the index. - - - - - Gets the current section. - - - - - Enumerator that represents the PDF page orientations. - - - - - Portrait orientation. - - - - - Landscape orientation. - - - - - The number of degrees by which the page should be rotated clockwise when displayed or printed. - - - - - The page is rotated as 0 angle. - - - - - The page is rotated as 90 angle. - - - - - The page is rotated as 180 angle. - - - - - The page is rotated as 270 angle. - - - - - Specifies numbering style of page labels. - - - - - No numbering at all. - - - - - Decimal arabic numerals. - - - - - Lowercase letters a-z. - - - - - Lowercase roman numerals. - - - - - Uppercase letters A-Z. - - - - - Uppercase roman numerals. - - - - - Specifies the docking style of the page template. - - This enumeration is used in class. - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Create a page - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height); - //Create a page template - PdfPageTemplateElement footer = new PdfPageTemplateElement(rect); - //set the dock style - footer.Dock = PdfDockStyle.Right; - //Set the template alignment as top right - footer.Alignment = PdfAlignmentStyle.TopRight; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - PdfSolidBrush brush = new PdfSolidBrush(Color.Gray); - //Create page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, brush); - //Create page count field - PdfPageCountField count = new PdfPageCountField(font, brush); - PdfCompositeField compositeField = new PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count); - compositeField.Bounds = footer.Bounds; - compositeField.Draw(footer.Graphics, new PointF(40, footer.Height - 50)); - //Add the footer template at the bottom - doc.Template.Right = footer; - doc.Save("Template.pdf"); - doc.Close(true); - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As New RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height) - 'Create a page template - Dim footer As New PdfPageTemplateElement(rect) - 'set the dock style - footer.Dock = PdfDockStyle.Right - 'Set the template alignment as top right - footer.Alignment = PdfAlignmentStyle.TopRight - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - Dim brush As New PdfSolidBrush(Color.Gray) - 'Create page number field - Dim pageNumber As New PdfPageNumberField(font, brush) - 'Create page count field - Dim count As New PdfPageCountField(font, brush) - Dim compositeField As New PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count) - compositeField.Bounds = footer.Bounds - compositeField.Draw(footer.Graphics, New PointF(40, footer.Height - 50)) - 'Add the footer template at the bottom - doc.Template.Right = footer - doc.Save("Template.pdf") - doc.Close(True) - - - - - - The page template is not docked. - - - - - The page template edge is docked to the bottom page's side. - - - - - The page template edge is docked to the top page's side. - - - - - The page template edge is docked to the left page's side. - - - - - The page template edge is docked to the right page's side. - - - - - The page template stretch on full page. - - - - - Specifies how the page template is aligned relative to the template area. - - - - //Create a PDF document - PdfDocument doc = new PdfDocument(); - //Create a page - PdfPage page = doc.Pages.Add(); - RectangleF rect = new RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height); - //Create a page template - PdfPageTemplateElement footer = new PdfPageTemplateElement(rect); - //set the dock style - footer.Dock = PdfDockStyle.Right; - //Set the template alignment as top right - footer.Alignment = PdfAlignmentStyle.TopRight; - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - PdfSolidBrush brush = new PdfSolidBrush(Color.Gray); - //Create page number field - PdfPageNumberField pageNumber = new PdfPageNumberField(font, brush); - //Create page count field - PdfPageCountField count = new PdfPageCountField(font, brush); - PdfCompositeField compositeField = new PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count); - compositeField.Bounds = footer.Bounds; - compositeField.Draw(footer.Graphics, new PointF(40, footer.Height - 50)); - //Add the footer template at the bottom - doc.Template.Right = footer; - doc.Save("Template.pdf"); - doc.Close(true); - - - 'Create a PDF document - Dim doc As New PdfDocument() - 'Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim rect As New RectangleF(0, 0, page.GetClientSize().Width, page.GetClientSize().Height) - 'Create a page template - Dim footer As New PdfPageTemplateElement(rect) - 'set the dock style - footer.Dock = PdfDockStyle.Right - 'Set the template alignment as top right - footer.Alignment = PdfAlignmentStyle.TopRight - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - Dim brush As New PdfSolidBrush(Color.Gray) - 'Create page number field - Dim pageNumber As New PdfPageNumberField(font, brush) - 'Create page count field - Dim count As New PdfPageCountField(font, brush) - Dim compositeField As New PdfCompositeField(font, brush, "Page {0} of {1}", pageNumber, count) - compositeField.Bounds = footer.Bounds - compositeField.Draw(footer.Graphics, New PointF(40, footer.Height - 50)) - 'Add the footer template at the bottom - doc.Template.Right = footer - doc.Save("Template.pdf") - doc.Close(True) - - - This enumeration is used in class. - - - - Specifies no alignment. - - - - - The template is top left aligned. - - - - - The template is top center aligned. - - - - - The template is top right aligned. - - - - - The template is middle left aligned. - - - - - The template is middle center aligned. - - - - - The template is middle right aligned. - - - - - The template is bottom left aligned. - - - - - The template is bottom center aligned. - - - - - The template is bottom right aligned. - - - - - A name object specifying the page layout to be used when the - document is opened. - - - - - Default Value. Display one page at a time. - - - - - Display the pages in one column. - - - - - Display the pages in two columns, with odd numbered - pages on the left. - - - - - Display the pages in two columns, with odd numbered - pages on the right. - - - - - Display the pages two at a time, with odd-numbered pages on the left - - - - - Display the pages two at a time, with odd-numbered pages on the right - - - - - Represents mode of document displaying. - - - - - Default value. Neither document outline nor thumbnail images visible. - - - - - Document outline visible. - - - - - Thumbnail images visible. - - - - - Full-screen mode, with no menu bar, window - controls, or any other window visible. - - - - - Optional content group panel visible. - - - - - Attachments are visible. - - - - - TemplateArea can be header/footer on of the following types. - - - - - Page template is not used as header. - - - - - Page template is used as Top. - - - - - Page template is used as Bottom. - - - - - Page template is used as Left. - - - - - Page template is used as Right. - - - - - Enumeration of possible transition styles when moving to the page from another - during a presentation - - - - - Two lines sweep across the screen, revealing the new page. The lines may be either - horizontal or vertical and may move inward from the edges of the page or outward - from the center. - - - - - Multiple lines, evenly spaced across the screen, synchronously sweep in the same - direction to reveal the new page. The lines may be either horizontal or vertical. - Horizontal lines move downward; vertical lines move to the right. - - - - - A rectangular box sweeps inward from the edges of the page or outward from the center, - revealing the new page. - - - - - A single line sweeps across the screen from one edge to the other, revealing the new page. - - - - - The old page dissolves gradually to reveal the new one. - - - - - Similar to Dissolve, except that the effect sweeps across the page in a wide band moving from - one side of the screen to the other. - - - - - The new page simply replaces the old one with no special transition effect. - - - - - Changes are flown out or in, to or from a location that is offscreen. - - - - - The old page slides off the screen while the new page slides in, pushing the old page out. - - - - - The new page slides on to the screen, covering the old page. - - - - - The old page slides off the screen, uncovering the new page. - - - - - The new page gradually becomes visible through the old one. - - - - - Enumeration of transition dimensions. - - - - - Horizontal effect. - - - - - Vertical effect. - - - - - Enumeration of transition motions. - - - - - Inward motion from the edges of the page to center.. - - - - - Outward motion from the center of the page to edges. - - - - - Enumeration of transition directions. - - - - - Left to Right direction. - - - - - Bottom to Top direction. - - - - - Right to Left direction. - - - - - Top to Bottom direction. - - - - - TopLeft to BottomRight direction. - - - - - Used to represent the print state of . - - - - - The visble PDF page layers get print - - - - - The PDF page layer never get print - - - - - The PDF pageLayers always get print - - - - - Specifies tab order types for form fields - - - - - Form fields are visited default order - - - - - Form fields are visited rows running horizontally across the page - - - - - Form fields are visited column running vertically up and down the page - - - - - Form fields are visited based on the structure tree - - - - - Form fields are visited manual order - - - - - The class provides methods and properties to handle the collection of . - - - - //Load an existing PDF document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation collection. - PdfLoadedAnnotationCollection annotationCollection=document.Pages[1].Annotations; - //Get the sound annotation. - PdfLoadedSoundAnnotation soundAnnotation = annotationCollection.Annotations[5] as PdfLoadedSoundAnnotation; - //Set the sound annotation border. - soundAnnotation.Border.Width = 4; - soundAnnotation.Border.HorizontalRadius = 20; - soundAnnotation.Border.VerticalRadius = 30; - //Set the PDF sound. - PdfSound sound = new PdfSound("Startup.wav"); - soundAnnotation.Sound=sound; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing PDF document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation collection. - Dim annotationCollection As PdfLoadedAnnotationCollection = document.Pages[1].Annotations - 'Get the PDF sound annotation. - Dim soundAnnotation As PdfLoadedSoundAnnotation = dannotationCollection.Annotations(5) as PdfLoadedSoundAnnotation - 'Set the sound annotation border. - soundAnnotation.Border.Width = 4 - soundAnnotation.Border.HorizontalRadius = 20 - soundAnnotation.Border.VerticalRadius = 30 - 'Set the PDF sound. - Dim sound As PdfSound = New PdfSound("Startup.wav") - soundAnnotation.Sound=sound - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Loaded page, wich collection belongs to. - - - - - Indicates annotation is flatten or not. - - - - - Initializes a new instance of the class. - - The page. - - - - NameChanged evant handler. - - New Name of the annotation. - - - - Adds annotation to the collection. - - Annotation to be added to collection. - Position of the annotation in collection. - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation collection - PdfLoadedAnnotationCollection annotationCollection=document.Pages[1].Annotations; - //Create a new rectangle - RectangleF rectangle = new RectangleF(10, 40, 30, 30); - //Create a new Uri Annotation. - PdfUriAnnotation uriAnnotation = new PdfUriAnnotation(rectangle, "http://www.google.com"); - //Set Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation"; - annotationCollection.Add(uriAnnotation); - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation collection - Dim annotationCollection As PdfLoadedAnnotationCollection = document.Pages[1].Annotations - 'Create a new rectangle - Dim rectangle As RectangleF = New RectangleF(10, 40, 30, 30) - 'Create a new Uri Annotation. - Dim uriAnnotation As PdfUriAnnotation = New PdfUriAnnotation(rectangle, "http://www.google.com") - 'Set the Text to uriAnnotation. - uriAnnotation.Text = "Uri Annotation" - annotationCollection.Add(uriAnnotation) - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Adds a annotation to collection. - - The annotation. - - - - - Gets the new name of the annotation. - - The name. - The annotation name. - - - - Check whether the annotation with the same name already exists. - - The name. - - true if there are no annotation with the same name within the collection; - otherwise false. - - - - - Gets the index of the annotation. - - The name. - The index of the annotation. - - - - Gets the annotation. - - The index. - The created annotation. - - - - Gets the type of the annotation. - - The name. - The dictionary. - The cross table. - The annotation type. - - - - Create file remotegoto link annotation - - - - - - - The created file remotegoto link annotation - - - - Creates the text web link annotation. - - The dictionary. - The cross table. - The created file link annotation. - - - - Creates the file link annotation. - - The dictionary. - The cross table. - The created file link annotation. - - - - Creates the document link annotation. - - The dictionary. - The cross table. - The created widget annotation. - - - - Creates the widget annotation. - - - - - The created the widget annotation. - - - - Creates the Ink annotation. - - - - - Created the Ink annotation. - - - - Creates the watermark annotation. - - The dictionary. - The cross table. - The created watermark annotation. - - - - Creates the Trap Network Annotation. - - The dictionary. - The cross table. - The created Trap Network Annotation. - - - - Creates the Text Markup Annotation. - - The dictionary. - The cross table. - The created Text Markup Annotation. - - - - Creates the Text Annotation. - - The dictionary. - The cross table. - The created Text Annotation. - - - - Creates the Square and Circle Annotation. - - The dictionary. - The cross table. - The created Square and Circle Annotation. - - - - Creates the Sound Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Filename. - The created Sound Annotation. - - - - Creates the Screen Annotation. - - The dictionary. - The cross table. - The created Screen Annotation. - - - - Creates the Rubber Stamp Annotation. - - The dictionary. - The cross table. - The created Rubber Stamp Annotation. - - - - Creates the Printer Mark Annotation. - - The dictionary. - The cross table. - The created Printer Mark Annotation. - - - - Creates the Popup Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Popup Annotation. - - - - Creates the Polygon and Polyline Annotation. - - The dictionary. - The cross table. - The created Polygon and Polyline Annotation. - - - - Creates the Movie Annotation. - - The dictionary. - The cross table. - The created Movie Annotation. - - - - Creates the Markup Annotation. - - The dictionary. - The cross table. - The RectangleF. - The created Markup Annotation. - - - - Creates the Lnk Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Filename. - The created Lnk Annotation. - - - - Creates the Link Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Link Annotation. - - - - Creates the Line Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Line Annotation. - - - - Creates the Circle Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Circle Annotation. - - - - Creates the Ellipse Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Ellipse Annotation. - - - - Creates the Square Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Square Annotation. - - - - Creates the Rectangle Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Rectangle Annotation. - - - - Creates the Polygon Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created Polygon Annotation. - - - - Creates the PolyLine Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Text. - The created PolyLine Annotation. - - - - Creates the Free Text Annotation. - - The dictionary. - The cross table. - The created Free Text Annotation. - - - - Creates the File Attachment Annotation. - - The dictionary. - The cross table. - The RectangleF. - The Filename. - The created File Attachment Annotation. - - - - Creates the Caret Annotation. - - The dictionary. - The cross table. - The created Caret Annotation. - - - - Creates the Annotation States. - - The dictionary. - The cross table. - The created Annotation States. - - - - Inserts a annotation into collection. - - The index. - The annotation. - - - - Clears the collection. - - - - - Removes the annotation at the specified position. - - The index. - - - - Removes the annotation from collection. - - The annotation. - - - - Find the annotation from collection. - - The annotation. - - - - Gets the at the specified index. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation collection. - PdfLoadedAnnotationCollection annotationCollection=document.Pages[1].Annotations; - //Get the PDF sound annotation. - PdfLoadedSoundAnnotation soundAnnotation = annotationCollection.Annotations[5] as PdfLoadedSoundAnnotation; - //Set the sound annotation border - soundAnnotation.Border.Width = 4; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation from loaded document. - Dim annotationCollection As PdfLoadedAnnotationCollection = document.Pages[1].Annotations - 'Get the PDF sound annotation. - Dim soundAnnotation As PdfLoadedSoundAnnotation = dannotationCollection.Annotations(5) as PdfLoadedSoundAnnotation - 'Set the sound annotation border. - soundAnnotation.Border.Width = 4 - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Gets the using specified annotation name. - - The specified annotation name. - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation collection. - PdfLoadedAnnotationCollection annotationCollection=document.Pages[1].Annotations;\ - 'Get the pfd sound annotation. - PdfLoadedSoundAnnotation soundAnnotation = annotationCollection.Annotations["SoundAnnotation"] as PdfLoadedSoundAnnotation; - //Set the sound annotation border - soundAnnotation.Border.Width = 4; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation collection. - Dim annotationCollection As PdfLoadedAnnotationCollection = document.Pages[1].Annotations - 'Get the pfd sound annotation. - Dim soundAnnotation As PdfLoadedSoundAnnotation = dannotationCollection.Annotations("SoundAnnotation") as PdfLoadedSoundAnnotation - 'Set the sound annotation border - soundAnnotation.Border.Width = 4 - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Gets and sets the where the annotation is present. - - The of the existing PDF document - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation collection - PdfLoadedAnnotationCollection annotationCollection=document.Pages[1].Annotations; - //Get the PDF sound annotation. - PdfLoadedSoundAnnotation soundAnnotation = annotationCollection.Annotations[5] as PdfLoadedSoundAnnotation; - 'Get the sound PDF loaded page. - PdfLoadedPage page =soundAnnotation.Page; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation collection - Dim annotationCollection As PdfLoadedAnnotationCollection = document.Pages[1].Annotations - 'Get the PDF sound annotation. - Dim soundAnnotation As PdfLoadedSoundAnnotation = dannotationCollection.Annotations(5) as PdfLoadedSoundAnnotation - 'Get the PDF loaded page. - Dim page As PdfLoadedPage=soundAnnotation.Page - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the boolean flag to flatten the annotations. - - - - - The represents the attachment annotation loaded from the existing PDF document, it provides methods and properties to modify the attachment. - - - - //Load an existing PDF document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation from loaded document. - PdfLoadedAttachmentAnnotation attchmentAnnotation = document.Pages[1].Annotations[3] as PdfLoadedAttachmentAnnotation; - //Get the annotation flags - PdfAnnotationFlags flag = attchmentAnnotation.AnnotationFlags; - //Get the attachment annotation border. - PdfAnnotationBorder border = attchmentAnnotation.Border; - //Save the document. - document.Save("LoadedAttachmentAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation from loaded document. - Dim attchmentAnnotation As PdfLoadedAttachmentAnnotation = document.Pages(1).Annotations(3) as PdfLoadedAttachmentAnnotation - 'Get the annotation flags - Dim flag As PdfAnnotationFlags = attchmentAnnotation.AnnotationFlags - 'Get the attachment annotation border. - Dim border As PdfAnnotationBorder = attchmentAnnotation.Border - 'Save the document. - document.Save("LoadedAttachmentAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets the Icon - - - - - Gets or sets the icon of the attachment annotation. - - The used to set the icon to the attachment annotation - - - //Load an existing PDF document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation from loaded document. - PdfLoadedAttachmentAnnotation attchmentAnnotation = document.Pages[1].Annotations[3] as PdfLoadedAttachmentAnnotation; - attchmentAnnotation.Icon=PdfAttachmentIcon.PushPin; - //Save the document. - document.Save("LoadedAttachmentAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation from loaded document. - Dim attchmentAnnotation As PdfLoadedAttachmentAnnotation = document.Pages(1).Annotations(3) as PdfLoadedAttachmentAnnotation - attchmentAnnotation.Icon=PdfAttachmentIcon.PushPin - 'Save the document. - document.Save("LoadedAttachmentAnnotation.pdf") - document.Close(True) - - - - - - - //Load an existing PDF document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Get the annotation from loaded document. - PdfLoadedAttachmentAnnotation attchmentAnnotation = document.Pages[1].Annotations[3] as PdfLoadedAttachmentAnnotation; - //Get the attached file name - string fileName = attchmentAnnotation.FileName; - //Save and close the document. - document.Save("LoadedAttachmentAnnotation.pdf"); - document.Close(true); - - - 'Load an existing PDF document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Get the annotation from loaded document. - Dim attchmentAnnotation As PdfLoadedAttachmentAnnotation = TryCast(document.Pages(1).Annotations(3), PdfLoadedAttachmentAnnotation) - 'Get the attached file name - Dim fileName As String = attchmentAnnotation.FileName - 'Save and close the document. - document.Save("LoadedAttachmentAnnotation.pdf") - document.Close(True) - - - - - - Get the data bytes from the attached file. - - The array of data bytes of the attached file - - - - Represents the loaded document link annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedDocumentLinkAnnotation documentLinkAnnotation = document.Pages[1].Annotations[4] as PdfLoadedDocumentLinkAnnotation; - //Gets the annotation flags - PdfAnnotationFlags flag = attchmentAnnotation.AnnotationFlags; - //Sets the PDF destination. - documentLinkAnnotation.Destination = new PdfDestination(document.Pages[0], new PointF(10, 10)); - //Gets the document link annotation border. - PdfAnnotationBorder border = documentLinkAnnotation.Border; - //Gets the document link annotation bounds. - RectangleF rectangle = documentLinkAnnotation.Bounds; - //Gets the document link annotation color. - PdfColor color = documentLinkAnnotation.Color; - //Gets the document link annotation location. - PointF point = documentLinkAnnotation.Location; - //Gets the document link annotation size. - SizeF size = documentLinkAnnotation.Size; - //Gets the document link annotation text. - string text = documentLinkAnnotation.Text; - //Save the document. - document.Save("documentLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim documentLinkAnnotation As PdfLoadedDocumentLinkAnnotation = document.Pages(1).Annotations(4) as PdfLoadedDocumentLinkAnnotation - 'Sets the destination. - documentLinkAnnotation.Destination = New PdfDestination(document.Pages[0], New PointF(10, 10)); - 'Gets the annotation flags - Dim flag As PdfAnnotationFlags = documentLinkAnnotation.AnnotationFlags - 'Gets the document link annotation border. - Dim border As PdfAnnotationBorder = documentLinkAnnotation.Border - 'Gets the document link annotation bounds. - Dim rectangle As RectangleF = documentLinkAnnotation.Bounds - 'Gets the document link annotation color. - Dim color As PdfColor = documentLinkAnnotation.Color - 'Gets the document link annotation location. - Dim point As PointF = documentLinkAnnotation.Location - 'Gets the document link annotation size. - Dim size As SizeF = documentLinkAnnotation.Size - 'Gets the document link annotation text. - Dim text As string = documentLinkAnnotation.Text - 'Save the document. - document.Save("documentLinkAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Cross Table - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - - - - Gets the destination of the document link annotation - - The provides destination page and bounds - - - - Sets the destination of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedDocumentLinkAnnotation documentLinkAnnotation = document.Pages[1].Annotations[4] as PdfLoadedDocumentLinkAnnotation; - //Gets the annotation flags - PdfAnnotationFlags flag = attchmentAnnotation.AnnotationFlags; - //Sets the destination. - documentLinkAnnotation.Destination = new PdfDestination(document.Pages[0], new PointF(10, 10)); - //Save the document. - document.Save("documentLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim documentLinkAnnotation As PdfLoadedDocumentLinkAnnotation = document.Pages(1).Annotations(4) as PdfLoadedDocumentLinkAnnotation - 'Sets the destination. - documentLinkAnnotation.Destination = New PdfDestination(document.Pages[0], New PointF(10, 10)); - 'Save the document. - document.Save("documentLinkAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded file link annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Gets the annotation flags - PdfAnnotationFlags flag = attchmentAnnotation.AnnotationFlags; - //Sets the file name. - fileLinkAnnotation.FileName = @"..\..\Data\Manual.txt"; - //Gets the file link annotation border. - PdfAnnotationBorder border = fileLinkAnnotation.Border; - //Gets the file link annotation bounds. - RectangleF rectangle = fileLinkAnnotation.Bounds; - //Gets the file link annotation bounds. - PdfColor color = fileLinkAnnotation.Color; - //Gets the file link annotation location. - PointF point = fileLinkAnnotation.Location; - //Gets the file link annotation size. - SizeF size = fileLinkAnnotation.Size; - //Gets the file link annotation text. - string text = fileLinkAnnotation.Text; - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the file name. - fileLinkAnnotation.FileName = "..\..\Data\Manual.txt" - 'Gets the annotation flags - Dim flag As PdfAnnotationFlags = fileLinkAnnotation.AnnotationFlags - 'Gets the file link annotation border. - Dim border As PdfAnnotationBorder = fileLinkAnnotation.Border - 'Gets the file link annotation bounds. - Dim rectangle As RectangleF = fileLinkAnnotation.Bounds - 'Gets the file link annotation bounds. - Dim color As PdfColor = fileLinkAnnotation.Color - 'Gets the file link annotation location. - Dim point As PointF = fileLinkAnnotation.Location - 'Gets the file link annotation size. - Dim size As SizeF = fileLinkAnnotation.Size - 'Gets the file link annotation text. - Dim text As string = fileLinkAnnotation.Text - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Interger array of destination - - - - - CrossTable - - - - - Action of the page - - - - - Destination array - - - - - Gets the filename. - - File name - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The File name - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The destination - The rectangle - The File name - - - - Gets the destination array - - integer destination array - - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation fileLinkAnnotation = document.Pages[1].Annotations[6] as PdfLoadedFileLinkAnnotation; - //Gets the annotation flags - PdfAnnotationFlags flag = attchmentAnnotation.AnnotationFlags; - //Sets the file name. - fileLinkAnnotation.FileName = @"..\..\Data\Manual.txt"; - //Gets the file link annotation border. - //Save the document. - document.Save("fileLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim fileLinkAnnotation As PdfLoadedFileLinkAnnotation = document.Pages(1).Annotations(6) as PdfLoadedFileLinkAnnotation - 'Sets the file name. - fileLinkAnnotation.FileName = "..\..\Data\Manual.txt" - 'Save the document. - document.Save("fileLinkAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the destination of the filelinkannotation. - - - - - Gets or sets the destination array of the annotation, the destination array contains page number and positions. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedFileLinkAnnotation linkAnnotation = lDoc.Pages[1].Annotations[2] as PdfLoadedFileLinkAnnotation; - //Assign DestinationArray[pagenumber,xaxis,yaxis] - int[] array = new int[3] { 2, 750, 0 }; - linkAnnotation.DestinationArray = array; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim linkAnnotation As PdfLoadedFileLinkAnnotation = lDoc.Pages(1).Annotations(2) as PdfLoadedFileLinkAnnotation - 'Assign DestinationArray[pagenumber,xaxis,yaxis] - Dim array As Integer() = New Integer(2) {2, 750, 0} - linkAnnotation.DestinationArray = array - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded document PdfFreeText annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Load the existing Page on document - PdfLoadedPage lPage = document.Pages[0] as PdfLoadedPage; - //load the annotation collection on this page - PdfLoadedAnnotationCollection collection = lPage.Annotations; - //Get the Annotation from the loaded page - PdfLoadedFreeTextAnnotation free = collection[0] as PdfLoadedFreeTextAnnotation; - //Get the Annotation position - RectangleF rectangle = free.Bounds; - //Set a new position - free.Bounds = new RectangleF(200, 100, 150, 50); - //Set Annotation Border - free.Border= new PdfAnnotationBorder(3f); - //save the document - document.save("FreetextAnnotation.pdf"); - document.Close(true); - - - //Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - //Load the existing Page on document - Dim lPage As PdfLoadedPage = document.Pages(0) as PdfLoadedPage - //load the annotation collection on this page - Dim collection As PdfLoadedAnnotationCollection = lPage.Annotations; - //Get the Annotation from the loaded page - Dim free As PdfLoadedFreeTextAnnotation = collection(0) as PdfLoadedFreeTextAnnotation; - //Get the Annotation position - Dim rectangle As RectangleF = free.Bounds; - //Set a new position - free.Bounds = new RectangleF(200, 100, 150, 50); - //Set Annotation Border - free.Border= new PdfAnnotationBorder(3f); - //save the document - document.save("FreetextAnnotation.pdf"); - document.Close(True) - - - - - - Saves an annotation. - - - - - - - - - - - - Represent Loaded ink annotation, Ink annotation represents freehand scribble comprising one or more disjoint paths. - - - - //Load a PDF document. - PdfLoadedDocument document = new PdfLoadedDocument("InkAnnot.pdf"); - //Load a page - PdfLoadedPage page = document.Pages[0] as PdfLoadedPage; - //Load a ink annotation - PdfLoadedInkAnnotation inkAnnotation = page.Annotations[2] as PdfLoadedInkAnnotation; - List(float) linePoints = new List(float) { 40, 300, 60, 100, 40, 50, 40, 300 }; - //Set the line points - inkAnnotation.InkList = linePoints; - inkAnnotation.Color = new PdfColor(Color.Red); - //Save the document to disk. - document.Save("InkAnnot.pdf"); - document.Close(true); - - - 'Load a PDF document. - Dim document As New PdfLoadedDocument("InkAnnot.pdf") - 'Load a page - Dim page As PdfLoadedPage = TryCast(document.Pages(0), PdfLoadedPage) - 'Load a ink annotation - Dim inkAnnotation As PdfLoadedInkAnnotation = TryCast(page.Annotations(2), PdfLoadedInkAnnotation) - Dim linePoints As New List(Of Single)() From {40, 300, 60, 100, 40, 50, 40,300} - 'Set the line points - inkAnnotation.InkList = linePoints - inkAnnotation.Color = New PdfColor(Color.Red) - 'Save the document to disk. - document.Save("InkAnnot.pdf") - document.Close(True) - - - - - - Cross table - - - - - Indicate the path of the ink annotation - - - - - Internal variable to store Border Dash. - - - - - border width - - - - - Indicate the border Dictionary - - - - - Indicat the border style - - - - - Initializes a new instance of the class - - The Dictionary - The Crosstable - the Rectangle - - - - Get the Path of the Ink annotation - - the line InkList - - - - Get the border width - - The border width - - - - Get the border dtyle - - The Line border style - - - - get the Line style - - - The line Style - - - - Get the Dash array value - - The dashArray - - - - Saves an annotation. - - - - - Calculates control points for all the path points input given by Beizer spline curve control points calculation. - - - - - Calculates single control point for the vector input given. - - - - - - Get or sets the border width of the ink annotation default value is 1 - - - - - get or sets the border style of the ink annotation, default value is PdfLineBorderStyle.Solid - - The , provides various type of borders - - - - Gets or sets the value for dashed border of ink annotation. - - - - - Represents the loaded line annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - int[] points = new int[] { 100, 100, 200, 100 }; - //Create a new PDF line border. - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.DashArray = 1; - lineBorder.BorderWidth =3; - lineBorder.DashArray = 8; - //Sets the line border. - lineAnnotation.LineBorder = lineBorder; - //Sets the line indent. - lineAnnotation.LineIntent = PdfLineIntent.LineArrow; - //Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Slash; - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Circle; - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Locked; - //Assign the line color - lineAnnotation.InnerLineColor = new PdfColor(Color.Blue); - lineAnnotation.BackColor = new PdfColor(Color.Red); - //Assign the leader line - lineAnnotation.LeaderExt = 20; - lineAnnotation.LeaderLine = 20; - lineAnnotation.Size = new SizeF(100, 200); - //Assign the line caption - lineAnnotation.LineCaption = true; - lineAnnotation.Text = "Syncfusion"; - lineAnnotation.CaptionType = PdfLineCaptionType.Top; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - Dim points As Integer() = { 100, 100, 200, 100 } - 'Create a new pdf line border. - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.DashArray = 1 - lineBorder.BorderWidth = 3 - lineBorder.DashArray = 8 - 'Sets the line border - lineAnnotation.LineBorder = lineBorder - 'Sets the line indent - lineAnnotation.LineIntent = PdfLineIntent.LineArrow - 'Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Slash - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Circle - lineAnnotation.AnnotationFlags = PdfAnnotationFlags.Locked - 'Assign the line color - lineAnnotation.InnerLineColor = New PdfColor(Color.Blue) - lineAnnotation.BackColor = New PdfColor(Color.Red) - 'Assign the leader line - lineAnnotation.LeaderExt = 20 - lineAnnotation.LeaderLine = 20 - lineAnnotation.Size = New SizeF(100, 200) - 'Assign the line caption - lineAnnotation.LineCaption = True - lineAnnotation.Text = "Syncfusion" - lineAnnotation.CaptionType = PdfLineCaptionType.Top - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Cross Table - - - - - Indicates the back color. - - - - - Indicates the line border. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets the line intent of the annotation. - - The line intent. - - - - Gets line style of the annotation. - - The line style. - - - - Gets line style of the annotation. - - choice - The line style. - - - - Gets line style of the annotation. - - Type of line style - The line style. - - - - Get the inner line color - - - - - Gets back color of the annotation. - - The back color. - - - - Gets caption type of the annotation. - - The caption type. - - - - Gets caption type of the annotation. - - caption type - The caption type. - - - - Gets line caption of the annotation. - - The line caption. - - - - Gets leader line of the annotation. - - The leader line. - - - - Gets leader ext of the annotation. - - The leader ext. - - - - Gets line border of the annotation. - - The line border. - - - - Gets line points of the annotation. - - Line Points - The Line Points. - - - - Gets border style of the annotation. - - border style - The border style. - - - - - Saves an annotation . - - - - - Gets or sets the back color of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Sets the line annotation back color. - lineAnnotation.BackColor = new PdfColor(Color.Red); - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Sets the line annotation back color - lineAnnotation.BackColor = New PdfColor(Color.Red) - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the begin line style of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Slash; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Assign the line ending style - lineAnnotation.BeginLineStyle = PdfLineEndingStyle.Slash - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the caption type of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Sets the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Top; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Sets the line caption type. - lineAnnotation.CaptionType = PdfLineCaptionType.Top - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the end line style of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Assign the line ending style - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Circle; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Assign the line ending style - lineAnnotation.EndLineStyle = PdfLineEndingStyle.Circle - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the inner line color of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Assign the line color - lineAnnotation.InnerLineColor = new PdfColor(Color.Blue); - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Assign the line color - lineAnnotation.InnerLineColor = New PdfColor(Color.Blue) - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the leader line of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Sets the leader line. - lineAnnotation.LeaderLine = 20; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Sets the leader line. - lineAnnotation.LeaderLine = 20 - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the leader ext of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Assign the leader line - lineAnnotation.LeaderExt = 20; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Assign the leader line - lineAnnotation.LeaderExt = 20 - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets the line border of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Create a new pdf line border. - LineBorder lineBorder = new LineBorder(); - lineBorder.BorderStyle = PdfBorderStyle.Solid; - lineBorder.DashArray = 1; - lineBorder.BorderWidth =3; - lineBorder.DashArray = 8; - lineAnnotation.LineBorder = lineBorder; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Create a new pdf line border. - Dim lineBorder As New LineBorder() - lineBorder.BorderStyle = PdfBorderStyle.Solid - lineBorder.DashArray = 1 - lineBorder.BorderWidth = 3 - lineBorder.DashArray = 8 - lineAnnotation.LineBorder = lineBorder - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True); - - - - - - Gets or sets the line caption of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - //Assign the line caption - lineAnnotation.LineCaption = true; - lineAnnotation.CaptionType = PdfLineCaptionType.Top; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - 'Assign the line caption - lineAnnotation.LineCaption = True - lineAnnotation.CaptionType = PdfLineCaptionType.Top - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the line intent of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedLineAnnotation lineAnnotation = document.Pages[1].Annotations[5] as PdfLoadedLineAnnotation; - lineAnnotation.LineIntent = PdfLineIntent.LineArrow; - //Save the document. - document.Save("lineAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim lineAnnotation As PdfLoadedLineAnnotation = document.Pages(1).Annotations(5) as PdfLoadedLineAnnotation - lineAnnotation.LineIntent = PdfLineIntent.LineArrow - 'Save the document. - document.Save("lineAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded pop up annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedPopupAnnotation popupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedPopupAnnotation; - //Sets the popup annotation border - popupAnnotation.Border.Width = 4; - popupAnnotation.Border.HorizontalRadius = 20; - popupAnnotation.Border.VerticalRadius = 30; - //Set the popup icon - popupAnnotation.Icon = PdfPopupIcon.Key; - //Save the document. - document.Save("popupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim popupAnnotation As PdfLoadedPopupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedPopupAnnotation - 'Sets the popup annotation border - popupAnnotation.Border.Width = 4 - popupAnnotation.Border.HorizontalRadius = 20 - popupAnnotation.Border.VerticalRadius = 30 - 'Set the popup icon - popupAnnotation.Icon = PdfPopupIcon.Key - 'Save the document. - document.Save("popupAnnotation.pdf") - document.Close(True); - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - CroosTable - - - - - Indicates the open the popup window or not. - - - - - Indicates the icon name. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets the boolean value ( if it's true popup window is opened otherwise closed. - - - - - - Gets the popup icon type. - - - - - - Gets the popup icon name - - Icon name - Icon type - - - - Set the popup comment window bounds - - The bounds of the popup comment window. - - - - Gets or sets the open option of the popup annotation. - - if true open,otherwise not open - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedPopupAnnotation popupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedPopupAnnotation; - //Set the popup annotation open option - popupAnnotation.Open = true - //Save the document. - document.Save("popupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim popupAnnotation As PdfLoadedPopupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedPopupAnnotation - 'Set the popup annotation open option - popupAnnotation.Open = True - 'Save the document. - document.Save("popupAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the icon of the annotation. - - - The , provides icons to the annotation - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedPopupAnnotation popupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedPopupAnnotation; - //Set the PDF popup icon - popupAnnotation.Icon = PdfPopupIcon.Key; - //Save the document. - document.Save("popupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim popupAnnotation As PdfLoadedPopupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedPopupAnnotation - 'Set the PDF popup icon - popupAnnotation.Icon = PdfPopupIcon.Key - 'Save the document. - document.Save("popupAnnotation.pdf") - document.Close(True); - - - - - - Represents the loaded rubber stamp annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedRubberStampAnnotation rubberStampAnnotation = document.Pages[1].Annotations[5] as PdfLoadedRubberStampAnnotation; - //Sets the rubber stamp annotation border - rubberStampAnnotation.Border.Width = 4; - rubberStampAnnotation.Border.HorizontalRadius = 20; - rubberStampAnnotation.Border.VerticalRadius = 30; - //Set the PDF rubber stamp annotation icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved; - //Save the document. - document.Save("RubberStampAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim popupAnnotation As PdfLoadedRubberStampAnnotation = document.Pages(1).Annotations(5) as PdfLoadedRubberStampAnnotation - 'Sets the rubber stamp annotation border - rubberStampAnnotation.Border.Width = 4 - rubberStampAnnotation.Border.HorizontalRadius = 20 - rubberStampAnnotation.Border.VerticalRadius = 30 - 'Set the PDF rubber stamp annotation icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved - 'Save the document. - document.Save("RubberStampAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Crosstable - - - - - Rubber and Stamp Annotation name. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets the popup icon type. - - - - - - Gets the popup icon name - - Icon name - Icon type - - - - Gets or sets the icon of the annotation. - - The used to set icon to the rubber stamp annotation - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedRubberStampAnnotation rubberStampAnnotation = document.Pages[1].Annotations[5] as PdfLoadedRubberStampAnnotation; - //Set the PDF rubber stamp annotation icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved; - //Save the document. - document.Save("RubberStampAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim popupAnnotation As PdfLoadedRubberStampAnnotation = document.Pages(1).Annotations(5) as PdfLoadedRubberStampAnnotation - 'Set the PDF rubber stamp annotation icon - rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved - 'Save the document. - document.Save("RubberStampAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded sound annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - //Sets the sound annotation border - soundAnnotation.Border.Width = 4; - soundAnnotation.Border.HorizontalRadius = 20; - soundAnnotation.Border.VerticalRadius = 30; - //Set the PDF sound annotation icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Sets the PDF sound. - PdfSound sound = new PdfSound("Startup.wav"); - soundAnnotation.Sound=sound; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - 'Sets the sound annotation border - soundAnnotation.Border.Width = 4 - soundAnnotation.Border.HorizontalRadius = 20 - soundAnnotation.Border.VerticalRadius = 30 - 'Set the PDF sound annotation icon. - soundAnnotation.Icon = PdfSoundIcon.Speaker - Sets the PDF sound. - Dim sound As PdfSound = New PdfSound("Startup.wav") - soundAnnotation.Sound=sound - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - CrossTable - - - - - Internal variable to store sound. - - - - - Dictionary - - - - - Indicates the sound icon of the annotation. - - - - - Indicates the appearance of the annotation. - - - - - Gets the filename. - - File name - - - - Gets the sound annotation icon. - - Sound annotation icon - - - - Gets the icon name - - Icon type - Sound icon - - - - Gets the sound file. - - Sound file - - - - Gets the sound annottation encoding type - - Encoding type - Encoding type - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The filename - - - - Gets or sets the sound of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - //Sets the PDF sound. - PdfSound sound = new PdfSound("Startup.wav"); - soundAnnotation.Sound=sound; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - Sets the PDF sound. - Dim sound As PdfSound = New PdfSound("Startup.wav") - soundAnnotation.Sound=sound - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True) - - - - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - 'Gets the file name - string filename =soundAnnotation.FileName; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - 'Gets the file name - Dim filename As String=soundAnnotation.FileName - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True); - - - - - - Gets or sets the icon of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedSoundAnnotation soundAnnotation = document.Pages[1].Annotations[5] as PdfLoadedSoundAnnotation; - //Set the pdfsound icon - soundAnnotation.Icon = PdfSoundIcon.Speaker; - //Save the document. - document.Save("SoundAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim soundAnnotation As PdfLoadedSoundAnnotation = document.Pages(1).Annotations(5) as PdfLoadedSoundAnnotation - 'Set the pdfsound icon - soundAnnotation.Icon = PdfSoundIcon.Speaker - 'Save the document. - document.Save("SoundAnnotation.pdf") - document.Close(True); - - - - - - Represents the loaded text markup annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextMarkupAnnotation textMarkupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextMarkupAnnotation; - //Sets the PDF text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType=PdfTextMarkupAnnotationType.Highlight - //Sets the text markup color - textMarkupAnnotation.TextMarkupColor=new PdfColor(Color.Blue); - //Save the document. - document.Save("TextMarkupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim textMarkupAnnotation As PdfLoadedTextMarkupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextMarkupAnnotation - 'Sets the PDF text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType=PdfTextMarkupAnnotationType.Highlight - 'Sets the text markup color - textMarkupAnnotation.TextMarkupColor=New PdfColor(Color.Blue) - 'Save the document. - document.Save("TextMarkupAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - CrossTable - - - - - Dictionary - - - - - Type of the annotation - - - - - Indicates the color. - - - - - To indicate collection of rectagle bounds of annotation - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - - - - Sets the name of the field. - - New name of the field. - - - - Gets back color of the annotation. - - The back color. - - - - Saves an annotation . - - - - - Gets or sets the markup annotation Type. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextMarkupAnnotation textMarkupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextMarkupAnnotation; - //Sets the PDF text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType=PdfTextMarkupAnnotationType.Highlight - //Save the document. - document.Save("TextMarkupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim textMarkupAnnotation As PdfLoadedTextMarkupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextMarkupAnnotation - 'Sets the PDF text markup annotation type - textMarkupAnnotation.TextMarkupAnnotationType=PdfTextMarkupAnnotationType.Highlight - 'Save the document. - document.Save("TextMarkupAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets the markup color - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextMarkupAnnotation textMarkupAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextMarkupAnnotation; - //Sets the text markup color - textMarkupAnnotation.TextMarkupColor=new PdfColor(Color.Blue); - //Save the document. - document.Save("TextMarkupAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim textMarkupAnnotation As PdfLoadedTextMarkupAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextMarkupAnnotation - 'Sets the text markup color - textMarkupAnnotation.TextMarkupColor=New PdfColor(Color.Blue) - 'Save the document. - document.Save("TextMarkupAnnotation.pdf") - document.Close(True) - - - - - - Gets or sets text markup bounds collection. - - - - - Represents the loaded text web link annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextWebLinkAnnotation textWeblinkAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextWebLinkAnnotation; - //Sets the text web link annotation URI - textWeblinkAnnotation.Url="http://www.syncfusion.com"; - //Save the document. - document.Save("TextWebLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim textWeblinkAnnotation As PdfLoadedTextWebLinkAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextWebLinkAnnotation - 'Sets the text web link annotation URI - textWeblinkAnnotation.Url="http://www.syncfusion.com" - 'Save the document. - document.Save("TextWebLinkAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - Crosstable - - - - - Gets the web link. - - Web link - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets or sets the Url. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedTextWebLinkAnnotation textWeblinkAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextWebLinkAnnotation; - //Sets the text web link annotation URI - textWeblinkAnnotation.Url="http://www.syncfusion.com"; - //Save the document. - document.Save("TextWebLinkAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim textWeblinkAnnotation As PdfLoadedTextWebLinkAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextWebLinkAnnotation - 'Sets the text web link annotation URI - textWeblinkAnnotation.Url="http://www.syncfusion.com" - 'Save the document. - document.Save("TextWebLinkAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded unique resource identifier annotation class. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedUriAnnotation UriAnnotation = document.Pages[1].Annotations[5] as PdfLoadedUriAnnotation; - //Sets the uri annotation URI - UriAnnotation.Url="http://www.syncfusion.com"; - //Save the document. - document.Save("UriAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim UriAnnotation As PdfLoadedUriAnnotation = document.Pages(1).Annotations(5) as PdfLoadedUriAnnotation - 'Sets the uri annotation URI - UriAnnotation.Url="http://www.syncfusion.com" - 'Save the document. - document.Save("UriAnnotation.pdf") - document.Close(True) - - - Class - Class - Class - Class - Class - Class - Class - Class - Class - - - - CrossTable - - - - - Indicates the unique resource identifier text. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - Gets the unique resource identifier text - - The unique resource identifier text - - - - Gets or sets the unique resource identifier text of the annotation. - - - - //Load an existing document. - PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf"); - //Gets the annotation from loaded document. - PdfLoadedUriAnnotation UriAnnotation = document.Pages[1].Annotations[5] as PdfLoadedUriAnnotation; - //Sets the uri annotation URI - UriAnnotation.Url="http://www.syncfusion.com"; - //Save the document. - document.Save("UriAnnotation.pdf"); - document.Close(true); - - - 'Load an existing document. - Dim document As New PdfLoadedDocument("..\..\Annotations.pdf") - 'Gets the annotation from loaded document. - Dim UriAnnotation As PdfLoadedUriAnnotation = document.Pages(1).Annotations(5) as PdfLoadedUriAnnotation - 'Sets the uri annotation URI - UriAnnotation.Url="http://www.syncfusion.com" - 'Save the document. - document.Save("UriAnnotation.pdf") - document.Close(True) - - - - - - Represents the loaded web link annotation class. - - - - - CrossTable - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - The rectangle - The text - - - - The class used to represent a loaded widget annotations - - - - - Internal cross table - - - - - Internal Annotation flags - - - - - Internal variable to store extended appearance. - - - - - Internal variable to store border parameters. - - - - - Internal variable to store appearance of the widget. - - - - - Internal variable to store highlighting mode. - - - - - Internal variable to store default appearance. - - - - - Internal variable to store annotation's actions. - - - - - Annotation's appearance. - - - - - Internal variable to store alignment. - - - - - Internal variable to store default appearance state value. - - - - - Initializes a new instance of the class. - - - - - - - - Highlightings the mode to string. - - The m_highlighting mode. - String representation of the highlighting mode in Pdf suiatable format. - - - - Gets or sets the extended appearance. - - The represents extended appearance of the annotation - - - - Gets or sets the highlighting mode. - - The . - - - - Gets or sets the text alignment. - - The provides alignments of a text. - - - - Gets the actions of the annotation. - - The provides various actions. - - - - Gets or sets appearance of the annotation. - - - - - Gets or sets default appearance name. - - The state of the appearance. - - - - Represents a button field of an existing PDF document. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the form - PdfLoadedForm form = doc.Form; - // Load an existing button field. - PdfLoadedButtonField buttonField = form.Fields["Submit"] as PdfLoadedButtonField; - buttonField.ToolTip = "SubmitButton"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the form - Dim form As PdfLoadedForm = doc.Form - ' Load an existing button field. - Dim buttonField As PdfLoadedButtonField = TryCast(form.Fields("Submit"), PdfLoadedButtonField) - buttonField.ToolTip = "SubmitButton" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents loaded styled field. - - Class - - - - Represents base class for loaded fields. - - - - //Create a new document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form fields - foreach (PdfLoadedField field in doc.Form.Fields) - { - // Flatten the form - field.Flatten = true; - } - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Create a new document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form fields - For Each field As PdfLoadedField In doc.Form.Fields - ' Flatten the form - field.Flatten = True - Next field - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Form field identifier - - - - - Cross Table. - - - - - Indicates was field changed or not. - - - - - Represents index used to default annotation. - - - - - Represent's the field name. - - - - - Represent's the field page. - - - - - Internal variable to store form. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Sets the name of the field. - - New name of the field. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - // Sets new name of the first field - field.SetName("fieldFirstName"); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - ' Sets new name of the first field - field.SetName("fieldFirstName") - doc.Save("Form.pdf") - doc.Close(True) - - - - - - Searches the in parents. - - The dictionary. - The cross table. - The value. - Searched primitive. - - - - Gets the value. - - The dictionary. - The cross table. - The value. - if it is inheritable, set to true. - The founded value. - - - - Gets the widget annotation. - - The dictionary. - The cross table. - The widget annotation dictionary. - - - - Gets the high light. - - The dictionary. - The cross table. - The HighLIght mode. - - - - Draws this instance if it is flatten. - - - - - Creates a copy of loaded field item. - - - - - Applies field name - - specified field name - - - - Begins the save. - - - - - Gets the loaded page. - - The loaded page in which field draw. - - - - Exports the form fields. - - - - - - Exports the form fields. - - Stream. - Object identifier. - - - - Imports the form fields. - - - - - - Validates the string. - - The text1. - - - - - Gets the name of the field. - - - - - - Raises when user manually changes the name of the field. - - - - - Gets the name of the field.[Read-Only] - - A string value specifying the name of the field. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - // Read the field name - String fieldName = field.Name; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - ' Read the field name - Dim fieldName As String = field.Name - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the mapping name to be used when exporting interactive form field data from the document. - - A string value specifying the mapping name of the field. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - // Sets the Mapping name as 'FirstField' - field.MappingName = "FirstField"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - ' Sets the Mapping name as 'FirstField' - field.MappingName = "FirstField" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the tool tip of the form field. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - // Sets the tooltip of the field - field.ToolTip = "FirstField"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - ' Sets the tooltip of the field - field.ToolTip = "FirstField" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the page of the form field.[Read-Only] - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - PdfPageBase page = field.Page; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - Dim page As PdfPageBase = field.Page - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether [read-only]. - - True if the field is read-only, false otherwise. Default is false. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - // Set the form field as read only - field.ReadOnly = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - ' Set the form field as read only - field.ReadOnly = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether this is required. - - True if the field is required, false otherwise. Default is false. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - field.Required = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - field.Required = True - doc.Save("Form.pdf") - doc.Close(True) - - - - - - Gets or sets a value indicating whether this is export. - - true if export; otherwise, false. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form field - PdfLoadedField field = doc.Form.Fields[0] as PdfLoadedField; - field.Export = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form field - Dim field As PdfLoadedField = TryCast(doc.Form.Fields(0), PdfLoadedField) - field.Export = True - doc.Save("Form.pdf") - doc.Close(True) - - - - - - Gets or sets the flags. - - - - - Gets the actual field name. - - This returns the field name alone, where Name property returns the field name along with its parent name. - - - - Gets the form of the .[Read-Only] - - - - - Gets or sets the cross table. - - - - - Gets the parent. - - The parent. - - - - Gets or sets the changed. - - - - - Gets or sets the index of the default. - - - - - NameChanged event handler. - - New name of the field. - - - - Internal variable to store color shift value. - - - - - Internal variable to store Pdf Field Actions. - - - - - Internal variable to store widget of the field. - - - - - Internal variable to store enter action. - - - - - Internal variable to store leave action. - - - - - Internal variable to store mouse down action. - - - - - Internal variable to store mouse up action. - - - - - Internal variable to store get focus action. - - - - - Internal variable to store lost focus action. - - - - - Internal variable to store border pen. - - - - - Internal variable to store field's font. - - - - - Represents the visibility of the field - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the graphics properties. - - The graphics properties. - The item. - - - - Creates the border style. - - The bs. - The border style. - - - - Sets the border style. - - The bs. - The border style. - - - - Gets border pen. - - The border style. - - - - Gets the bounds. - - The dictionary. - The cross table. - The bounds. - - - - Gets the high light string. - - The mode. - The highligt mode. - - - - Creates the color. - - The array. - - - - - Gets the font colour. - - The default appearance. - The colour of the text value. - - - - Parses the float. - - The text. - - - - - Gets the font. - - The font string. - - - - - Reading Font Name from Dictionary. - - - - - - - - Create metrics for embed font - - - - - - - Gets the font by its name. - - The name. - The height of the resulting font. - The proper font object. - - - - Gets the font style. - - The font family string. - The style of pdf font. - - - - Gets the font name - - - font name - - - - Gets the font family. - - The font family string. - The font family. - - - - Gets the border style. - - Border style of the field. - - - - Gets the border style. - - Border style of the field. - - - - Gets DashPatern. - - The DashPatern. - - - - Gets border width. - - The boder width. - - - - Sets border width. - - - - - Gets string format. - - The string format. - - - - Gets back brush. - - The back brush. - - - - Sets the back color of the Field. - - The brush. - - - - Gets fore brush. - - The fore brush. - - - - Gets shadow brush. - - The shadow brush. - - - - Draws this instance if it is flatten. - - - - - Creates a copy of loaded field item. - - - - - Begins the save. - - - - - Gets the height of the font. - - The calculated size of font. - - - - Gets border pen. - - The border style. - - - - Gets the field's annotation. - - The array of fields annotations. - - - - Gets the visibility of the field. - - - - - - Creates the border pen. - - - - - Defines the default appearance. - - - - - Gets or sets the action to be performed when the cursor enters the annotation�s - active area. - - The mouse enter action. - - - - Gets or sets the action to be performed when the mouse button is released - inside the annotation�s active area. - - The mouse up action. - - - - Gets or sets the action to be performed when the mouse button is pressed inside the - annotation�s active area. - - The mouse down action. - - - - Gets or sets the action to be performed when the cursor exits the annotation�s - active area. - - The mouse leave action. - - - - Gets or sets the action to be performed when the annotation receives the - input focus. - - The got focus action. - - - - Gets the fore color of the Field.[Read-Only] - - The color of the text. - - - - Gets or sets the action to be performed when the annotation loses the - input focus. - - The lost focus action. - - - - Gets the widget. - - The widget. - - - - Gets or sets the bounds. - - - - - Gets or sets the location. - - - - - Gets or sets the size. - - - - - Gets the border pen. - - - - - Gets or sets the style of the border. - - The color of the border. - - - - Gets or sets the color of the border. - - The color of the border. - - - - Gets the DashPatern. - - - - - Gets or Sets the width of the border. - - The width of the border. - - - - Gets the string format. - - The string format. - - - - Gets the back brush. - - The back brush. - - - - Gets the color of the fore. - - The color of the fore. - - - - Gets the shadow brush. - - The shadow brush. - - - - Gets the font. - - The font. - - - - Gets the default index. - - - - - Gets the kids. - - - - - Gets a value indicating the visibility of the field.[Read-Only] - - - - - Gets or sets the form field visibility - - - - - Structure that holds graphics properties. - - - - - Initializes a new instance of the struct. - - The field. - - - - Initializes a new instance of the struct. - - The item. - - - - Collection of button items. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the text. - - The text of the field. - - - - Sets the text of the field. - - Text field. - - - - Draws this instance if it is flatten. - - - - - Begins the save. - - - - - Creates a copy of PdfLoadedButton field. - - - - - Creates a copy of PdfLoadedButtonItem. - - - - - Applies the appearance. - - The widget. - The item. - - - - Draws the button. - - The graphics. - The item. - - - - Gets the height of the font. - - - The calculated size of font. - - - - Adds Print action to current button field. - Clicking on the specified button will trigger the Print Dialog Box. - - - //Load an existing document - PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceDoc.pdf"); - // Load the existing form - PdfLoadedForm form = ldoc.Form; - // Load an existing button field. - PdfLoadedButtonField buttonField = form.Fields["Submit"] as PdfLoadedButtonField; - // Adding print action - buttonField.AddPrintAction(); - // Save the document to a disk - ldoc.Save("Form.pdf"); - ldoc.Close(true); - - - 'Load an existing document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = ldoc.Form - ' Load an existing button field. - Dim buttonField As PdfLoadedButtonField = TryCast(form.Fields("Submit"), PdfLoadedButtonField) - ' Adding print action - buttonField.AddPrintAction() - ' Save the document to a disk - ldoc.Save("Form.pdf") - ldoc.Close(True) - - - - - - Gets or sets the caption text. - - A string value specifying the caption of the button. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the form - PdfLoadedForm form = doc.Form; - // Load an existing button field. - PdfLoadedButtonField buttonField = form.Fields["Submit"] as PdfLoadedButtonField; - buttonField.ToolTip = "SubmitButton"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the form - Dim form As PdfLoadedForm = doc.Form - ' Load an existing button field. - Dim buttonField As PdfLoadedButtonField = TryCast(form.Fields("Submit"), PdfLoadedButtonField) - buttonField.ToolTip = "SubmitButton" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the collection of button items.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing button field - PdfLoadedButtonField buttonField = doc.Form.Fields["Submit"] as PdfLoadedButtonField; - // Reading button collection item - PdfLoadedButtonItemCollection buttonCollection = buttonField.Items; - // Load an existing button item - PdfLoadedButtonItem buttonItem = buttonCollection[0]; - buttonItem.Bounds = new RectangleF(0, 0, 20, 30); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing button field - Dim buttonField As PdfLoadedButtonField = TryCast(doc.Form.Fields("Submit"), PdfLoadedButtonField) - ' Reading button collection item - Dim buttonCollection As PdfLoadedButtonItemCollection = buttonField.Items - ' Load an existing button item - Dim buttonItem As PdfLoadedButtonItem = buttonCollection(0) - buttonItem.Bounds = New RectangleF(0, 0, 20, 30) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents button group item of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing button field - PdfLoadedButtonField buttonField = doc.Form.Fields["Submit"] as PdfLoadedButtonField; - // Load an existing button item - PdfLoadedButtonItem buttonItem = buttonField.Items[0]; - buttonItem.Bounds = new RectangleF(0, 0, 20, 30); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing button field - Dim buttonField As PdfLoadedButtonField = TryCast(doc.Form.Fields("Submit"), PdfLoadedButtonField) - ' Load an existing button item - Dim buttonItem As PdfLoadedButtonItem = buttonField.Items(0) - buttonItem.Bounds = New RectangleF(0, 0, 20, 30) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents base class for field's group items. - - - - - Field which item belongs to. - - - - - Item index in collection. - - - - - Local variable to hold page reference. - - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Get the current Loaded style Field. - - - - - Gets the parent. - - - - - Gets the cross table. - - - - - Gets the dictionary. - - - - - Gets or sets the bounds. - - - - - Gets or sets the location of the field. - - - - - Gets or sets the size of the field. - - - - - Gets the border pen. - - - - - Gets the border style. - - - - - Gets the DashPatern. - - - - - Gets the width of the border. - - - - - Gets the string format. - - - - - Gets the back brush. - - - - - Gets the color of the fore. - - - - - Gets the shadow brush. - - - - - Gets the font. - - - - - Gets the page of the field.[Read-Only] - - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Represents collection of button item. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the form - PdfLoadedForm form = doc.Form; - // Load an existing button field - PdfLoadedButtonField buttonField = doc.Form.Fields["Submit"] as PdfLoadedButtonField; - // Load an existing button collection - PdfLoadedButtonItemCollection buttonCollection = buttonField.Items; - // Load an existing button button item - PdfLoadedButtonItem buttonItem = buttonCollection[0]; - buttonItem.Bounds = new RectangleF(0, 0, 20, 30); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the form - Dim form As PdfLoadedForm = doc.Form - ' Load an existing button field - Dim buttonField As PdfLoadedButtonField = TryCast(doc.Form.Fields("Submit"), PdfLoadedButtonField) - ' Load an existing button collection - Dim buttonCollection As PdfLoadedButtonItemCollection = buttonField.Items - ' Load an existing button button item - Dim buttonItem As PdfLoadedButtonItem = buttonCollection(0) - buttonItem.Bounds = New RectangleF(0, 0, 20, 30) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Adds the specified item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the form - PdfLoadedForm form = doc.Form; - // Load an existing button field - PdfLoadedButtonField buttonField = doc.Form.Fields["Submit"] as PdfLoadedButtonField; - // Load an existing button collection - PdfLoadedButtonItemCollection buttonCollection = buttonField.Items; - // Load an existing button button item - PdfLoadedButtonItem buttonItem = buttonCollection[0]; - buttonItem.Bounds = new RectangleF(0, 0, 20, 30); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the form - Dim form As PdfLoadedForm = doc.Form - ' Load an existing button field - Dim buttonField As PdfLoadedButtonField = TryCast(doc.Form.Fields("Submit"), PdfLoadedButtonField) - ' Load an existing button collection - Dim buttonCollection As PdfLoadedButtonItemCollection = buttonField.Items - ' Load an existing button button item - Dim buttonItem As PdfLoadedButtonItem = buttonCollection(0) - buttonItem.Bounds = New RectangleF(0, 0, 20, 30) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents check box of an existing PDF document. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField; - checkField.Checked = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'Load an existing Check field - Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField) - checkField.Checked = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents the base class for loaded state field. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Flatten the radio button field - radiobuttonField.Flatten = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Flatten the radio button field - radiobuttonField.Flatten = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the item. - - The index. - The item dictionary. - The proper state item. - - - - Gets the state template. - - The state. - The item. - The proper PdfTemplate instance. - - - - Sets checked status of the field. - - Checked status. - - - - Gets the item value. - - The value of the item. - - - - Unchecks the others kids. - - The child. - The value. - - - - Applies the appearance. - - The widget. - The item. - - - - Draws the check box item. - - The graphics. - The state. - The item. - - - - Gets the items collection.[Read-Only] - - Class - - - - Symbol for check state. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the item. - - The index. - The item dictionary. - The proper state item. - - - - Draws this instance if it is flatten. - - - - - Begins the save. - - - - - Creates a copy of PdfLoadedCheckBoxField. - - - - - Creates a copy of PdfLoadedCheckBoxItem. - - - - - Gets or sets a value indicating whether this is checked. - - True if the check box is checked, false otherwise. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField; - checkField.Checked = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField) - checkField.Checked = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the collection of check box items.[Read-Only] - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField; - // Loads the check box items collection. - PdfLoadedCheckBoxItemCollection checkCollection = checkField.Items; - checkCollection[0].Checked = false; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField) - ' Loads the check box items collection. - Dim checkCollection As PdfLoadedCheckBoxItemCollection = checkField.Items - checkCollection(0).Checked = False - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents collection of text box group items. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField; - // Loads the check box items collection. - PdfLoadedCheckBoxItemCollection checkCollection = checkField.Items; - checkCollection[0].Checked = false; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField) - ' Loads the check box items collection. - Dim checkCollection As PdfLoadedCheckBoxItemCollection = checkField.Items - checkCollection(0).Checked = False - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents the collection of loaded state item. - - Class - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // State Item collection - PdfLoadedStateItemCollection stateItemCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = stateItemCollection[0] as PdfLoadedRadioButtonItem; - // Selected the item - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' State Item collection - Dim stateItemCollection As PdfLoadedStateItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = TryCast(stateItemCollection(0), PdfLoadedRadioButtonItem) - ' Selected the item - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - - - - Index of the specified item. - - The item. - The index of specified item - - - - Adds the specified item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - - - - Index of the specified item. - - The item. - The index of specified item - - - - Adds the specified item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - - - - Represents loaded check box item. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedCheckBoxField checkField = doc.Form.Fields["Java"] as PdfLoadedCheckBoxField; - // Loads the check box items collection. - PdfLoadedCheckBoxItemCollection checkCollection = checkField.Items; - // Read the first item of the collection - PdfLoadedCheckBoxItem checkItem = checkCollection[0]; - checkItem.Checked = false; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim checkField As PdfLoadedCheckBoxField = TryCast(doc.Form.Fields("Java"), PdfLoadedCheckBoxField) - ' Loads the check box items collection. - Dim checkCollection As PdfLoadedCheckBoxItemCollection = checkField.Items - ' Read the first item of the collection - Dim checkItem As PdfLoadedCheckBoxItem = checkCollection(0) - checkItem.Checked = False - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents the loaded state item. - - Class - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // State Item collection - PdfLoadedStateItemCollection stateItemCollection = radiobuttonField.Items; - PdfLoadedStateItem stateItem =stateItemCollection[0]; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = stateItem as PdfLoadedRadioButtonItem; - // Selected the item - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' State Item collection - Dim stateItemCollection As PdfLoadedStateItemCollection = radiobuttonField.Items - Dim stateItem As PdfLoadedStateItem = stateItemCollection(0) - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = TryCast(stateItem, PdfLoadedRadioButtonItem) - ' Selected the item - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Sets checked status of the field. - - Checked status. - - - - Gets or sets a value indicating whether this is checked. - - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Sets checked status of the field. - - Checked status. - - - - Represents a choice field of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing choice field - PdfLoadedChoiceField choiceField = doc.Form.Fields["Java"] as PdfLoadedChoiceField; - choiceField.SelectedIndex = 0; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim choiceField As PdfLoadedChoiceField = TryCast(doc.Form.Fields("Java"), PdfLoadedChoiceField) - choiceField.SelectedIndex = 0 - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets selected index. - - Selected index. - - - - Sets selected index. - - Selected index. - - - - Gets selected value. - - Selected value. - - - - Sets selected value. - - Selected value. - - - - Gets the list item. - - The list item collection - - - - Gets the collection of choice items.[Read-Only] - - - - - Gets or sets the first selected item in the list. - - - An integer value specifying the choice item in the list. - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing choice field - PdfLoadedChoiceField choiceField = doc.Form.Fields["Java"] as PdfLoadedChoiceField; - choiceField.SelectedIndex = 0; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim choiceField As PdfLoadedChoiceField = TryCast(doc.Form.Fields("Java"), PdfLoadedChoiceField) - choiceField.SelectedIndex = 0 - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the value of the first selected item in the list. - - - A string value specifying the value of the selected item. - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing choice field - PdfLoadedChoiceField choiceField = doc.Form.Fields["Java"] as PdfLoadedChoiceField; - choiceField.SelectedValue = "Employee"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing choice field - Dim choiceField As PdfLoadedChoiceField = TryCast(doc.Form.Fields("Java"), PdfLoadedChoiceField) - choiceField.SelectedValue = "Employee" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the first selected item in the list.[Read-Only] - - - A object specifying the selected item. - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing Check field - PdfLoadedChoiceField choiceField = doc.Form.Fields["Java"] as PdfLoadedChoiceField; - // Change the selected item - PdfLoadedListItem item = choiceField.SelectedItem; - item.Text = "New Text"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing Check field - Dim choiceField As PdfLoadedChoiceField = TryCast(doc.Form.Fields("Java"), PdfLoadedChoiceField) - ' Change the selected item - Dim item As PdfLoadedListItem = choiceField.SelectedItem - item.Text = "New Text" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents the combo box field of an existing item. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read a combo box field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - comboField.SelectedIndex = 0; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'Read a combo box field - Dim comboField As PdfLoadedComboBoxField = TryCast(doc.Form.Fields("EmployeeCombo"), PdfLoadedComboBoxField) - comboField.SelectedIndex = 0 - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Stores the collection of items. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Draws this instance if it is flatten. - - - - - Begins the save. - - - - - Creates a copy of PdfLoadedComboBoxField. - - - - - Creates a copy of PdfLoadedComboBoxItem. - - - - - Applies the appearance. - - The widget. - The item. - - - - Draws the combo box. - - The graphics. - The item. - - - - Draws the combo box. - - The graphics. - The item. - - - - Gets the height of the font. - - - The calculated size of font. - - - - Gets or sets a value indicating whether this is editable. - - True if the drop down list is editable, false otherwise. Default is false. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing combo field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - comboField.Editable = false; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'Load an existing Check field - Dim choiceField As PdfLoadedChoiceField = TryCast(doc.Form.Fields("Java"), PdfLoadedChoiceField) - 'Change the selected item - Dim item As PdfLoadedListItem = choiceField.SelectedItem - item.Text = "New Text" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the collection of combo box items.[Read-Only] - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing combo field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - // Load combo field collection - PdfLoadedComboBoxItemCollection comboCollection = comboField.Items; - // Reading first item of the collection. - PdfLoadedComboBoxItem item = comboCollection[0]; - item.Location = new PointF(200, 200); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'Load an existing combo field - Dim comboField As PdfLoadedComboBoxField = TryCast(doc.Form.Fields("EmployeeCombo"), PdfLoadedComboBoxField) - 'Load combo field collection - Dim comboCollection As PdfLoadedComboBoxItemCollection = comboField.Items - 'Reading first item of the collection. - Dim item As PdfLoadedComboBoxItem = comboCollection(0) - item.Location = New PointF(200, 200) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the index which is to be selected. - - - - - Gets or sets the value which is to be selected. - - - - - Represents group for combo box field. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing combo field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - // Load combo field collection - PdfLoadedComboBoxItemCollection comboCollection = comboField.Items; - // Load combo field item - PdfLoadedComboBoxItem comboItem = comboCollection[0]; - comboItem.Bounds = new RectangleF(10,20,200,300); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing combo field - Dim comboField As PdfLoadedComboBoxField = TryCast(doc.Form.Fields("EmployeeCombo"), PdfLoadedComboBoxField) - ' Load combo field collection - Dim comboCollection As PdfLoadedComboBoxItemCollection = comboField.Items - ' Load combo field item - Dim comboItem As PdfLoadedComboBoxItem = comboCollection(0) - comboItem.Bounds = New RectangleF(10,20,200,300) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Represents collection of Combo box items. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing combo field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - // Load combo field collection - PdfLoadedComboBoxItemCollection comboCollection = comboField.Items; - // Load combo field item - PdfLoadedComboBoxItem comboItem = comboCollection[0]; - comboItem.Bounds = new RectangleF(10,20,200,300); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing combo field - Dim comboField As PdfLoadedComboBoxField = TryCast(doc.Form.Fields("EmployeeCombo"), PdfLoadedComboBoxField) - ' Load combo field collection - Dim comboCollection As PdfLoadedComboBoxItemCollection = comboField.Items - ' Load combo field item - Dim comboItem As PdfLoadedComboBoxItem = comboCollection(0) - comboItem.Bounds = New RectangleF(10,20,200,300) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Gets the at the specified index.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load an existing combo field - PdfLoadedComboBoxField comboField = doc.Form.Fields["EmployeeCombo"] as PdfLoadedComboBoxField; - // Load combo field collection - PdfLoadedComboBoxItemCollection comboCollection = comboField.Items; - // Load combo field item - PdfLoadedComboBoxItem comboItem = comboCollection[0]; - comboItem.Bounds = new RectangleF(10,20,200,300); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load an existing combo field - Dim comboField As PdfLoadedComboBoxField = TryCast(doc.Form.Fields("EmployeeCombo"), PdfLoadedComboBoxField) - ' Load combo field collection - Dim comboCollection As PdfLoadedComboBoxItemCollection = comboField.Items - ' Load combo field item - Dim comboItem As PdfLoadedComboBoxItem = comboCollection(0) - comboItem.Bounds = New RectangleF(10,20,200,300) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents a collection of state items. - - Class - - - - Index of the specified item. - - The item. - The index of specified item - - - - Adds the specified item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - The index of specified item. - - - - Represents Loaded form of the PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - //load the form field - PdfLoadedField field = form.Fields[0] as PdfLoadedField; - field.Export = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - 'load the form field - Dim field As PdfLoadedField = TryCast(form.Fields(0), PdfLoadedField) - field.Export = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Collection of fields - - - - - Store crooss table. - - - - - Dictionaries of tremil fields. - - - - - Indicates is field modified or not. - - - - - Indicates is xfa form or not. - - - - - Indicates Extended feature. - - - - - Initializes a new instance of the class. - - The form dictionary. - The cross table. - - - - Initializes a new instance of the class. - - The cross table. - - - - Get the field - - - - - - - Find the given document contain extended feature dictionary. - - - - - - Initializes the specified form dictionary. - - The form dictionary. - The cross table. - - - - Retrieves the terminal fields. - - - - - Determines whether the specified kids is node. - - The kids. - - true if the specified kids is node; otherwise, false. - - - - - Export the form data to a file with the specific and form name. - - Name of the document which is need to export. - The format of exported data. - The name of the PDF file the data is exported from. - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf") - doc.Close(True) - - - - - - Export the form data to a stream with the specific and form name. - - The stream where form data will be exported. - The format of exported data - The name of the PDF file the data is exported from - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - MemoryStream stream = new MemoryStream(); - form.ExportData(stream, DataFormat.Xml, "SourceForm.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - Dim stream As MemoryStream = New MemoryStream() - form.ExportData(stream, DataFormat.Xml, "SourceForm.pdf") - doc.Close(True) - - - - - - Export the form data in XML Forms Data Format file format. - - Stream. - Name of the form. - - - - Export the form data in FDF file format. - - The stream where form data will be exported. - The name of the PDF file the data is exported from. - - - - Exports the form data in XML file format - - - - - - Validate the XML node element - - name of the XML element node. - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Clears PdfLoadedForm. - - - - - Removes field and kids annotation from dictionaries. - - The field. - - - - Deletes from pages. - - The field. - - - - Deletes the annotation from the page dictionary. - - The field. - - - - Gets the new name of the field. - - The name. - The field name. - - - - Imports the form data from the file with the specific . - - Name of the file. - The data format. - - - - Imports the form data from the file with the specific . - - Name of the file. - The data format. - if it is error flag, set to true. - Error messages wile importing. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - form.ImportData("ImportData.xml",DataFormat.Xml, false); - doc.Save("Import.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - form.ImportData("ImportData.xml",DataFormat.Xml, False) - doc.Save("Import.pdf") - doc.Close(True) - - - - - - Imports the data field. - - Name of the file. - The data format. - if it is continue import on error, set to true. - - - - - Imports Form value from XML file - - Name of the imported file. - The input file format - False if the import should stop on the first field that generates an error, or true if the import should ignore the error and continue with the next field. - Document form fields filled with data which are imported from XML. - - - - Import form data from FDF file. - - The FDF file stream - False if the import should stop on the first field that generates an error, or true if the import should ignore the error and continue with the next field. - Error messages wile importing. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - // Load the FDF file - FileStream stream = new FileStream("ImportFDF.fdf", FileMode.Open); - // Import the FDF stream - form.ImportDataFDF(stream,true); - doc.Save("Import.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - ' Load the FDF file - Dim stream As FileStream = New FileStream("ImportFDF.fdf", FileMode.Open) - ' Import the FDF stream - form.ImportDataFDF(stream,True) - doc.Save("Import.pdf") - doc.Close(True) - - - - - - Sets or resets the form field highlight option. - - - - - Called when [hex in string]. - - The test. - - - - - Import form data - - - - - - - - Import XML Data - - - - - - - - Imports XFDF Data from the specific file. - - - - - - Imports XFDF Data form the specific stream. - - - - - - Gets or sets the XFA form - - - - - Gets the field collection.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - //load the form field - PdfLoadedField field = form.Fields[0] as PdfLoadedField; - field.Export = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - 'load the form field - Dim field As PdfLoadedField = TryCast(form.Fields(0), PdfLoadedField) - field.Export = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether the form is read only. - - True if the field is read-only, false otherwise. Default is false. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = doc.Form; - //Set the form as read only - form.ReadOnly = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = doc.Form - 'Set the form as read only - form.ReadOnly = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the signature flags. - - - - - Gets or sets a value indicating whether need appearances. - - - - - Gets the resources. - - - - - Gets or sets a value indicating whether this instance is modified. - - - - - Gets the cross table. - - - - - Gets or sets the terminal fields. - - - - - Gets or sets a value indicating whether this form is XFA Form or AcroForm. - - - - - Represents node information. - - - - - Parsed field count. - - - - - Current kids array. - - - - - Initializes a new instance of the class. - - The fields. - The count. - - - - Gets or sets the current array. - - - - - Gets or sets the count. - - - - - Represents errors on importing loaded field. - - - - - Gets the exception. - - The exception. - - - - Gets the field. - - The field. - - - - Represents field collection of loaded form. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // PDF loaded field collection - PdfLoadedFormFieldCollection fieldCollection = doc.Form.Fields; - // Remove the first field - fieldCollection.RemoveAt(0); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' PDF loaded field collection - Dim fieldCollection As PdfLoadedFormFieldCollection = doc.Form.Fields - ' Remove the first field - fieldCollection.RemoveAt(0) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Loaded form, wich collection belongs to. - - - - - Initializes a new instance of the class with the specific . - - The form. - - - - Gets the field. - - The index. - The created field. - - - - Creates the signature field. - - The dictionary. - The cross table. - The created signature field. - - - - Creates the list box. - - The dictionary. - The cross table. - The created list box. - - - - Creates the combo box. - - The dictionary. - The cross table. - The created combo box. - - - - Creates the text field. - - The dictionary. - The cross table. - The created text field. - - - - Creates the radio button. - - The dictionary. - The cross table. - The created radio button. - - - - Creates the check box. - - The dictionary. - The cross table. - The created check box. - - - - Creates the push button. - - The dictionary. - The cross table. - The created push button. - - - - Gets the type of the field. - - The name. - The dictionary. - The cross table. - The field type. - - - - Adds a field to collection. - - The field. - - - - - Inserts a filed into collection. - - The index. - The field. - - - - Removes the field from collection. - - The field. - - - - Removes the field at the specified position. - - The index. - - - - Clears the collection. - - - - - Check whether the field with the same name already exists. - - The name. - - true if there are no fields with the same name within the collection; - otherwise false. - - - - - Gets the new name of the field. - - The name. - The field name. - - - - Adds the field dictionary. - - The field. - - - - NameChanged evant handler. - - New Name of the field. - - - - Gets the index of the field. - - The name. - The index of the field. - - - - Gets the named field. - - The name. - The field with specified name. - - - - Gets the form field with the given field name - - Name of the field - Loaded Form Field - True, if form field exists, else False. - - - - Gets the filed value from the given field name - - Name of the loaded form filed - Value of the field - True, if form field exists with the specific name, else False. - - - - Gets the at the specified index.[Read-Only] - - - - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - //load the form fields - foreach (PdfField field in doc.Form.Fields) - { - // Flatten the form - field.Flatten = true; - } - doc.Save("Form.pdf"); - doc.Close(true); - - - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - 'load the form fields - For Each field As PdfField In doc.Form.Fields - ' Flatten the form - field.Flatten = True - Next field - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Returns field with specified name.[Read-Only] - - The specified field name. - - - // Loads an existing PDF document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the FirstTextBox field - PdfField field = doc.Form.Fields["FirstTextBox"]; - field.Flatten = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - // Loads an existing PDF document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the FirstTextBox field - Dim field As PdfField = doc.Form.Fields("FirstTextBox") - field.Flatten = True - doc.Save("Form.pdf") - doc.Close(True) - - - - - - Gets or sets the form. - - - - - Represents loaded list box field. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Flatten the list field - listField.Flatten = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Flatten the list field - listField.Flatten = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Represents collection of items. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Draws this instance if it is flatten. - - - - - Begins the save. - - - - - Creates a copy of PdfLoadedListBoxField. - - - - - Creates a copy of PdfLoadedListField Item. - - - - - - Applies the appearance. - - The widget. - The item. - - - - Draws the list box. - - The graphics. - The item. - - - - Converts to list items. - - The items. - The PdfListItemCollection. - - - - Gets the height of the font. - - - The calculated size of font. - - - - Gets or sets a value indicating whether the field is multi-selectable. - - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Enabling the multi selection option - listField.MultiSelect = true; - doc.Save("Sample.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Enabling the multi selection option - listField.MultiSelect = True - doc.Save("Sample.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the collection of list field.[Read-Only] - - The collection of list box items. - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List box items collection - PdfLoadedListFieldItemCollection listcollection = listField.Items; - listcollection[0].Location = new PointF(100, 200); - doc.Save("Sample.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List box items collection - Dim listcollection As PdfLoadedListFieldItemCollection = listField.Items - listcollection(0).Location = New PointF(100, 200) - doc.Save("Sample.pdf") - doc.Close(True) - - - Class - Class - - - - Represents group item for list field. - - Class - - - // Loads an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Loaded list box field items - PdfLoadedListFieldItem listFieldItem = listField.Items[0]; - listFieldItem.Location = new PointF(100, 200); - doc.Save("Sample.pdf"); - doc.Close(true); - - - ' Loads an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Loaded list box field items - Dim listFieldItem As PdfLoadedListFieldItem = listField.Items(0) - listFieldItem.Location = New PointF(100, 200) - doc.Save("Sample.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Represents loaded list field item collection. - - Class - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // list field item Collection - PdfLoadedListFieldItemCollection listItemCollection = listField.Items; - listItemCollection[0].Bounds = new RectangleF(0, 0, 20, 30); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' list field item Collection - Dim listItemCollection As PdfLoadedListFieldItemCollection = listField.Items - listItemCollection(0).Bounds = New RectangleF(0, 0, 20, 30) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - - - - Gets the at the specified index.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListFieldItemCollection listItemCollection = listField.Items; - // Reading the first item in the list items collection - PdfLoadedListFieldItem listItem = listItemCollection[0]; - // Relocate the list item - listItem.Location = new PointF(10, 20); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListFieldItemCollection = listField.Items - ' Reading the first item in the list items collection - Dim listItem As PdfLoadedListFieldItem = listItemCollection(0) - ' Relocate the list item - listItem.Location = New PointF(10, 20) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - - - - Represents loaded list item. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Get the selected list item - PdfLoadedListItem listItem = listField.SelectedItem; - listItem.Text = "NewText"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Get the selected list item - Dim listItem As PdfLoadedListItem = listField.SelectedItem - listItem.Text = "NewText" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Text of the item. - - - - - Value of the item. - - - - - Field wich item belons to. - - - - - CrossTable of document. - - - - - Initializes a new instance of the class. - - The text. - The value. - The field. - The cross table. - - - - Initializes a new instance of the class with the specific text and value. - - The text. - The value. - - - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Get the selected list item - PdfLoadedListItem listItem = new PdfLoadedListItem("C#.Net",".NET Course"); - // Add the list item in list field - listField.Values.Add(listItem); - - - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Get the selected list item - Dim listItem As PdfLoadedListItem = New PdfLoadedListItem("C#.Net",".NET Course") - ' Add the list item in list field - listField.Values.Add(listItem) - - - - - - Sets the text of the item. - - - - - - Sets item value. - - The item value. - - - - - Gets or sets the value of the list item. - - A string value representing the value of the item. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // Get the selected list item - PdfLoadedListItem listItem = listField.SelectedItem; - listItem.Value = "C#.NET"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' Get the selected list item - Dim listItem As PdfLoadedListItem = listField.SelectedItem - listItem.Value = "C#.NET" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents a collection of list box field items. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Create a new list item - PdfLoadedListItem listItem = new PdfLoadedListItem("Oracle", "Oracle"); - // Adding item in collection - listItemCollection.Add(listItem); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Create a new list item - Dim listItem As PdfLoadedListItem = New PdfLoadedListItem("Oracle", "Oracle") - ' Adding item in collection - listItemCollection.Add(listItem) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Parents field. - - - - - Initializes a new instance of the class. - - The field. - - - - Inserts an list item at the end of the collection. - - a object to be added to collection. - The index of item. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Create a new list item - PdfLoadedListItem listItem = new PdfLoadedListItem("Oracle", "Oracle"); - // Adding item in collection - listItemCollection.Add(listItem); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Create a new list item - Dim listItem As PdfLoadedListItem = New PdfLoadedListItem("Oracle", "Oracle") - ' Adding item in collection - listItemCollection.Add(listItem) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - - - - Adds the item. - - The item. - The index of added item. - - - - Inserts the list item at the specified index. - - The index. - The item. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Getting the first item from the list item collection - PdfLoadedListItem listItem = listItemCollection[0]; - // Insert the item at first index - listItemCollection.Insert(0, listItem); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Getting the first item from the list item collection - Dim listItem As PdfLoadedListItem = listItemCollection(0) - ' Insert the item at first index - listItemCollection.Insert(0, listItem) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Removes the list item at the specified index. - - The index. - Throws IndexOutOfRange exception if the index is out of bounds. - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Remove the first item - listItemCollection.RemoveAt(0); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Remove the first item - listItemCollection.RemoveAt(0) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Clears the item collection. - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Clears the collection - listItemCollection.Clear(); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Clears the collection - listItemCollection.Clear() - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the items. - - - - - Gets the array. - - The item. - The array of item value and text. - - - - Gets the at the specified index.[Read-Only] - - - - //Load an existing document. - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'course' list box field - PdfLoadedListBoxField listField = doc.Form.Fields["Course"] as PdfLoadedListBoxField; - // List field item Collection - PdfLoadedListItemCollection listItemCollection = listField.Values; - // Getting the first item from the list item collection - PdfLoadedListItem listItem = listItemCollection[0]; - listItem.Value = "C#.NET"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document. - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'course' list box field - Dim listField As PdfLoadedListBoxField = TryCast(doc.Form.Fields("Course"), PdfLoadedListBoxField) - ' List field item Collection - Dim listItemCollection As PdfLoadedListItemCollection = listField.Values - ' Getting the first item from the list item collection - Dim listItem As PdfLoadedListItem = listItemCollection(0) - listItem.Value = "C#.NET" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents collection of radio box group items. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - // Selected the item - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - ' Selected the item - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Index of the specified item. - - The item. - The index of specified item - - - - Adds the specified item. - - The item. - - - - Gets the at the specified index.[Read-Only] - - Returns object at the specified index. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - // Selected the item - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - ' Selected the item - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents radio button field of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Gets the item value. - - The value of the item. - - - - Stes item value. - - The item value. - - - - Gets or sets the value of the radio button. - - The value of the radio button item. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - // Set the value of the item - radiobuttonItem.Value = "Male"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - ' Set the value of the item - radiobuttonItem.Value = "Male" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether this is selected. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - // Set the first item as selected item - radiobuttonItem.Selected = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - ' Set the first item as selected item - radiobuttonItem.Selected = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the parent. - - - - - Represents radio button field of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Flatten the radio button field - radiobuttonField.Flatten = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Flatten the radio button field - radiobuttonField.Flatten = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - - - - Symbol for check state. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the item. - - The index. - The item dictionary. - The proper state item. - - - - Gets the index of the selected. - - The index of first selected item. - - - - Sets selected index of the radio button. - - Selected index. - - - - Sets selected value. - - Selected value. - - - - Draws this instance if it is flatten. - - - - - Creates a copy of PdfLoadedRadioButtonListField. - - - - - Creates a copy of PdfLoadedRadioButtonItem. - - - - - Gets the collection of radio button items.[Read-Only] - - A that represents the items within the list. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Getting the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Radio button field collection - PdfLoadedRadioButtonItemCollection radiobuttonFieldCollection = radiobuttonField.Items; - // Radio button field item - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonFieldCollection[0]; - // Selected the item - radiobuttonItem.Checked = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Getting the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Radio button field collection - Dim radiobuttonFieldCollection As PdfLoadedRadioButtonItemCollection = radiobuttonField.Items - ' Radio button field item - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonFieldCollection(0) - ' Selected the item - radiobuttonItem.Checked = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Gets or sets the index of the selected item in the list. - - The lowest ordinal index of the selected items in the list. The default is -1, which indicates that nothing is selected. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Set the selected index as 1 - radiobuttonField.SelectedIndex = 1; - // Save the document to a disk - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Set the selected index as 1 - radiobuttonField.SelectedIndex = 1 - ' Save the document to a disk - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the value of the first selected item in the list. - - A string value specifying the value of the first selected item, null (Nothing in VB.NET) if there is no selected item. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Set the selected index as 1 - radiobuttonField.SelectedValue = "Female"; - // Save the document to a disk - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Set the selected index as 1 - radiobuttonField.SelectedValue = "Female" - ' Save the document to a disk - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets the selected item.[Read-Only] - - Return the item as PdfLoadedRadioButtonItem class - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Read the selected item of the radio button - PdfLoadedRadioButtonItem radiobuttonItem = radiobuttonField.SelectedItem; - // Uncheck the selected item - radiobuttonItem.Checked = false; - // Save the document to a disk - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Read the selected item of the radio button - Dim radiobuttonItem As PdfLoadedRadioButtonItem = radiobuttonField.SelectedItem - ' Uncheck the selected item - radiobuttonItem.Checked = False - ' Save the document to a disk - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or sets the value of specified item. - - A string value representing the value of the item. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the 'Gender' radio button field - PdfLoadedRadioButtonListField radiobuttonField = doc.Form.Fields["Gender"] as PdfLoadedRadioButtonListField; - // Set the radio box value as Male - radiobuttonField.Value = "Male"; - // Save the document to a disk - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the 'Gender' radio button field - Dim radiobuttonField As PdfLoadedRadioButtonListField = TryCast(doc.Form.Fields("Gender"), PdfLoadedRadioButtonListField) - ' Set the radio box value as Male - radiobuttonField.Value = "Male" - ' Save the document to a disk - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Represents the signature field of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Gets the signature field - PdfLoadedSignatureField signatureField = doc.Form.Fields["ManagerSignature"] as PdfLoadedSignatureField; - signatureField.Flatten = true; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Gets the signature field - Dim signatureField As PdfLoadedSignatureField = TryCast(doc.Form.Fields("ManagerSignature"), PdfLoadedSignatureField) - signatureField.Flatten = True - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - - - - Internal variable to store the signature. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Sets the signature properties - - - - - - Begins the save. - - - - - Creates a copy of PdfLoadedSignatureField. - - - - - Creates a copy of loaded item. - - - - - - Gets or sets the digital signature for signing the field. - - A object specifying the digital signature for signing the field. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the first page - PdfPageBase page = doc.Pages[0]; - // Gets the signature field - PdfLoadedSignatureField signatureField = doc.Form.Fields["ManagerSignature"] as PdfLoadedSignatureField; - // Create a new Signature - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5), new SizeF(100, 200)); - // Set the signature of the field - signatureField.Signature = signature; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the first page - Dim page As PdfPageBase = doc.Pages(0) - ' Gets the signature field - Dim signatureField As PdfLoadedSignatureField = TryCast(doc.Form.Fields("ManagerSignature"), PdfLoadedSignatureField) - ' Create a new Signature - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5), New SizeF(100, 200)) - ' Set the signature of the field - signatureField.Signature = signature - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents an item in a text box field collection. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the text box field - PdfLoadedTextBoxField textBoxField = doc.Form.Fields["EmployeeName"] as PdfLoadedTextBoxField; - // Read the first text box field item from the collection - PdfLoadedTexBoxItem textBoxItem = textBoxField.Items[0]; - textBoxItem.Location = new PointF(10, 20); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the text box field - Dim textBoxField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields("EmployeeName"), PdfLoadedTextBoxField) - ' Read the first text box field item from the collection - Dim textBoxItem As PdfLoadedTexBoxItem = textBoxField.Items(0) - textBoxItem.Location = New PointF(10, 20) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class. - - The field. - The index. - The dictionary. - - - - Represents the text box field of an existing PDF document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - RectangleF newBounds = new RectangleF(100, 100, 50, 50); - ldField.Bounds = newBounds; - ldField.SpellCheck = true; - ldField.Text = "New text of the field."; - ldField.Password = false; - ldField.BorderStyle = PdfBorderStyle.Dashed; - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - Dim newBounds As RectangleF = New RectangleF(100, 100, 50, 50) - ldField.Bounds = newBounds - ldField.SpellCheck = True - ldField.Text = "New text of the field." - ldField.Password = False - ldField.BorderStyle = PdfBorderStyle.Dashed - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - - - - The password chrackter. - - - - - Collection of textbox items. - - - - - Internal variable to stroe field`s fore color. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Set the back color of the Field. - - PdfColor Value. - - - - Converts the HighlightMode as String value. - - PdfHighlightMode value. - Returns the PdfHighlightMode as string value. - - - - Converts the given string value as PdfHighlightMode. - - Given string value. - Returns the PdfHighlightMode values. - - - - Begins the save. - - - - - Creates a copy of PdfLoadedTextBoxField. - - - - - Creates a copy of PdfLoadedTextBoxItem. - - - - - Applies the appearance. - - The widget. - The item. - - - - Draws this instance if it is flatten. - - - - - Draws the text box. - - The graphics. - The item. - - - - Checks if the text contains RTL character or number. - - Array of symbols. - True if the text contans RTL character or number. - - - - Gets the height of the font. - - - The calculated size of font. - - - - Get or Set the back color of the field - - A object specifying the background color of field. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field. - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.BackColor = new PdfColor(Color.Transparent); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.BackColor = New PdfColor(Color.Transparent) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or Set the fore color of the field. - - A object specifying the background color of field. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field. - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.ForeColor = new PdfColor(Color.Red); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field. - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.ForeColor = New PdfColor(Color.Red) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Get or Set the text alignment in a text box. - - A enumeration member specifying the text alignment in a text box. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field. - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.TextAlignment = PdfTextAlignment.Justify; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field. - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.TextAlignment = PdfTextAlignment.Justify - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Get or Set the HighLightMode of the Field. - - A enumeration member specifying the highlight mode in a text box. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.HighlightMode = PdfHighlightMode.Push; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.HighlightMode = PdfHighlightMode.Push - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - - - - Gets or Set value of the text box field. - - A string value representing the value of the item. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.Text = "New Text"; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.Text = "New Text" - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - - Gets or sets a value indicating whether to check spelling. - - True if the field content should be checked for spelling erorrs, false otherwise. Default is true. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.SpellCheck = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.SpellCheck = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Meaningful only if the MaxLength property is set and the Multiline, Password properties are false. - If set, the field is automatically divided into as many equally spaced positions, or combs, - as the value of MaxLength, and the text is laid out into those combs. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.InsertSpaces = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.InsertSpaces = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Gets or sets a value indicating whether this is multiline. - - True if the field is multiline, false otherwise. Default is false. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.Multiline = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.Multiline = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Gets or sets a value indicating whether this is password field. - - True if the field is a password field, false otherwise. Default is false. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.Password = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.Password = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Gets or sets a value indicating whether this is scrollable. - - True if the field content can be scrolled, false otherwise. Default is true. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.Scrollable = true; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.Scrollable = True - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Gets or sets the maximum length of the field, in characters. - - A positive integer value specifying the maximum number of characters that can be entered in the text edit field. - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField ldField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - ldField.MaxLength = 10; - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim ldField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ldField.MaxLength = 10 - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Gets the collection of text box field items.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field - PdfLoadedTextBoxField textboxField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - // TextBox Item collection - PdfLoadedTextBoxItemCollection textboxFieldCollection = textboxField.Items; - textboxFieldCollection[0].Location = new PointF(10, 20); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field - Dim textboxField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ' TextBox Item collection - Dim textboxFieldCollection As PdfLoadedTextBoxItemCollection = textboxField.Items - textboxFieldCollection(0).Location = New PointF(10, 20) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - - - - Represents collection of text box group items. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field item - PdfLoadedTextBoxField textboxField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - // TextBox Item collection - PdfLoadedTextBoxItemCollection textboxFieldCollection = textboxField.Items; - textboxFieldCollection[0].Location = new PointF(10, 20); - doc.Save("LoadedForm.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field item - Dim textboxField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ' TextBox Item collection - Dim textboxFieldCollection As PdfLoadedTextBoxItemCollection = textboxField.Items - textboxFieldCollection(0).Location = New PointF(10, 20) - doc.Save("LoadedForm.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Gets the at the specified index.[Read-Only] - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceForm.pdf"); - // Read the text box field item - PdfLoadedTextBoxField textboxField = doc.Form.Fields[0] as PdfLoadedTextBoxField; - // Read the text box item collection - PdfLoadedTextBoxItemCollection textboxFieldCollection = textboxField.Items; - PdfLoadedTexBoxItem textboxItem = textboxFieldCollection[0]; - textboxItem.Location = new PointF(10, 20); - doc.Save("Form.pdf"); - doc.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Read the text box field item - Dim textboxField As PdfLoadedTextBoxField = TryCast(doc.Form.Fields(0), PdfLoadedTextBoxField) - ' Read the text box item collection - Dim textboxFieldCollection As PdfLoadedTextBoxItemCollection = textboxField.Items - Dim textboxItem As PdfLoadedTexBoxItem = textboxFieldCollection(0) - textboxItem.Location = New PointF(10, 20) - doc.Save("Form.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Represents Loaded field. - - - - - convert string to float - - - - - - - Save the common fields - - - - - set the size of the field - - - - - - - - Read the XFA form fields - - - - - - - - - - Represents the XFA subform names - - - - - Represents loaded form fields collection. - - - - - Read the border of the field - - - - - - Read the margin details - - - - - - Read the caption details - - - - - - Read the font info - - - - - - create a new attribute - - - - - - - - Gets or sets the field is readonly - - - - - Gets or sets the width - - - - - Gets or sets the height - - - - - Gets or sets the location - - - - - Gets or sets the Font - - - - - Gets or sets tool tip - - - - - Gets or sets the caption - - - - - Gets or set the fore color. - - - - - Gets or set the border - - - - - Gets or sets the horizontal alignment of the field - - - - - Gets or sets the vertical alignment of the field - - - - - Gets or sets a value indicating whether this is checked or not - - - - - Gets or sets the size of the check box - - - - - Gets or sets the checked styles of the check box - - - - - Gets or sets the appearance of the check box - - - - - Gets the items of the combo box field - - - - - Gets or sets the default index of the combo box field - - - - - Gets or Sets the default value of the combo box field - - - - - Gets or sets the date time - - - - - Get or sets the date field format - - - - - Set the date field pattern - - - - - Save the document - - - - - - Save the document - - The stream where to save the document. - /// The HTTP response stream object. - - - - Save the document - - The name of the document. - The HTTP response stream object. - The type of the reading document. - - - - Save the document - - - - - - Get value of the XFA form. - - - - - Represents field collection of loaded form. - - - - - Initializes a new instance of the class. - - - - - Add the loaded field to the field collection. - - - - - - - Get fields name. - - - - - - - Add new XFA form fields. - - - - - - Remove the specified XFA field. - - The lField item whic is to be removed to the XFA form. - - - - Remove the field with specific index. - - - - - - Clear all the fields. - - - - - Returns an enumerator that iterates through a collection. - - Returns an enumerator that iterates through a collection. - - - - Returns field with specified name. - - - - - Return's the field with the specified index. - - - - - - - Field collection. - - - - - Gets the field count. - - - - - Represents Loaded XFA form. - - - - - current document catalog - - - - - Represents the XFA array - - - - - Represents the XFA Field collections - - - - - Repersents the XFA image array - - - - - Represents the XFA field names - - - - - Represents the XFA subform names - - - - - Loaded pdf document - - - - - List of XFA fields - - - - - indicating the field count of the current form - - - - - Represent the data set writer of XFA - - - - - XFA document - - - - - Represents the Data set Document - - - - - used to indexing purpose - - - - - denote the node counts - - - - - Represent the complete field names of the XFA - - - - - Represents the acroform field. - - - - - Represents the area name. - - - - - Represents the form name. - - - - - Represents the width of the form. - - - - - Represents the height of the form. - - - - - Represents the location of the form. - - - - - Represents the form visibility. - - - - - Represents the readonly. - - - - - Load the XFA documents - - - - - - Save the XFA document - - - - - - Get the subform name - - - - - - - save main form - - - - - Fill and save the subforms and fields - - - - - - - Read the main form details - - - - - Read subForms and fields - - - - - - - Get the fields collection by field name - - Name of the field - Collection of XFA fields - - - - Get the XFA field using complete field name - - complete name of the field - - - - - Get the XFA field using complete field name - - Complete name of the field - - - - - Get the name - - - - - - - Save the attributes of the current form - - - - - - Get the complete field names - - - - - - Get complete field names - - - - - - Get the fields by name - - - - - - - Save the new XFA fields - - - - - - Get the loaded fields - - - - - - - - Gets or sets the field is readonly - - - - - Gets or sets the visibility of the field - - - - - Gets or sets the width - - - - - Gets or sets the height - - - - - Gets or sets the location - - - - - Represents loaded form fields collection. - - - - - catalog of the current document - - - - - Represents the XFA array - - - - - Get all the field names - - - - - Gett all the subforms name - - - - - Get the complete names of the fields - - - - - Get the area name of the form. - - - - - Gets or sets the items to multi select - - - - - Gets set the list items. - - - - - Gets or sets the default index of the list box field - - - - - Gets or sets the default value of the list box field - - - - - Get the if the field is multi select or not - - - - - Gets or sets the Value of the numeric Field - - - - - Gets or sets the comb cells - - - - - Get the numeric field type - - - - - Get the pattern string - - - - - Gets or sets the checked state of the radio button - - - - - Gets or sets the radio button size - - - - - Gets or sets the checked styles of the radio button - - - - - Gets or sets the appearance of the radio button - - - - - Add Radiobutton fields - - - - - - Read the exclGroup items - - - - - - Set the Default Index - - - - - Gets or sets the field is readonly - - - - - Gets or sets the visibility of the field - - - - - Gets or sets the width - - - - - Gets or sets the height - - - - - Gets or sets the location - - - - - Get the list of the PdfLoadedRadionButtonFields - - - - - Represents the text box field of an existing PDF document`s XFA form. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the field. - The value of the field. - - - - Read the text box field. - - - - - - - save the textBox - - - - - - Gets or sets the maximum width of the text box - - - - - Gets or sets the maximum height of the text box - - - - - Gets or sets the minimum width of the text box - - - - - Gets or sets the minimum height of the textbox - - - - - Gets or sets the value of the Text Box - - - - - Gets or sets the type of the text box - - - - - Gets or sets the password char of the text box field - - - - - Gets or sets the maximum char of the text box - - - - - Gets or sets the comb cells count; - - - - - Represents base class of XFDF. - - - - - Initializes a new instance of the class. - - The filename. - - - - Identify push button field. - - - - - Identify check box field. - - - - - Identify radio button field. - - - - - Identify text field. - - - - - Identify listbox field. - - - - - Identify combobox field. - - - - - Identify signature field. - - - - - Identify that field has no type. - - - - - Specifies the format of Export or Import data. - - - - //Load an existing document - PdfLoadedDocument ldoc = new PdfLoadedDocument("SourceForm.pdf"); - // Load the existing form - PdfLoadedForm form = ldoc.Form; - // Export the form data as XML file - form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf"); - - - 'Load an existing document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("SourceForm.pdf") - ' Load the existing form - Dim form As PdfLoadedForm = ldoc.Form - ' Export the form data as XML file - form.ExportData("Export.xml", DataFormat.Xml, "SourceForm.pdf") - - - Class - Class - - - - Specifies XML file format - - - - - Specifies Forms Data Format file format - - - - - Specifies XFDF file format. - - - - - The Syncfusion.Pdf.Parsing namespace contains classes, which are used to load or modify an existing PDF document. - - - - - Represents a PdfLoadedDocument. You can use this class to load or modify an existing PDF document - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - Class - - - - String contain either user or owner password. - - - - - The stream with the document data. - - - - - Indicates whether the document was encrypted. - - - - - Indicates whether the document was Pdf Viewer document. - - - - - Stores loaded form. - - - - - Collection of loaded and created pages. - - - - - Bookmarks of the document. - - - - - Named destination of the document. - - - - - Indicates whether the stream should be closed on dispose. - - - - - Indicates whether the object was disposed. - - - - - Internal stream - - - - - Defines the color space of the document - - - - - Defines the attachment collection of the document - - - - - String contain either user or owner password. - - - - - Defines the Pdf Page Label. - - - - - Defined the Pdf Loaded Page Label Collection - - - - - Check whether the Page Label Enabled or not. - - - - - Indicates is xfa form or not. - - - - - Indicates whether PDF document is Extended feature enabled. - - - - - Holds the file name for file saving operation. - - - - - Holds the conformance level of the loaded document. - - - - - Check whether the document is linearized or not. - - - - - Private variable to store the pdf portfolio - - - - - Repairing wrong offset values - - - - - Holds the dublin core values of the loaded document. - - - - - Internal variable used to store the font information - - - - A relative or absolute path for the file. - /// This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - // Loads an existing PDF Document - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf"); - // Save the document to a disk - doc.Save("Output.pdf"); - doc.Close(true); - - - ' Loads an existing PDF Document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Save the document to a disk - doc.Save("Output.pdf") - doc.Close(True) - - - Class - - - - Initializes a new instance of the class with the specified input file path and repair document - - A relative or absolute path for the file. - True to repair the document to prevent document corruption - This constructor loads the document and also repairs the wrong offsets. - The repairing engine is not capable of fixing all kinds of corruption and the process may delay the loading time depending on the type of issue. This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Loads an existing PDF Document - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf",true); - // Save the document to a disk - doc.Save("Output.pdf"); - doc.Close(true); - - - ' Loads an existing PDF Document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf",True) - ' Save the document to a disk - doc.Save("Output.pdf") - doc.Close(True) - - - Class - - - - Initializes a new instance of the class with the specified input file path and password - - A relative or absolute path for the file. - The password (user or owner) of the encrypted document to open. - - - // Load the PDF document with password. - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf","password"); - doc.Save("Output.pdf"); - doc.Close(true); - - - ' Load the PDF document with password. - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf","password") - doc.Save("Output.pdf") - doc.Close(True) - - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - - Initializes a new instance of the class with the specified password and repair document. - - A relative or absolute path for the file. - The password (user or owner) of the encrypted document to open. - True to repair the document to prevent document corruption - This constructor loads the document and also repairs the wrong offsets. - The repairing engine is not capable of fixing all kinds of corruption and the process may delay the loading time depending on the type of issue. This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Load the PDF document with password. - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf","password",true); - doc.Save("Output.pdf"); - doc.Close(true); - - - ' Load the PDF document with password. - PdfLoadedDocument doc = new PdfLoadedDocument("Input.pdf","password",true) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with the specified byte array. - - The array of bytes containing the PDF document to load. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Create a byte array of file stream length - byte[] pdfData = new byte[file2.Length]; - //Read block of bytes from stream into the byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)); - // Load the byte array - PdfLoadedDocument doc = new PdfLoadedDocument(pdfData); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("sample.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Create a byte array of file stream length - Dim pdfData() As Byte = New Byte(file2.Length){} - 'Read block of bytes From stream Into the Byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)) - ' Load the byte array - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(pdfData) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with specified byte array and repair document. - - The array of bytes containing the PDF document to load. - True to repair the document to prevent document corruption - This constructor loads the document and also repairs the wrong offsets. The repairing engine is not capable of fixing all kinds of corruption and the process may delay the loading time depending on the type of issue. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Create a byte array of file stream length - byte[] pdfData = new byte[file2.Length]; - //Read block of bytes from stream into the byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)); - // Load the byte array - PdfLoadedDocument doc = new PdfLoadedDocument(pdfData,true); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Create a byte array of file stream length - Dim pdfData() As Byte = New Byte(file2.Length){} - 'Read block of bytes From stream Into the Byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)) - ' Load the byte array - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(pdfData,true) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with the specified byte array and password. - - The array of bytes containing the PDF document to load. - The password (user or owner) of the encrypted document. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Create a byte array of file stream length - byte[] pdfData = new byte[file2.Length]; - //Read block of bytes from stream into the byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)); - // Load the byte array - PdfLoadedDocument doc = new PdfLoadedDocument(pdfData,"password"); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Create a byte array of file stream length - Dim pdfData() As Byte = New Byte(file2.Length){} - 'Read block of bytes From stream Into the Byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)) - ' Load the byte array - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(pdfData,"password") - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class. - - The array of bytes containing the PDF document to load. - The password (user or owner) of the encrypted document. - True to repair the document to prevent document corruption - This constructor loads the document and also repairs the wrong offsets. The repairing engine is not capable of fixing all kinds of corruption and the process may delay the loading time depending on the type of issue. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Create a byte array of file stream length - byte[] pdfData = new byte[file2.Length]; - //Read block of bytes from stream into the byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)); - // Load the byte array - PdfLoadedDocument doc = new PdfLoadedDocument(pdfData,"password",true); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Create a byte array of file stream length - Dim pdfData() As Byte = New Byte(file2.Length){} - 'Read block of bytes From stream Into the Byte array - file2.Read(pdfData,0,System.Convert.ToInt32(pdfData.Length)) - ' Load the byte array - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(pdfData,"password",True) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class with the specified stream. - - The stream containing the PDF document to load. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Load the stream - PdfLoadedDocument doc = new PdfLoadedDocument(file2); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Load the stream - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(file2) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class. - - The stream containing the PDF document to load - True to repair the document to prevent document corruption. - This constructor loads the document and also repairs the wrong offsets. The repairing engine is not capable of fixing all kinds of corruption and the process may delay the loading time depending on the type of issue. - - - Stream file2 = new FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Load the stream - PdfLoadedDocument doc = new PdfLoadedDocument(file2,true); - doc.Save("Output.pdf"); - doc.Close(true); - - - Dim file2 As Stream = New FileStream("Input.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Load the stream - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(file2,true) - doc.Save("Output.pdf") - doc.Close(True) - - - - - - Initializes a new instance of the class. - - The stream containing the PDF document to load. - The password (user or owner) of the encrypted document. - - - Stream file2 = new FileStream("sample.pdf", FileMode.Open, FileAccess.Read, FileShare.Read); - // Load the stream - PdfLoadedDocument doc = new PdfLoadedDocument(file2, "password"); - doc.Save("Samplepdf.pdf"); - - - Dim file2 As Stream = New FileStream("sample.pdf", FileMode.Open, FileAccess.Read, FileShare.Read) - ' Load the stream - Dim doc As PdfLoadedDocument = New PdfLoadedDocument(file2, "password") - doc.Save("Samplepdf.pdf") - - - - - - - Releases unmanaged resources and performs other cleanup operations before the - is reclaimed by garbage collection. - - - - - Creates the stream. - - The filename. - The proper file stream. - - - - Creates the stream. - - The file content. - The proper memory stream. - - - - Saves the document into the same stream or file. - - - - // Loads an existing document - PdfLoadedDocument ldoc = new PdfLoadedDocument("Input.pdf"); - ldoc.FileStructure.Version = PdfVersion.Version1_6; - // Save the changes in the same document. - ldoc.Save(); - ldoc.Close(true); - - - ' Loads an existing document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ldoc.FileStructure.Version = PdfVersion.Version1_6 - ' Save the changes in the same document. - ldoc.Save() - ldoc.Close(True) - - - Class - - - - Exports the specified page as Image - - The page index to be converted into image - Returns the specified page as Image - - - - Exports the specified page as Image with respect to dpi specified. - - The page index to be converted into image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified page as Image with custom resolution - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - Whether need to maintain the pdf page size - Returns the specified page as image with custom size - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to maintain the pdf page size - Returns the specified page as image with custom size and resolution - - - - Exports the specified pages as Images - - The starting page index - The ending page index - Returns the specified pages as Images - - - - Exports the specified pages as Images with respect to dpi specified. - - The starting page index - The ending page index - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified pages as Images with custom resolution - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - Whether need to maintain the pdf page size - Returns the specified pages as images with custom size - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to maintain the pdf page size - Returns the specified pages as images with custom size and resolution - - - - Returns the page number and rectangle positions of the text matchs - - The text to be searched - Holds the page number and rectangle positions of the text matches - - - - Returns the TextSearchResultCollection instance which contains collection of MatchedItemCollection - - List of items to be searched. - Instance of TextSearchResultCollection - Returns true if found any match - - - - Returns the dictionary of page number and list of text search items in the PDF document. - - List of items to be searched. - The dictionary of page number and list of search results. - Returns true if found any match - - - - Returns the dictionary of page number and list of captured terms in the PDF document. - - List of items to be searched. - The dictionary of page number and list of search results. - Search option to find the texts - Returns true if found any match - - - - Splits a PDF document into individual pages. - - The name of the individual destination pages. - - This method splits a PDF document to individual pages. Each page is named using destFilePattern parameter after which a numeric index is appended. - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - // Loads an existing document - PdfLoadedDocument ldoc = new PdfLoadedDocument("Input.pdf"); - // Splits the source document - ldoc.Split("Output.pdf"); - ldoc.Close(true); - - - ' Loads an existing document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Splits the source document - ldoc.Split("Output.pdf") - ldoc.Close(True) - - - Class - - - - Splits a PDF document into individual pages - - The name of the individual destination pages - The number that is use as a start - point for the page numbering. - This method splits a PDF document to individual pages. Each page is named using destFilePattern parameter after which a numeric index is appended. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - // Loads an existing document - PdfLoadedDocument ldoc = new PdfLoadedDocument("Form.pdf"); - // Splits the source document - ldoc.Split("pdfDoc.pdf", 1); - ldoc.Close(true); - - - ' Loads an existing document - Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("Form.pdf") - ' Splits the source document - ldoc.Split("pdfDoc.pdf", 1) - ldoc.Close(True) - - - - - - Creates a new form to the loaded document - - - - - Creates a PDF attachments to the loaded document - - The collection of attachments in the loaded document. - - - - Creates a bookmarks collection to the loaded document. - - The collection of bookmarks in the loaded document. - - - - Creates a named destination collection to the loaded document. - - The collection of named destination in the loaded document. - - - - Saves the PDF document to the specified stream. - - The stream where to save the PDF document. - - - - Extract the fonts from the loaded PDF document. - - Returns the collection of fonts. - Class - - - - Adds the fields connected to the page. - - The loaded document. - The new page. - The lost of the fields. - - - - Clones pages and their resource dictionaries and adds them into the document. - - The loaded document. - The page being cloned. - The destinations. - - - - - Gets the form. - - The proper PdfForm instance. - - - - Release all the resource used by the document instance - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceDoc.pdf"); - //Creates a new page and adds it as the last page of the document - PdfPageBase page = doc.Pages.Add(); - //Create Pdf graphics for the page - PdfGraphics g = page.Graphics; - //Create a solid brush - PdfBrush brush = new PdfSolidBrush(Color.Black); - float fontSize = 8f; - //Set the font - PdfFont font = new PdfStandardFont(PdfFontFamily.TimesRoman, fontSize); - //Draw the text - g.DrawString("HelloWorld", font, brush, new RectangleF(47.835f, 236.835f, 564.165f, 553.937f)); - doc.Save("Dispose.pdf"); - // Dispose the object - doc.Dispose(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - 'Create a page - Dim page As PdfPageBase = doc.Pages.Add() - 'Create Pdf graphics for the page - Dim g As PdfGraphics = page.Graphics - 'Create a solid brush - Dim brush As PdfBrush = New PdfSolidBrush(Color.Black) - Dim fontSize As Single = 8f - 'Set the font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.TimesRoman, fontSize) - 'Draw the text - g.DrawString("HelloWorld", font, brush, New RectangleF(47.835f, 236.835f, 564.165f, 553.937f)) - doc.Save("Dispose.pdf") - ' Dispose the object - doc.Dispose(True) - - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed - and unmanaged resources; false to release only unmanaged resources. - - - - Releases all the resources allocated by this PDF document - - if set to true the document should - close its stream as well. - - - - Creates a shallow copy of the current document. - - - - //Load an existing document - PdfLoadedDocument doc = new PdfLoadedDocument("SourceDoc.pdf"); - // Clone the existing the document - PdfLoadedDocument doc1 = doc.Clone() as PdfLoadedDocument; - // Save the cloned document to a disk - doc1.Save("ClonedPDF.pdf"); - doc1.Close(true); - - - 'Load an existing document - Dim doc As PdfLoadedDocument = New PdfLoadedDocument("SourceDoc.pdf") - ' Clone the existing the document - Dim doc1 As PdfLoadedDocument = TryCast(doc.Clone(), PdfLoadedDocument) - ' Save the cloned document to a disk - doc1.Save("ClonedPDF.pdf") - doc1.Close(True) - - - - - - Set the Page Label - - - - - Creates the bookmark destination dictionary. - - Hashtable that uses destination as a key and bookmark list as a value. - - - - Gets the named destination. - - The name of the destination. - The direct destination. - - - - Gets the named destination. - - The name of the destination. - A direct destination. - - - - Extracts the destination from dictionary or returns the object. - - The destination object. - The destination array. - - - - Loads the document. - - The file. - - - - Check whether the loaded PDF is tagged one. - - - - - Gets the PDF version - - - - - Gets the catalog of the loaded document. - - The PdfCatalog instance. - - - - To check the Need Appearance. - - dictionary - - - - Read and parse the document's info dictionary. - - - - - Checks whether the PDF document was encrypted. - - True if the document was encrypted. - - - - Gets the form dictionary. - - The form dictionary. - - - - Gets the form dictionary. - - The form dictionary. - - - - Get the collection dictionary - - - - - - Appends the new document data. - - The writer. - - - - Copies the old stream. - - The writer. - - - - Gets or sets a value indicating whether this form is XFA Form or AcroForm. - - - - - Indicates whether PDF document is Extended feature enabled. - - - - - Gets or sets the compression options. - - - - - Gets or sets a value of the metadata Dublin core values. - - - - - Gests or sets the PdfPageLabel for the loaded PDF document page number. - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - // Create page label with upper case roman letters and starts with 1 - PdfPageLabel label = new PdfPageLabel(); - label.NumberStyle = PdfNumberStyle.UpperRoman; - label.StartNumber = 1; - lDoc.LoadedPageLabel = label; - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Create page label with upper case roman letters and starts with 1 - Dim label As PdfPageLabel = New PdfPageLabel() - label.NumberStyle = PdfNumberStyle.UpperRoman - label.StartNumber = 1 - lDoc.LoadedPageLabel = label - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - Class - - - - Get and Set the Password. - - - - - Gets the list of attachments embedded in the document. - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - // Gets the collection of attachments embedded in the document. - PdfAttachmentCollection collection = lDoc.Attachments; - // Creating an attachment - PdfAttachment attachment = new PdfAttachment("logo.jpeg"); - attachment.FileName = "Syncfusion Logo"; - // Adding attachments to an existing document - collection.Add(attachment); - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Gets the collection of attachments displayed on a PDF page. - Dim collection As PdfAttachmentCollection = lDoc.Attachments - ' Creating an attachment - Dim attachment As PdfAttachment = New PdfAttachment("logo.jpeg") - attachment.FileName = "Syncfusion Logo" - ' Adding attachments to an existing document - collection.Add(attachment) - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - Class - - - - Gets the portfolio information associated with this document - - Class - Class - - - - Gets or sets the color space of the document. This property can be used to create PDF document in RGB, Grayscale or CMYK color spaces. By default the document uses RGB color space. - - This property has impact on the new created pages only. - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - // Sets the documents colorSpace as GrayScale - lDoc.ColorSpace = PdfColorSpace.GrayScale; - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - 'Sets the documents colorSpace as GrayScale - lDoc.ColorSpace = PdfColorSpace.GrayScale - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - - - - Gets the PDF form fields included in the document. - - - - // Load the PDF form - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - // Gets the form from the existing document - PdfLoadedForm form = lDoc.Form; - // Reading field element - PdfLoadedTextBoxField textField = form[0] as PdfLoadedTextBoxField; - textField.Text = "Syncfusion"; - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Gets the form from the existing document - Dim form As PdfLoadedForm = lDoc.Form - ' Reading field element - Dim textField As PdfLoadedTextBoxField = TryCast(form(0), PdfLoadedTextBoxField) - textField.Text = "Syncfusion" - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - Class - - - - Gets the document's collection of pages. - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf"); - // Reading page collection from an existing document - PdfLoadedPageCollection pageCollection = lDoc.Pages; - //Creates a new page - pageCollection.Add(); - lDoc.Save("Output.pdf"); - lDoc.Close(true); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf") - ' Reading page collection from an existing document - Dim pageCollection As PdfLoadedPageCollection = lDoc.Pages - ' Create a page - pageCollection.Add() - lDoc.Save("Output.pdf") - lDoc.Close(True) - - - Class - Class - - - - Gets the list of bookmarks in the PDF document. - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("sourceDoc.pdf"); - // Reading bookmark collection from an existing document - PdfBookmarkBase bm = lDoc.Bookmarks; - // Creates a new bookmark - PdfBookmark newbm = bm.Add("Chapter1"); - newbm.Color = Color.DarkBlue; - newbm.TextStyle = PdfTextStyle.Bold; - newbm.Destination = new PdfDestination( lDoc.Pages[0]); - lDoc.Save("BookMark.pdf"); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("sourceDoc.pdf") - ' Reading bookmark collection from an existing document - Dim bm As PdfBookmarkBase = lDoc.Bookmarks - ' Creates a new bookmark - Dim newbm As PdfBookmark = bm.Add("Chapter1") - newbm.Color = Color.DarkBlue - newbm.TextStyle = PdfTextStyle.Bold - newbm.Destination = New PdfDestination(lDoc.Pages(0)) - lDoc.Save("BookMark.pdf") - - - Class - Class - - - - Gets the list of named destinations in the PDF document. - - - - // Loads an existing document - PdfLoadedDocument lDoc = new PdfLoadedDocument("sourceDoc.pdf"); - // Reading named destination collection from an existing document - PdfNamedDestinationCollection destinationCollection = lDoc.NamedDestinationCollection; - // Creates a new named destination - PdfNamedDestination newNamedDestination = new PdfNamedDestination("Chapter1"); - newNamedDestination.Destination = new PdfDestination( lDoc.Pages[0]); - destinationCollection.Add(newNamedDestination); - lDoc.Save("NamedDestination.pdf"); - - - ' Loads an existing document - Dim lDoc As PdfLoadedDocument = New PdfLoadedDocument("sourceDoc.pdf") - ' Reading named destination collection from an existing document - Dim destinationCollection As PdfNamedDestinationCollection = lDoc.NamedDestinationCollection - ' Creates a new named destination - Dim newNamedDestination As PdfNamedDestination = New PdfNamedDestination("Chapter1") - newNamedDestination.Destination = New PdfDestination(lDoc.Pages(0)) - destinationCollection.Add(newNamedDestination) - lDoc.Save("NamedDestination.pdf") - - - Class - Class - - - - Gets number of pages. - - - - - Gets the conformance level applied in the loaded document. - - Returns only levels supported by PdfConformanceLevel enum, otherwise None. This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - Class - - - - Gets the fonts which are available in the PDF document. - - Retruns the fonts which are used in the PDF document. - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight - - - - Gets whether the document is linearized or not - - - - - Gets whether the document has portfolio content or not - - - - - Gets the document's information such as documents title, keywords, subject etc., - - - - - Gets a value indicating whether the document was PDF viewer document. - - - - - Gets a value indicating whether the document was encrypted. - - - - - Stores info about current node. - - - - - Internal variable used to store Kids values. - - - - - Internal variable used to store index value. - - - - - Initializes a new instance of the class. - - The kids. - - - - Initializes a new instance of the class. - - The kids. - The index. - - - - Represents the loaded named destination class. - - - - - Initializes a new instance of the class. - - The dictionary. - The cross table. - - - - Gets the destination. - - The destination of named destination. - - - - - Gets or sets the named destination title. - - A string value which contains the named destination title - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The dictionary. - The data. - - - - Gets bytes of the stream. - - Stream to be converted. - Destination bytes. - - - - Gets bytes of the stream. - - Stream to be converted. - Indicates whether to write the whole stream. - Destination bytes. - - - - Converts a stream to bigendian format. - - A stream containing data. - A stream in bigendian format. - - - - Writes the specified symbol. - - The symbol. - - - - Writes the specified text. - - The text. - - - - Writes the specified data. - - The data. - - - - Blocks the encryption. - - - - - Decompresses this instance. - - - - - Cleares a stream. - - - - - Saves the object using the specified writer. - - The writer. - - - - Decrypts the data using the specified encryptor. - - The encryptor. - The current object number. - - - - Decompresses the stream data. - - The data to decompress. - The filter name. - Uncompressed byte array. - - - - Returnes a compressor by its name. - - The name of the compressor. - IPDFCompressor interface. - - - - Performs postprocessing of the data for the filter specified. - - The data to process. - The filter. - Restored data. - - - - Normalizes the filter. If the filter array has only one element store that element - instead of entire array. - - - - - Compresses the content if it's required. - - The writer. - The compressed data. - - - - Adds a filter to the filter array. - - Name of the filter. - - - - Encrypts the stream content. - - The data. - The writer. - The encrypted content. - - - - Gets or sets the animation for this 3D artwork. - - - - - Gets or sets content of this stream. - - - - - Gets or sets the default view. - If there are no views, this value is ignored. If the value is outside of the valid range, the first view is considered to be default. - - - - - Gets or sets the code to execute when the 3D artwork is instantiated. - Javascript code to be executed when the 3D artwork is instantiated. - - - - - Gets the list of views for this 3D artwork. - - - - - Gets the internal stream. - - - - - Gets or sets the data. - - The modifications of the returned stream - have no impact on the real data. - - - - Gets or sets compression flag. - - true if compress; otherwise, false. - - - - Gets a value indicating whether the object was encrypted. - - - - - Gets a value indicating whether this is decrypted. - - true if decrypted; otherwise, false. - - - - The elements of the PDF array. - - - - - Indicates if the array was changed. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Internal variable to hold PdfCrossTable reference. - - - - - Internal variable to hold cloned object. - - - - - Represents the Font array. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The array. - - - - Initializes a new instance of the class. - - The array. - - - - Initializes a new instance of the class. - - The array. - - - - Initializes a new instance of the class. - - The array. - - - - Creates filled PDF array from the rectangle. - - The rectangle. - The filled in PdfArray instance. - - - - Creates filled PDF array from the rectangle. - - The rectangle. - The filled in PdfArray instance. - - - - Adds the specified element to the PDF array. - - The element. - - - - Adds the specified list of elements to array. - - The list. - - - - Determines whether the specified element is within the array. - - The element. - - true if the array contains the specified element; otherwise, false. - - - - - Inserts the element into the array. - - Zero-based index of the element in the array. - The element that should be added to the array. - - - - Checks whether array contains the element. - - The element object. - Index of the element in the array if exists, -1 otherwise. - - - - Removes element from the array. - - The element that should be removed from the array. - - - - ReArrange the Nested page kids array - - To specify the in which sequence the pages are arranged. - - - - Remove the element from the array by its index. - - Zero-based index of the element in the array. - - - - Cleares the array. - - - - - Converts an instance of the PdfArray to the RectangleF. - - The properly filled RectangleF structure. - - - - Saves the object using the specified writer. - - The writer. - - - - Returns an enumerator that iterates through a collection. - - - An - object that can be used to iterate through the collection. - - - - - Marks the object changed. - - - - - Freezes the changes. - - The freezer. - - - - Gets the number from the array. - - The index. - The proper instance of the PdfNumber. - - - - Creates a copy of PdfArray. - - - - - Gets the at the specified index. - - - - - Gets the count. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Gets the elements of the Pdf Array - - - - - Returns PdfCrossTable associated with the object. - - - - - Returns cloned object. - - - - - Represents the Font dictionary - - - - - Gets a value indicating whether this is changed. - - - - - The value of the PDF boolean. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - if it is value, set to true. - - - - Creates a copy of PdfBoolean. - - - - - Saves the object using the specified writer. - - The writer. - - - - Gets or sets the value of this instance. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Internal structure describing a pair of Key/Value. - - - - - Event arguments class. - - - - - Pdf document writer. - - - - - Creates the new object. - - The writer. - - - - Gets a document that is currently generating. - - - - - Delegate type. - - - - - Implementation of the name object. - - - - - Start symbol of the name object. - - - - - PDF special characters. - - - - - The symbols that are not allowed in PDF names and should be replaced. - - - - - Value of the element. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Initializes a new instance of the class. - - - - - Creates object with defined string value. - - Value of the string. - - - - Initializes a new instance of the class. - - The enum value. - - - - Makes the string more correct from the PDF's point of view. - - The string to normalize as PDF name. - The normalized string. - - - - Replace a symbol with its code with the precedence of the sharp sign. - - The string which the symbol should be replaced in. - The symbol to replace. - - - - - Replace some characters with its escape sequences. - - The string value. - Modified string. - - - - Explicit operator. Converts a string to a PdfName. - - The string representation of the name. - Properly initialized PdfName instance. - - - - Gets string representation of the primitive. - - - - - Compares two PDF names. - - PDFName to compare - The result of comparison. - - - - Returns a hash code for the name. - - The hash code. - - - - Compares two names. - - The name1. - The name2. - - - - - Determines if two names aren't equal. - - The name1. - The name2. - - - - - Determines if two names are equal. - - The name1. - The name2. - - - - - Determines if two names aren't equal. - - The name1. - The name2. - - - - - Saves the name using the specified writer. - - The writer. - - - - Creates a copy of PdfName. - - - - - Gets or sets the value of the object. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Represent the PDF null object. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Initializes a new instance of the class. - - - - - Saves the object. - - PDF writer. - - - - - Creates a copy of PdfNull. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Initializes a new instance of the class. - - The value. - - - - Initializes a new instance of the class. - - The value. - - - - Initializes a new instance of the class. - - The value. - - - - Initializes a new instance of the class. - - The value. - - - - Converts a float value to a string using Adobe PDF rules. - - The number. - - - - - Determines the minimum of the three values. - - The 1st value. - The 2nd value. - The 3d value. - The min value. - - - - Determines the maximum of the three values. - - The 1st value. - The 2nd value. - The 3d value. - The max value. - - - - Saves the object. - - PDF writer. - - - - Creates a copy of PdfNumber. - - - - - Gets or sets the integer value. - - - - - Gets or sets the float value. - - - - - Gets or sets a value indicating whether this instance is integer. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Represents a PDF reference. - - - - - Holds the object number. - - - - - Holds the generation number of the object. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Initialize the class. - - The object number. - The generation number. - - - - Initialize the class. - - The object number. - The generation number. - - - - Returns a string representing the object. - - The string. - - - - Compares two object. - - The object to compare with. - The result of comparison. - - - - Returns a hash code. - - The hash code. - - - - Creates a copy of PdfReference. - - - - - Compares two reference objects. - - The first object to compare. - The second object to compare. - The result of the comparison. - - - - Compares two reference objects. - - The first object to compare. - The second object to compare. - The result of the comparison. - - - - Writes a reference into a PDF document. - - A PDF writer. - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Class that is like a reference but during saving it is replaced by - a real reference to the object it holds. - - - - - The object which the reference is of. - - - - - The cross-reference table, which the object is within. - - - - - The reference to the object, which was read from the PDF document. - - - - - The index of the object within the object collection. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Use to avoid multi threading issue - - - - - Initializes a new instance of the class. - - The wrapper. - - - - Initializes the class instance with an object. - - The object. - - - - Initializes a new instance of the class. - - The reference. - The cross-reference table. - - - - Saves the object. - - A PDF writer. - - - - Create a copy of the referenced object. - - - - - Compares two reference holders. - - Object to compare. - The result of comparison. - - - - Returns a hashcode for a hashtable. - - The hashcode. - - - - Compares two reference holders whether they are equal. - - A reference holder to compare. - A reference holder to compare. - The result of the comparison. - - - - Compares two reference holders whether they are different. - - A reference holder to compare. - A reference holder to compare. - The result of the comparison. - - - - Gets the object. - - - - - - Gets the object the reference is of. - - - - - Gets the index of the object. - - - - - Gets the reference. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Returns cloned object. - - - - - Implements PDF string object. - - - - - General markers for string. - - - - - Hex markers for string. - - - - - Format of password data. - - - - - Value indicating whether the string was converted to hex. - - - - - Value of the object. - - - - - The byte data of the string. - - - - - Indicates whether to check if the value has unicode characters. - - - - - Indicates whether we should convert data to Unicode. - - - - - Shows if the data of the stream was decrypted. - - - - - Shows the type of object status whether it is object registered or other status; - - - - - Indicates if the object is currently in saving state or not. - - - - - Holds the index number of the object. - - - - - Internal variable to store the position. - - - - - Shows if the data of the stream was decrypted. - - - - - Internal variable to hold PdfCrossTable reference. - - - - - Internal variable to hold cloned object. - - - - - Gets a value indicating whether the object is packed or not - - - - - Initializes a new instance of the class. - - - - - Creates new PDF string object. - - Value of the object. - - - - Initialize a string from a hex string. - - The value. - if set to true the string has been encrypted. - - - - Creates new PDF string object. - - Value of the object. - - - - Converts byte data to string. - - Bytes to be converted. - Destination string. - - - - Converts byte data to string. - - Bytes to be converted. - The actual length of the buffer. - Destination string. - - - - Determines if the string is a unicode one. - - String value. - True if string is in Unicode format; otherwise False. - - - - Converts string to array of unicode symbols. - - String value. - Indicates whether we should add Unicode prefix to output data. - Array of data in unicode format. - - - - FromDate in PDF suitable form. - - The datetime. - - - - - Compare two PDF strings by their bytes. - - The first string. - The second string. - If the first string is greater then the second one it returns a value greater then 0, - if the second string is greater then the first one, it returns a value lower then 0, - if both are equal the 0 is returned. - - - - Explicit operator. Converts system string into PdfString. - - The system string. - Properly initialized PdfString. - - - - Converts PDFString to string. - - Byte array containing PDF representation of this object. - - - - Gets ascii bytes for specified string value. - - String for which to get bytes. - Bytes retrieved from specified text. - - - - Converts bytes to string using hex format for representing string. - - Bytes to be converted. - String int hex format. - - - - If needed encryption of data, encrypts data and returns new content. - - Bytes to be encrypted. - A PDF document. - Encrypted data. - - - - Escapes special symbols. - - Data from which must be escaped special symbols. - Data from which are escaped special symbols. - - - - Escapes special symbols. - - Data from which must be escaped special symbols. - Data from which are escaped special symbols. - - - - Converts hexadecimal digits into a byte array. - - The string value. - The byte array. - - - - Parses the hex. - - The character representing a hex digit. - A byte value. - - - - Converts hex digits into byte numbers. - - The hex numbers. - The byte array. - - - - Converts the Value to array of bytes. - - An array of bytes. - - - - Returns a byta array based on the value. - - Shows if should be unicode encoding. - The byte array. - - - - Saves the object using the specified writer. - - The writer. - - - - Forces PdfString to the hex mode. - - - - - Creates a copy of PdfString. - - - - - Converts string value to a byte array. - - The string data. - The resulting byte array. - - - - Processes the unicode string - - - - - - - Decrypts the specified encryptor. - - The encryptor. - The current object number. - - - - Gets or sets string value of the object. - - - - - Gets a value indicating whether string is in hex. - - - - - Gets a value indicating whether the object is packed or not - - - - - Gets or sets a value indicating whether to check if the value - has unicode characters. - - - - - Gets or sets value indicating whether we should convert data to Unicode. - - - - - Gets a flag that shows if the object has been decrypted already. - - - - - Gets the bytes. - - - - - Gets or sets the Status of the specified object. - - - - - Gets or sets a value indicating whether this document is saving or not. - - - - - Gets or sets the integer value of the specified object. - - - - - Gets or sets the position of the object. - - - - - Gets or set the flag indicating whether the string in the stream is decrypted or not. - - - - - Returns PdfCrossTable associated with the object. - - - - - Returns cloned object. - - - - - Gets a value indicating whether the object was encrypted. - - - - - Shows what encoding must be used. - - - - - The types of the PDFString data source. - - - - - Class used for implementing Advanced Encryption Standard algorithm. - - - - - Initializes a new instance of the Aes class. - - Key size. - Key bytes - - - - Encipher 16 bit input - - 16 bit Input - Output value - - - - Decipher 16-bit input - - - - - - - Dump - - - - - Dump key. - - - - - - Dump two by two. - - - - - - - Possible key sizes. - - - - - 128-bit. - - - - - 192-bit. - - - - - 256-bit. - - - - - Implements both the 128 bit and 256 bit AES encryption. - - - - - Block size for 128 bit encryption - - - - - Aes encryptor - - - - - Cypher Blocking Chain vector - - - - - vector that represents next block of the Chain - - - - - Offset of the initialization vector. - - - - - Buffer containing the initialization vector - - - - - Reprents the current process either encryption/decryption - - - - - Initializes a new instance of the AesEncryptor class. - - - - - Does the initial AES encryption process in CBC mode. - - input data stream. - Offset of input stream. - length of the input stream. - output encrypted stream. - input data stream. - - - - Does the final encryption after padding (PKCS7 standards). - - output encrypted stream. - current offset of the output stream. - - - - Calculates the correct block size for the given input data length - - length of the data. - - - - Calculates the length for padding - - length of the data. - - - - Does Cypher Blocking chain operation and calls for encryption. - - input data stream. - Offset of input stream. - output encrypted stream. - current offset of the output stream. - - - - Add padding in the PKCS7 standards. - - input data. - offset where the padding has to be done. - - - - Checks for the padding added in the encrypted cypher. - - input data. - - - - Get DER ecoded byte - - - - - - Represents the tag of the AsnObject - - - - - Stream used for encoding - - - - - Creates a new instance of the Asnobject - - - - - Creates a new instance of the Asnobject - - - - - - Encodes the AsnObject - - Input bytes - Encoded bytes - - - - Get the DER encoded bytes - - - - - - Calculates the correct length of the encoded bytes - - - - - - Represents the Asn1Boolean value - - - - - Creates a new instance of the As1Boolean object - - boolean value - - - - Creates a new instance of the As1Boolean object - - Bytes containg the boolean value - - - - Converts the boolean value to bytes - - Asn1Boolean object in bytes - - - - Encodes as Asn1object - - Encoded bytes - - - - Gets the vector list count - - - - - Builds the Asnobjects using the tag in the stream - - Tag of the Object - Tag number of the AsnObject - byte length - - - - - Builds the Asnobjects - - - - - - Represents the Asn1Integer - - - - - Creates a new instance of the As1Integer - - Asn1Integer value - - - - Returns the integer - - Encoded Bytes - - - - Encodes as Asn1Object - - Encoded bytes - - - - Represernts the ASN1Null object - - - - - Returns null bytes - - null bytes - - - - Encodes as Asn1Object - - Encoded bytes - - - - Seperator in the Oid - - - - - Represents the object identifier string - - - - - Creates a new instance of the Asn1ObjectIdentifier - - Oid String - - - - Creates a new instance of the Object Indentifier - - Oid in bytes - - - - Parses the Oid string and converts it to bytes - - Oid in bytes - - - - Encodes as Asn1Object - - Encoded bytes - - - - Creates the Oid String from the input bytes - - - Oid String - - - - Represents the final output stream - - - - - Creates a new instance of the Asn1OutputStream - - - - - Parses the given time stamp token - - AsnObject, either a sequence or set - Encoded bytes - - - - Parses the time stamp token with the given sequence - - Asnobject, either a sequence or set - Encoded bytes - - - - Calculates the correct output length for the given bytes - - input bytes - - - - object containing the Asn1Objects - - - - - Creates a new instance of the Asn1Sequence - - - - - Creates a new instance of the Asn1Sequence - - List containing the AsnObjects - - - - Encodes as Asn1Object - - Encoded bytes - - - - Returns the Asn1Objects in the sequence - - - - - Encodes as Asn1Object - - Encoded bytes - - - - AsnSequence which represents the Algorithm - - - - - Creates a new instance of the AlgorithmIdentifier class - - Object Identifeier - parameters - - - - Encodes as Asn1Object - - Encoded bytes - - - - for when the public key is raw bits... - - - - - To be signed - - - - - Return our time as DateTime. - - A date time. - - - - Get the public key of the subject of the certificate. - - The public key parameters. - - - - Return a Der encoded version of this certificate. - - A byte array. - - - - Create loading data from byte array. - - - - - - List of Asn Tags. - http://www.obj-sys.com/asn1tutorial/node124.html - - - - - Represents Cipher Block Chaining Mode - - - - - Initilaize the cipher - - - - - - - Size of the cipher - - - - - - Process a block - - - - - - - - - - Reset the cipher to the same state as it was after the last init. - - - - - Algorithm name - - - - - Indicates whether this cipher can handle partial blocks. - - - - - Returns a ObjectIdentifier for a give encoding. - - - - - - - Add more seed material to the generator. - - - - - - Add more seed material to the generator. - - - - - - Fill byte array with random values. - - - - - - Fill byte array with random values. - - - - - - - - initialize the cipher - - - - - - - Get the input size - - - - - - Get output size - - - - - - Process blocks - - - - - - - - - Name of the algorithm - - - - - Returns the size in bytes - - - - - - Returns the buffer length - - - - - - Updates the message digit - - - - - - Updates the message digit - - - - - - - - Retruns the final dighit values - - - - - - - - Reset - - - - - Retuns the agorithm name - - - - - Initialize the padding - - - - - - Add padding - - - - - - - - Pad count - - - - - - - get the padding name - - - - - Algorithm available for signatures since PDF 1.3 - - - - - Algorithm available for signatures since PDF 1.6 - - - - - Algorithm available for signatures since PDF 1.7 - - - - - Algorithm available for signatures since PDF 1.7 - - - - - Algorithm available for signatures since PDF 1.7 - - - - - Maps the digest IDs with the human-readable name of the digest algorithm. - - - - - Maps the name of a digest algorithm with its ID. - - - - - Cryptographic Message Syntax - - - - - CMS Advanced Electronic Signatures - - - - - Represent RSA Message digest signer - - - - - Signer Utility class contains methods that can not be specifically grouped into other classes. - - - - - Represents the Certificate object. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "syncfusion"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "syncfusion") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - User's crypt key set. - - - - - The high word of the dwFlags parameter. - - - - - The high word of the dwFlags parameter. - - - - - The high word of the dwFlags parameter - - - - - The high word of the dwFlags parameter - - - - - Encoding type. - - - - - Encoding type. - - - - - Provider being used. - - - - - Provider being used. - - - - - Encoding type. - - - - - High-word and low-word values combined using a bitwise OR operation. - - - - - Structure type. - - - - - CERT_RDN attribute. - - - - - Structure contains information for signing messages using a specified signing certificate context. - - - - - Certificate's version. - - - - - Certificate's serial number. - - - - - Certificate's issuer name. - - - - - Certificate's subject name. - - - - - Certificate's structure. - - - - - Signature length. - - - - - Date and time before which the certificate is not valid. - - - - - Date and time after which the certificate is not valid. - - - - - Initializes a new instance of the class with the path to the pfx file and the password. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The path to pfx file. - The password for pfx file. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class with the path to the pfx file and the password. - - This constructor is not supported in WinRT and Silverlight. - The path to pfx file. - The password for pfx file. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate(certificateStream, "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate(certificateStream, "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class with the path to the pfx file,password and storageflag - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The path to pfx file. - The password for pfx file. - The private key storage flag. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123",KeyStorageFlags.DefaultKeySet); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123",KeyStorageFlags.DefaultKeySet) - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class with the path to the pfx file,password and storageflag - - This constructor is not supported in WinRT and Silverlight. - The path to pfx file. - The password for pfx file. - The private key storage flag. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate(certificateStream, "123",KeyStorageFlags.DefaultKeySet); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate(certificateStream, "123",KeyStorageFlags.DefaultKeySet) - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - - - - Creates new pdf certificate object. - - The certificate. - - - - - Gets the type of the certificates by. - - The storage type. - The cert list. - - - - - Finds the certificate by subject - - The Store type - Certificate subject - The Certificate store Location - - - - - Returns the Store location. - - - - - - - Returns the Store name - - - - - - - - Finds the certificate by serial number. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The certification system store type. - The certificate id. - - - - - Initializes PdfCertificate object. - - - - - Initializes PdfCertificate object. - - - - - Initializes PdfCertificate object. - - Certificate's structure. - - - - Gets signature length. - - Signature length. - - - - Gets signature value. - - Signature string. - Signature value. - - - - Retrieves data from the file. - - Path to the file. - Data from the file if found, null otherwise. - - - - Converts FILETIME to DataTime. - - FILETIME struct. - DateTime struct. - - - - Decodes a structure. - - Code structure. - Decode value. - - - - Gets the certificate issuer. - - The handle of certificate context. - - - - - Checks whether arrays of bytes are equal. - - First array. - Second array. - True if data are equal, False otherwise. - - - - - Gets the serial number of a certificate.[Read-Only] - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The serial number of the certificate. - - - - - - - - Certificate's structure. - - - - - The Syncfusion.Pdf.Security namespace contains classes for creating protected PDF document. - - - - - Represents a digital signature used for signing a PDF document. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Holds signature dictionary. - - - - - Holds pdf signature field. - - - - - Holds pdf Loaded signature field. - - - - - Holds pdf certificate. - - - - - Reason of signing. - - - - - Page on which signature field is initialized. - - - - - The CPU host name or physical location of the signing. - - - - - Information provided by the signer to enable a recipient to contact - the signer to verify the signature; for example, a phone number. - - - - - Holds a value which indicates certefication of the document. - - - - - Permissions of the certificated document. - - - - - Holds timestamping server - - - - - Document that holds page and this signature. That document should be signed. - - - - - Indicates whether the signature corresponds to signature field or not. - Note : We draw appearance in the case of signature field. - - - - - Initializes a new instance of the class. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Initializes a new instance of the class with the page, certificate and the signature name. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The current pdf page where signature will be replaced. - The pdf certificate. - Name of the signature. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - - - Class - Class - Class - Class - - - - Initializes a new instance of the class with the PDF document, page, certificate - and the signature name. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The document, which has the page. - The page. - The certificate. - The name of the signature. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - - - Class - Class - Class - Class - - - - - Initializes a new instance of the class with the PDF document, page, certificate - , signature name and the signature field. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The loaded document, which has the page. - The page. - The certificate. - The name of the signature. - The name of the loaded signature field - - - // Creates a new document - PdfLoadedDocument doc = new PdfLoadedDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfLoadedSignatureField signatureField = loadedDocument.Form.Fields["Signature"] as PdfLoadedSignatureField; - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature",signatureField); - doc.Save("SignedPdfSample.pdf"); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signatureField as PdfLoadedSignatureField = TryCast(loadedDocument.Form.Fields["Signature"],PdfLoadedSignature) - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature",signatureField) - doc.Save("SignedPdfSample.pdf") - - - Class - Class - Class - Class - - - - - Handles the BeginSave event of the catalog document. - NOTE: Needed for certifying pdf document. - - The source of the event. - The instance containing the event data. - - - - Handles the BeginSave event of the Dictionary control. - - The source of the event. - The instance containing the event data. - - - - Gets the signature Appearance.[Read-Only] - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - A object defines signature`s appearance. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - PdfAppearance appearance = signature.Appearence; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - Dim appearance As PdfAppearance = signature.Appearence - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets the signature Appearance.[Read-Only] - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - A object defines signature`s appearance. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - PdfAppearance appearance = signature.Appearence; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - Dim appearance As PdfAppearance = signature.Appearence - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets signature location on the PDF page. - - This porperty is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Location = new PointF(100, 200); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Location = New PointF(100, 200) - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets bounds of the signature. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Location = new PointF(100, 200); - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Location = New PointF(100, 200) - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets information provided by the signer to enable a recipient to contact - the signer to verify the signature; for example, a phone number. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.ContactInfo = "Syncfusion"; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.ContactInfo = "Syncfusion" - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets reason of signing. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Reason = "PDF is signed"; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Reason = "PDF is signed" - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the physical location of the signing. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.LocationInfo = "US"; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.LocationInfo = "US" - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets a value indicating certificate document or not. - NOTE: Works only with Adobe Reader 7.0.8 or higher. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - certificate document if true. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Certificated = true; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Certificated = True - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the permission for certificated document. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - The document permission. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.DocumentPermissions = PdfCertificationFlags.AllowComments; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.DocumentPermissions = PdfCertificationFlags.AllowComments - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the signing certificate. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.ContactInfo = "Syncfusion"; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.ContactInfo = "Syncfusion" - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets a value indicating whether signature visible or not.[Read-Only] - - Signature can be set as invisible when its size is set to empty. This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.Visible = false; - signature.Bounds = new RectangleF(new PointF(5, 5),new SizeF(100,200)); - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.Visible = False - signature.Bounds = New RectangleF(New PointF(5, 5),New SizeF(100,200)) - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets time stamping server unique resource identifier. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - - Gets pdf signature field. - - - - - Gets whether to draw signature appearance or not. - - - - - Represents signature dictionary. - - - - - Name of type - - - - - Name of the filter. - - - - - Name of the filter. - - - - - Name of the document type. - - - - - Name of the taransformation parameters. - - - - - Holds pdf document for siging. - - - - - Holds pdf signature object. - - - - - Holds pdf certificate object. - - - - - First range length; - - - - - Second range index. - - - - - Start position byte range. - - - - - Position of the digest value for docMDP method. - - - - - Position of the digest value for FieldMDP method. - - - - - Internal variable to store dictionary. - - - - - Identifying the certificate chain - - - - - Representing the PDF stream - - - - - Inicates the range values - - - - - Creates new pdf signature dictionary object. - - The pdf document for signing. - The pdf signature. - The pdf certificate. - - - - Creates new pdf signature dictionary object. - - The pdf document for signing. - - - - Initializes a new instance of the class with specified document and signature. - - The pdf document for signing. - The signature to be added into the dictionary - - - - Adds required items. - - - - - Adds optional items. - - - - - Adds the location. - - - - - Adds the contact info. - - - - - Adds required items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Adds optional items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Adds required items to annotation dictionary. - - - - - Allow single instance of MDP signature. - - true if allow; otherwise, false. - - - - - - Adds the certification dictionary. - - The writer. - - - - Event handler of document saved. - - Sender of the event. - Event data. - - - - Saves range item. - - Writer object. - item value. - Position for save. - Point for save next item. - - - - Adds the certefication reference. - - - - - Creates timestamp request in ASN.1 format. - - SHA1 hash of data which need to be timestamped. - Stream where request will be written. - Request length - - - - Handles the BeginSave event of the pdf signature dictionary object. - - The source of the event. - The events arguments. - - - - Gets or sets a value indicating whether this is archive. - - true if archive; otherwise, false. - - - - Gets the element. - - - - - - Computing hash for Pdf digital signature. - - - - - Array of objects for hashing. - - - - - Contains ID's of Pdf objects. - - - - - Creating hashing object. - - - - - Hashes the document. - - The PdfDocument. - The hash byte array. - - - - Hashes the signature field. - - The page where signature is located. - - - - - Hashes the dictionary item. - - The PdfDictionary. - The dictionary item. - The crypto context. - The list of the Pdf objects. - - - - Hashes the name of the dictionary. - - The PdfDictionary. - The name of the dictionary. - The crypto context. - The list of the Pdf objects. - Is dictionary inheritable. - If dictionary is null then hash - either null. - - Returns state of the hashing. - - - - - Hashes the Pdf object. - - The object to hash. - The crypto context. - The list of the Pdf objects. - - - - Hashes the page. - - The current page for hashing. - The crypto context. - The list of the Pdf objects. - - - - Hashes the pages. - - The collection of Pdf pages. - The crypto context. - The list of the Pdf objects. - - - - Hashes the field. - - The PdfField. - The crypto context. - The list. - - - - Hashes the action. - - The PdfAction. - The crypto context. - The list of the Pdf objects. - - - - Hashes the annotations. - - The current page. - The crypto context. - The list of the Pdf objects. - - - - Hashes the annotation. - - The dictionary. - The crypto context. - The list of the Pdf objects. - - - - Hashes the embedded files. - - The dictionary. - The crypto context. - The list of the Pdf objects. - - - - Converts little endian characters to big endian. - - The input buffer. - - - - - AsnObject that represents the encoded time stamp response - - - - - Represents the Public Key Infrastructure status info - - - - - Time stamp token of the obtained time stamp response - - - - - Oid type of the time stamp response - - - - - Intializes a new instance and reads the timestamp response - - Array containing the time stamp request bytes - - - - Encodes the timestamp response from the Asn1Sequence - - Asn1Sequence containing the AsnObjects - Encoded bytes - - - - Reads the Asn objects in the time stamp response stream - - Input response stream - - - - Parses the time stamp response and encodes the content - - Asn1Sequence containing the AsnObjects - Encoded bytes - - - - Reads the content type of the response and encodes it - - Encoded bytes - - - - Encodes the time stamp content info - - Encoded bytes - - - - Returns the final encoded AsnSequence - - - - - New key offset length. - - - - - Key length of 40 bit key. - - - - - Key length of 128 bit key. - - - - - Key length of 256 bit key. - - - - - Revision number. A number specifying which revision of the - standard security handler should be used to interpret this dictionary. - - - - - Revision number. A number specifying which revision of the - standard security handler should be used to interpret this dictionary. - - - - - Amount of bytes. - - - - - Amount of random bytes. - - - - - Optimal string length. - - - - - Number of iteration of the loop during owner pass calculation. - - - - - Number of iteration of the loop during owner pass calculation. - - - - - Flag, used during enc. key calculating. - - - - - Number of bits in one byte. - - - - - A value indicating whether password values were already computed. - - - - - The object that allows to compute the MD5 hash for the input data - using the implementation provided by the cryptographic service provider (CSP). - - - - - Bytes array for manipulating by Custom algo. - - - - - Bytes array of random numbers. - - - - - Output owner password. - - - - - Output user password. - - - - - Changed owner password. It's needed to encryption purpose. - - - - - Changed user password. It's needed to encryption purpose. - - - - - The encryption key. - - - - - Length of encryption key. - - - - - Permission flags. - - - - - A revision number that has been read from a PDF document. - - - - - Shows if the encryptor's settings have been changed. - - - - - Predefined bytes for empty string. - - - - - Helps to control access to s_paddingString. - - - - - Holds ecryptor status enable/disable ecryption. - - - - - The valuse that should be stored in the encryptor dictionary. - - - - - The array used to add padding to the encryption key in AES mode. - - - - - The object that describes the type of encryption algorithm that should be used. - - - - - The user encryption key (UE), that should stored in encryption dictionary. - - - - - The Owner encryption key (OE), that should stored in encryption dictionary. - - - - - The permission flag (Perms), that should stored in encryption dictionary. - - - - - The 32 byte random number used as key for encrypting contents. - - - - - The random bytes used in computing U and UE entries. - - - - - The random bytes used in computing O and OE entries. - - - - - Used to derive random byte array. - - - - - Used to compute SHA256 hash. - - - - - Shows if metadata has to be encrypted or not. - - - - - The integer which represents revision of the encryption dictionary. - - - - - The integer which represents the version of the encryption dictionary. - - - - - AcrobatX security hash computation algorithms. - - - - - Initializes a new instance of the class. - - - - - Clones the specified document. - - A new cloned encryptor. - - - - Reads the essential values from a dictionary. - - The dictionary. - - - - Checks the password. - - The password. - The key. - - - - Encrypts the data. - - The curr obj number. - The data. - Encrypted byte array. - - - - Saves this instance. - - - - - Pads or truncates string to string with length equals to c_stringLength == 32. - - Bytes of newly created string. - - - - Pads or truncates data with length equals to c_stringLength == 32. - - Bytes of newly created string. - - - - Preperes hash code for cryptographic algorithm and executes it. - - Data to be encrypted / decrypted. - Key for using by Custom algo. - - - - Prepares hash code for cryptographic algorithm and executes it. - - Data to be encrypted / decrypted. - Key for using by Custom algo. - The length of a key. - - - - Encrypts the data using AES cryptographic algorithm using initialization vector in CBC mode - - Data to be encrypted / decrypted. - Key for using by Custom algo. - The encrypted data - - - - Decrypts the data using AES cryptographic algorithm using initialization vector in CBC mode - - Data to be decrypted. - Key for using by Custom algo. - The decrypted data - - - - Encrypts the data using AES(256 Bit) cryptographic algorithm using initialization vector in CBC mode - - Data to be decrypted. - Encrypted data - - - - Decrypts the data using AES(256 Bit) cryptographic algorithm using initialization vector in CBC mode - - Data to be decrypted. - Decrypted data - - - - Creates initialization vector for AES encryption - - Initialization vector - - - - Recreates CustomArray array. This method is the part of - implementation Custom algo. - - Key for using by Custom algo. - The length of a key. - - - - Returns length of the encryption key. - - Length of the encryption key. - - - - Calculates owner password. - - Data of calculated owner password. - Algorithm 3.3 of PDF 1.6 reference. - - - - Algorithm 2.B from ISO 32000-2 - - input for the advance compute hash - password for the custom algorithm - key for the computation hash algorithm - returns the byte array of computed hash - - - - Calculates owner password for 256 bit encryption algorithm. - - Data of calculated owner password. - Algorithm 3.9 of adobe_supplement_iso32000. - - - - Calculates owner password for 256-bit AcrobatX encryption algorithm. - - Algorithm 2.B of adobe_supplement_iso32000-2. - - - - Calculates owner encryption key for 256 bit encryption algorithm. - - Data of calculated owner encryption key. - Algorithm 3.9 of adobe_supplement_iso32000. - - - - Computes first 4 steps from algorithm 3.3 to calculate the encryption key. - - The owner password. - The encryption key. - - - - Computes the file encryption key of 256 bit AES encrypted documents. - - The owner/user password. - The algorithm 3.2a of adobe_supplement_iso32000 - - - - Compute the owner file encryption key of 256-bit AcrobatX encrypted documents. - - The owner password - Algorithm 2.B from ISO 32000-2 - - - - Compute the ueser file encryption key of 256-bit AcrobatX encrypted documents. - - The user password - Algorithm 2.B from ISO 32000-2 - - - - Calculates temporary key used for calculating owner password value. - - Orignial key value. - Current index. - Temporary key used for calculating owner password value. - - - - Creates encryption key. - - Input password string. - Owner password value. - Key created. - - - - Creates file encryption key for 256 bit encryption scheme (random 32 byte array). - - - - - Creates user password. - - Created user password. - - - - Calculates user encryption key for 256 bit encryption algorithm. - - Data of calculated user encryption key. - Algorithm 3.8 of adobe_supplement_iso32000. - - - - Calculates user encryption key for 256-bit AcrobatX encryption algorithm. - - Data of calculated user encryption key. - Algorithm 2-B of adobe_supplement_iso32000-2. - - - - Calculates user encryption key for 256 bit encryption algorithm. - - Data of calculated user encryption key. - Algorithm 3.8 of adobe_supplement_iso32000. - - - - Calculates permission flag(Perms) for 256 bit encryption algorithm. - - Data of calculated Permission flag. - Algorithm 3.10 of adobe_supplement_iso32000. - - - - Creates user password when encryption key is 40 bits length. - - Created user password. - - - - Creates user password when encryption key is 128 bits length. - - Created user password. - - - - Initializes data. - - - - - Transforms key before encryption. - - Original key to be transformed. - Transformed key. - - - - Checks if the password given is the user password. - - The password, which was given by the user. - A flag indicating if the password is the user password. - - - - Checks if the password given is the user password (256 bit encryption scheme). - - The password, which was given by the user. - A flag indicating if the password is the user password. - - - - Checks if the password given is the owner password. - - The password, which was given by the user. - A flag indicating if the password is the owner password. - - - - Checks if the password given is the owner password (256 bit encryption scheme). - - The password, which was given by the user. - A flag indicating if the password is the owner password. - - - - Converts an array into a password string. Before the convertion to string - cutts off the padding string if there is one. - - The array, which should be converted. - A string that should be a valid password string. - - - - Determines if the arrays are equal. - - One array that should be compared. - Another array. - True if arrays are equal, false otherwise. - - - - Determines if the first bytes of the arrays are equal. - - One array that should be compared. - Another array. - The actual size of the arrays to compare. - - True if arrays are equal, false otherwise. - - - - - Standard encryption dictionary for AES encryption - - - - - Gets security handler. Filter's value. - - - - - Gets or sets the cryptographic algorithm. V's value. - - - - - Gets or sets encryption algorithm. - - - - - Gets or sets permission set. - - - - - Gets revision number. R's value. - - - - - Gets or sets the password required to change permissions - for the PDF document. O's value. - - - - - Gets or sets the password required to open the PDF document. P's value. - - - - - Gets bytes array of random numbers. - - - - - Gets or sets bytes array for manipulating by Custom algo. - - - - - Gets or sets the object that allows to compute the MD5 hash for the input data - using the implementation provided by the cryptographic service provider (CSP). - - - - - Gets encoding. - - - - - Gets or sets encryption key. - - - - - Gets or sets value indicating whether document should be encrypted or not. - - - - - Gets calculated user password. - - - - - Gets calculated owner password. - - - - - Shows if the encryptor's setting have been changed. - - - - - Shows if the metadata should be encrypted. - - - - - Bytes for empty string. - - - - - Represents the SfBigInteger - - - - - Represents the security settings of the PDF document. - - - - // Creates a new document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - PdfStandardFont font = new PdfStandardFont(PdfFontFamily.TimesRoman, 20f, PdfFontStyle.Bold); - PdfBrush brush = PdfBrushes.Black; - //Document security - PdfSecurity security = document.Security; - //use 128 bits key - security.KeySize = PdfEncryptionKeySize.Key128Bit; - security.OwnerPassword = "syncfusion"; - security.Permissions = PdfPermissionsFlags.Print | PdfPermissionsFlags.FullQualityPrint; - security.UserPassword = "password"; - document.Save("Security.pdf"); - document.Close(true); - - - ' Creates a new document - Dim document As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim font As PdfStandardFont = New PdfStandardFont(PdfFontFamily.TimesRoman, 20f, PdfFontStyle.Bold) - Dim brush As PdfBrush = PdfBrushes.Black - 'Document security - Dim security As PdfSecurity = document.Security - 'use 128 bits key - security.KeySize = PdfEncryptionKeySize.Key128Bit - security.OwnerPassword = "syncfusion" - security.Permissions = PdfPermissionsFlags.Print Or PdfPermissionsFlags.FullQualityPrint - security.UserPassword = "password" - document.Save("Security.pdf") - document.Close(True) - - - - - - Owner password value. - - - - - User password value. - - - - - Object encrypting the data. - - - - - Initializes a new instance of the class. - - - - - Logically ORs flag and mask and return result. - - The mask of set bit that should be set in the result. - The ORed value of flag and mask. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfSecurity security = doc.Security; - security.SetPermissions(PdfPermissionsFlags.AssembleDocument); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - 'Document security - Dim security As PdfSecurity = doc.Security - security.SetPermissions(PdfPermissionsFlags.AssembleDocument) - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Logically ANDs flag and inverted mask and return result. - - The mask of set bit that should be cleared in the result. - The ANDed value of flag and inverted mask. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - PdfSecurity security = doc.Security; - security.ResetPermissions(PdfPermissionsFlags.AssembleDocument); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - 'Document security - Dim security As PdfSecurity = doc.Security - security.ResetPermissions(PdfPermissionsFlags.AssembleDocument) - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the owner password, If the PDF document is password protected you can use the - owner password to open the document and change its permissions. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the user password which is required when the PDF document is opened in a viewer. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the permissions when the document is opened with user password. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations | PdfPermissionsFlags.Print; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations | PdfPermissionsFlags.Print - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the encryptor. - - - - - Gets or sets the length of the encryption key for encryption. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Gets or sets the type of encryption algorithm used. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations | PdfPermissionsFlags.Print; - doc.Security.UserPassword = "123"; - doc.Security.Algorithm = PdfEncryptionAlgorithm.AES; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations | PdfPermissionsFlags.Print - doc.Security.UserPassword = "123" - doc.Security.Algorithm = PdfEncryptionAlgorithm.AES - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - - - - Gets or sets a value indicating whether this is enabled. - - - - - Specifies length of the encryption key for encryption. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - The key is 40 bit long. - - - - - The key is 128 bit long. - - - - - The key is 256 bit long. - - - - - The key is 256 bit long with revision 6. - AES algorithm for PDF 2.0 security feature. - - - - - Specifies the type of encryption algorithm used. - - - - - The encryption algorithm is RC4. - - - - - The encryption algorithm is AES. - - - - - Specifies the available permissions set for the signature. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - // Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit; - doc.Security.OwnerPassword = "Syncfusion"; - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations; - doc.Security.UserPassword = "123"; - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 10); - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, new PointF(10,10)); - doc.Save("Security.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Set the documents permission settings - doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit - doc.Security.OwnerPassword = "Syncfusion" - doc.Security.Permissions = PdfPermissionsFlags.EditAnnotations - doc.Security.UserPassword = "123" - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = doc.Pages.Add() - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 10) - page.Graphics.DrawString("Permission",font,PdfBrushes.Blue, New PointF(10,10)) - doc.Save("Security.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Default value. - - - - - Print the document. - - - - - Edit content. - - - - - Copy content. - - - - - Add or modify text annotations, fill in interactive form fields. - - - - - Fill form fields. (Only for 128 bits key). - - - - - Copy accessibility content. - - - - - Assemble document permission. (Only for 128 bits key). - - - - - Full quality print. - - - - - Enumerator that implements possible security handlers. - - - - - The built-in password-based security handler. - - - - - Specifies the naming of a system store. - - - - - A certificate store that holds certificates with associated private keys. - - - - - Root certificates. - - - - - Certification authority certificates. - - - - - Software Publisher Certificate. - - - - - Certificate store for directly trusted people and resources - - - - - Certificate store for directly trusted publishers - - - - - Certificate store for third party certificate publishers - - - - - Certificate store for other users - - - - - Specifies the Location of the store - - - - - Certificate store assigned to local machine - - - - - Certificate store used by current user. - - - - - Specifies the available permissions on certificated document. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = doc.Pages.Add(); - PdfCertificate pdfCert = new PdfCertificate("Pdf.pfx", "123"); - PdfSignature signature = new PdfSignature(doc, page, pdfCert, "Signature"); - signature.DocumentPermissions = PdfCertificationFlags.AllowComments; - doc.Save("SignedPdfSample.pdf"); - doc.Close(true); - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = doc.Pages.Add() - Dim pdfCert As PdfCertificate = New PdfCertificate("Pdf.pfx", "123") - Dim signature As PdfSignature = New PdfSignature(doc, page, pdfCert, "Signature") - signature.DocumentPermissions = PdfCertificationFlags.AllowComments - doc.Save("SignedPdfSample.pdf") - doc.Close(True) - - - Class - Class - Class - Class - - - - Restrict any changes to the document. - - - - - Only allow form fill-in actions on this document. - - - - - Only allow commenting and form fill-in actions on this document. - - - - - Enumeration of signature flags. - - - - - No flags specified. - - - - - If set, the document contains at least one signature field. This flag allows a viewer - application to enable user interface items (such as menu items or pushbuttons) related - to signature processing without having to scan the entire document for the presence - of signature fields. - - - - - If set, the document contains signatures that may be invalidated if the file is saved - (written) in a way that alters its previous contents, as opposed to an incremental - update. Merely updating the file by appending new information to the end of the - previous version is safe. Viewer applications can use this flag to present - a user requesting a full save with an additional alert box warning that signatures - will be invalidated and requiring explicit confirmation before continuing with the operation. - - - - - list of parent cell index - - - - - cell index of PdfGrid which moves to next page - - - - - Initializes a new instance of the class with the grid. - - The parent grid. - - - - Layouts the specified graphics. - - The graphics. - The location. - - - - Layouts the specified graphics. - - The graphics. - The bounds. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Layouts the on page. - - The param. - - - - - Draw ParentGrid Rows when the ChildGrid has draw in secondPage - - - - - - - Rearranges the pages. - - The layouted pages. - - - - Draws the row. - - The row. - Start index of the cell. - End index of the cell. - - - - Draws row till it fits the page and then calculates height for the next page. - - The RowLayoutResult. - Row being drawn. - Height of the row. - - - - Draws row - - The RowLayoutResult. - Row being drawn. - Height of the row. - - - - Recalculate row height for the split cell to be drawn. - - - - - - - - Raises BeforePageLayout event. - - The current page. - The current bounds. - The current row. - If true, stop lay outing. - - - - Raises PageLayout event if needed. - - Page layout result. - Event arguments. - - - - Raises the before cell layout. - - The graphics. - Index of the row. - Index of the cell. - The bounds of the cell. - The cell value. - - - - Raises the after cell layout event. - - The graphics. - Index of the row. - Index of the cell. - The bounds of the cell. - The value of the cell. - - - - Checks if the given format is default format or not. - - - - - - - Determines the column draw ranges. - - - - - Rearranges the pages - - - - - Gets the next page. - - - - - - Gets the format. - - The format. - - - - - Gets the layout result. - - - - - - Gets the grid. - - The grid. - - - - Initializes a new instance of the class. - - - - - Gets or sets a value indicating whether this instance is finish. - - true if this instance is finish; otherwise, false. - - - - Gets or sets the bounds. - - The bounds. - - - - Provides parameters definition for PdfGrid layout. - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Layout format - PdfGridLayoutFormat format = new PdfGridLayoutFormat(); - format.Break = PdfLayoutBreakType.FitPage; - format.PaginateBounds = new RectangleF(0, 0, 400, 500); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10),format); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Layout format - Dim format As New PdfGridLayoutFormat() - format.Break = PdfLayoutBreakType.FitPage - format.PaginateBounds = New RectangleF(0, 0, 400, 500) - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10),format) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a base format. - - The base format. - - - - Represents the results of the PdfGrid including bounds and resultant page. - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - PdfGridLayoutResult result = pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - Dim result As PdfGridLayoutResult = pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class with the current page and bounds. - - The current page. - The current bounds. - The page might be null, which means that - lay outing was performed on PdfGraphics. - - - - The Syncfusion.Pdf.Grid namespace contains classes for creating tables by entering the data manually or from an external data source. - - - - - Represents a flexible grid that consists of columns and rows. - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Internal variable to store layout format. - - - - - check whether the Grid is drawn. - - - - - RowLayoutBoundsWidth. - - - - - list of drawn page index by PdfGrid - - - - - Initializes a new instance of the class. - - - - - Draws the in the specified graphics. - - The graphics. - The location. - The width. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, new PointF(10, 10), 100); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, New PointF(10, 10), 100) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified graphics. - - The graphics. - The x. - The y. - The width. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, 10, 10, 100); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, 10, 10, 100) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified graphics. - - The graphics. - The bounds. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, new RectangleF(0, 0, 100, 100)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page.Graphics, New RectangleF(0, 0, 100, 100)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The location. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The location. - The format. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Creating layout format - PdfGridLayoutFormat format=new PdfGridLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10), format); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Creating layout format - Dim format As New PdfGridLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10), format) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The bounds. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new RectangleF(0, 0, 100, 100)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New RectangleF(0, 0, 100, 100)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The bounds. - The format. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Creating layout format - PdfGridLayoutFormat format=new PdfGridLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new RectangleF(0, 0, 100, 100), format); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Creating layout format - Dim format As New PdfGridLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New RectangleF(0, 0, 100, 100), format) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The x. - The y. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The x. - The y. - The format. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Creating layout format - PdfGridLayoutFormat format=new PdfGridLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, format); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Creating layout format - Dim format As New PdfGridLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, format) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The x. - The y. - The width. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, 100); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, 100) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Draws the in the specified . - - The page. - The x. - The y. - The width. - The format. - The grid layout result - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Creating layout format - PdfGridLayoutFormat format=new PdfGridLayoutFormat(); - format.Layout=PdfLayoutType.Paginate; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, 100, format); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Creating layout format - Dim format As New PdfGridLayoutFormat() - format.Layout = PdfLayoutType.Paginate - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, 10, 10, 100, format) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Layouts the element. - - Layout parameters. - Returns the results of layout. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Applies the span. - - - - - Measures this instance. - - - - - - Apply built-in table style to the table - - enum of PdfGridBuiltinStyle - - - - Apply built-in table style to the table - - enum of PdfGridBuiltinStyle - The PdfGridBuiltinStyleSettings - - - - Create Bold style font - - - - - - - Create Regular style font - - - - - - - Create Italic style font - - - - - - - Change font style - - - - - - - Sets the data source. - - - - - Populates the grid. - - - - - Populates the header row. - - - - - Calculates the column widths. - - - - - Calculates the width of the columns. - - The bounds. - - - - Gets the headers collection from the PdfGrid.[Read-Only] - - Represents the headers of the PdfGrid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add(); - dataTable.Columns.Add(); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - // Add a new header to PdfGrid. - pdfGrid.Headers.Add(1); - // Get the header collection. - PdfGridHeaderCollection collection = pdfGrid.Headers; - // Set the header names. - collection[0].Cells[0].Value = "Header1"; - collection[0].Cells[1].Value = "Header2"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add() - dataTable.Columns.Add() - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - ' Add a new header to PdfGrid. - pdfGrid.Headers.Add(1) - ' Get the header collection. - Dim collection As PdfGridHeaderCollection = pdfGrid.Headers - ' Set the header names. - collection(0).Cells(0).Value = "Header1" - collection(0).Cells(1).Value = "Header2" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the row collection from the PdfGrid.[Read-Only] - - Represents the rows collection of the PdfGrid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Get the rows collection from the PdfGrid - PdfGridRowCollection rowCollection = pdfGrid.Rows; - rowCollection[0].Cells[0].Value = "Row Collection Sample"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Get the rows collection from the PdfGrid - Dim rowCollection As PdfGridRowCollection = pdfGrid.Rows - rowCollection(0).Cells(0).Value = "Row Collection Sample" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets or sets the data bind to the PdfGrid by associating it with an external data source. - - The data source. - - - - Gets or sets the data member. - - The data member. - - - - Gets or sets the grid style. - - Represents the style information applied to a PdfGrid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Adding different style - PdfGridStyle style = new PdfGridStyle(); - style.BackgroundBrush = PdfBrushes.Cyan; - style.TextBrush = PdfBrushes.BlueViolet; - style.TextPen = new PdfPen(PdfBrushes.Black, 0.25F); - //Add style to the PdfGrid - pdfGrid.Style = style; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Adding different style - Dim style As New PdfGridStyle() - style.BackgroundBrush = PdfBrushes.Cyan - style.TextBrush = PdfBrushes.BlueViolet - style.TextPen = New PdfPen(PdfBrushes.Black, 0.25F) - 'Add style to the PdfGrid - pdfGrid.Style = style - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the first row. - - The first row. - - - - Gets the column collection of the PdfGrid.[Read-Only] - - Represents the columns collection of the PdfGrid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Get the column collection from the PdfGrid - PdfGridColumnCollection columnCollection = pdfGrid.Columns; - columnCollection[0].Width = 100; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Get the column collection from the PdfGrid - Dim columnCollection As PdfGridColumnCollection = pdfGrid.Columns - columnCollection(0).Width = 100 - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - - Gets the size. - - The size. - - - - Gets or sets a value indicating whether to split or cut rows that overflow a page. - - Default Value: true - - - - Gets or set if grid is nested grid. - - - - - Gets or sets the parent cell of the nested grid. - - - - - Gets layout format of the grid. - - - - - Gets a value indicating whether the start cell layout event should be raised. - - - - - Gets a value indicating whether the end cell layout event should be raised. - - - - - - - The event raised on starting cell lay outing. - - - - - The event raised on finished cell layout. - - - - - Represents the schema of a cell in a . - - - - - Alignment of the image. - - - - - Rowspanned cell remaining height - d - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the row. - - The row of the cell. - - - - Draws the specified graphics. - - The graphics. - The bounds. - - - - Calculates the width. - - - - - - Calcualtes the height. - - - - - - Adjusts the outer layout area. - - The bounds. - - - - - Adjusts the text layout area. - - The bounds. - - - - - Draws the cell border constructed by drawing lines. - - The Current Graphics. - The CellStyle. - The bounds. - - - - Sets the transparency. - - The graphics. - The pen. - - - - Gets the next cell. - - - - - - Gets the text font. - - - - - - Gets the text brush. - - - - - - Gets the text pen. - - - - - - Gets the background brush. - - - - - - Gets the width of the PdfGrid cell.[Read-Only] - - The width of the cell which is set by the column width. - - - - Gets the height of the PdfGrid cell.[Read-Only] - - The height. - - - - Gets or sets a value that indicates the total number of rows that cell spans within a PdfGrid. - - The number of rows that cell should span. The default value is 1. - - - - Gets or sets a value that indicates the total number of columns that cell spans within a PdfGrid. - - The number of columns that cell should span. The default value is 1. - - - - Gets or sets the cell style. - - Represents the style information applied to individual cells within a PdfGrid. - - - - Gets or sets the cell content is HTML text or not - - - - - Gets or sets the value of the cell. - - Value can be string or PdfGrid, PdfGrid will create a nested grid. - - - - Gets or sets the string format. - - The string format. - - - - Gets or sets the parent row. - - The parent row. - - - - Gets or sets a value indicating whether this instance is cell merge continue. - - - true if this instance is cell merge continue; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is cell merge start. - - - true if this instance is cell merge start; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is row merge start. - - - true if this instance is row merge start; otherwise, false. - - - - - Gets or sets a value indicating whether this instance is row merge continue. - - - true if this instance is row merge continue; otherwise, false. - - - - - Gets the next cell. - - The next cell. - - - - Gets or sets the remaining string after the row split between pages. - - - - - Gets or sets whether drawing of cell is completed. - - - - - Gets or sets the image alignment type of the PdfGridCell background image. - - - - - Get or set the tag for the element - - - - - Provides access to an ordered, strongly typed collection of objects. - - - - - Initializes a new instance of the class with the row. - - The row of cell collection. - - - - Adds this instance. - - - - - - Adds the specified cell. - - The cell. - - - - Returns the index of a particular cell in the collection. - - The cell. - Index of the particular cell. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the at the specified index.[Read-Only] - - The index of the required PdfGridCell - - - - Gets the cells count.[Read-Only] - - The count representing the number of cells present in a Row. - - - - Column collection enumerator. - - - - - Initializes a new instance of the struct. - - The column collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - The collection was modified after the enumerator was created. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - The collection was modified after the enumerator was created. - - - - - Checks the index. - - - - - Gets the current. - - The current. - - - - Represents the schema of a column in a . - - - - - Initializes a new instance of the class with the parent grid. - - The parent grid. - - - - Gets or sets the width of the . - - The width. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Create Cell Style - PdfGridCellStyle style = new PdfGridCellStyle(); - style.TextBrush = PdfBrushes.Cyan; - //Gets the width of the 1st column - float columnWidth = pdfGrid.Columns[0].Width; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Create Cell Style - Dim style As New PdfGridCellStyle() - style.TextBrush = PdfBrushes.Cyan - 'Gets the width of the 1st column - Dim columnWidth As Single = pdfGrid.Columns(0).Width - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets or sets the information about the text formatting. - - The format. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Creating new string formatting - PdfStringFormat stringFormat = new PdfStringFormat(); - stringFormat.Alignment = PdfTextAlignment.Right; - //Set string format - pdfGrid.Columns[0].Format = stringFormat; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Creating new string formatting - Dim stringFormat As New PdfStringFormat() - stringFormat.Alignment = PdfTextAlignment.Right - 'Set string format - pdfGrid.Columns(0).Format = stringFormat - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the parent .[Read-Only] - - The grid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Gets the parent grid - PdfGrid parentGrid = pdfGrid.Columns[0].Grid; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - /// 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Gets the parent grid - Dim parentGrid As PdfGrid = pdfGrid.Columns(0).Grid - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Provides access to an ordered, strongly typed collection of objects. - - - - - Initializes a new instance of the class with the parent grid. - - The parent grid. - - - - Clears this instance. - - - - - Add a new column to the . - - The added column - - - - Adds the number of specified count. - - The count. - - - - Adds the specified column. - - The column. - - - - Adds the columns. - - The count. - - - - Calculates the column widths. - - - - - Gets the widths of the columns. - - The total width. - The start column. - The end column. - An array containing widths. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the at the specified index.[Read-Only] - - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the number of columns in the .[Read-Only] - - The count. - - - - Gets the widths. - - The widths. - - - - Column collection enumerator. - - - - - Initializes a new instance of the struct. - - The column collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - The collection was modified after the enumerator was created. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - The collection was modified after the enumerator was created. - - - - - Checks the index. - - - - - Gets the current. - - The current. - - - - Provides customization of the settings for the particular row. - - - - - Check whether the row height set explicity. - - - - - Initializes a new instance of the class with the parent grid. - - The parent grid. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Adding new Row - PdfGridRow row = new PdfGridRow(pdfGrid); - pdfGrid.Rows.Add(row); - row.Cells[0].Value = "E03"; - row.Cells[1].Value = "Bran"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Adding new Row - Dim row As New PdfGridRow(pdfGrid) - pdfGrid.Rows.Add(row) - row.Cells(0).Value = "E03" - row.Cells(1).Value = "Bran" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Calculates the height. - - - - - - Measures the width. - - - - - - Enables you to set the appearance of the row in a . - - The cell style. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Create Cell Style - PdfGridCellStyle style = new PdfGridCellStyle(); - style.TextBrush = PdfBrushes.Cyan; - //Apply style to the specific row - pdfGrid.Rows[0].ApplyStyle(style); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Create Cell Style - Dim style As New PdfGridCellStyle() - style.TextBrush = PdfBrushes.Cyan - 'Apply style to the specific row - pdfGrid.Rows(0).ApplyStyle(style) - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the cells from the selected row.[Read-Only] - - The cells. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Usage of cell collection - pdfGrid.Rows[0].Cells[0].Value = "E03"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Usage of cell collection - pdfGrid.Rows(0).Cells(0).Value = "E03" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets or sets the parent grid. - - The parent grid. - - - - Gets or sets the row style. - - The row style. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Create row style - PdfGridRowStyle rowStyle = new PdfGridRowStyle(); - rowStyle.BackgroundBrush = PdfBrushes.Cyan; - //Apply style to the row - pdfGrid.Rows[0].Style = rowStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Create row style - Dim rowStyle As New PdfGridRowStyle() - rowStyle.BackgroundBrush = PdfBrushes.Cyan - 'Apply style to the row - pdfGrid.Rows(0).Style = rowStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets or sets the height of the row. - - The height. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Apply row height - pdfGrid.Rows[0].Height = 100; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Apply row height - pdfGrid.Rows(0).Height = 100 - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the width. - - The width. - - - - Gets or sets a value indicating whether [row span exists]. - - true if [row span exists]; otherwise, false. - - - - Gets or sets a value indicating whether [column span exists]. - - true if [column span exists]; otherwise, false. - - - - Height of the row yet to be drawn after split. - - - - - Gets or sets the index of the cell at which the row breaks when AllowHorizonalOverflow is true. - - - - - Holds the result of nested grid. - - - - - Returns index of the row. - - - - - Check whether the Row has row span or row merge continue. - - - - - Get or set the tag for the element - - - - - Provides access to an ordered, strongly typed collection of objects. - - - - - Initializes a new instance of the class with the parent grid. - - The parent grid. - - - - Add new row to the grid. - - The added row - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Add new row - PdfGridRow row = pdfGrid.Rows.Add(); - row.Cells[0].Value = "E03"; - row.Cells[1].Value = "Bran"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Add new row - Dim row As PdfGridRow = pdfGrid.Rows.Add() - row.Cells(0).Value = "E03" - row.Cells(1).Value = "Bran" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Add the row to the grid. - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Adding new Row - PdfGridRow row = new PdfGridRow(pdfGrid); - pdfGrid.Rows.Add(row); - row.Cells[0].Value = "E03"; - row.Cells[1].Value = "Bran"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Adding new Row - Dim row As New PdfGridRow(pdfGrid) - pdfGrid.Rows.Add(row) - row.Cells(0).Value = "E03" - row.Cells(1).Value = "Bran" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Sets the row span and column span to a cell. - - Index of the row. - Index of the cell. - The row span. - The col span. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Set Span to the cell - pdfGrid.Rows.SetSpan(0, 0, 2, 2); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Set Span to the cell - pdfGrid.Rows.SetSpan(0, 0, 2, 2) - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Applies the style to all the rows in the grid. - - The style. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Create Cell Style - PdfGridCellStyle style = new PdfGridCellStyle(); - style.TextBrush = PdfBrushes.Cyan; - //Apply style to the specific row - pdfGrid.Rows.ApplyStyle(style); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Create Cell Style - Dim style As New PdfGridCellStyle() - style.TextBrush = PdfBrushes.Cyan - 'Apply style to the specific row - pdfGrid.Rows.ApplyStyle(style) - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Provides customization of the settings for the header. - - - - - Initializes a new instance of the class with the parent grid. - - The parent grid. - - - - Adds the specified row. - - The row. - - - - enables you to quickly and easily add rows to the header at run time. - - The count. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Add new row to the header - PdfGridRow[] header = pdfGrid.Headers.Add(1); - header[1].Cells[0].Value = "New Header"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Add new row to the header - Dim header As PdfGridRow() = pdfGrid.Headers.Add(1) - header(1).Cells(0).Value = "New Header" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Removes all the header information in the . - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Removes all the header in the PdfGrid - pdfGrid.Headers.Clear(); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Removes all the header in the PdfGrid - pdfGrid.Headers.Clear() - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Enables you to set the appearance of the header row in a . - - The style. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Create Cell Style - PdfGridCellStyle style = new PdfGridCellStyle(); - style.TextBrush = PdfBrushes.Cyan; - //Apply style to the header - pdfGrid.Headers.ApplyStyle(style); - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Create Cell Style - Dim style As New PdfGridCellStyle() - style.TextBrush = PdfBrushes.Cyan - 'Apply style to the header - pdfGrid.Headers.ApplyStyle(style) - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets a object that represents the header row in a control.[Read-Only] - - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Header collection - pdfGrid.Headers[0].Cells[0].Value="Column1"; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Header collection - pdfGrid.Headers(0).Cells(0).Value = "Column1" - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets the number of header in the .[Read-Only] - - The count. - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Gets the number of rows in the header - int count = pdfGrid.Headers.Count; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Gets the number of rows in the header - Dim count As Integer = pdfGrid.Headers.Count - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Column collection enumerator. - - - - - Initializes a new instance of the struct. - - The row collection. - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - - The collection was modified after the enumerator was created. - - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - - The collection was modified after the enumerator was created. - - - - - Checks the index. - - - - - Gets the current. - - The current. - - - - The class used represents the cell border of the PDF grid - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Adding grid cell style - PdfGridCellStyle rowStyle = new PdfGridCellStyle(); - //Creating Border - PdfBorders border = new PdfBorders(); - border.All = PdfPens.Blue; - //setting border to the style - rowStyle.Borders = border; - //Applying style to grid - pdfGrid.Rows[0].Cells[0].Style = rowStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Adding grid cell style - Dim rowStyle As New PdfGridCellStyle() - 'Creating Border - Dim border As New PdfBorders() - border.All = PdfPens.Blue - 'setting border to the style - rowStyle.Borders = border - 'Applying style to grid - pdfGrid.Rows(0).Cells(0).Style = rowStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Gets or sets the left. - - The left. - - - - Gets or sets the right. - - The right. - - - - Gets or sets the top. - - The top. - - - - Gets or sets the bottom. - - The bottom. - - - - Sets all. - - All. - - - - Gets a value indicating whether this instance is all. - - true if this instance is all; otherwise, false. - - - - Gets the default. - - The default. - - - - The class used represents the edges of the grid cells - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with left,right,top and bottom values. - - The left. - The right. - The top. - The bottom. - - - - Gets or sets the left value of the edge - - The left value of the edge. - - - - Gets or sets the right value of the edge. - - The right value of the edge. - - - - Gets or sets the top value of the edge - - The top value of the edge. - - - - Gets or sets the bottom value of the edge. - - The bottom value of the edge. - - - - Sets value to all sides left,right,top and bottom - - The integer value to all sides - - - - Gets a value indicating whether this instance is all. - - true if this instance is all; otherwise, false. - - - - The class used represents the cell padding of the PDF grid - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Adding grid style - PdfGridStyle gridStyle = new PdfGridStyle(); - //Adding cell padding - gridStyle.CellPadding = new PdfPaddings(5, 5, 5, 5); - //Applying style to grid - pdfGrid.Style = gridStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Adding grid style - Dim gridStyle As New PdfGridStyle() - 'Adding cell padding - gridStyle.CellPadding = New PdfPaddings(5, 5, 5, 5) - 'Applying style to grid - pdfGrid.Style = gridStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with spacing of all sides Left,Right,Top,Bottom - - The left space. - The right space. - The top space. - The bottom space. - - - - Gets or sets the left space of padding. - - The left space. - - - - Gets or sets the right space of padding. - - The right space. - - - - Gets or sets the top space of padding. - - The top space. - - - - Gets or sets the bottom space of padding. - - The bottom space. - - - - Sets space value to all sides of a cell Left,Right,Top,Bottom. - - The space value of all sides Left,Right,Top,Bottom. - - - - Gets or sets a value indicating whether to apply style bands to the columns in a table, - - - - - Gets or sets a value indicating whether to apply style bands to the rows in a table - - - - - Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table - - - - - Gets or sets a value indicating whether to apply heading-row formatting to the first row of the table. - - - - - Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table. - - - - - Gets or sets a value indicating whether to apply last-row formatting to the last row of the specified table. - - - - - Base class for the grid style - - - - - Creates a new object that is a copy of the current instance. - - - A new object that is a copy of this instance. - - - - - Gets or sets the background brush. - - The background brush of the PdfGrid. - - - - Gets or sets the text brush. - - The text brush of the PdfGrid. - - - - Gets or sets the text pen. - - The text pen. - - - - Gets or sets the font. - - The font. - - - - Provides customization of the appearance for the . - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Adding grid style - PdfGridStyle gridStyle = new PdfGridStyle(); - //Allow grid to overflow horizontally - gridStyle.AllowHorizontalOverflow = true; - //Adding cell spacing between cells - gridStyle.CellSpacing = 0.5F; - //Setting text pen for grid - gridStyle.TextBrush = PdfBrushes.Blue; - //Applying style to grid - pdfGrid.Style = gridStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Adding grid style - Dim gridStyle As New PdfGridStyle() - 'Allow grid to overflow horizontally - gridStyle.AllowHorizontalOverflow = True - 'Adding cell spacing between cells - gridStyle.CellSpacing = 0.5F - 'Setting text pen for grid - gridStyle.TextBrush = PdfBrushes.Blue - 'Applying style to grid - pdfGrid.Style = gridStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Gets or sets the cell spacing of the . - - The cell spacing. - - - - Gets or sets the cell padding. - - The cell padding. - - - - Gets or sets the border overlap style of the . - - The border overlap style. - - - - Gets or sets a value indicating whether to allow horizontal overflow. - - - true if [allow horizontal overflow]; otherwise, false. - - Defalult Value: false - - - - Gets or sets the type of the horizontal overflow of the . - - The type of the horizontal overflow. - Default value: PdfHorizontalOverflowType.LastPage - - - - Provides customization of the appearance for the - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Adding grid row style - PdfGridRowStyle rowStyle = new PdfGridRowStyle(); - //Setting text pen for row - rowStyle.TextBrush = PdfBrushes.Blue; - //Applying style to grid - pdfGrid.Rows[0].Style = rowStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Adding grid row style - Dim rowStyle As New PdfGridRowStyle() - 'Setting text pen for row - rowStyle.TextBrush = PdfBrushes.Blue - 'Applying style to grid - pdfGrid.Rows(0).Style = rowStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Provides customization of the appearance for the - - - - //Create a new PDF document. - PdfDocument doc = new PdfDocument(); - //Add a page. - PdfPage page = doc.Pages.Add(); - //Create a PdfGrid. - PdfGrid pdfGrid = new PdfGrid(); - //Create a DataTable. - DataTable dataTable = new DataTable(); - //Add columns to the DataTable - dataTable.Columns.Add("ID"); - dataTable.Columns.Add("Name"); - //Add rows to the DataTable. - dataTable.Rows.Add(new object[] { "E01", "Clay" }); - dataTable.Rows.Add(new object[] { "E02", "Thomas" }); - //Assign data source. - pdfGrid.DataSource = dataTable; - //Using the Column collection - pdfGrid.Columns[0].Width = 100; - //Adding grid cell style - PdfGridCellStyle rowStyle = new PdfGridCellStyle(); - //Setting text pen for cell - rowStyle.TextBrush = PdfBrushes.Blue; - //Applying style to grid - pdfGrid.Rows[0].Cells[0].Style = rowStyle; - //Draw grid to the page of PDF document. - pdfGrid.Draw(page, new PointF(10, 10)); - //Save the document. - doc.Save("Output.pdf"); - //close the document - doc.Close(true); - - - 'Create a new PDF document. - Dim doc As New PdfDocument() - 'Add a page. - Dim page As PdfPage = doc.Pages.Add() - 'Create a PdfGrid. - Dim pdfGrid As New PdfGrid() - 'Create a DataTable. - Dim dataTable As New DataTable() - 'Add columns to the DataTable - dataTable.Columns.Add("ID") - dataTable.Columns.Add("Name") - 'Add rows to the DataTable. - dataTable.Rows.Add(New Object() {"E01", "Clay"}) - dataTable.Rows.Add(New Object() {"E02", "Thomas"}) - 'Assign data source. - pdfGrid.DataSource = dataTable - 'Using the Column collection - pdfGrid.Columns(0).Width = 100 - 'Adding grid cell style - Dim rowStyle As New PdfGridCellStyle() - 'Setting text pen for cell - rowStyle.TextBrush = PdfBrushes.Blue - 'Applying style to grid - pdfGrid.Rows(0).Cells(0).Style = rowStyle - 'Draw grid to the page of PDF document. - pdfGrid.Draw(page, New PointF(10, 10)) - 'Save the document. - doc.Save("Output.pdf") - 'close the document - doc.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Gets the default format. - - - - - - Gets the string format of the . - - The string format. - - - - Gets or sets the border of the . - - The border. - - - - Gets or sets the background image in the - - The background image. - - - - Gets or sets the edges. - - The edges. - - - - Gets or sets the cell padding. - - The cell padding. - - - - Describe the possible values of PdfHorizontalOverflowType. If a grid is drawn which doesn't fits within a single page, it will be splited to several pages. - - - - - Draws the overflowing grid as next page - - - - - Draws the overflowing grid as last page - - - - - Delegate for handling StartCellLayoutEvent. - - The sender of the event. - The arguments of the event. - This event is raised when laying out a cell on a page. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - RectangleF rect = new RectangleF(0, 0, 500, 50); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - PdfPage page = doc.Pages.Add(); - PdfPageTemplateElement top = new PdfPageTemplateElement(rect); - PdfGrid table=new PdfGrid(); - // Subscribe the cell layout event - table.BeginCellLayout += new PdfGridBeginCellLayoutEventHandler(table_BeginCellLayout); - table.DataSource = dataTable; - // Draws the table in page - table.Draw(page.Graphics); - doc.Save("Tables.pdf"); - // Cell layout event handler - void table_BeginCellLayout(object sender,PdfGridBeginCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White,args.Bounds); - } - } - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim rect As RectangleF = New RectangleF(0, 0, 500, 50) - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - Dim page As PdfPage = doc.Pages.Add() - Dim top As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim table As PdfGrid = New PdfGrid() - ' Subscribe the cell layout event - AddHandler table.BeginCellLayout, AddressOf table_BeginCellLayout - table.DataSource = dataTable - ' Draws the table in page - table.Draw(page.Graphics) - doc.Save("Tables.pdf") - ' Cell layout event handler - Private Sub table_BeginCellLayout(ByVal sender As Object, ByVal args As PdfGridBeginCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White,args.Bounds) - End If - End Sub - - - Class - Class - - - - Delegate for handling EndCellLayoutEvent. - - The sender of the event. - The arguments of the event. - This event is raised when you have finished laying out a page. - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - RectangleF rect = new RectangleF(0, 0, 500, 50); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - PdfPage page = doc.Pages.Add(); - PdfPageTemplateElement top = new PdfPageTemplateElement(rect); - PdfGrid table = new PdfGrid(); - // Subscribe the cell layout event - table.EndCellLayout += new PdfGridEndCellLayoutEventHandler(table_EndCellLayout); - table.DataSource = dataTable; - table.Style.CellPadding = 16; - // Draws the table in page - table.Draw(page.Graphics); - doc.Save("Tables.pdf"); - // Cell layout event handler - void table_EndCellLayout(object sender, PdfGridEndCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim rect As RectangleF = New RectangleF(0, 0, 500, 50) - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - Dim page As PdfPage = doc.Pages.Add() - Dim top As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim table As PdfGrid = New PdfGrid() - ' Subscribe the cell layout event - AddHandler table.EndCellLayout, AddressOf table_EndCellLayout - table.DataSource = dataTable - table.Style.CellPadding = 16 - ' Draws the table in page - table.Draw(page.Graphics) - doc.Save("Tables.pdf") - ' Cell layout event handler - Private Sub table_EndCellLayout(ByVal sender As Object, ByVal args As PdfGridEndCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Arguments of BeginPageLayoutEvent. - - Class - - - - Initializes a new instance of the class. - - The bounds. - The page. - The start row. - - - - Gets the start row index.[Read-Only] - - The start row. - - - - Arguments of EndPageLayoutEvent. - - Class - - - - Initializes a new instance of the class. - - The result. - The start row. - The end row. - - - - Represents arguments of StartCellLayout Event. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - RectangleF rect = new RectangleF(0, 0, 500, 50); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - PdfPage page = doc.Pages.Add(); - PdfPageTemplateElement top = new PdfPageTemplateElement(rect); - PdfGrid table = new PdfGrid(); - // Subscribe the cell layout event - table.BeginCellLayout += new PdfGridBeginCellLayoutEventHandler(table_BeginCellLayout); - table.DataSource = dataTable; - table.Style.CellPadding = 16; - // Draws the table in page - table.Draw(page.Graphics); - doc.Save("Tables.pdf"); - // Cell layout event handler - void table_BeginCellLayout(object sender, PdfGridBeginCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White,args.Bounds); - } - } - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim rect As RectangleF = New RectangleF(0, 0, 500, 50) - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - Dim page As PdfPage = doc.Pages.Add() - Dim top As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim table As PdfGrid = New PdfGrid() - ' Subscribe the cell layout event - AddHandler table.BeginCellLayout, AddressOf table_BeginCellLayout - table.DataSource = dataTable - table.Style.CellPadding = 16 - ' Draws the table in page - table.Draw(page.Graphics) - doc.Save("Tables.pdf") - ' Cell layout event handler - Private Sub table_BeginCellLayout(ByVal sender As Object, ByVal args As PdfGridBeginCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White,args.Bounds) - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The cell inder. - The bounds of the cell. - The value. - - - - Gets the index of the row. - - - - - Gets the index of the cell. - - - - - Gets the value. - - The value might be null or an empty string, - which means that either no text were acquired or all - text was on the previous page. - - - - Gets the bounds of the cell. - - - - - Gets the graphics, on which the cell should be drawn. - - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The cell inder. - The bounds of the cell. - The value. - - - - Gets or sets a value indicating whether the value of this cell should be skipped. - - - - - Represents arguments of EndCellLayout Event. - - - - // Creates a new document - PdfDocument doc = new PdfDocument(); - RectangleF rect = new RectangleF(0, 0, 500, 50); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - PdfPage page = doc.Pages.Add(); - PdfPageTemplateElement top = new PdfPageTemplateElement(rect); - PdfGrid table = new PdfGrid(); - // Subscribe the cell layout event - table.EndCellLayout += new PdfGridEndCellLayoutEventHandler(table_EndCellLayout); - table.DataSource = dataTable; - // Draws the table in page - table.Draw(page.Graphics); - doc.Save("Tables.pdf"); - // Cell layout event handler - void table_EndCellLayout(object sender, PdfGridEndCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Creates a new document - Dim doc As PdfDocument = New PdfDocument() - Dim rect As RectangleF = New RectangleF(0, 0, 500, 50) - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - Dim page As PdfPage = doc.Pages.Add() - Dim top As PdfPageTemplateElement = New PdfPageTemplateElement(rect) - Dim table As PdfGrid = New PdfGrid() - ' Subscribe the cell layout event - AddHandler table.EndCellLayout, AddressOf table_EndCellLayout - table.DataSource = dataTable - table.Style.CellPadding = 16 - ' Draws the table in page - table.Draw(page.Graphics) - doc.Save("Tables.pdf") - ' Cell layout event handler - Private Sub table_EndCellLayout(ByVal sender As Object, ByVal args As PdfGridEndCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The cell inder. - The bounds of the cell. - The value. - - - - Represents base class for markers. - - - - - Marker font. - - - - - Marker brush. - - - - - Marker pen. - - - - - The string format of the marker. - - - - - Marker alignment. - - - - - Gets or sets marker font. - - - - - Gets or sets marker brush. - - - - - Gets or sets marker pen. - - - - - Gets or sets the format. - - The format. - - - - Gets or sets a value indicating whether the marker is - situated at the left of the list or at the right of the list. - - - - - Indicates is alignment right. - - - - - Represents marker for ordered list. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold); - //Create a unordered list - PdfOrderedMarker list = new PdfOrderedMarker(PdfNumberStyle.LowerRoman, font); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker = list; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold) - 'Create a unordered list - Dim list As PdfOrderedMarker = New PdfOrderedMarker(PdfNumberStyle.LowerRoman, font) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker = list - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Holds numbering style. - - - - - Start number for ordered list. - - - - - Delimiter for numbers. - - - - - Finalizer for numbers. - - - - - Current index of item. - - - - - Initializes a new instance of the class. - - Number style of marker. - Number delimiter of marker. - Number suffix of marker. - Number font of marker. - - - - Initializes a new instance of the class. - - Number style of marker. - Number suffix of the marker. - Number font of marker. - - - - Initializes a new instance of the class. - - Number style of marker. - Number font of marker. - - - - Draw marker in specified point at graphics. - - Pdf graphics. - The location point. - - - - Draw marker in specified point at page. - - The page. - The point. - - - - Gets the marker number. - - Number in string. - - - - Gets or sets the list numbering style. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Alignment = PdfListMarkerAlignment.Right; - subList.Marker.Delimiter = "."; - subList.Marker.StartNumber = 2; - subList.Marker.Style = PdfNumberStyle.UpperRoman; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Alignment = PdfListMarkerAlignment.Right - subList.Marker.Delimiter = "." - subList.Marker.StartNumber = 2 - subList.Marker.Style = PdfNumberStyle.UpperRoman - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Gets ar sets start number for ordered list. Default value is 1. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Alignment = PdfListMarkerAlignment.Right; - subList.Marker.Delimiter = "."; - subList.Marker.StartNumber = 2; - subList.Marker.Style = PdfNumberStyle.UpperRoman; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Alignment = PdfListMarkerAlignment.Right - subList.Marker.Delimiter = "." - subList.Marker.StartNumber = 2 - subList.Marker.Style = PdfNumberStyle.UpperRoman - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Gets or sets the delimiter. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Alignment = PdfListMarkerAlignment.Right; - subList.Marker.Delimiter = "."; - subList.Marker.StartNumber = 2; - subList.Marker.Style = PdfNumberStyle.UpperRoman; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Alignment = PdfListMarkerAlignment.Right - subList.Marker.Delimiter = "." - subList.Marker.StartNumber = 2 - subList.Marker.Style = PdfNumberStyle.UpperRoman - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Gets or sets the suffix of the marker. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Alignment = PdfListMarkerAlignment.Right; - subList.Marker.Delimiter = "."; - subList.Marker.StartNumber = 2; - subList.Marker.Style = PdfNumberStyle.UpperRoman; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Creates a new page and adds it as the last page of the document - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Alignment = PdfListMarkerAlignment.Right - subList.Marker.Delimiter = "." - subList.Marker.StartNumber = 2 - subList.Marker.Style = PdfNumberStyle.UpperRoman - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Gets or sets the index of the current item. - - - - - Represents bullet for the list. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Holds the marker text. - - - - - Holds the marker style. - - - - - Holds the marker image. - - - - - Marker temlapte. - - - - - Marker size. - - - - - Font used when draws styled marker - - - - - Initializes a new instance of the class. - - The text of the marker. - Marker font. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - list.Marker = new PdfUnorderedMarker("list", font); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - list.Marker = New PdfUnorderedMarker("list", font) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - The style of the marker. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - list.Markerlist.Marker = new PdfUnorderedMarker(PdfUnorderedMarkerStyle.Asterisk); - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - The image of the marker. - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Initializes a new instance of the class. - - Template of the marker. - - - - Draws the specified graphics. - - The graphics. - The point. - The brush. - The pen. - - - - Draws the specified page. - - The page. - The point. - The brush. - The pen. - - - - Gets the styled text. - - Returns symbol represented of style. - - - - Gets or sets template of the marker. - - - - - Gets or sets image of the marker. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the list image - list.Marker.Image = new PdfBitmap("Bullet.jpg"); - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the list image - list.Marker.Image = new PdfBitmap("Bullet.jpg") - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Gets or sets marker text. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker Text - list.Marker.Text = "List: "; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker Text - list.Marker.Text = "List: " - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - - - - Gets or sets the style. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Gets or sets the size. - - - - - Gets or sets the unicode font. - - - - - Specifies the marker style. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Marker have no style. - - - - - Marker is like a disk. - - - - - Marker is like a square. - - - - - Marker is like a Asterisk. - - - - - Marker is like a circle. - - - - - Marker is custom string. - - - - - Marker is custom image. - - - - - Marker is custom template. - - - - - Represents marker alignment. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Alignment = PdfListMarkerAlignment.Left - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker alignment - list.Marker.Alignment = PdfListMarkerAlignment.Left - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - Class - - - - Left alignment for marker. - - - - - Right alignment for marker. - - - - - Represents base class for lists. - - Class - - - - The characters for splitting. - - - - - Creates an item collection. - - The text. - The item collection initialized properly. - - - - - Holds collection of items. - - - - - Tabulation for items. - - - - - Indent between marker and text. - - - - - List's font. - - - - - The pen for the list. - - - - - The brush for the list. - - - - - The string format for the list. - - - - - Creates new list. - - - - - Creates new list with items. - - Collection of list items. - - - - Initializes a new instance of the class. - - The font. - - - - Draws an list on the Graphics. - - Graphics context where the list should be printed. - X co-ordinate of the list. - Y co-ordinate of the list. - - - - Draws list on the Graphics. - - Pdf graphics. - - - - Layouts list at page. - - Pdf layout parameters. - Returns layout results. - - - - Rise the BeginItemLayout event. - - The instance containing the event data. - - - - Rise the EndItemLayout event. - - The instance containing the event data. - - - - Gets items of the list. - - - - - Gets or sets tabulation for the list. - - - - - Gets or sets the indent from the marker to the list item text. - - - - - Gets or sets the list font. - - - - - Gets or sets list brush. - - - - - Gets or sets list pen. - - - - - Gets or sets the format of the list. - - The format. - - - - Gets a value indicating whether to raise begin item layout event. - - - - - Gets a value indicating whether to raise end item layout event. - - - - - Event that rises when item begin layout. - - - - - Event that rises when item end layout. - - - - - Represents the list item of the list. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Holds item font. - - - - - Holds item text. - - - - - Holds text format. - - - - - Holds pen. - - - - - Holds brush. - - - - - Sub list. - - - - - Text indent for current item. - - - - - Creates new empty pdf list item. - - - - - Creates new pdf list item with default settings. - - - - - Initializes a new instance of the class. - - The text of item. - The font of item. - - - - Initializes a new instance of the class. - - The text of item. - The font of item. - The string format. - - - - Creates new list item. - - The item text. - The item font. - The string format of item. - The item pen. - The item brush. - - - - Gets or sets item font. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets item text. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Text = "Grid"; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - gridItem.Text = "Grid" - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets item string format. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.StringFormat = new PdfStringFormat(PdfTextAlignment.Left); - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - gridItem.StringFormat = New PdfStringFormat(PdfTextAlignment.Left) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets list item pen. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Pen = new PdfPen(PdfBrushes.Blue); - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - gridItem.Pen = New PdfPen(PdfBrushes.Blue) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets list item brush. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates an item - PdfListItem item = new PdfListItem("Tools"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Brush = PdfBrushes.BlueViolet; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Tools") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - gridItem.Brush = PdfBrushes.BlueViolet - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets sublist for item. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Creates an item - PdfListItem item = new PdfListItem("Backoffice"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Brush = PdfBrushes.BlueViolet; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Brush = PdfBrushes.Black; - subList.Indent = 20; - subList.Items.Add("Essential PDF"); - subList.Items.Add("Essential DocIO"); - subList.Items.Add("Essrntial XlsIO"); - list.Items[0].SubList = subList; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Backoffice") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Brush = PdfBrushes.BlueViolet - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Brush = PdfBrushes.Black - subList.Indent = 20 - subList.Items.Add("Essential PDF") - subList.Items.Add("Essential DocIO") - subList.Items.Add("Essrntial XlsIO") - list.Items(0).SubList = subList - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Gets or sets indent for item. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Creates an item - PdfListItem item = new PdfListItem("Backoffice"); - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.TextIndent = 10; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker.Brush = PdfBrushes.Black; - subList.Indent = 20; - subList.Items.Add("Essential PDF"); - subList.Items.Add("Essential DocIO"); - subList.Items.Add("Essrntial XlsIO"); - list.Items[0].SubList = subList; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Backoffice") - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.TextIndent = 10 - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker.Brush = PdfBrushes.Black - subList.Indent = 20 - subList.Items.Add("Essential PDF") - subList.Items.Add("Essential DocIO") - subList.Items.Add("Essrntial XlsIO") - list.Items(0).SubList = subList - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Get or set the tag for the element - - - - - Represents collection of list items. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - A string array that contains items separated by the new line character. - - - - Adds the specified item. - - The item. - The item index in collection. - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Creates an item - PdfListItem item = new PdfListItem("Backoffice"); - item.TextIndent = 10; - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Brush = PdfBrushes.BlueViolet; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Backoffice") - item.TextIndent = 10 - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Brush = PdfBrushes.BlueViolet - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - - - - - - Adds the specified item. - - The item. - The item indent. - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Creates an item - PdfListItem item = new PdfListItem("Backoffice"); - item.TextIndent = 10; - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Brush = PdfBrushes.BlueViolet; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item); - listItemCollection.Add(gridItem); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Backoffice") - item.TextIndent = 10 - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Brush = PdfBrushes.BlueViolet - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item) - listItemCollection.Add(gridItem) - - - - - - Adds the item with a specified text. - - The text. - - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Creates an item - PdfListItem item = new PdfListItem("Backoffice"); - item.TextIndent = 10; - item.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Creates Grid list item - PdfListItem gridItem = new PdfListItem("Grid"); - gridItem.Brush = PdfBrushes.BlueViolet; - gridItem.Font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Adding items in collection - listItemCollection.Add(item, 10); - listItemCollection.Add(gridItem, 8); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Creates an item - Dim item As PdfListItem = New PdfListItem("Backoffice") - item.TextIndent = 10 - item.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Creates Grid list item - Dim gridItem As PdfListItem = New PdfListItem("Grid") - gridItem.Brush = PdfBrushes.BlueViolet - gridItem.Font = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - ' Adding items in collection - listItemCollection.Add(item, 10) - listItemCollection.Add(gridItem, 8) - - - - - - Adds the specified text. - - The text. - The item indent. - List item. - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Adding items in collection - listItemCollection.Add("Backoffice", 10); - listItemCollection.Add("Grid", 8); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Adding items in collection - listItemCollection.Add("Backoffice", 10) - listItemCollection.Add("Grid", 8) - - - - - - Adds the specified text. - - The text. - The font. - The item index in collection. - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Adding items in collection - listItemCollection.Add("Backoffice", new PdfStandardFont( PdfFontFamily.TimesRoman,10)); - listItemCollection.Add("Grid", new PdfStandardFont(PdfFontFamily.TimesRoman, 11)); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Adding items in collection - listItemCollection.Add("Backoffice", New PdfStandardFont(PdfFontFamily.TimesRoman,10)) - listItemCollection.Add("Grid", New PdfStandardFont(PdfFontFamily.TimesRoman, 11)) - - - - - - Adds the specified text. - - The text. - The font. - The item indent. - List item. - - - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(); - // Adding items in collection - listItemCollection.Add("Backoffice", new PdfStandardFont( PdfFontFamily.TimesRoman,10), 10); - listItemCollection.Add("Grid", new PdfStandardFont(PdfFontFamily.TimesRoman, 11), 8); - - - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection() - ' Adding items in collection - listItemCollection.Add("Backoffice", New PdfStandardFont(PdfFontFamily.TimesRoman,10), 10) - listItemCollection.Add("Grid", New PdfStandardFont(PdfFontFamily.TimesRoman, 11), 8) - - - - - - Inserts item at the specified index. - - The specified index. - The item. - The item index - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - PdfListItem newItem = new PdfListItem("PDF"); - // Insert a new item in the collection - listItemCollection.Insert(0, newItem); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - Dim newItem As PdfListItem = New PdfListItem("PDF") - ' Insert a new item in the collection - listItemCollection.Insert(0, newItem) - - - - - - Inserts the specified index. - - The index. - The item. - The item indent. - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - PdfListItem newItem = new PdfListItem("PDF"); - // Insert a new item in the collection - listItemCollection.Insert(0, newItem, 10); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - Dim newItem As PdfListItem = New PdfListItem("PDF") - ' Insert a new item in the collection - listItemCollection.Insert(0, newItem, 10) - - - - - - Removes the specified item from the list. - - The specified item. - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - PdfListItem toolsItem = new PdfListItem("Tools"); - // Remove 'Tools' list item - listItemCollection.Remove(toolsItem); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - Dim toolsItem As PdfListItem = New PdfListItem("Tools") - ' Remove 'Tools' list item - listItemCollection.Remove(toolsItem) - - - - - - Removes the item at the specified index from the list. - - he specified index. - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Remove the firse item from the collection - listItemCollection.RemoveAt(0); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Remove the firse item from the collection - listItemCollection.RemoveAt(0) - - - - - - Determines the index of a specific item in the list. - - The item to locate in the list. - The index of item if found in the list; otherwise, -1. - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Creates 'Tools' list item - PdfListItem toolsItem = new PdfListItem("Tools"); - int indexOf = listItemCollection.IndexOf(toolsItem); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Creates 'Tools' list item - Dim toolsItem As PdfListItem = New PdfListItem("Tools") - Dim indexOf As Integer = listItemCollection.IndexOf(toolsItem) - - - - - - Clears collection. - - - - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - // Clears the list - listItemCollection.Clear(); - - - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - ' Clears the list - listItemCollection.Clear() - - - - - - Gets the PdfListItem from collection at the specified index. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Dim listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - - - - Layouts list. - - Class - - - - Current graphics for lay outing. - - - - - Indicates end of lay outing. - - - - - List that layouts at the moment. - - - - - Stack than contains ListInfo. - - - - - Index of item that lay outing. - - - - - The indent of current list. - - - - - Height in which it stop lay outing. - - - - - Lay outing bounds. - - - - - Current page for layout. - - - - - Size for item lay outing. - - - - - If true it use paginate bounds if it is set. - - - - - Current brush for lay outing. - - - - - Current pen for layout. - - - - - Current font for layout. - - - - - Current string format. - - - - - Marker maximum width. - - - - - Initializes a new instance of the class. - - The element. - - - - Layouts on the specified Graphics. - - The Graphics. - The x-coordinate of element. - The y-coordinate of element. - - - - Layouts on the specified Graphics. - - The graphics to draw. - The location point. - - - - Layouts on the specified Graphics. - - The graphics to draw. - The location boundaries. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Gets the width of the marker max. - - The list. - The info. - - - - Sets the current parameters. - - The list. - - - - Sets the current parameters. - - The item. - - - - Layouts the on the page. - - The page layout result. - Returns page layout result. - - - - Draws the item. - - The page result. - The x position. - The current list. - The index of the item. - The indent of the list. - The list info. - The current item. - The current height. - The y position. - - - - Determines whether is null or empty the specified text. - - The text. - - true if is null or empty the specified text, otherwise, false. - - - - - Afters the item layouted. - - The item that layout. - The page at which item layouted. - - - - Before the item layout. - - The item that layouts. - The page at which item layout. - - - - After the page layouted. - - The current bounds. - The current page. - The current list. - - - - Before the page layout. - - The current bounds. - The current page. - The cuurent list. - - - - Creates the marker result. - - The index of the item. - The current list. - The list info. - The current item. - Returns marker layout result. - - - - Craetes the unordered marker result. - - The current list. - The current item. - Size of the marker. - - - - - Creates the ordered marker result. - - The list. - The item. - The index. - The info. - if it is to find max width, set to true. - - - - - Sets the marker alingment. - - The marker. - The marker format. - Markers string format. - - - - Draws the marker. - - The current list. - The current item. - The current marker result. - The current Y position. - The current X position. - Returns true if marker have been drawn. - - - - Draws the unordered marker. - - The current list. - The current marker result. - The current item. - The current X position. - The current Y position. - - - - - Draws the ordered marker. - - The current list. - The marker result. - The current item. - The current X position. - The current Y position. - - - - - Gets the markers font. - - The marker. - The item. - Returns font of the marker - - - - Gets the marker format. - - The marker. - The item. - Markers format. - - - - Gets the marker pen. - - The marker. - The item. - Markers pen. - - - - Gets the marker brush. - - The marker. - The item. - Markers brush. - - - - Gets or sets element. - - - - - Represents information about list. - - - - - Index of list. - - - - - Represents list. - - - - - The number of item at specified index. - - - - - Lists brush. - - - - - Lists pen. - - - - - Lists font. - - - - - Lists format. - - - - - Marker width; - - - - - Initializes a new instance of the class. - - The list. - The index of the list. - The number if list is ordered list otherwise null. - - - - Initializes a new instance of the class. - - The list. - The index. - - - - Gets or sets the index. - - The indexof the list. - - - - Gets or sets the list. - - The list. - - - - Gets or sets the number. - - The number of ordered list. - - - - Gets or sets the brush. - - - - - Gets or sets the pen. - - - - - Gets or sets the font. - - - - - Gets or sets the format. - - The format. - - - - Represents Page Layout result. - - - - - If true item finished layout on page. - - - - - Y-ordinate of broken item of marker. - - - - - Text of item that was not draw. - - - - - Text of marker that was not draw. - - - - - If true marker start draw. - - - - - Width of marker. - - - - - X-coordinate of marker. - - - - - Represents begin page layout event arguments. - - Class - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - // Creates an item collection - PdfListItemCollection listItemCollection = new PdfListItemCollection(products); - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(listItemCollection); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - // Event handler - list.BeginPageLayout += new BeginPageLayoutEventHandler(list_BeginPageLayout); - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - // Event handler - void list_BeginPageLayout(object sender, BeginPageLayoutEventArgs e) - { - // Set the new bounds for the list - e.Bounds = new RectangleF(0, 0, e.Page.GetClientSize().Width, e.Page.GetClientSize().Height); - } - - - 'Create a new PDf document - Private document As PdfDocument = New PdfDocument() - 'Create a page - Private page As PdfPage = document.Pages.Add() - Private graphics As PdfGraphics = page.Graphics - Private products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - ' Creates an item collection - Private listItemCollection As PdfListItemCollection = New PdfListItemCollection(products) - 'Create a unordered list - Private list As PdfUnorderedList = New PdfUnorderedList(listItemCollection) - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - ' Event handler - AddHandler list.BeginPageLayout, AddressOf list_BeginPageLayout - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - ' Event handler - Private Sub list_BeginPageLayout(ByVal sender As Object, ByVal e As BeginPageLayoutEventArgs) - ' Set the new bounds for the list - e.Bounds = New RectangleF(0, 0, e.Page.GetClientSize().Width, e.Page.GetClientSize().Height) - End Sub - - - - - - List that that starts layout. - - - - - Initializes a new instance of the class. - - The bounds of the list. - The page in which list layouts. - The list that starts layout. - - - - Gets the list that starts layout. - - The list that starts layout. - - - // Event handler - void list_BeginPageLayout(object sender, BeginPageLayoutEventArgs e) - { - PdfUnorderedList list = sender as PdfUnorderedList; - list.Font = new PdfStandardFont(PdfFontFamily.Helvetica, 12); - // Set the new bounds for the list - e.Bounds = new RectangleF(0, 0, e.Page.GetClientSize().Width, e.Page.GetClientSize().Height); - } - - - ' Event handler - Private Sub list_BeginPageLayout(ByVal sender As Object, ByVal e As BeginPageLayoutEventArgs) - Dim list As PdfUnorderedList = TryCast(sender, PdfUnorderedList) - list.Font = New PdfStandardFont(PdfFontFamily.Helvetica, 12) - ' Set the new bounds for the list - e.Bounds = New RectangleF(0, 0, e.Page.GetClientSize().Width, e.Page.GetClientSize().Height) - End Sub - - - - - - Represents begin page layout event arguments. - - Class - - - - List that ended layout. - - - - - Initializes a new instance of the class. - - The layout result. - The list that ended layout. - - - - Gets the list that ended layout. - - The list that ended layout. - - - - The Syncfusion.Pdf.Lists namespace contains classes for creating structure elements in PDF document. - - - - - Represents the ordered list. - - Class - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold); - //Create a unordered list - PdfOrderedMarker list = new PdfOrderedMarker(PdfNumberStyle.LowerRoman, font); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker = list; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold) - 'Create a unordered list - Dim list As PdfOrderedMarker = New PdfOrderedMarker(PdfNumberStyle.LowerRoman, font) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker = list - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - - - - Marker of the list. - - - - - True if user want to use numbering hierarchy, otherwise false. - - - - - Creates ordered list. - - - - - Initializes a new instance of the class. - - The font. - - - - Initializes a new instance of the class. - - The style. - - - - Creates ordered list using items. - - Items for a list. - - - - Initializes a new instance of the class. - - The marker for the list. - - - - Initializes a new instance of the class. - - The item collection. - The marker for the list. - - - - Initializes a new instance of the class. - - The formatted text. - - - - Initializes a new instance of the class - from formatted text that is splitted by new lines. - - The formatted text. - The marker. - - - - Creates the marker. - - The style of the list marker. - Returns marker with specified style. - - - - Gets or sets marker of the list items. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold); - //Create a unordered list - PdfOrderedMarker list = new PdfOrderedMarker(PdfNumberStyle.LowerRoman, font); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker = list; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold) - 'Create a unordered list - Dim list As PdfOrderedMarker = New PdfOrderedMarker(PdfNumberStyle.LowerRoman, font) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker = list - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - True if user want to use numbering hierarchy, otherwise false. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold); - //Create a unordered list - PdfOrderedMarker list = new PdfOrderedMarker(PdfNumberStyle.LowerRoman, font); - //Create Ordered list as sublist of parent list - PdfOrderedList subList = new PdfOrderedList(); - subList.Marker = list; - subList.MarkerHierarchy = true; - //Add items to the list - subList.Items.Add("List of Essential Studio products"); - subList.Items.Add("IO products"); - subList.Items.Add("Grid products"); - subList.Items.Add("Tools products"); - //Draw list - subList.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("List.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14,PdfFontStyle.Bold) - 'Create a unordered list - Dim list As PdfOrderedMarker = New PdfOrderedMarker(PdfNumberStyle.LowerRoman, font) - 'Create Ordered list as sublist of parent list - Dim subList As PdfOrderedList = New PdfOrderedList() - subList.Marker = list - subList.MarkerHierarchy = True - 'Add items to the list - subList.Items.Add("List of Essential Studio products") - subList.Items.Add("IO products") - subList.Items.Add("Grid products") - subList.Items.Add("Tools products") - 'Draw list - subList.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("List.pdf") - - - Class - Class - Class - - - - Represents unordered list. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - graphics.DrawString("List Features", font, PdfBrushes.DarkBlue, new PointF(225, 10)); - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - string[] IO = { "XlsIO", "PDF", "DocIO" }; - font = new PdfStandardFont(PdfFontFamily.Helvetica, 12, PdfFontStyle.Regular); - graphics.DrawString("This sample demonstrates various features of bullets and lists. A list can be ordered and Unordered. Essential PDF provides support for creating and formatting ordered and unordered lists.", font, PdfBrushes.Black, new RectangleF(0, 50, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - graphics.DrawString("List Features", font, PdfBrushes.DarkBlue, New PointF(225, 10)) - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - Dim IO() As String = { "XlsIO", "PDF", "DocIO" } - font = New PdfStandardFont(PdfFontFamily.Helvetica, 12, PdfFontStyle.Regular) - graphics.DrawString("This sample demonstrates various features of bullets and lists. A list can be ordered and Unordered. Essential PDF provides support for creating and formatting ordered and unordered lists.", font, PdfBrushes.Black, New RectangleF(0, 50, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - - - - Marker for the list. - - - - - Initializes a new instance of the class. - - - - - Creates unordered list using items. - - Items for a list. - - - - Initializes a new instance of the class. - - The font. - - - - Initializes a new instance of the class. - - The marker for the list. - - - - Initializes a new instance of the class. - - The items collection. - The marker for the list. - - - - Initializes a new instance of the class. - - The formatted text. - - - - Initializes a new instance of the class - from formatted text that is splitted by new lines. - - The formatted text. - The marker. - - - - Creates the marker. - - The style marker of the marker. - Returns marker with specified style. - - - - Gets or sets the marker. - - - - //Create a new PDf document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - PdfGraphics graphics = page.Graphics; - //Create a unordered list - PdfUnorderedList list = new PdfUnorderedList(); - //Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk; - //Create a font and write title - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold); - graphics.DrawString("List Features", font, PdfBrushes.DarkBlue, new PointF(225, 10)); - string[] products = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" }; - string[] IO = { "XlsIO", "PDF", "DocIO" }; - font = new PdfStandardFont(PdfFontFamily.Helvetica, 12, PdfFontStyle.Regular); - graphics.DrawString("This sample demonstrates various features of bullets and lists. A list can be ordered and Unordered. Essential PDF provides support for creating and formatting ordered and unordered lists.", font, PdfBrushes.Black, new RectangleF(0, 50, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - //Create string format - PdfStringFormat format = new PdfStringFormat(); - format.LineSpacing = 20f; - font = new PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold); - //Apply formattings to list - list.Font = font; - list.StringFormat = format; - //Set list indent - list.Indent = 10; - //Add items to the list - list.Items.Add("List of Essential Studio products"); - list.Items.Add("IO products"); - //Set text indent - list.TextIndent = 10; - //Draw list - list.Draw(page, new RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)); - document.Save("UnOrderList.pdf"); - - - 'Create a new PDf document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - Dim graphics As PdfGraphics = page.Graphics - 'Create a unordered list - Dim list As PdfUnorderedList = New PdfUnorderedList() - 'Set the marker style - list.Marker.Style = PdfUnorderedMarkerStyle.Disk - 'Create a font and write title - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 14, PdfFontStyle.Bold) - graphics.DrawString("List Features", font, PdfBrushes.DarkBlue, New PointF(225, 10)) - Dim products() As String = { "Tools", "Grid", "Chart", "Edit", "Diagram", "XlsIO", "Grouping", "Calculate", "PDF", "HTMLUI", "DocIO" } - Dim IO() As String = { "XlsIO", "PDF", "DocIO" } - font = New PdfStandardFont(PdfFontFamily.Helvetica, 12, PdfFontStyle.Regular) - graphics.DrawString("This sample demonstrates various features of bullets and lists. A list can be ordered and Unordered. Essential PDF provides support for creating and formatting ordered and unordered lists.", font, PdfBrushes.Black, New RectangleF(0, 50, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - 'Create string format - Dim format As PdfStringFormat = New PdfStringFormat() - format.LineSpacing = 20f - font = New PdfStandardFont(PdfFontFamily.TimesRoman, 10, PdfFontStyle.Bold) - 'Apply formattings to list - list.Font = font - list.StringFormat = format - 'Set list indent - list.Indent = 10 - 'Add items to the list - list.Items.Add("List of Essential Studio products") - list.Items.Add("IO products") - 'Set text indent - list.TextIndent = 10 - 'Draw list - list.Draw(page, New RectangleF(0, 130, page.Graphics.ClientSize.Width, page.Graphics.ClientSize.Height)) - document.Save("UnOrderList.pdf") - - - Class - Class - Class - - - - Delegate for handling BeginItemLayoutEvent. - - The item that begin layout. - Begin Item Layout arguments. - - - - Delegate for handling EndItemLayoutEvent. - - The item that end layout. - End Item Layout arguments. - - - - Represents begin layout event arguments. - - - - - Item that layout. - - - - - The page in which item start layout. - - - - - Initializes a new instance of the class. - - The item that layout. - The page in which item start layout. - - - - Gets the item. - - The item that layout. - - - - Gets the page. - - The page in which item start layout. - - - - Represents end layout event arguments. - - - - - Item that layouted. - - - - - The page in which item ended layout. - - - - - Initializes a new instance of the class. - - The item that layout. - The page in which item end layout. - - - - Gets the item that layout. - - The item that layout. - - - - Gets the page in which item ended layout. - - The page in which item ended layout. - - - - Represents the lay outing of tables. - - Class - - - - Cell values of a row being shared by pages. - - - - - The latest text results. - - - - - Current cell width. - - - - - Current page. - - - - - The chached bounds of the current page. - - - - - Holds the current graphics and is used when current page - is not available (e.g. drawing on a graphics). - - - - - Current bounds. - - - - - Stores cell spacing value. - - - - - Holds an array of integers that specify column spanning (horizontal mergin) - - - - - The index of the row dropped to the next page. - - - - - The index of the start column. - - - - - Initializes a new instance of the class. - - The table. - - - - Layouts the table on the specified graphics. - - The graphics. - The location. - - - - Layouts the table on the specified graphics. - - The graphics. - The boundaries. - - - - Layouts the element. - - Lay outing parameters. - Lay outing result. - - - - Gets the format. - - The format structure passed through parameters. - - PdfLightTableLayoutFormat class instance. - - - - - Gets the layout result. - - The page result. - Table layout result. - - - - Layouts the table part on a page. - - Start row index. - The lay outing parameters. - if set to true the current page is the first one. - Result of the lay outing. - - - - Crops a row to make it fit the starting and ending columns. - - The row. - The cropped row. - - - - Resizes rectangle so that the border will be drawn insize the bounds specified. - - The bounds. - The pen. - - - - - Create Bold style font - - - - - - - Create Regular style font - - - - - - - Create Italic style font - - - - - - - Draws a row. - - The param. - Index of the row. - The row data. - The row bouds. - Height of the row. - if it is header, set to true. - if it is stop, set to true. - Indicator if the row was drawn partly. - - - - Sets the transparency. - - The graphics. - The pen. - - - - Validates the span map. - - - - - Determines whether the specified row is incomplete. - - The results. - - true if the specified results is incomplete; otherwise, false. - - - - - Determines the height of the row. - - The param. - Index of the row. - The row. - The row bouds. - The results. - The cell style. - The height of the row. - - - - Drops lay outing to the next page. - - The results. - The count. - The row. - - - - Returns the width of the cell specified by the index. - - Index of the cell. - The width of the cell. - - - - Reduces the height (or width) according to overlapped and border width value. - - The height. - Width of the border. - if it is overlapped, set to true. - The proper height. - - - - Draws a cell. - - The layout result. - The bounds. - Index of the row. - Index of the cell. - The cell style. - The result of the drawing. - - - - Gets the cell style. - - Index of the row. - if set to true the cell is in header. - The cell style. - - - - Gets the widths. - - The bounds. - An array containing the widhts. - - - - Retrieves the next row. - - Start index of the row. - The param. - The next row. - - - - Gets the alpha channel value. - - The brush. - The alpha channel value. - - - - Raises BeforePageLayout event. - - The current page. - The current bounds. - The current row. - If true, stop lay outing. - - - - Raises PageLayout event if needed. - - Page layout result. - Event arguments. - - - - Raises the before row layout. - - Index of the row. - The cell style. - The arguments modified by the user. - - - - Raises the after row layout. - - Index of the row. - if set to true the row was drawn completely. - The row bouds. - Indicator whether the user stopped lay outing. - - - - Raises the before cell layout. - - The graphics. - Index of the row. - Index of the cell. - The bounds of the cell. - The cell value. - - - - Raises the after cell layout event. - - The graphics. - Index of the row. - Index of the cell. - The bounds of the cell. - The value of the cell. - - - - Gets shape element. Read only. - - - - - The last page where the text was drawn. - - - - - The bounds of the element on the last page where it was drawn. - - - - - Indicates whether the lay outing has been finished. - - - - - The index of the first row on the page. - - - - - The index of the last row on the page. - - - - - Represents the result of PdfLightTable which contains bounds and resultant page. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Create the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - // Draw the table - PdfLightTableLayoutResult result = table.Draw(page, new PointF(0, 0), format); - //Save the document. - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Create the layout format - Dim format As New PdfLightTableLayoutFormat() - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - ' Draw the table - Dim result As PdfLightTableLayoutResult = table.Draw(page, New PointF(0, 0), format) - 'Save the document. - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - Class - - - - Holds text layout results for the last row. - - - - - The index of the last row. - - - - - Initializes a new instance of the class. - - The current page. - The current bounds. - Index of the row. - The cell results. - - - - Gets the at the specified index. - - - - - Gets the index of the last row. Read-Only. - - - - // Create a new document - PdfDocument doc = new PdfDocument(); - //Create a new page - PdfPage page = doc.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Create the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - // Draw the table - PdfLightTableLayoutResult result = table.Draw(page, new PointF(0, 0), format); - // Gets the last row index - int lastRow = result.LastRowIndex; - //Save the document. - doc.Save("Output.pdf"); - //Close the document - doc.Close(true); - - - ' Create a new document - Dim doc As New PdfDocument() - 'Create a new page - Dim page As PdfPage = doc.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Create the layout format - Dim format As New PdfLightTableLayoutFormat() - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - ' Draw the table - Dim result As PdfLightTableLayoutResult = table.Draw(page, New PointF(0, 0), format) - ' Gets the last row index - Dim lastRow As Integer = result.LastRowIndex - 'Save the document. - doc.Save("Output.pdf") - 'Close the document - doc.Close(True) - - - - - - Represents the arguments of BeginPageLayoutEvent. - - Class - - - - Initializes a new instance of the class. - - The bounds of the table. - The page to be drawn. - The starting row to be drawn at first. - - - - Gets the start row. Read-Only. - - The index of the start row. - - - - Represents the arguments of LightTableEndPageLayout Event. - - Class - - - - Initializes a new instance of the class. - - The PdfLightTable layout result. - The starting row to be drawn at first. - The ending row to be drawn at last. - - - - Gets the start row. Read-Only. - - The index of the start row. - - - - Gets the end row. Read-Only. - - The index of the last row. - - - - The Syncfusion.Pdf.Tables namespace contains classes for creating tables. - - - - - Create table by entering the data manually or from an external data source. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - // Add a page. - PdfPage page = document.Pages.Add(); - //Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - //Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - // Assign data source. - pdfLightTable.DataSource = table; - // Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - // Save the document. - document.Save("output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() {"abc", "21", "Male"}) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("output.pdf") - 'Close the document - document.Close(True) - - - - - - Stores current column collection. - - - - - Stores current row collection. - - - - - The table name from the data set. - - - - - Indicates the datasource type. - - - - - Specifies whether to break the last row of the table or not when the space is not enough - - - - - Draw the in the specified with specified graphics ,location and width. - - Graphics context where the element should be printed. - The location of the element. - The width of the table. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, new PointF(0, 0),500); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, New PointF(0, 0),500) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Draw the with the specified ,x and y coordinates and width. - - Graphics context where the element should be drawn. - The x co-ordinate of the element. - The y co-ordinate of the element. - The width of the table. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, 10, 10, 500); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, 10, 10, 500) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - Draw the in the specified and bounds. - Graphics context where the element should be drawn. - The bounds of the table should be drawn. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, new RectangleF(0, 0,500,500)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, New RectangleF(0, 0,500,500)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Draw the in the specified and location. - - The page of the table should be drawn. - The x,y coordinates of the table. - The PdfLightTable layout result - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Draw the in the specified ,location and . - - The page of the table should be drawn. - The x,y coordinates of the table. - The PdfLightTable layout format. - - The PdfLightTable layout result. - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Set properties to paginate the table. - PdfLightTableLayoutFormat layoutFormat = new PdfLightTableLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0), layoutFormat); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Set properties to paginate the table. - Dim layoutFormat As New PdfLightTableLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0), layoutFormat) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Draw the in the specified and bounds. - - The page of the table should be drawn. - The bounds of the table. - - The PdfLightTable layout result - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new RectangleF(0,0,500,500)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New RectangleF(0,0,500,500)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Draw the in the specified ,bounds and layout format. - - The page of the table should be drawn. - The bounds of the table. - The PdfLightTable layout format. - - The PdfLightTable layout result - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Set properties to paginate the table. - PdfLightTableLayoutFormat layoutFormat = new PdfLightTableLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new RectangleF(0, 0,500,500), layoutFormat); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Set properties to paginate the table. - Dim layoutFormat As New PdfLightTableLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New RectangleF(0, 0,500,500), layoutFormat) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Draw the in the specified and x, y coordinates. - - The page of the table should be drawn. - The X co-ordinate of the element. - The y coordinate of the element. - - The PdfLightTable layout result - - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the DataTable. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the DataTable. - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the DataTable. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the DataTable. - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - - - - - - Draw the in the specified , x,y coordinates and layout format. - - The page of the table should be drawn. - The x co-ordinate of the element. - The y coordinate of the element. - The PdfLightTable layout format. - The PdfLightTable layout result. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Set properties to paginate the table. - PdfLightTableLayoutFormat layoutFormat = new PdfLightTableLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10, layoutFormat); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Set properties to paginate the table. - Dim layoutFormat As New PdfLightTableLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10, layoutFormat) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Draw the in the specified ,x,y coordinates and width. - - The page of the table should be drawn. - The x co-ordinate of the element. - The y coordinate of the element. - The width of the table. - The PdfLightTable layout result - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10, 500); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page, 10, 10, 500) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Draw the in the specified ,x,y coordinates,width and layout format. - - The page of the table should be drawn. - The x coordinate of the element. - The y coordinate of the element. - The width of the table. - The PdfLightTable layout format. - The PdfLightTable layout result. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Set properties to paginate the table. - PdfLightTableLayoutFormat layoutFormat = new PdfLightTableLayoutFormat(); - layoutFormat.Break = PdfLayoutBreakType.FitPage; - layoutFormat.Layout = PdfLayoutType.Paginate; - //Draw PdfLightTable. - pdfLightTable.Draw(page, 10,10,500, layoutFormat); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Set properties to paginate the table. - Dim layoutFormat As New PdfLightTableLayoutFormat() - layoutFormat.Break = PdfLayoutBreakType.FitPage - layoutFormat.Layout = PdfLayoutType.Paginate - 'Draw PdfLightTable. - pdfLightTable.Draw(page, 10,10,500, layoutFormat) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Apply built-in table style to the table - - enum of PdfLightTableBuiltinStyle - - - - Apply built-in table style to the table - - enum of PdfLightTableBuiltinStyle - The PdfLightTableBuiltinStyleSettings - - - - Draw the in the specified and x,y coordinates. - - Graphics context where the element should be printed. - The x co-ordinate of the element. - The y co-ordinate of the element. - - - //Create a new PDF document. - PdfDocument document = new PdfDocument(); - //Add a page. - PdfPage page = document.Pages.Add(); - // Create a PdfLightTable. - PdfLightTable pdfLightTable = new PdfLightTable(); - // Initialize DataTable to assign as DataSource to the light table. - DataTable table = new DataTable(); - //Include columns to the Data Table. - table.Columns.Add("Name"); - table.Columns.Add("Age"); - table.Columns.Add("Sex"); - //Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(new string[] { "abc", "21", "Male" }); - //Assign data source. - pdfLightTable.DataSource = table; - //Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, 10, 10); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new PDF document. - Dim document As New PdfDocument() - 'Add a page. - Dim page As PdfPage = document.Pages.Add() - ' Create a PdfLightTable. - Dim pdfLightTable As New PdfLightTable() - ' Initialize DataTable to assign as DataSource to the light table. - Dim table As New DataTable() - 'Include columns to the Data Table. - table.Columns.Add("Name") - table.Columns.Add("Age") - table.Columns.Add("Sex") - 'Include rows to the Data Table.//you can add multiple rows - table.Rows.Add(New String() { "abc", "21", "Male" }) - 'Assign data source. - pdfLightTable.DataSource = table - 'Draw PdfLightTable. - pdfLightTable.Draw(page.Graphics, 10, 10) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Layouts the element. - - Lay outing parameters. - Returns lay outing results. - - - - Draws an element on the Graphics. - - Graphics context where the element should be printed. - - - - Raises the event. - - The - instance containing the event data. - - - - Raises the event. - - The - instance containing the event data. - - - - Raises the event. - - The - instance containing the event data. - - - - Raises the event. - - The - instance containing the event data. - - - - Gets the next row. - - The index. - The array of the strings. - - - - Gets the column captions. - - Column captions - - - - Creates a data source consumer. - - The data source. - The proper data source consumer - - - - Initializes the PdfLightTable data source. - - - - - Creates the columns. - - The filled column collection. - - - - Creates the row. - - The filled row collection. - - - - Called when geting next row. - - Index of the row. - The row data passed by the user. - - - - Called when getting column number. - - The number provided by the user. - - - - Called when getting row number. - - The number provided by the user. - - - - Gets the collection of columns contained in the table.Read-Only. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Creating Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Get the row collection - PdfRowCollection rows = table.Rows; - // Adding Rows - rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //save the document - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - 'Create a PDF document - Dim document As PdfDocument = New PdfDocument() - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - 'Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - 'Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - 'Creating Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - 'Adding Rows - table.Rows.Add(New Object() {"111", "Maxim", "III"}) - 'Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("output.pdf") - 'Close the document. - document.Close(True) - - - Class - Class - Class - - - - Gets the collection of rows contained in the table.Read-Only. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Creating Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Get the row collection - PdfRowCollection rows = table.Rows; - // Adding Rows - rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //save the document - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - ' Create a PDF document - Dim document As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = document.Pages.Add() - Dim table As PdfLightTable = New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Creating Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Get the row collection - Dim rows As PdfRowCollection = table.Rows - ' Adding Rows - rows.Add(New Object() {"111", "Maxim", "III"}) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document. - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the data source to bind into PdfLightTable. - - - - //Create a new document. - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //set the data source - table.DataSource = dataTable; - //Draw the table - table.Draw(page.Graphics); - //save the document - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //set the data source - table.DataSource = dataTable; - //Draw the table - table.Draw(page.Graphics); - //save the document - document.Save("Output.pdf"); - //Close the document. - document.Close(true); - - - Class - Class - Class - - - - Gets or sets the data member which binds the specific data source when there is more than one data source. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the data member - table.DataMember = "ID1"; - table.Style.CellPadding = 16; - //Draw the table - table.Draw(page.Graphics); - //Save the document - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - 'Create a new document - Dim document As PdfDocument = New PdfDocument() - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - table.DataSource = dataTable - 'Set the data member - table.DataMember = "ID1" - table.Style.CellPadding = 16 - 'Draw the table - table.Draw(page.Graphics) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the data source type of the PdfLightTable. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Set the data source type - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - //Set the data table - table.DataSource = dataTable; - Draw the table - table.Draw(page.Graphics); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new document - Dim document As PdfDocument = New PdfDocument() - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - 'Set the data source type - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - 'Set the data source - table.DataSource = dataTable - ' Draw the table - table.Draw(page.Graphics) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the style properties in PdfLightTable. - - - - //Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Create the font - PdfFont font = new PdfStandardFont(PdfFontFamily.TimesRoman, 12); - // Alternative cell style - PdfCellStyle altStyle = new PdfCellStyle(font, PdfBrushes.White, PdfPens.Green); - altStyle.BackgroundBrush = PdfBrushes.DarkGray; - // Table header cell style - PdfCellStyle headerStyle = new PdfCellStyle(font, PdfBrushes.White, PdfPens.Brown); - headerStyle.BackgroundBrush = PdfBrushes.Red; - //Set the table style - table.Style.AlternateStyle = altStyle; - table.Style.HeaderStyle = headerStyle; - //set the data source - table.DataSource = dataTable; - // Draw the table - table.Draw(page.Graphics); - //save the document - document.Save("output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new document - Dim document As PdfDocument = New PdfDocument() - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create the page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - 'Create the font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.TimesRoman, 12) - 'Alternative cell style - Dim altStyle As PdfCellStyle = New PdfCellStyle(font, PdfBrushes.White, PdfPens.Green) - altStyle.BackgroundBrush = PdfBrushes.DarkGray - 'Table header cell style - Dim headerStyle As PdfCellStyle = New PdfCellStyle(font, PdfBrushes.White, PdfPens.Brown) - headerStyle.BackgroundBrush = PdfBrushes.Red - 'Set the table style - table.Style.AlternateStyle = altStyle - table.Style.HeaderStyle = headerStyle - 'set the data source - table.DataSource = dataTable - 'Draw the table - table.Draw(page.Graphics) - 'save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether PdfLightTable should ignore sorting in data table. - - This property is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //create the page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Disabling sorting - table.IgnoreSorting = true; - //Set the data source - table.DataSource = dataTable; - //Draw the table - table.Draw(page.Graphics); - //save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new document - Dim document As PdfDocument = New PdfDocument() - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create the page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - ' Disabling sorting - table.IgnoreSorting = True - 'Set the data table - table.DataSource = dataTable - 'Draw the table in page - table.Draw(page.Graphics) - 'save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets a value indicating whether to raise start row layout event. - - - - - Gets a value indicating whether to raise end row layout event. - - - - - Gets a value indicating whether the start cell layout event should be raised. - - - - - Gets a value indicating whether the end cell layout event should be raised. - - - - - Gets a value indicating the row break is to be made or not. - - - - - The event raised on starting row lay outing. - - - - - The event raised on having finished row lay outing. - - - - - The event raised on starting cell lay outing. - - - - - The event raised on having finished cell layout. - - - - - The event raised when the next row data is requested. - - - - - The event raised when the column number is requested. - - - - - The event raised when the row number is requested. - - - - - Represents the styles of PdfLightTable. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - //Create Pdf pen for drawing border - PdfPen borderPen = new PdfPen(PdfBrushes.DarkBlue); - borderPen.Width = 0; - //Create brush - PdfColor color = new PdfColor(192, 201, 219); - PdfSolidBrush brush = new PdfSolidBrush(color); - //Create alternative cell styles - PdfCellStyle altStyle = new PdfCellStyle(); - altStyle.Font = font; - altStyle.BackgroundBrush = brush; - altStyle.BorderPen = borderPen; - // Create default cell style - PdfCellStyle defStyle = new PdfCellStyle(); - defStyle.Font = font; - defStyle.BackgroundBrush = PdfBrushes.White; - defStyle.BorderPen = borderPen; - // Create header cell style - PdfCellStyle headerStyle = new PdfCellStyle(font, PdfBrushes.White, PdfPens.DarkBlue); - brush = new PdfSolidBrush(new PdfColor(33, 67, 126)); - headerStyle.BackgroundBrush = brush; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Set the data source - table.DataSource = dataTable; - // Set the cell styles - table.Style.AlternateStyle = altStyle; - table.Style.DefaultStyle = defStyle; - table.Style.HeaderStyle = headerStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - 'Create Pdf pen for drawing border - Dim borderPen As PdfPen = New PdfPen(PdfBrushes.DarkBlue) - borderPen.Width = 0 - 'Create brush - Dim color As PdfColor = New PdfColor(192, 201, 219) - Dim brush As PdfSolidBrush = New PdfSolidBrush(color) - 'Create alternative cell styles - Dim altStyle As PdfCellStyle = New PdfCellStyle() - altStyle.Font = font - altStyle.BackgroundBrush = brush - altStyle.BorderPen = borderPen - ' Create default cell style - Dim defStyle As PdfCellStyle = New PdfCellStyle() - defStyle.Font = font - defStyle.BackgroundBrush = PdfBrushes.White - defStyle.BorderPen = borderPen - ' Create header cell style - Dim headerStyle As PdfCellStyle = New PdfCellStyle(font, PdfBrushes.White, PdfPens.DarkBlue) - brush = New PdfSolidBrush(New PdfColor(33, 67, 126)) - headerStyle.BackgroundBrush = brush - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - 'Set the cell styles - table.Style.AlternateStyle = altStyle - table.Style.DefaultStyle = defStyle - table.Style.HeaderStyle = headerStyle - 'Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Initializes a new instance of the class. - - - - - Gets or sets the default cell style. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - //Create PdfPen for drawing border - PdfPen borderPen = new PdfPen(PdfBrushes.DarkBlue); - borderPen.Width = 0; - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.Font = font; - defaultStyle.BackgroundBrush = PdfBrushes.White; - defaultStyle.BorderPen = borderPen; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - // Set the default cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - 'Create PdfPen for drawing border - Dim borderPen As New PdfPen(PdfBrushes.DarkBlue) - borderPen.Width = 0 - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.Font = font - defaultStyle.BackgroundBrush = PdfBrushes.White - defaultStyle.BorderPen = borderPen - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - 'Create PdfLightTable - Dim table As New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - ' Set the default cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the alternate style which is the style of the odd rows. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - //Create PdfPen for drawing border - PdfPen borderPen = new PdfPen(PdfBrushes.DarkBlue); - borderPen.Width = 0; - //Create brush - PdfColor color = new PdfColor(192, 201, 219); - PdfSolidBrush brush = new PdfSolidBrush(color); - //Create alternative cell style - PdfCellStyle alternateStyle = new PdfCellStyle(); - alternateStyle.Font = font; - alternateStyle.BackgroundBrush = brush; - alternateStyle.BorderPen = borderPen; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Set the data source - table.DataSource = dataTable; - // Set the cell styles - table.Style.AlternateStyle = alternateStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - 'Create PdfPen for drawing border - Dim borderPen As New PdfPen(PdfBrushes.DarkBlue) - borderPen.Width = 0 - 'Create brush - Dim color As New PdfColor(192, 201, 219) - Dim brush As New PdfSolidBrush(color) - 'Create alternative cell style - Dim alternateStyle As New PdfCellStyle() - alternateStyle.Font = font - alternateStyle.BackgroundBrush = brush - alternateStyle.BorderPen = borderPen - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim table As New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - ' Set the cell styles - table.Style.AlternateStyle = alternateStyle - ' Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether to use rows or column captions for forming header. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //Set the header source - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - 'Set the header source - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the header rows count. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - table.Style.ShowHeader = true; - table.Style.HeaderRowCount = 2; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - table.Style.ShowHeader = True - table.Style.HeaderRowCount = 2 - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the header cell style. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - // Create header cell style - PdfCellStyle headerStyle = new PdfCellStyle(); - headerStyle.Font = font; - headerStyle.BackgroundBrush = PdfBrushes.White; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Set the data source - table.DataSource = dataTable; - // Set the cell styles - table.Style.HeaderStyle = headerStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - ' Create header cell style - Dim headerStyle As New PdfCellStyle() - headerStyle.Font = font - headerStyle.BackgroundBrush = PdfBrushes.White - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim table As New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - ' Set the cell styles - table.Style.HeaderStyle = headerStyle - ' Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets a value indicating whether to repeat header on each page. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - table.Style.RepeatHeader = true; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - table.Style.RepeatHeader = True - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether the header is visible. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //Set the properties - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - table.Style.ShowHeader = true; - table.Style.HeaderRowCount = 2; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - 'Set the properties - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - table.Style.ShowHeader = True - table.Style.HeaderRowCount = 2 - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the space between cells. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - //Set the cell spacing - table.Style.CellSpacing = 10; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - 'Set the cell spacing - table.Style.CellSpacing = 10 - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the space inside the cells. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - // Set the cell padding - table.Style.CellPadding = 8; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draws the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - ' Set the cell padding - table.Style.CellPadding = 8 - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draws the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets a value indicating whether the cell borders should overlap its neighbor's borders - or be drawn in the cell interior. - - Please, use this property with caution,because it might cause unexpected results - if borders are not the same width and color. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //set the border overlap style - table.Style.BorderOverlapStyle = PdfBorderOverlapStyle.Inside; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draws the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' set the border overlap style - table.Style.BorderOverlapStyle = PdfBorderOverlapStyle.Inside - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draws the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the color of the table border. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - PdfPage page = document.Pages.Add(); - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //Add the border pen - table.Style.BorderPen = PdfPens.BlueViolet; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - Dim page As PdfPage = document.Pages.Add() - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - 'Add the border pen - table.Style.BorderPen = PdfPens.BlueViolet - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Represents the information about the cell style. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - //Create PdfPen for drawing border - PdfPen borderPen = new PdfPen(PdfBrushes.DarkBlue); - borderPen.Width = 0; - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.Font = font; - defaultStyle.BackgroundBrush = PdfBrushes.White; - defaultStyle.BorderPen = borderPen; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - // Set the default cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - 'Create PdfPen for drawing border - Dim borderPen As New PdfPen(PdfBrushes.DarkBlue) - borderPen.Width = 0 - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.Font = font - defaultStyle.BackgroundBrush = PdfBrushes.White - defaultStyle.BorderPen = borderPen - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - 'Create PdfLightTable - Dim table As New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - ' Set the default cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with specified font,brush and pen. - - The font of the cell text. - the color which fills the cell text. - The color of the cell border. - - - - Gets or sets the font of the text. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - //Create PdfPen for drawing border - PdfPen borderPen = new PdfPen(PdfBrushes.DarkBlue); - borderPen.Width = 0; - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.Font = font; - defaultStyle.BackgroundBrush = PdfBrushes.White; - defaultStyle.BorderPen = borderPen; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - // Set the default cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page.Graphics, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - 'Create PdfPen for drawing border - Dim borderPen As New PdfPen(PdfBrushes.DarkBlue) - borderPen.Width = 0 - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.Font = font - defaultStyle.BackgroundBrush = PdfBrushes.White - defaultStyle.BorderPen = borderPen - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - 'Create PdfLightTable - Dim table As New PdfLightTable() - 'Set the data source - table.DataSource = dataTable - ' Set the default cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page.Graphics, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the string format of the cell text. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.Font = font; - defaultStyle.BackgroundBrush = PdfBrushes.White; - defaultStyle.BorderPen = PdfPens.Blue; - //set the string format - defaultStyle.StringFormat = new PdfStringFormat(PdfTextAlignment.Justify); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - // Create a new table - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.Font = font - defaultStyle.BackgroundBrush = PdfBrushes.White - defaultStyle.BorderPen = PdfPens.Blue - 'set the string format - defaultStyle.StringFormat = New PdfStringFormat(PdfTextAlignment.Justify) - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - ' Create a new table - Dim table As New PdfLightTable() - table.DataSource = dataTable - 'Set the cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the color which draws the text outlines. - - It should be null for default text representation. - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.TextPen = PdfPens.BlueViolet; - defaultStyle.BorderPen = PdfPens.Black; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - // Create a new table - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.TextPen = PdfPens.BlueViolet - defaultStyle.BorderPen = PdfPens.Black - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - ' Create a new table - Dim table As New PdfLightTable() - table.DataSource = dataTable - 'Set the cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the color which fills the cell text. - - This brush will be used to fill glyphs interior, which is the default. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.TextPen = PdfPens.BlueViolet; - defaultStyle.BorderPen = PdfPens.Black; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - // Create a new table - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - 'set the text brush - defaultStyle.TextBrush = PdfBrushes.BlueViolet - 'set the border pen - defaultStyle.BorderPen = PdfPens.Black - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - ' Create a new table - Dim table As New PdfLightTable() - table.DataSource = dataTable - 'Set the cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the color which draws the border of the cell. - - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.TextPen = PdfPens.BlueViolet; - defaultStyle.BorderPen = PdfPens.Black; - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - // Create a new table - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - 'set the text brush - defaultStyle.TextBrush = PdfBrushes.BlueViolet - 'set the border pen - defaultStyle.BorderPen = PdfPens.Black - 'Create DataTable for source - Dim dataTable As New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - ' Create a new table - Dim table As New PdfLightTable() - table.DataSource = dataTable - 'Set the cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the color which fills the background of the cell. - - It's null by default. - - - //Create PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Set font - PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 8); - // Create default cell style - PdfCellStyle defaultStyle = new PdfCellStyle(); - defaultStyle.Font = font; - defaultStyle.BackgroundBrush = PdfBrushes.Red; - defaultStyle.BorderPen = PdfPens.Blue; - //set the string format - defaultStyle.StringFormat = new PdfStringFormat(PdfTextAlignment.Justify); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - // Create a new table - PdfLightTable table = new PdfLightTable(); - table.DataSource = dataTable; - //Set the cell style - table.Style.DefaultStyle = defaultStyle; - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - 'Create PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Set font - Dim font As PdfFont = New PdfStandardFont(PdfFontFamily.Helvetica, 8) - ' Create default cell style - Dim defaultStyle As New PdfCellStyle() - defaultStyle.Font = font - defaultStyle.BackgroundBrush = PdfBrushes.Red - defaultStyle.BorderPen = PdfPens.Blue - 'set the string format - defaultStyle.StringFormat = New PdfStringFormat(PdfTextAlignment.Justify) - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Table Features Demo", "" } - dataTable.Rows.Add(values) - ' Create a new table - Dim table As New PdfLightTable() - table.DataSource = dataTable - 'Set the cell style - table.Style.DefaultStyle = defaultStyle - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - - - - Gets or sets the border of the PdfLightTable - - - - - Represents the collection of the columns. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Add Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Add Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Add Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Add Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - - - - Initializes a new instance of the class. - - - - - Add the specified in specified - - The . - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Add Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Add Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Add Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Add Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - - - - Gets the widths of the columns. - - The total width. - An array containing widths. - - - - Gets the widths of the columns. - - The total width. - The start column. - The end column. - An array containing widths. - - - - Gets the at the specified index.Read-Only. - - - - - Represents a single column of the table. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Add Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Add Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Add Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Add Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with specified width. - - The width. - - - - Initializes a new instance of the class with specified column name. - - The name of the column. - - - - Gets or sets the string format of the column text - - The format of the cell text. - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Creating Columns - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Create a new column - PdfColumn rollNumber = new PdfColumn("Roll Number"); - //Set the string format - rollNumber.StringFormat = new PdfStringFormat(PdfTextAlignment.Right); - //Add the column - tableColumns.Add(rollNumber); - // Adding Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Creating Columns - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Create a new column - Dim rollNumber As New PdfColumn("Roll Number") - 'Set the string format - rollNumber.StringFormat = New PdfStringFormat(PdfTextAlignment.Right) - 'Add the column - tableColumns.Add(rollNumber) - ' Adding Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or sets the width of the column. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Creating Columns - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Create a new column - PdfColumn rollNumber = new PdfColumn("Roll Number"); - //Set the string format - rollNumber.StringFormat = new PdfStringFormat(PdfTextAlignment.Left); - //set the width - rollNumber.Width = 20; - //Add the column - tableColumns.Add(rollNumber); - // Adding Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Creating Columns - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Create a new column - Dim rollNumber As New PdfColumn("Roll Number") - 'Set the string format - rollNumber.StringFormat = New PdfStringFormat(PdfTextAlignment.Left) - 'set the width - rollNumber.Width = 20 - 'Add the column - tableColumns.Add(rollNumber) - ' Adding Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets or sets name of the column. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Creating Columns - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Create a new column - PdfColumn rollNumber = new PdfColumn(); - //Set the string format - rollNumber.StringFormat = new PdfStringFormat(PdfTextAlignment.Left); - //set the column name - rollNumber.ColumnName = "Roll Number"; - //Add the column - tableColumns.Add(rollNumber); - // Adding Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Creating Columns - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Create a new column - Dim rollNumber As New PdfColumn() - 'Set the string format - rollNumber.StringFormat = New PdfStringFormat(PdfTextAlignment.Left) - 'set the column name - rollNumber.ColumnName = "Roll Number" - 'Add the column - tableColumns.Add(rollNumber) - ' Adding Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Represents a single row of the table. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Add Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Add Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Add Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Add Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Initializes a new instance of the class. - - The width. - - - - Gets or sets the values which adds to the row. - - - - // Create a PDF document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Get the columns collection - PdfColumnCollection tableColumns = table.Columns; - // Add Columns - tableColumns.Add(new PdfColumn("Roll Number")); - tableColumns.Add(new PdfColumn("Name")); - tableColumns.Add(new PdfColumn("Class")); - // Add Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a PDF document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Get the columns collection - Dim tableColumns As PdfColumnCollection = table.Columns - ' Add Columns - tableColumns.Add(New PdfColumn("Roll Number")) - tableColumns.Add(New PdfColumn("Name")) - tableColumns.Add(New PdfColumn("Class")) - ' Add Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Represents the collection of the rows in a PdfLightTable. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // get the row collection - PdfRowCollection rowCollection = table.Rows; - //Add the rows - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' get the row collection - Dim rowCollection As PdfRowCollection = table.Rows - 'Add the rows - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - - - - Initializes a new instance of the class. - - - - - Adds the specified row into collection. - - The to be added into list. - - - - Gets or sets the values which adds the row into . - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // get the row collection - PdfRowCollection rowCollection = table.Rows; - //Add the rows - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' get the row collection - Dim rowCollection As PdfRowCollection = table.Rows - 'Add the rows - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - Gets the at the specified index. - - - - - Represents as a message deliverer from PdfLightTable class to the user. - - Class - - - - Initializes a new instance of the class with specified message. - - The message to be thrown. - - - - Gets or sets a value indicating whether to apply style bands to the columns in a table, - - - - - Gets or sets a value indicating whether to apply style bands to the rows in a table - - - - - Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table - - - - - Gets or sets a value indicating whether to apply heading-row formatting to the first row of the table. - - - - - Gets or sets a value indicating whether to apply first-column formatting to the first column of the specified table. - - - - - Gets or sets a value indicating whether to apply last-row formatting to the last row of the specified table. - - - - - Represents the parameters for PdfLightTable layout. - - - - // Creates a new document - PdfDocument document = new PdfDocument(); - //Creates a new page and adds it as the last page of the document - PdfPage page = document.Pages.Add(); - // Creates a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Creates the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - format.StartColumnIndex = 1; - format.EndColumnIndex = 2; - // Draws the table with the layout format - table.Draw(page, new PointF(0, 0), format); - document.Save("Tables.pdf"); - - - ' Creates a new document - Dim document As PdfDocument = New PdfDocument() - ' Create a page - Dim page As PdfPage = document.Pages.Add() - ' Creates a new table - Dim table As PdfLightTable = New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Creates the layout format - Dim format As PdfLightTableLayoutFormat = New PdfLightTableLayoutFormat() - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - format.StartColumnIndex = 1 - format.EndColumnIndex = 2 - ' Draws the table with the layout format - table.Draw(page, New PointF(0, 0), format) - document.Save("Tables.pdf") - - - Class - Class - Class - - - - Initializes a new instance of the class. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Create the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - //set the column index - format.StartColumnIndex = 1; - format.EndColumnIndex = 2; - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - // Draw the table - PdfLightTableLayoutResult result = table.Draw(page, new PointF(0, 0), format); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Create the layout format - Dim format As New PdfLightTableLayoutFormat() - 'set the column index - format.EndColumnIndex = 2 - format.StartColumnIndex = 1 - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - ' Draw the table - Dim result As PdfLightTableLayoutResult = table.Draw(page, New PointF(0, 0), format - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - Class - Class - Class - - - - Initializes a new instance of the class with specified layout format. - - The layout format. - - - - Gets or sets the start column index. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Create the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - //set the column index - format.StartColumnIndex = 1; - format.EndColumnIndex = 2; - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - // Draw the table - PdfLightTableLayoutResult result = table.Draw(page, new PointF(0, 0), format); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Create the layout format - Dim format As New PdfLightTableLayoutFormat() - 'set the column index - format.EndColumnIndex = 2 - format.StartColumnIndex = 1 - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - ' Draw the table - Dim result As PdfLightTableLayoutResult = table.Draw(page, New PointF(0, 0), format - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Gets or sets the end column index. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - // Create a new table - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Creating Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - // Adding rows - PdfRowCollection rowCollection = table.Rows; - // Gets the first row from the collection. - rowCollection.Add(new object[] { "111", "Maxim", "III" }); - // Create the layout format - PdfLightTableLayoutFormat format = new PdfLightTableLayoutFormat(); - //set the column index - format.StartColumnIndex = 1; - format.EndColumnIndex = 2; - format.Layout = PdfLayoutType.Paginate; - format.Break = PdfLayoutBreakType.FitElement; - // Draw the table - PdfLightTableLayoutResult result = table.Draw(page, new PointF(0, 0), format); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - ' Create a new table - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Creating Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' Adding rows - Dim rowCollection As PdfRowCollection = table.Rows - ' Gets the first row from the collection. - rowCollection.Add(New Object() { "111", "Maxim", "III" }) - ' Create the layout format - Dim format As New PdfLightTableLayoutFormat() - 'set the column index - format.EndColumnIndex = 2 - format.StartColumnIndex = 1 - format.Layout = PdfLayoutType.Paginate - format.Break = PdfLayoutBreakType.FitElement - ' Draw the table - Dim result As PdfLightTableLayoutResult = table.Draw(page, New PointF(0, 0), format - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - Class - Class - Class - - - - Represents the method that handles StartRowLayout event of PdfLightTable. - - The sender of the event. - The arguments of the event. - This event is raised when starting a row layout. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the begin row event - pdfLightTable.BeginRowLayout += new BeginRowLayoutEventHandler(table_BeginRowLayout); - //Set the data source - pdfLightTable.DataSource = dataTable; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_BeginRowLayout(object sender, BeginRowLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - PdfLightTable table = (PdfLightTable)sender; - int count = table.Columns.Count; - int[] spanMap = new int[count]; - // Set just spanned cells. Other values are not important except negatives that are not allowed. - spanMap[0] = 2; - spanMap[1] = 3; - args.ColumnSpanMap = spanMap; - //Set row height. - args.MinimalHeight = 30f; - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the begin row event - AddHandler pdfLightTable.BeginRowLayout, AddressOf table_BeginRowLayout - 'Set the data source - pdfLightTable.DataSource = dataTable - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_BeginRowLayout(ByVal sender As Object, ByVal args As BeginRowLayoutEventArgs) - If args.RowIndex = 1 Then - Dim table As PdfLightTable = CType(sender, PdfLightTable) - Dim count As Integer = table.Columns.Count - Dim spanMap(count - 1) As Integer - ' Set just spanned cells. Other values are not important except negatives that are not allowed. - spanMap(0) = 2 - spanMap(1) = 3 - args.ColumnSpanMap = spanMap - 'Set row height. - args.MinimalHeight = 30f - End If - End Sub - - - Class - Class - - - - Represents the method that will handle EndRowLayout event of PdfLightTable. - - The sender of the event. - The arguments of the event. - This event is raised when finishing a row in a layout. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - //Set the data source - pdfLightTable.DataSource = dataTable; - // Subscribe the end row event - pdfLightTable.EndRowLayout += new EndRowLayoutEventHandler(table_EndRowLayout); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_EndRowLayout(object sender, EndRowLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - // Cancel property used to cancel the table rendering operation - args.Cancel = true; - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - 'Set the data source - pdfLightTable.DataSource = dataTable - ' Subscribe the end row event - AddHandler pdfLightTable.EndRowLayout, AddressOf table_EndRowLayout - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_EndRowLayout(ByVal sender As Object, ByVal args As EndRowLayoutEventArgs) - If args.RowIndex = 1 Then - ' Cancel property used to cancel the table rendering operation - args.Cancel = True - End If - End Sub - - - Class - Class - - - - Represents the method that handles StartCellLayout event of PdfLightTable. - - The sender of the event. - The arguments of the event. - This event is raised when starts laying out a cell on a page. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the cell layout event - pdfLightTable.BeginCellLayout += new BeginCellLayoutEventHandler(table_BeginCellLayout); - pdfLightTable.DataSource = dataTable; - pdfLightTable.Style.CellPadding = 16; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - // Cell layout event handler - void table_BeginCellLayout(object sender, BeginCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the cell layout event - AddHandler pdfLightTable.BeginCellLayout, AddressOf table_BeginCellLayout - pdfLightTable.DataSource = dataTable - pdfLightTable.Style.CellPadding = 16 - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - ' Cell layout event handler - Private Sub table_BeginCellLayout(ByVal sender As Object, ByVal args As BeginCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Represents the method that will handle EndCellLayout event of PdfLightTable. - - The sender of the event. - The arguments of the event. - This event is raised when finished laying out a cell on a page. - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the cell layout event - pdfLightTable.EndCellLayout += new EndCellLayoutEventHandler(table_EndCellLayout); - pdfLightTable.DataSource = dataTable; - pdfLightTable.Style.CellPadding = 16; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - // Cell layout event handler - void table_EndCellLayout(object sender, EndCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the cell layout event - AddHandler pdfLightTable.EndCellLayout, AddressOf table_EndCellLayout - pdfLightTable.DataSource = dataTable - pdfLightTable.Style.CellPadding = 16 - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - ' Cell layout event handler - Private Sub table_EndCellLayout(ByVal sender As Object, ByVal args As EndCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Represents the method for handling NextRowEvent of PdfLightTable - - The sender of the event. - The arguments of the event. - - - public string[][] datastring = new string[2][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex ) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - ' Create a new document' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndex Then - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - - Class - Class - - - - Represents the method for handling ColumnNumberEvent. - - The sender of the event. - The arguments of the event. - - - public string[][] datastring = new string[2][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndex Then - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - - Class - Class - - - - Represents the method for handling RowNumberEvent - - The sender of the event. - The arguments of the event. - - - public string[][] datastring = new string[3][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - datastring[2] = new string[] { "333", "Criss", "99" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryRowCount += new QueryRowCountEventHandler(table_QueryRowCount); - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex ) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - void table_QueryRowCount(object sender, QueryRowCountEventArgs args) - { - args.RowCount = 2; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - datastring(2) = New String() { "333", "Criss", "99" } - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryRowCount, AddressOf table_QueryRowCount - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndex Then - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - Private Sub table_QueryRowCount(ByVal sender As Object, ByVal args As QueryRowCountEventArgs) - args.RowCount = 2 - End Sub - - - Class - Class - - - - Represents the arguments of StartRowLayout Event. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the begin row event - pdfLightTable.BeginRowLayout += new BeginRowLayoutEventHandler(table_BeginRowLayout); - //Set the data source - pdfLightTable.DataSource = dataTable; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_BeginRowLayout(object sender, BeginRowLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - PdfLightTable table = (PdfLightTable)sender; - int count = table.Columns.Count; - int[] spanMap = new int[count]; - // Set just spanned cells. Other values are not important except negatives that are not allowed. - spanMap[0] = 2; - spanMap[1] = 3; - args.ColumnSpanMap = spanMap; - //Set row height. - args.MinimalHeight = 30f; - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the begin row event - AddHandler pdfLightTable.BeginRowLayout, AddressOf table_BeginRowLayout - 'Set the data source - pdfLightTable.DataSource = dataTable - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_BeginRowLayout(ByVal sender As Object, ByVal args As BeginRowLayoutEventArgs) - If args.RowIndex = 1 Then - Dim table As PdfLightTable = CType(sender, PdfLightTable) - Dim count As Integer = table.Columns.Count - Dim spanMap(count - 1) As Integer - ' Set just spanned cells. Other values are not important except negatives that are not allowed. - spanMap(0) = 2 - spanMap(1) = 3 - args.ColumnSpanMap = spanMap - 'Set row height. - args.MinimalHeight = 30f - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - Index of the row. - The cell style. - - - - Gets the index of the row. Read-Only. - - - - - Gets or sets the cell style. - - - - - Gets or sets the span map. - - - - - Gets or sets a value indicating whether table drawing should stop. - - - - - Gets or sets a value indicating whether this row should be ignored. - - - - - Gets or sets a value indicating whether column string format should be ignored. - - - - - Sets the minimal height of the row. - - - - - Represents the arguments of EndRowLayoutEvent. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - //Set the data source - pdfLightTable.DataSource = dataTable; - // Subscribe the end row event - pdfLightTable.EndRowLayout += new EndRowLayoutEventHandler(table_EndRowLayout); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_EndRowLayout(object sender, EndRowLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - // Cancel property used to cancel the table rendering operation - args.Cancel = true; - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - 'Set the data source - pdfLightTable.DataSource = dataTable - ' Subscribe the end row event - AddHandler pdfLightTable.EndRowLayout, AddressOf table_EndRowLayout - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_EndRowLayout(ByVal sender As Object, ByVal args As EndRowLayoutEventArgs) - If args.RowIndex = 1 Then - ' Cancel property used to cancel the table rendering operation - args.Cancel = True - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - Index of the row. - if set to true the row was drawn completely. - The row bounds. - - - - Gets the index of the row. Read-Only. - - - - - Gets a value indicating whether the row was drawn completely - (nothing should be printed on the next page). Read-Only. - - - - - Gets or sets a value indicating whether this row should be the last one printed. - - - - - Gets or sets the row bounds. Read-Only. - - - - - The base class for cell layout arguments. - - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The cell inder. - The bounds of the cell. - The value. - - - - Gets the index of the row. Read-Only. - - - - - Gets the index of the cell. Read-Only. - - - - - Gets the value of the cell. Read-Only. - - The value might be null or an empty string, - which means that either no text were acquired or all - text was on the previous page. - - - - Gets the bounds of the cell. Read-Only. - - - - - Gets the graphics, on which the cell should be drawn. Read-Only. - - - - - Represents arguments of StartCellLayout Event. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the cell layout event - pdfLightTable.BeginCellLayout += new BeginCellLayoutEventHandler(table_BeginCellLayout); - pdfLightTable.DataSource = dataTable; - pdfLightTable.Style.CellPadding = 16; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - // Cell layout event handler - void table_BeginCellLayout(object sender, BeginCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the cell layout event - AddHandler pdfLightTable.BeginCellLayout, AddressOf table_BeginCellLayout - pdfLightTable.DataSource = dataTable - pdfLightTable.Style.CellPadding = 16 - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - ' Cell layout event handler - Private Sub table_BeginCellLayout(ByVal sender As Object, ByVal args As BeginCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The cell index. - The bounds of the cell. - The value. - - - - Gets or sets a value indicating whether the value of this cell should be skipped. - - - - - Represents arguments of EndCellLayout Event. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create DataTable for source - DataTable dataTable = new DataTable("myTable"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Roll Number", "Student Name" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Cris" }; - dataTable.Rows.Add(values); - values = new object[] { "011", "Clay" }; - dataTable.Rows.Add(values); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Subscribe the cell layout event - pdfLightTable.EndCellLayout += new EndCellLayoutEventHandler(table_EndCellLayout); - pdfLightTable.DataSource = dataTable; - pdfLightTable.Style.CellPadding = 16; - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - // Cell layout event handler - void table_EndCellLayout(object sender, EndCellLayoutEventArgs args) - { - if (args.RowIndex == 1) - { - args.Graphics.DrawRectangle(new PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds); - } - } - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create DataTable for source - Dim dataTable As New DataTable("myTable") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = { "Roll Number", "Student Name" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Cris" } - dataTable.Rows.Add(values) - values = New Object() { "011", "Clay" } - dataTable.Rows.Add(values) - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Subscribe the cell layout event - AddHandler pdfLightTable.EndCellLayout, AddressOf table_EndCellLayout - pdfLightTable.DataSource = dataTable - pdfLightTable.Style.CellPadding = 16 - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - ' Cell layout event handler - Private Sub table_EndCellLayout(ByVal sender As Object, ByVal args As EndCellLayoutEventArgs) - If args.RowIndex = 1 Then - args.Graphics.DrawRectangle(New PdfPen(PdfBrushes.Red, 2), PdfBrushes.White, args.Bounds) - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - The graphics, on which the cell should be drawn. - Index of the row. - The index of the cell. - The bounds of the cell. - The value. - - - - Represents arguments of the NextRowEvent. - - - - public string[][] datastring = new string[2][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - ' Create a new document' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndex Then - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - The column count. - Index of the row. - - - - Gets or sets the row data. - - - - - Gets the column count. Read-Only. - - - - - Gets the index of the row. Read-Only. - - - - - Represents the arguments of the ColumnNumberEvent. - - - - public string[][] datastring = new string[2][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - ' Create a new document' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndexThen - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - - - - Gets or sets the column number. - - - - - Represents the arguments of the RowNumberEvent. - - - - public string[][] datastring = new string[3][]; - // Specify values for the table - datastring[0] = new string[] { "111", "Maxim", "100" }; - datastring[1] = new string[] { "222", "Calvin", "95" }; - datastring[2] = new string[] { "333", "Criss", "99" }; - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a Page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable pdfLightTable = new PdfLightTable(); - // Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External; - //Subscribing Events - pdfLightTable.QueryRowCount += new QueryRowCountEventHandler(table_QueryRowCount); - pdfLightTable.QueryColumnCount += new QueryColumnCountEventHandler(table_QueryColumnCount); - pdfLightTable.QueryNextRow += new QueryNextRowEventHandler(table_QueryNextRow); - //Draw PdfLightTable. - pdfLightTable.Draw(page, new PointF(0, 0)); - //Save the document. - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - void table_QueryColumnCount(object sender, QueryColumnCountEventArgs args) - { - args.ColumnCount = 3; - } - - void table_QueryNextRow(object sender, QueryNextRowEventArgs args) - { - if (datastring.Length > args.RowIndex) - args.RowData = new string[] { datastring[args.RowIndex][0], datastring[args.RowIndex][1], datastring[args.RowIndex][2] }; - } - - void table_QueryRowCount(object sender, QueryRowCountEventArgs args) - { - args.RowCount = 2; - } - - - Public datastring(2)() As String - ' Specify values for the table - datastring(0) = New String() { "111", "Maxim", "100" } - datastring(1) = New String() { "222", "Calvin", "95" } - datastring(2) = New String() { "333", "Criss", "99" } - ' Create a new document - Dim document As New PdfDocument() - 'Create a Page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim pdfLightTable As New PdfLightTable() - ' Setting the DataSourceType as Direct - pdfLightTable.DataSourceType = PdfLightTableDataSourceType.External - 'Subscribing Events - AddHandler pdfLightTable.QueryRowCount, AddressOf table_QueryRowCount - AddHandler pdfLightTable.QueryColumnCount, AddressOf table_QueryColumnCount - AddHandler pdfLightTable.QueryNextRow, AddressOf table_QueryNextRow - 'Draw PdfLightTable. - pdfLightTable.Draw(page, New PointF(0, 0)) - 'Save the document. - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - Private Sub table_QueryColumnCount(ByVal sender As Object, ByVal args As QueryColumnCountEventArgs) - args.ColumnCount = 3 - End Sub - - Private Sub table_QueryNextRow(ByVal sender As Object, ByVal args As QueryNextRowEventArgs) - If datastring.Length > args.RowIndex Then - args.RowData = New String() { datastring(args.RowIndex)(0), datastring(args.RowIndex)(1), datastring(args.RowIndex)(2) } - End If - End Sub - - Private Sub table_QueryRowCount(ByVal sender As Object, ByVal args As QueryRowCountEventArgs) - args.RowCount = 2 - End Sub - - - Class - Class - - - - Initializes a new instance of the class. - - - - - Gets or sets the column number. - - - - - Specifies the values where the header should formed from. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Add a page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //Set the header source - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draw the table - table.Draw(page, new PointF(0, 0)); - //save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - ' Create a new document - Dim document As New PdfDocument() - 'Add a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - 'Set the header source - table.Style.HeaderSource = PdfHeaderSource.ColumnCaptions - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draw the table - table.Draw(page, New PointF(0, 0)) - 'save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - Class - Class - - - - The header is formed from column captions' values. - - - - - The header is formed from rows. - - - - - Specifies the data source type. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create DataTable for source - DataTable dataTable = new DataTable("Table"); - dataTable.Columns.Add("ID1"); - dataTable.Columns[0].Caption = "id"; - dataTable.Columns.Add("ID2"); - object[] values = new object[] { "Table Features Demo", "" }; - dataTable.Rows.Add(values); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create the PdfLightTable - PdfLightTable table = new PdfLightTable(); - //Set the data source type - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - //Set the data table - table.DataSource = dataTable; - Draw the table - table.Draw(page.Graphics); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - 'Create a new document - Dim document As PdfDocument = New PdfDocument() - 'Create DataTable for source - Dim dataTable As DataTable = New DataTable("Table") - dataTable.Columns.Add("ID1") - dataTable.Columns(0).Caption = "id" - dataTable.Columns.Add("ID2") - Dim values() As Object = New Object() {"Table Features Demo", ""} - dataTable.Rows.Add(values) - 'Create a page - Dim page As PdfPage = document.Pages.Add() - 'Create the PdfLightTable - Dim table As PdfLightTable = New PdfLightTable() - 'Set the data source type - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - 'Set the data source - table.DataSource = dataTable - ' Draw the table - table.Draw(page.Graphics) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - Class - Class - - - - Specifies that the PdfLightTable has been bind to an external data source. - - - - - Specifies that the values are directly bind to the PdfLightTable. - - - - - Specifies the values of the border overlap style. - - - - // Create a new document - PdfDocument document = new PdfDocument(); - //Create a new page - PdfPage page = document.Pages.Add(); - //Create PdfLightTable - PdfLightTable table = new PdfLightTable(); - // Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect; - // Create new Columns - table.Columns.Add(new PdfColumn("Roll Number")); - table.Columns.Add(new PdfColumn("Name")); - table.Columns.Add(new PdfColumn("Class")); - //set the border overlap style - table.Style.BorderOverlapStyle = PdfBorderOverlapStyle.Inside; - // Add new Rows - table.Rows.Add(new object[] { "111", "Maxim", "III" }); - // Draws the table - table.Draw(page, new PointF(0, 0)); - //Save the document - document.Save("Output.pdf"); - //Close the document - document.Close(true); - - - - ' Create a new document - Dim document As New PdfDocument() - 'Create a new page - Dim page As PdfPage = document.Pages.Add() - 'Create PdfLightTable - Dim table As New PdfLightTable() - ' Set the DataSourceType as Direct - table.DataSourceType = PdfLightTableDataSourceType.TableDirect - ' Create new Columns - table.Columns.Add(New PdfColumn("Roll Number")) - table.Columns.Add(New PdfColumn("Name")) - table.Columns.Add(New PdfColumn("Class")) - ' set the border overlap style - table.Style.BorderOverlapStyle = PdfBorderOverlapStyle.Inside - ' Add new Rows - table.Rows.Add(New Object() { "111", "Maxim", "III" }) - ' Draws the table - table.Draw(page, New PointF(0, 0)) - 'Save the document - document.Save("Output.pdf") - 'Close the document - document.Close(True) - - - - - - - Cell borders overlap (are drawn using the same coordinates). - - - - - Cell borders are drawn in the cell's interior. - - - - - Specifies PdfGrid built-in table styles. - - - - - Specified PdfLightTable built-in table styles - - - - - Represents DataSource for tables - - - - - Data table - - - - - Rows count - - - - - Columns count - - - - - Data column - - - - - An array - - - - - Use sorting data - - - - - Cached rows - - - - - Initializes a new instance of the PdfDataSource class - - - - - Initializes a new instance of the PdfDataSource class using DataTable - - Data table - - - - Initializes a new instance of the PdfDataSource class using DataSet - - Data set - Table name - - - - Initializes a new instance of the PdfDataSource class using DataView - - Data View - - - - Initializes a new instance of the PdfDataSource class using DataColumn - - Data column - - - - Initializes a new instance of the PdfDataSource class using array - - Source array - - - - Gets row of data for visible columns - - The index - An array of text values or null indicating reaching the end. - - - - Verify is the column read only - - The index - Is current column read only - - - - Gets Column Mapping type - - The index - Column mapping type - - - - Gets Column Data type - - The index - Column data type - - - - Get column default value - - The index - Column default value - - - - Gets whether column allow DBNull - - The index - Allow DBNull - - - - Gets array base type - - The array - Base type for array - - - - Gets columns names - - Columns names - - - - Gets columns captions. - - Columns captions - - - - Verify is the input array valid - - Array to check - Columns count - Is array valid - - - - Set data Table - - Data table - - - - Handles the RowDeleted event of the dataTable control. - - The source of the event. - The instance containing the event data. - - - - Handles the RowChanged event of the dataTable control. - - The source of the event. - The instance containing the event data. - - - - Handles the ColumnChanged event of the dataTable control. - - The source of the event. - The instance containing the event data. - - - - Refreshes the cache. - - - - - Gets visible columns count - - Returns visible columns count - - - - Convert input index to real index - - The index - Gets real table index - - - - Gets row from array - - The array - The index - Returns array of values - - - - Gets row from data column - - The column - The index - Returns array of values - - - - Gets row from table - - The Data Table - The index - Returns array of values - - - - Gets table form DataSet - - The DataSet - Table name - Returns table - - - - Gets table from DataView - - The DataView - Returns table - - - - True if use data sorting, otherwise false - - - - - Gets rows counts - - - - - Gets column count - - - - - Gets visible columns names - - - - - Gets visible columns captions - - - - - Represents the Artifact - - - - - Represents the tag for the element - - - - - Gets or sets the order for the element - - - - - Initialize the instance of PdfArtifact - - - - - Initialize the instance of PdfArtifact - - Type of the artifact - - - - Initialize the instance of PdfArtifact - - Type of the artifact - represents the attachment for artifact - - - - Initialize the instance of PdfArtifact - - Type of the artifact - attachment for artifact - Subtype of the artifact - - - - Initialize the instance of PdfArtifact - - Type of the artifact - Bounding box of the artifact - attachment for the artifact - Subtype of the artifact - - - - Gets or sets the bounding box for the artifact. - - - - - Gets or sets the artifact type - - - - - Gets or sets the subtype of the artifact - - - - - Gets or sets the attachment for the artifact. - - - - - Represents the type of the artifact - - - - - Represents the logically attached artifcat on the page. - - - - - Initialize the PdfAttached - - page edge - - - - Initialize the PdfAttached - - edge of the page - edge of the page - - - - Initialize the PdfAttached - - left edge of the page - right edge of the page - top edge of the page - bottom edge of the page - - - - Set edges for the page - - the page edges - - - - Gets a value indicating top page edge - - - - - Gets a value indicating left page edge - - - - - Gets a value indicating bottom page edge - - - - - Gets a value indicating right page edge - - - - - Represents the edges of the page. - - - - - Indicates the top edge of the page - - - - - Indicates the bottom edge of the page - - - - - Indicates the left edge of the page - - - - - Indicates the right edge of the page. - - - - - Represents the structure element - - - - - Initialize the structure element - - - - - Initialize the Structure element - - tag type - - - - Gets or sets the abbrevation for the structure element. - - - - - Gets or sets the actual text for the structure element - - - - - Gets or sets the alternate text for the structure element - - - - - Gets or sets the language for all text in the structure element - - - - - Gets or sets the logical reading order for the structure element - - - - - Gets or sets the parent for the element - - - - - Gets or sets the tag type for the element - - - - - Gets or sets the title for the structure element - - - - - Represents the subtype of the artifact - - - - - Represents the tag type - - - - - - - - - - - - - - Local variable to store the whitepoint value of CalGray colorspace. - - - - - Local variable to store the blackpoint value of CalGray colorspace. - - - - - Local variable to store the gamma value of CalGray colorspace. - - - - - Gets the number of components for the CalGray Colorspace. - - - - - Gets or sets the Whitepoint value for the CalGray Colorspace. - - - - - Gets or sets the Blackpoint value for the CalGray Colorspace. - - - - - Gets or sets the Gamma value for the CalGray Colorspace. - - - - - - - - Local variable to store the whitepoint value of CalRgb colorspace. - - - - - Local variable to store the blackpoint value of CalRgb colorspace. - - - - - Local variable to store the gamma value of CalRgb colorspace. - - - - - Local variable to store the matrix value of CalRgb colorspace. - - - - - Gets the number of components for the CalRgb Colorspace. - - - - - Gets or sets the Whitepoint value for the CalRgb Colorspace. - - - - - Gets or sets the Blackpoint value for the CalRgb Colorspace. - - - - - Gets or sets the Gamma value for the CalRgb Colorspace. - - - - - Gets or sets the Matrix value for the CalRgb Colorspace. - - - - - - - - - - - Gets the number of components for the DeviceCMYK Colorspace. - - - - - - - - Gets the number of components for the DeviceGray Colorspace. - - - - - - - - Local variable to store the AlternateColorspace value of DeviceN colorspace. - - - - - Local variable to store the function value of DeviceN colorspace. - - - - Set the Colorspace value to local variable from Pdfarray - ColorspaceArray - - - - Get the Colorspace value from Pdfarray - ColorspaceArray - Colorspace - - - - Gets the number of components for the DeviceN Colorspace. - - - - - Gets or set the AlternateColorspace value for DeviceN colorspace - - - - - Gets or set the Function value for DeviceN colorspace - - - - - - - - Gets the number of components for the DeviceRgb Colorspace. - - - - - - - - Local variable to store the IccProfile value of ICCBased colorspace. - - - - - Gets or sets the IccProfile value for the ICCBased Colorspace. - - - - - Gets the Components for the IccBased Alternate Colorspace. - - - - - - - - Local variable to store the N value of IccProfile. - - - - - Local variable to store the alternate colorspace. - - - - - Local variable to store the IccProfile value of IccBased colorspace. - - - - - Local variable to store the matrix value of CalRgb colorspace. - - - - - Gets the Alternate colorspace of IccBased colorspace. - - - - - Gets or sets the N value for the ICCBased Colorspace. - - - - - - - - Local variable to store the BaseColorspace value of Indexed colorspace. - - - - - Local variable to store the Maximum valid index value of Indexed colorspace. - - - - - Local variable to store the Lookup parameter value of Indexed colorspace. - - - - - Get the color value of Indexed colorspace - - Index value for color - Color - - - - Set the Indexed colorspace data to local variable - - Index value Array - - - - - Get the Color - - Color component - Color - - - - Get the Base colorspace of Indexed color space - - Index value Array - Colorspace - - - - Get the Lookup data of Indexed colorspace - - Index value Array - - - - - Get the colorspace of Base colorspace - - Colorspace - - - - Get the Decoded stream of Type0 data - - Type0 stream - Decoded Byte - - - - Decode the FlateDecode stream - - Type0 encoded stream - Memory stream - - - - Gets the number of components for the Indexed Colorspace. - - - - - Gets the DefaultBrush value for the Indexed BaseColorspace. - - - - - Gets or sets the BaseColorspace value for the Indexed Colorspace. - - - - - Gets or sets the Maximum valid index value for the Indexed Colorspace. - - - - - Gets or sets the Lookup parameter value for the Indexed Colorspace. - - - - - - - - Local variable to store the whitepoint value of Labcolorspace. - - - - - Local variable to store the blackpoint value of Labcolorspace. - - - - - Local variable to store the range value of Labcolorspace. - - - - - Gets the number of components for the Labcolorspace. - - - - - Gets or sets the Whitepoint value for the Labcolorspace. - - - - - Gets or sets the Blackpoint value for the Labcolorspace. - - - - - Gets or sets the Range value for the Labcolorspace. - - - - - - - - Local variable to store the Lookup Data of Indexed colorspace - - - - - Load the Lookup stream data of Indexed color space - - Lookup stream data - - - - - Load the Lookup byte string data of Indexed colorspace - - Byte string - - - - - Load the Lookup data reference of Indexed color space - - Reference of Lookup data - - - - - Gets the Lookup Data of Indexed colorspace - - - - - - - - Local variable to store the PatternType value of Pattern colorspace. - - - - - Local variable to store the AlternateColorspace value of Pattern colorspace. - - - - - Local variable to store the PatternMatrix value of Pattern colorspace. - - - - - Local variable to store the Pattern value of Pattern colorspace. - - - - - Gets or sets the AlternateColorspace value for the Pattern Colorspace. - - - - - Gets or sets the PatternMatrix value for the Pattern Colorspace. - - - - - Gets or sets the PatternType value for the Pattern Colorspace. - - - - - - - - Local variable to store the Alternate colorspace value of Seperation colorspace. - - - - - Local variable to store the Function value of Seperation colorspace founction. - - - - Get the color value from string value - string Array - Color - - - - Convert the string array to double array - - string Array - Double array - - - Get the color value from bytes - string Array - Offset Value - Color - - - - Set the Seperation colorspace data to local variable - - seperation value Array - - - - - Get the Seperation colorspace Alternate colorspace from array value - - seperation value Array - Alternate colorspace - - - - Gets the number of components for the Seperation Colorspace. - - - - - Gets or sets the Alternate colorspace value for the Seperation Colorspace. - - - - - Gets or sets the Function value for the Seperation Colorspace. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Contains definition for sorting the enumerator in ascending order - - Type of return value - Delegate - Used to compare two object - If it is set to true, enumerator is sorted in descending order other it is sorted in ascending order - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Exports the specified page as Image - - The page index to be converted into image - Returns the specified page as Image - - - - Exports the specified page as Image with respect to dpi specified. - - The PdfPageBase to be converted into image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified page as Image with custom resolution - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - Whether need to keep the aspect ratio of the page - Returns the image with custom size - - - - Exports the specified pages as Image - - The PdfPageBase to be converted into image - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to maintain the pdf page size - Returns the specified pages as images with custom size and resolution - - - - Returns the page number and capured terms found in the page - - List of terms to be searched - Search results - Returns true if any matches found - - - - Returns the page number and capured terms found in the page - - List of terms to be searched - Search results - Returns true if any matches found - - - - Executes each of the provided actions, possibly in parallel. - - An array of System.Action to execute. - - - - Searches the text at a page - - Index of the page - Text to be searched - Matching texts - Returns the matching texts - - - - Returns the page number and rectangle postions of the text matchs found in the page - - The text to be searched - Holds the page number and rectangle positions of the text matches - - - - Returns the rectangle postions of the text matches - - The text which is to be searched - - - - - - Represents a text search item - - - - - Initialises a new instance of TextSearchItem - - - - - Defines the constants that specify the option for text search. - - - - - searches words with no options. - - - - - searches whole words only but not case sensitive. - - - - - Searches words with case sensitive. - - - - - Brush to stroke the text - - - - - Bounds of the text - - - - - - - - - - - Gets or sets a value of the StrokingColorspace - - - - - Gets or sets a value of the NonStrokingColorspace - - - - - Gets or sets a value of the StrokingBrush - - - - - Gets or sets a value of the NonStrokingBrush - - - - - - - - Set the Stroking colorspace of current graphics state - - current colorspace value - - - - - Set the Non Stroking colorspace of current graphics state - - current colorspace value - - - - - Set the Non Stroking RGB color of current graphics state brush - - color value of RGB - - - - - Set the Non Stroking CMYK color of current graphics state brush - - color value of CMYK - - - - - Set the Non Stroking Gray color of current graphics state brush - - color value of Gray - - - - - Set the Stroking RGB color of current graphics state brush - - color value of RGB - - - - - Set the Stroking CMYK color of current graphics state brush - - color value of CMYK - - - - - Set the Stroking Gray color of current graphics state brush - - color value of Gray - - - - - Set the Stroking of current graphics state brush - - color value - - - - - Set the Non Stroking of current graphics state brush - - color value - - - - - Determining valid email address - - email address to validate - true is valid, false if not valid - - - - Calculates the height of text. - - - - - TODO: Can we use PdfMargins class instead of this ? - - - - - - - - - - Renders the Text to the panel - - graphics element - location in which the graphics is to be drawn - - - - Renders the Text to the panel - - graphics element - location in which the graphics is to be drawn - - - - Removes the escape sequence characters in the given text - - text with the escape sequence - Text without escape sequence - - - - - - - The searched text. - - - - - the color of the text - - - - - page Number - - - - - Rectangle bounds of the searched text. - - - - - - - - Parse the annotation properties within a page - - Annotation properties - The specific page in which annotations needs to be added - Zoom factor need to be considered while drawing the annotation rectangle - - - - Calculates the annotation rectangle according to the zoom values. - - The specific page in which annotations needs to be added - Represents the annotation rectangle - - - - - - - - - Include the URL annotation rectangles with the specific page properties - - The specific page in which annotations needs to be added - Represents the annotation properties such as rectangle,location and URI - - - - Include the text rectangles with the specific page properties - - The specific page in which text search needs to be performed - Represents the annotation properties such as rectangle,location and URI - - - - Calculates the annotation rectangle according to the zoom values. - - The specific page in which annotations needs to be added - Represents the annotation rectangle - Zoom factor need to be considered - Drawing panel is true or false is need to be considered - - - - Searches the text at a page - - Index of the page - Text to be searched - Matching texts - Returns the matching texts - - - - Represents the annotation with associated within a page. - - - - - - Represents the URLS within a page. - - - - - Represents the URLS within a page. - - - - - Represents the Rectangle position of the matching text. - - - - - - - - - - - Local variable to store the Domain value of Function - - - - - Local variable to store the Range value of Function - - - - - Local variable to store the dictionary of Function - - - - - Create the function type from dictionary - - Array - Function - - - - Color transfer function - - Input color component value - Double array - - - - Extract the Input Data - - Input data - Double array - - - - Extract the Output Data - - Output data - Double array - - - - - - Gets or sets the Domain value of Function. - - - - - Gets or sets the Range value of Function. - - - - - - - - Local variable to store the BitsPerSample of Type0 - - - - - Local variable to store the Order of Type0 - - - - - Local variable to store the Size of Type0 - - - - - Local variable to store the Encode value of Type0 - - - - - Local variable to store the Decode value of Type0 - - - - - Local variable to store the sample value of Type0 - - - - - Local variable to store the Output value count of Type0 - - - - - Local variable to store the Filter of Type0 Data - - - - - Load the Type0 function stream to local variable - - Type0 Data - - - - - Execute the Type0 function - - Input Data - Color values - - - - - - Get the index of data - - Data - Index - - - - Get the Decoded stream of Type0 data - - Type0 stream - Decoded Byte - - - - Decode the FlateDecode stream - - Type0 encoded stream - Memory stream - - - - Gets or sets the BitsPerSample value of Type0 function. - - - - - Gets or sets the Filter value of Type0 function. - - - - - Gets or sets the Order value of Type0 function. - - - - - Gets or sets the Decode value of Type0 function. - - - - - Gets or sets the Encode value of Type0 function. - - - - - Gets or sets the Size value of Type0 function. - - - - - - - - Local variable to store the C0 value of Type2 function - - - - - Local variable to store the C1 value of Type2 function - - - - - Local variable to store the N value of Type2 function - - - - - Local variable to store the Functions resources value of Type2 function - - - - - Perform the Type0 function - - Input Data - Color values - - - - Perform the Type0 function of Single input data - - Single input data - outputData - - - - Perform the ExponentialInterpolation function - - value - value - value - result - - - - Gets or sets the Function resource value of Type2 function. - - - - - Gets or sets the C0 value of Type2 function. - - - - - Gets or sets the C1 value of Type2 function. - - - - - Gets or sets the N value of Type2 function. - - - - - Gets the output element length - - - - - - - - Local variable to store the Encode value of Type3 function - - - - - Local variable to store the Bounds value of Type3 function - - - - - Local variable to store the Functions value of Type3 function - - - - - Perform the Type4 function - - Input Data - Color values - - - - Gets or sets the Encode value of Type3 function. - - - - - Gets or sets the Bounds value of Type3 function. - - - - - Gets or sets the Function value of Type4 function. - - - - - - - - Local variable to store the Post Script Stream - - - - - Local variable to store the Filter type of Post Script - - - - - Stack pointer - - - - - List of Post Script Operator - - - - - Stack value of Post Script Data - - - - - Operator type array of Post Script Operator - - - - - Current operator type value - - - - - Load the Type4 function stream to local variable - - Type4 Data - - - - - Get the Decoded stream of Type4 function - - Type0 Data - - - - - Perform the Type4 function - - Input Data - Color values - - - - Decodes the ASCII85 encoded stream - - Encoded stream - Decoded Stream - - - - Gets the output element value length - - - - - Gets or sets the Filter value of Type4 function stream. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Represents Basic Job Ticket Schema. - - - - - Represents Xmp Schema. - - - - - Base class for the xmp entities. - - - - - Parent node for this entity. - - - - - Prefix of the entity namespace. - - - - - Local name of the entity. - - - - - Uri of the namespace. - - - - - Initializes a new instance of the class. - - The parent. - The prefix. - Name of the local. - The namespace URI. - - - - Initializes object. - - - - - Checks whether entity already exists in the parent. - - True - if exists, False otherwise. - - - - Gets value indicating whether we have to suspend initialization. - - Value indicating whether we have to suspend initialization. - - - - Creates entity in the parent. - - - - - Gets Xml data of the entity. - - XmlElement containing entity data. - - - - Changes parent of the entity. - - New Xml parent. - - - - Gets Xml data of the entity. - - - - - Gets a value indicating whether this is exists. - - true if exists; otherwise, false. - - - - Gets parent xml node for the entity. - - - - - Gets namespace prefix of the entity. - - - - - Gets name of the entity's tag. - - - - - Gets URI of the entity's namespace. - - - - - Gets a value indicating whether [suspend initialization]. - - - - - Name of the schema tag. - - - - - Xpath to the Description element. - - - - - Parent XmpMetadata. - - - - - Hashtable of the properties. - - - - - Creates new object. - - Parent XmpMetadata. - - - - Creates schema xml. - - - - - Gets Xml data of the entity. - - XmlElement containing entity data. - - - - Creates simple property. - - Name of the property. - Simple property instance. - - - - Gets property by its name. - - Name of the property. - Xmp property instance. - - - - Creates xmp array. - - Name of the array. - Type of the array. - Created xmp array. - - - - Gets xmp array. - - Name of the array. - Type of the array. - Xmp array. - - - - Creates xmp lang array. - - Name of the array. - Created xmp array. - - - - Gets xmp lang array. - - Name of the array. - Xmp array. - - - - Gets the structure. - - The name. - The type. - - - - - Creates the structure. - - The name. - The type. - Structure object. - - - - Creates the structure. - - The type of the structure. - Structure object. - - - - Gets type of the schema. - - - - - Gets schema prefix. - - - - - Gets name (URI) of the schema. - - - - - Gets parent XmpMetadata. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets references an external job management file for a job - process in which the document is being used. Use of job - names is under user control. Typical use would be to - identify all documents that are part of a particular job or - contract. - - - - - Represents Basic Schema. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets an unordered array specifying properties that were - edited outside the authoring application. - - - - - Gets an unordered array of text strings that unambiguously - identify the resource within a given context. An array - item may be qualified with xmpidq:Scheme to denote - the formal identification system to which that identifier - conforms. - - - - - Gets or sets a word or short phrase that identifies a document as a - member of a user-defined collection. Used to organize - documents in a file browser. - - - - - Gets or sets a short informal name for the resource. - - - - - Gets or sets The base URL for relative URLs in the document - content. If this document contains Internet links, and - those links are relative, they are relative to this base - URL. - - - - - Gets or sets The name of the first known tool used to create the - resource. If history is present in the metadata, this value - should be equivalent to that of xmpMM:History�s - softwareAgent property. - - - - - Gets or sets the date and time the resource was originally created. - - - - - Gets or sets the date and time that any metadata for this resource - was last changed. It should be the same as or more - recent than xmp:ModifyDate. - - - - - Gets sets the date and time the resource was last modified. - - - - - Gets an alternative array of thumbnail images for a file, - which can differ in characteristics such as size or image - encoding. - - - - - Gets a number that indicates a document�s status relative to - other documents, used to organize documents in a file - browser. Values are user-defined within an application defined range. - - - - - Represents custom Schema. - - - - - Initializes a new instance of the class. - - Parent XmpMetadata. - The XML namespace. - The namespace URI. - - - - Gets Xml data of the entity. - - XmlElement containing entity data. - - - - Sets the xmp property. - - - - - Gets type of the schema. - - - - - Gets schema prefix. - - - - - Gets name (URI) of the schema. - - - - - Represents Dublin Core Schema. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Mime-Type of the document. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Initializes object. - - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets contributors to the resource (other than the authors). - - - - - Gets or sets the extent or scope of the resource. - - - - - Gets the authors of the resource (listed in order of precedence, if - significant). - - - - - Gets date(s) that something interesting happened to the resource. - - - - - Gets or sets a textual description of the content of the resource. Multiple - values may be present for different languages. - - - - - Gets or sets the unique identifier of the resource. - - - - - Gets publishers. - - - - - Gets relationships to other documents. - - - - - Gets informal rights statement, selected by language. - - - - - Gets or sets the unique identifier of the work from which this resource was derived. - - - - - Gets or sets an unordered array of descriptive phrases or keywords that - specify the topic of the content of the resource. - - - - - Gets the title of the document, or the name given to the resource. - Typically, it will be a name by which the resource is - formally known. - - - - - Gets a document type; for example, novel, poem, or working - paper. - - - - - Represents Paged Text Schema. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets the size of the largest page in the document (including - any in contained documents). - - - - - Gets or sets the number of pages in the document (including any in - contained documents). - - - - - Gets an unordered array of fonts that are used in the - document (including any in contained documents). - - - - - Gets an unordered array of fonts that are used in the - document (including any in contained documents). - - - - - Gets an ordered array of colorants (swatches) that are used - in the document (including any in contained - documents). - - - - - This schema specifies properties used with Adobe PDF documents. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets or sets keywords of the document. - - - - - Gets or sets the PDF file version (for example: 1.0, 1.3, and so on). - - - - - Gets or sets the name of the tool that created the PDF document. - - - - - Represents Rights Management Schema. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates schema object. - - Parent XmpMetadata. - - - - Gets type of the Schema. - - - - - Gets name pf the schema. - - - - - Gets prefix of the schema. - - - - - Gets or sets online rights management certificate. - - - - - Gets or sets indicates that this is a rights-managed resource. - - - - - Gets an unordered array specifying the legal owner(s)of a resource. - - - - - Gets text instructions on how a resource can be legally used. - - - - - Gets or sets the location of a web page describing the owner - and/or rights statement for this resource. - - - - - coloring Structure. - - - - - Represents Xmp Structure. - - - - - Base class for the Xmp types. - - - - - Parent Xmpmetadata. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - - - - Gets Xml data of the entity. - - XmlElement containing entity data. - - - - Creates entity in the parent. - - - - - Gets parent XmpMetadata. - - - - - Hashtable of the properties. - - - - - Indicates whether structure is inside of the array or not. - - - - - Indicates whether we have to suspend initialization. - - - - - Indicate swhether structure is initialized. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - if it is inside an array, set to true. - - - - Creates structure. - - - - - Gets Xml data of the entity. - - XmlElement containing entity data. - - - - Gets value indicating whether we have to suspend initialization. - - Value indicating whether we have to suspend initialization. - - - - Checks whether entity already exists in the parent. - - True - if exists, False otherwise. - - - - Initializes internal entries. - - - - - Creates simple property. - - Name of the property. - Simple property instance. - - - - Gets property by its name. - - Name of the property. - Xmp property instance. - - - - Creates simple property. - - Name of the property. - Parent XmlNode. - Simple property instance. - - - - Gets property by its name. - - Name of the property. - Parent XmlNode. - Xmp property instance. - - - - Creates xmp array. - - Name of the array. - Type of the array. - Created xmp array. - - - - Gets xmp array. - - Name of the array. - Type of the array. - Xmp array. - - - - Creates structure inner content. - - - - - Gets Xml element of the description tag. - - Xml data. - - - - Gets parent of the structure content. - - Parent of the structure content. - - - - Gets inner xml data. - - - - - Gets prefix of the structure. - - - - - Gets name pf the structure. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - Indicates whether structure is inside of the array. - - - - Initializes. - - - - - Gets prefix of the structure. - - - - - Gets name pf the structure. - - - - - Gets or sets yellow value when the mode is CMYK. Range 0-100. - - - - - Gets or sets B value when the mode is LAB. Range -128 to 127. - - - - - Gets or sets A value when the mode is LAB. Range -128 to 127. - - - - - Gets or sets L value when the mode is LAB. Range 0-100. - - - - - Gets or sets blue value when the mode is RGB. Range 0-255. - - - - - Gets or sets green value when the mode is RGB. Range 0-255. - - - - - Gets or sets red value when the mode is RGB. Range 0-255. - - - - - Gets or sets black value when the mode is CMYK. Range 0-100. - - - - - Gets or sets magenta value when the mode is CMYK. Range 0-100. - - - - - Gets or sets Cyan value when the mode is CMYK. Range 0-100. - - - - - Gets or sets the type of color, one of PROCESS or SPOT. - - - - - Gets or sets the color space in which the color is defined. One of: - CMYK, RGB, LAB. Library colors are represented in - the color space for which they are defined. - - - - - Gets or sets name of the swatch. - - - - - Dimensions structure. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - Indicates whether structure is inside of the array. - - - - Initializes. - - - - - Gets or sets Width. - - - - - Gets or sets height. - - - - - Gets or sets units. For example: inch, mm, pixel, pica, point. - - - - - Gets prefix of the structure - - - - - Gets name pf the structure. - - - - - Font Structure. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - Indicates whether structure is inside of the array. - - - - Initializes structure. - - - - - Gets prefix of the structure - - - - - Gets name pf the structure. - - - - - Gets or sets the name of the font. - - The name of the font. - - - - Gets or sets the font family. - - The font family. - - - - Gets or sets the font face name. - - The font face. - - - - Gets or sets the type of the font. - - The type of the font. - - - - Gets or sets the version string. - - The version string. - - - - Gets or sets a value indicating whether this is composite. - - true if composite; otherwise, false. - - - - Gets or sets the name of the font file. - - The name of the font file. - - - - Gets the list of file names for the fonts that make up a - composite font. - - - - - Declares Job structure. - - - - - Prefix of the structure. - - - - - Name of the structure. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - Indicates whether structure is inside of the array. - - - - Initializes. - - - - - Gets or sets informal name of job. This name is for user display and - informal systems. - - - - - Gets or sets unique ID for the job. This field is a reference into some - external job management system.. - - - - - Gets or sets a file URL referencing an external job management file. - - - - - Gets prefix of the structure - - - - - Gets name pf the structure. - - - - - Xmp Thumbnail Structure. - - - - - Prefix of the schema. - - - - - Nasme of the schema. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Name of the property. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - Indicates whether structure is inside of the array. - - - - Initializes. - - - - - Gets prefix of the structure. - - - - - Gets name pf the structure. - - - - - Gets or sets the height. - - The height. - - - - Gets or sets the width. - - The width. - - - - Gets or sets the format. - - The format. - - - - Gets or sets the thumbnail image (pixel data only) converted to base 64 - notation. - - The image. - - - - The Syncfusion.Pdf.Xmp namespace contains classes to create, process metadata for documents. - - - - - Represents Xmp array. - - - - - Base class for the arrays. - - - - - Name of the array item tag. - - - - - Initializes a new instance of the class. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - - - - Creates entity in the parent. - - - - - Gets list of the array items. - - List of the array items. - - - - Gets prefix of the array depending on the array type. - - prefix - - - - Gets count of the items in the collection. - - Count of the items in the collection. - - - - Gets count of the items in the collection. - - - - - Gets type of the collection. - - - - - Gets items container element. - - - - - Default date format. - - - - - Type of the array. - - - - - Initializes a new instance of the class. - - The XMP. - The parent. - The prefix. - Name of the local. - The namespace URI. - The type. - - - - Adds string value to the array. - - Value to be added to the array. - - - - Adds integer value to the array. - - Value to be added to the array. - - - - Adds float value to the array. - - Value to be added to the array. - - - - Adds Date to the array. - - Value to be added to the array. - - - - Adds Date to the array. - - Value to be added to the array. - String format of the date. - - - - Adds an XMP structure. - - The structure. - - - - Creates array item element. - - XmlElement of the array item. - - - - Returns array of the array values. - - Array of the array values. - - - - Changes parent of the entity. - - New entity parent. - Xmp entity. - - - - Gets array of the array values. - - - - - Gets type of the array. - - - - - Represents Xmp Alt Lang array. - - - - - Default language name. - - - - - Language attribute. - - - - - Creates new object. - - Parent XmpMetadata. - Parent XmlElement of the array. - Prefix of the array. - Name of the tag. - Namespace URI. - - - - Adds item to the array. - - Language code. - Text value. - - - - Creates entity in the parent. - - - - - Creates array item element. - - Language code. - XmlElement of the array item. - - - - Searches for a item with the specified language. - - Language name. - Item with the specified language. - - - - Gets or sets the default text. - - The default text. - - - - Gets or sets the with the specified lang. - - value - - - - Gets type of the lang array. - - - - - Represents XMP metadata of the document. - - - - - Xpath for the RDF element. - - - - - Extensible Markup Language Namespace prefix. - - - - - Namespace unique resource identifier for the xmlns attribute. - - - - - Xml prefix. - - - - - Namespace uri for the xml namespace. - - - - - Uri of the Resource Description Framework namespace. - - - - - Prefix of the PDF namespace. - - - - - Start packet. - - - - - Namespace of the xmpmeta tag. - - - - - End packet. - - - - - Uri of the Resource Description Framework PDF/A namespace. - - - - - Uri of the Extensible Authoring Publishing namespace. - - - - - Uri of the Adobe PDF schema namespace. - - - - - Uri of the Dublin Core schema namespace. - - - - - XmlDocument containing xmp data. - - - - - Namespace manager. - - - - - Dublin Core Schema. - - - - - Dublin Core Schema. - - - - - Basic Job Ticket Schema. - - - - - Basic Schema. - - - - - Rights Management Schema. - - - - - Indicates PDFSchema. - - - - - PdfStream container. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The XMP. - - - - Loads XMP from the XML. - - XMP data in XMLDocument. - If there was any data in this XMP, it will be replaced by the data from the XML. - - - - Adds schema to the XMP in XML format. - - XMP schema in XML format. - If XMP already contains such schema - there will be two equal schemas at the xmp. - - - - Initializes a packet of the XMP. - - - - - Initializes stream. - - - - - Creates packet element. - - - - - Creates xmpmeta element. - - - - - Creates Resource Description Framework element. - - - - - Creates a Dublin core containers. - - - - - Creates packet element. - - - - - Resets current xmp metadata. - - - - - Imports all namespaces to the namespace manager. - - Current element. - Namespace Manager. - - - - Creates element. - - Name of the element. - Created element. - - - - Creates element. - - Prefix of the element. - Local name of the element. - Namespace URI. - Created element. - - - - Creates attribute. - - Name of the attribute. - Value of the attribute. - Created XmlAttribute. - - - - Creates attribute. - - Prefix of the attribute. - Name of the attribute. - Namespace Uri. - Value of the attribute. - Created XmlAttribute. - - - - Adds namespace. - - Namespace prefix. - Namespace Uri. - Uri of the namespace. - - - - Raises before stream saves. - - Sender of the event. - Event data. - - - - Raises after stream saves. - - Sender of the event. - Event data. - - - - Gets Dublin Core Schema. - - - - - Gets Dublin Core Schema. - - - - - Gets Basic Job Ticket Schema. - - - - - Gets Basic Schema. - - - - - Gets Rights Management Schema. - - - - - Gets a schema specifying properties used with Adobe PDF documents. - - - - - Gets XMP data in XML format. - - - - - Gets namespace manager of the Xmp metadata. - - - - - Gets xmpmeta element of the packet. - - - - - Gets RDF element of the packet. - - - - - Gets the element. - - - - - - Represents simple Xmp type. - - - - - Creates xmp simple type instance. - - Parent XmpMetadata. - Parent xml node. - Namespace prefix. - Name of the tag. - Namespace URI. - - - - Sets bool value to the object. - - Bool value. - - - - Gets boolean value. - - Boolean value. - - - - Sets real value to the object. - - Real value. - - - - Gets real value. - - Real value. - - - - Sets int value to the object. - - Int value. - - - - Gets int value. - - Int value. - - - - Sets unique resource identifier value to the object. - - Uri value. - - - - Gets unique resource identifier value. - - Uri value. - - - - Sets DateTime value to the object. - - DateTime value. - - - - Gets DateTime value. - - DateTime value. - - - - Creates entity in the parent. - - - - - Gets or sets value of the instance. - - - - - Utility class. - - - - - False string. - - - - - True string. - - - - - Real pattern. - - - - - Default date format. - - - - - Private constructor. - - - - - Sets text value to the element. - - Parent element. - Value data. - - - - Sets text value to the element. - - Parent element. - Value data. - - - - Retrieves boolean value from the string. - - String representation of the boolean value. - Boolean value from the string. - - - - Sets text value to the element. - - Parent element. - Value data. - - - - Retrieves float value from the string. - - String representation of the float value. - Float value from the string. - - - - Sets text value to the element. - - Parent element. - Value data. - - - - Retrieves float value from the string. - - String representation of the float value. - Int value from the string. - - - - Sets unique resource identifier value to the element. - - Parent element. - Value data. - - - - Retrieves float value from the string. - - String representation of the float value. - Uri value from the string. - - - - Sets DateTime value to the element. - - Parent element. - Value data. - - - - Retrieves float value from the string. - - String representation of the float value. - Uri value from the string. - - - - Sets an XML value. - - The parent. - The child. - - - - Removes all childrens from the - - Node element. - - - - Enumerates types of the xmp structure. - - - - - A structure containing dimensions for a drawn object. - - - - - A structure containing the characteristics of a font used in a document. - - - - - A structure containing the characteristics of a Coloring (swatch) used in a document. - - - - - A thumbnail image for a file. - - - - - Job structure. - - - - - Enumerates types of the xmp schema. - - - - - Dublin Core Schema. - - - - - Basic Schema. - - - - - Rights Management Schema. - - - - - Basic Job Ticket Schema. - - - - - Paged Text Schema. - - - - - Adobe PDF Schema. - - - - - Custom schema. - - - - - Types of the xmp arrays. - - - - - Unknown array type. - - - - - Unordered array. - - - - - Ordered array. - - - - - Alternative array. - - - - - Reads the Name of the element - - XPS data - Reader position - Name - - - - Reads the boolean value from the Data - - XPS data - Reader position - True if the next value is boolean - - - - Reads the float from the data. - - XPS data - Reader position - float value - - - - Reads the point from the data - - XPS data - Reader position - point - - - - Reads the matrix from the data - - XPS data - Reader position - Matrix - - - - Represents the XPS Document reader - - - - - Initializes the new instance of the XPS Document reader - - Path to the XPS document - - - - Initializes a new instance of the XPS document reader - - Stream containing the XPS document content - - - - Reads the FixedDocumentSequence - - - - - Reads the FixedDocumentSequence - - - - - Reads the fixed documents - - - - - Reads the image - - Image element - Image stream - - - - Reads the fixed pages. - - - - - Reads the elements from the fixed page. - - pattern of the element - XPSElement type - XPS Element - - - - Reads the XPS element - - Element name - Element type - XPS element - - - - Reads the XPS element - - Element name - XPS element - - - - Gets the safe name - - Element name - Safe name - - - - Search for a XPS element - - Name of the element - Index of the element - - - - Search for a XPS element. - - Name of the element - Index to start search - Index of the element - - - - Search for a XPS element. - - Regex of element - Index to start search - Index of the element - - - - Reads the font with the URI - - Font URI - Font Name - - - - Gets the Font style - - Font URI - Font style - - - - Extract the font - - Font Stream - Created font - Font Guid - - - - Reads the resources in the XPS document - - resource name - Resource - - - - Dispose the document - - - - - Gets the FixedDocumentSequence - - - - - Gets the Fixed documents - - - - - Gets the fixed pages - - - - - Gets the font names - - - - - Enumerator representing the available XPS elements. - - - - - Represents the path data reader. - - - - - Initializes a new instance of the PathDataReader class. - - - - - - Reads the symbols - - Symbol - - - - Gets the next symbol - - Symbol - - - - Updates the current position of the reader - - Length of the path data - - - - Reads the float value from the path data - - float value - True if the next value is float - - - - Reads the pint form the path data - - Point value - True if the next parameter is point - - - - Reads the position array from the path data - - position array - True if the next parameter is position array - - - - Reads the points from the path data - - Points - - - - Checks if the current character is symbol - - True if the character is a symbol - - - - Gets a value indicating whether this is EOF. - - true if EOF; otherwise, false. - - - - Gets text length. - - - - - Gets or sets the position. - - The position. - - - - Represents the path data reader. - - - - - Initializes a new instance of the PathDataReader class. - - - - - - Reads the symbols - - Symbol - - - - Gets the next symbol - - Symbol - - - - Updates the current position of the reader - - Length of the path data - - - - Reads the float value from the path data - - float value - True if the next value is float - - - - Reads the pint form the path data - - Point value - True if the next parameter is point - - - - Reads the position array from the path data - - position array - True if the next parameter is position array - - - - Reads the points from the path data - - Points - - - - Checks if the current character is symbol - - True if the character is a symbol - - - - Gets a value indicating whether this is EOF. - - true if EOF; otherwise, false. - - - - Gets text length. - - - - - Gets or sets the position. - - The position. - - - - Reads the Name of the element - - XPS data - Reader position - Name - - - - Reads the boolean value from the Data - - XPS data - Reader position - True if the next value is boolean - - - - Reads the float from the data. - - XPS data - Reader position - float value - - - - Reads the point from the data - - XPS data - Reader position - point - - - - Reads the matrix from the data - - XPS data - Reader position - Matrix - - - - Represents the XPS Document reader - - - - - Initializes the new instance of the XPS Document reader - - Path to the XPS document - - - - Initializes a new instance of the XPS document reader - - Stream containing the XPS document content - - - - Reads the FixedDocumentSequence - - - - - Reads the FixedDocumentSequence - - - - - Reads the fixed documents - - - - - Reads the image - - Image element - Image stream - - - - Reads the fixed pages. - - - - - Reads the elements from the fixed page. - - pattern of the element - XPSElement type - XPS Element - - - - Reads the XPS element - - Element name - Element type - XPS element - - - - Reads the XPS element - - Element name - XPS element - - - - Gets the safe name - - Element name - Safe name - - - - Search for a XPS element - - Name of the element - Index of the element - - - - Search for a XPS element. - - Name of the element - Index to start search - Index of the element - - - - Search for a XPS element. - - Regex of element - Index to start search - Index of the element - - - - Reads the font with the URI - - Font URI - Font Name - - - - Gets the Font style - - Font URI - Font style - - - - Extract the font - - Font Stream - Created font - Font Guid - - - - Reads the resources in the XPS document - - resource name - Resource - - - - Dispose the document - - - - - Gets the FixedDocumentSequence - - - - - Gets the Fixed documents - - - - - Gets the fixed pages - - - - - Gets the font names - - - - - Enumerator representing the available XPS elements. - - - - - Represents the XPS Parser - - - - - Represents the currently parsed Fixed Page - - - - - Represents the XPS renderer object - - - - - Represents the XPS enumerator delegate - - - - - Represents the PdfUnitconvertor - - - - - Creates an instance of the XPS parser class. - - Fixed page of the XPS - The XPS renderer - - - - Enumerates the XPS file - - - - - Reads the XPS canvas - - XPS canvas - - - - Reads the XPS glyphs - - XLS Glyphs - - - - Reads the XPS path - - XPS path - - - - Enumerates the XPS fixed page objects - - - - - Converts the pixel value to points - - pixel value - value in point - - - - Gets the XPS renderer - - - - - Represents the XPS enumerator - - - - - Represnets the XPS to PDF renderer. - - - - - Represents the PdfGraphics where the XPS graphics is to be transformed. - - - - - Represents the current PdfPage where the XPS graphics is transformed. - - - - - Represents the PdfUnitConverter for the internal pixels to point conversion. - - - - - Represents the XPS reader object. - - - - - Represents the comma separator - - - - - - - - - - Represents the current transformation matrix. - - - - - Intializes a new instance of the XPSRenderer class. - - The current PDF Page - The XPS document reader - - - - Draws/converts the text objects from XPS to PDF. - - Glyph object with the metrics - - - - Converts the path string to a PdfPath - - Represents the path string - Returns the PdfPath object - - - - Draws/converts the XPS Path to PDF path. - - The XPS path object - - - - Read and draw contents of VisualBrush. - - - - - Convert from XPS linear gradient brush to PDF. - - LinearGradientBrush - PdfLinearGradientBrush - - - - Convert from XPS radial gradient brush to PDF. - - RadialGradientBrush - PdfRadialGradientBrush - - - - Converts XPS pathgeometry to PdfPath. - - PathGeometry - PdfPath - - - - Convert string values to PointF - - String data. - Data in PointF - - - - Convert string values to RectangleF - - String data. - Data in RectangleF. - - - - Processes Gradient stops. - - Gradient stops read from file. - Offsets - Colors - - - - Returns the lowest value based on 0.0f - - - - - Returns the first value greater than 0.0f - - - - - Returns the highest value based on 1.0f - - - - - - - Returns the top most value based on 1.0f - - - - - - - Reads static resource based on hierarchy of elements. - - Name of the resource. - Object containing the resource. - - - - Reads resource dictionary from the document. - - - - - Returns resource from the collection. - - - - - Converts the canvas graphics to PDF graphics. - - XPS Canvas - - - - Intializes the XPS canvas - - XPS canvas - - - - Applies the XPS transformation. - - Transformation matrix - Grahics where the transformation is to be done. - - - - Applies the Graphics transformation - - Transformation matrix - - - - Prepares a matrix to PDF. - - The matrix. - A properly prepared PdfTransformationMatrix class instance. - - - - Converts the matrix string to a System.Drawing.Drawing2D.Matrix object - - matrix string - System.Drawing.Drawing2D.Matrix object - - - - Converts the Glyph font to PdfFont - - XPS Glyph object - PdfFont - - - - Gets the SolidColorBrush form the color string - - Color string - PdfBrush - - - - Gets the font style of the glyph - - StyleSimulations - FontStyle - - - - Gets the font style of the glyph - - StyleSimulations - FontStyle - - - - Converts the pixel values to point - - pixel value - Points - - - - Convert the pixel coordinates to points - - pixel coordinates - Coordinates in Points - - - - Converts string to float. - - Number as string. - Converted number in float. - - - - Converts string to double. - - Number as string. - Converted number in double. - - - - Gets the graphics of the current PdfPage - - - - - Represents the XPS Parser - - - - - Represents the currently parsed Fixed Page - - - - - Represents the XPS renderer object - - - - - Represents the XPS enumerator delegate - - - - - Represents the PdfUnitconvertor - - - - - Creates an instance of the XPS parser class. - - Fixed page of the XPS - The XPS renderer - - - - Enumerates the XPS file - - - - - Reads the XPS canvas - - XPS canvas - - - - Reads the XPS glyphs - - XLS Glyphs - - - - Reads the XPS path - - XPS path - - - - Enumerates the XPS fixed page objects - - - - - Converts the pixel value to points - - pixel value - value in point - - - - Gets the XPS renderer - - - - - Represents the XPS enumerator - - - - - Represnets the XPS to PDF renderer. - - - - - Arabic characters will not be displayed properly if given the actual size, so the size is decreased by this decrement factor. - - - - - Represents the PdfGraphics where the XPS graphics is to be transformed. - - - - - Represents the current PdfPage where the XPS graphics is transformed. - - - - - Represents the PdfUnitConverter for the internal pixels to point conversion. - - - - - Represents the XPS reader object. - - - - - Represents the comma separator - - - - - - - - - - Represents the current transformation matrix. - - - - - Represents visualbrush viewport value. - - - - - Represents visualbrush graphic state. - - - - - Intializes a new instance of the XPSRenderer class. - - The current PDF Page - The XPS document reader - - - - Draws/converts the text objects from XPS to PDF. - - Glyph object with the metrics - - - - Checks if the text contains RTL character or number. - - Array of symbols. - True if the text contans RTL character or number. - - - - Converts the path string to a PdfPath - - Represents the path string - Returns the PdfPath object - - - - Draws/converts the XPS Path to PDF path. - - The XPS path object - - - - set pixel color of an image. - - - - - Read and draw contents of VisualBrush. - - - - - Convert from XPS linear gradient brush to PDF. - - LinearGradientBrush - PdfLinearGradientBrush - - - - Convert from XPS radial gradient brush to PDF. - - RadialGradientBrush - PdfRadialGradientBrush - - - - Converts XPS pathgeometry to PdfPath. - - PathGeometry - PdfPath - - - - Convert string values to PointF - - String data. - Data in PointF - - - - Convert string values to RectangleF - - String data. - Data in RectangleF. - - - - Processes Gradient stops. - - Gradient stops read from file. - Offsets - Colors - - - - Returns the lowest value based on 0.0f - - - - - Returns the first value greater than 0.0f - - - - - Returns the highest value based on 1.0f - - - - - - - Returns the top most value based on 1.0f - - - - - - - Reads static resource based on hierarchy of elements. - - Name of the resource. - Object containing the resource. - - - - Reads resource dictionary from the document. - - - - - Returns resource from the collection. - - - - - Converts the canvas graphics to PDF graphics. - - XPS Canvas - - - - Intializes the XPS canvas - - XPS canvas - - - - Applies the XPS transformation. - - Transformation matrix - Grahics where the transformation is to be done. - - - - Applies the Graphics transformation - - Transformation matrix - - - - Prepares a matrix to PDF. - - The matrix. - A properly prepared PdfTransformationMatrix class instance. - - - - Converts the matrix string to a System.Drawing.Drawing2D.Matrix object - - matrix string - System.Drawing.Drawing2D.Matrix object - - - - Converts the Glyph font to PdfFont - - XPS Glyph object - PdfFont - - - - Gets the SolidColorBrush form the color string - - Color string - PdfBrush - - - - Gets the font style of the glyph - - StyleSimulations - FontStyle - - - - Gets the font style of the glyph - - StyleSimulations - FontStyle - - - - Converts the pixel values to point - - pixel value - Points - - - - Convert the pixel coordinates to points - - pixel coordinates - Coordinates in Points - - - - Converts string to float. - - Number as string. - Converted number in float. - - - - Converts string to double. - - Number as string. - Converted number in double. - - - - Gets the graphics of the current PdfPage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The Syncfusion.XPS namespace contains classes for converting the XML Paper Specification (XPS) to PDF - - - - - Represents the XPS to PDF converter. - - This API is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - //Create new instance for XPSToPdfConverter - XPSToPdfConverter converter = new XPSToPdfConverter(); - //Converts XPS to PDF - PdfDocument pdfDocument = converter.Convert("XPSToPDF.xps"); - //Save the PDF document - pdfDocument.Save("Output.pdf"); - //Closing the PDF document - pdfDocument.Close(true); - - - 'Create new instance for XPSToPdfConverter - Dim converter As New XPSToPdfConverter() - 'Converts XPS to PDF - Dim pdfDocument As PdfDocument = converter.Convert("XPSToPDF.xps") - 'Save the PDF document - pdfDocument.Save("Output.pdf") - 'Closing the PDF document - pdfDocument.Close(True) - - - - - - Represents the PdfUnitConverter - - - - - identifying the oxps files - - - - - Initializes a new instance of the class. - - This constructor is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - - - //Create new instance for XPSToPdfConverter - XPSToPdfConverter converter = new XPSToPdfConverter(); - //Converts XPS to PDF - PdfDocument pdfDocument = converter.Convert("XPSToPDF.xps"); - //Save the PDF document - pdfDocument.Save("Output.pdf"); - //Closing the PDF document - pdfDocument.Close(true); - - - 'Create new instance for XPSToPdfConverter - Dim converter As New XPSToPdfConverter() - 'Converts XPS to PDF - Dim pdfDocument As PdfDocument = converter.Convert("XPSToPDF.xps") - 'Save the PDF document - pdfDocument.Save("Output.pdf") - 'Closing the PDF document - pdfDocument.Close(True) - - - - - - - //Create new instance for XPSToPdfConverter - XPSToPdfConverter converter = new XPSToPdfConverter(); - //Converts XPS to PDF - PdfDocument pdfDocument = converter.Convert("XPSToPDF.xps"); - //Save the PDF document - pdfDocument.Save("Output.pdf"); - //Closing the PDF document - pdfDocument.Close(true); - - - 'Create new instance for XPSToPdfConverter - Dim converter As New XPSToPdfConverter() - 'Converts XPS to PDF - Dim pdfDocument As PdfDocument = converter.Convert("XPSToPDF.xps") - 'Save the PDF document - pdfDocument.Save("Output.pdf") - 'Closing the PDF document - pdfDocument.Close(True) - - - - - - Converts the XPS document in stream to PDF. - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - XPS document - PdfDocument - - - //Create new instance for XPSToPdfConverter - XPSToPdfConverter converter = new XPSToPdfConverter(); - //Converts XPS to PDF - PdfDocument pdfDocument = converter.Convert(XpsStream); - //Save the PDF document - pdfDocument.Save("Output.pdf"); - //Closing the PDF document - pdfDocument.Close(true); - - - 'Create new instance for XPSToPdfConverter - Dim converter As New XPSToPdfConverter() - 'Converts XPS to PDF - Dim pdfDocument As PdfDocument = converter.Convert(XpsStream) - 'Save the PDF document - pdfDocument.Save("Output.pdf") - 'Closing the PDF document - pdfDocument.Close(True) - - - - - - Converts the byte array with XPS file content to PDF - - This method is not supported in WinRT, Windows Phone, Xamarin, Universal Windows Platform and Silverlight. - XPS document - PdfDocument - - - //Create new instance for XPSToPdfConverter - XPSToPdfConverter converter = new XPSToPdfConverter(); - //Converts XPS to PDF - PdfDocument pdfDocument = converter.Convert(XpsByte); - //Save the PDF document - pdfDocument.Save("Output.pdf"); - //Closing the PDF document - pdfDocument.Close(true); - - - 'Create new instance for XPSToPdfConverter - Dim converter As New XPSToPdfConverter() - 'Converts XPS to PDF - Dim pdfDocument As PdfDocument = converter.Convert(XpsByte) - 'Save the PDF document - pdfDocument.Save("Output.pdf") - 'Closing the PDF document - pdfDocument.Close(True) - - - - - - Converts the Pixel to Point value. - - value in pixel - value in points - - - - Enable or disable embedding complete font - - - By enabling this propety the size of the output PDF will be larger. - - - - - Initializes a new instance of the class - - - - - Enable or disable embedding complete font - - - By enabling this propety the size of the output PDF will be larger. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.IO.StreamReader. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - - Looks up a localized resource of type System.Byte[]. - - - - diff --git a/3rdPackage/Syncfusion.PdfViewer.Windows.dll b/3rdPackage/Syncfusion.PdfViewer.Windows.dll deleted file mode 100644 index dc3f38e..0000000 Binary files a/3rdPackage/Syncfusion.PdfViewer.Windows.dll and /dev/null differ diff --git a/3rdPackage/Syncfusion.PdfViewer.Windows.xml b/3rdPackage/Syncfusion.PdfViewer.Windows.xml deleted file mode 100644 index 83f775e..0000000 --- a/3rdPackage/Syncfusion.PdfViewer.Windows.xml +++ /dev/null @@ -1,4174 +0,0 @@ - - - - Syncfusion.PdfViewer.Windows - - - - - - - - Internal variable that holds cff glyphs - - - - - Takes in the encoded text, identifies the type of encoding used, decodes the encoded text, returns the decoded text. - - - Encoded string from the PDF document. - - - - Decoded string, human readable. - - - - - Decodes the octal text in the encoded text. - - The text encoded from the PDF document - Decoded text with replaced octal texts - - - - Decodes the HEX encoded string. - - - HEX encoded string. - - - Decoded string. - - - - - Extracts the font name associated with the string. - - - Font name. - - - - - Extracts the font style associated with the text string - - - Font style. - - - - - Extracts the font encoding associated with the text string - - - Font style. - - - - - Parsing the stream from the Adobe-Japan1-6.cidmap resource to create CIDMapTable - - CID map table resource - Adobe Japan CID map table - - - - Parse the Japanese character where the value is reference to another key in the Adobe Japan Cid Map Table - - mapped value which is a reference to another key - Mapped Character present in the Adobe Japan Cid Map table - - - - Decodes the ASCII85 encoded stream - - Encoded stream - Decoded Stream - - - - Decodes the Flate encoded stream - - Encoded stream - Decoded Stream - - - - Builds the mapping table that is used to map the decoded text to get the expected text. - - - A dictionary with key as the encoded element and value as the value to be mapped to. - - - - - Builds the mapping table that is used to map the decoded text to get the expected text. - - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Gets Latin Character - - The decodedCharacter. - decodedCharacter - - - - Takes in the decoded text and maps it with its corresponding entry in the CharacterMapTable - - decoded text - Expected text string - - - - Takes in the decoded text and maps it with its corresponding entry in the CharacterMapTable - - encoded text - Expected text string - - - - Method to remove the new line character - - Text with new line character - Text without new line character - - - - - Checks whether the specified character is Non-Printable character or not. - - The character to be verified as either Non-Printable or not - Returns true, if the specified character is Non-Printable character. Otherwise it returns false - - - - Gets or sets the value indicating whether the encoded text is hexa decimal string - - - - - Holds the font name associated with the text element - - - - - Holds the font style of the text to be decoded. - - - - - Gets and sets whether same font is denoted in more than one XObject. - - - - - Holds the font encoding associated with the text element - - - - - Decodes the image stream in the PDF document into an image - - - - - Sets the fields associated with the TIFF image - - Number of fields - Value of the field - Name of the TIFF tag - Type of the tag value - - - - Writes the header to the TIFF image - - Specifies the header of the TIFF image - - - - Writes the list of fields associated with the TIFF image - - List of TIFF fields - - - - Writes short value into the TIFF stream - - Short value to be written - - - - Writes integer value into the TIFF stream - - Integer value to be written - - - - Structure of the TIFF header - - - - - Size of the byte order of the tiff image - - - - - TIFF version number - - - - - byte offset to first directory - - - - - Tag entry to the TIFF stream - - - - - Represents the TIFF tag - - - - - Represents the type of the TIFF tag - - - - - number of items; length in spec - - - - - byte offset to field data - - - - - Width of the image in pixels - - - - - Height of the image in pixels - - - - - Bits per channel (sample). - - - - - Compression technique - - - - - Photometric interpretation. - - - - - Offsets to data strips. - - - - - Samples per pixel. - - - - - Bytes counts for strips. - - - - - 16-bit unsigned integer. - - - - - 32-bit unsigned integer. - - - - - Extracts the pageResource from the page - - Page whose resouce is needed - pageResource of the given page - - - - Collects all the ExtendedGraphicsSatate elements in the pdf document - - containing all the resources of the document - dictionary of ExtGState elements - - - - Collects all the fonts in the page in a dictionary - - dictionary containing all the resources in the Xobjects - dictionary containing font name and the font - - - - Extracts the text from the page given - - page from which text is extracted - font used in the text - text in the page to be decoded - decoded text - - - - Collects all the fonts in the page in a dictionary - - dictionary containing all the resources in the page - page in which text is to be extracted - dictionary containing font name and the font - - - - Collects all the images in the pdf document - - containing all the resources of the document - dictionary of images - - - - Updates the resources in the page - - Existing page resources - Dictionary items to the updated - Updated page resource - - - - The class provides methods and properties to access the PDF page resources. - - - - - Returns if the FontCollection has same font face. - - if font present true, else false - - - - Initializes the new instance of the class - - - - - Adds the resource with the specified name. - - Name of the resource - Resource to add - - - - Returns if the key already exists. - - if key present true,else false - - - - Gets the PDF page resources. - - - - - Gets or sets the value associated with the key. - - - - - - - - - - - - - - Local variable to store the whitepoint value of CalGray colorspace. - - - - - Local variable to store the blackpoint value of CalGray colorspace. - - - - - Local variable to store the gamma value of CalGray colorspace. - - - - - Gets the number of components for the CalGray Colorspace. - - - - - Gets or sets the Whitepoint value for the CalGray Colorspace. - - - - - Gets or sets the Blackpoint value for the CalGray Colorspace. - - - - - Gets or sets the Gamma value for the CalGray Colorspace. - - - - - - - - Local variable to store the whitepoint value of CalRgb colorspace. - - - - - Local variable to store the blackpoint value of CalRgb colorspace. - - - - - Local variable to store the gamma value of CalRgb colorspace. - - - - - Local variable to store the matrix value of CalRgb colorspace. - - - - - Gets the number of components for the CalRgb Colorspace. - - - - - Gets or sets the Whitepoint value for the CalRgb Colorspace. - - - - - Gets or sets the Blackpoint value for the CalRgb Colorspace. - - - - - Gets or sets the Gamma value for the CalRgb Colorspace. - - - - - Gets or sets the Matrix value for the CalRgb Colorspace. - - - - - - - - - - - Gets the number of components for the DeviceCMYK Colorspace. - - - - - - - - Gets the number of components for the DeviceGray Colorspace. - - - - - - - - Local variable to store the AlternateColorspace value of DeviceN colorspace. - - - - - Local variable to store the function value of DeviceN colorspace. - - - - Set the Colorspace value to local variable from Pdfarray - ColorspaceArray - - - - Get the Colorspace value from Pdfarray - ColorspaceArray - Colorspace - - - - Gets the number of components for the DeviceN Colorspace. - - - - - Gets or set the AlternateColorspace value for DeviceN colorspace - - - - - Gets or set the Function value for DeviceN colorspace - - - - - - - - Gets the number of components for the DeviceRgb Colorspace. - - - - - - - - Local variable to store the IccProfile value of ICCBased colorspace. - - - - - Gets or sets the IccProfile value for the ICCBased Colorspace. - - - - - Gets the Components for the IccBased Alternate Colorspace. - - - - - - - - Local variable to store the N value of IccProfile. - - - - - Local variable to store the alternate colorspace. - - - - - Local variable to store the IccProfile value of IccBased colorspace. - - - - - Local variable to store the matrix value of CalRgb colorspace. - - - - - Gets the Alternate colorspace of IccBased colorspace. - - - - - Gets or sets the N value for the ICCBased Colorspace. - - - - - - - - Local variable to store the BaseColorspace value of Indexed colorspace. - - - - - Local variable to store the Maximum valid index value of Indexed colorspace. - - - - - Local variable to store the Lookup parameter value of Indexed colorspace. - - - - - Get the color value of Indexed colorspace - - Index value for color - Color - - - - Set the Indexed colorspace data to local variable - - Index value Array - - - - - Get the Color - - Color component - Color - - - - Get the Base colorspace of Indexed color space - - Index value Array - Colorspace - - - - Get the Lookup data of Indexed colorspace - - Index value Array - - - - - Get the colorspace of Base colorspace - - Colorspace - - - - Get the Decoded stream of Type0 data - - Type0 stream - Decoded Byte - - - - Decode the FlateDecode stream - - Type0 encoded stream - Memory stream - - - - Gets the number of components for the Indexed Colorspace. - - - - - Gets the DefaultBrush value for the Indexed BaseColorspace. - - - - - Gets or sets the BaseColorspace value for the Indexed Colorspace. - - - - - Gets or sets the Maximum valid index value for the Indexed Colorspace. - - - - - Gets or sets the Lookup parameter value for the Indexed Colorspace. - - - - - - - - Local variable to store the whitepoint value of Labcolorspace. - - - - - Local variable to store the blackpoint value of Labcolorspace. - - - - - Local variable to store the range value of Labcolorspace. - - - - - Gets the number of components for the Labcolorspace. - - - - - Gets or sets the Whitepoint value for the Labcolorspace. - - - - - Gets or sets the Blackpoint value for the Labcolorspace. - - - - - Gets or sets the Range value for the Labcolorspace. - - - - - - - - Local variable to store the Lookup Data of Indexed colorspace - - - - - Load the Lookup stream data of Indexed color space - - Lookup stream data - - - - - Load the Lookup byte string data of Indexed colorspace - - Byte string - - - - - Load the Lookup data reference of Indexed color space - - Reference of Lookup data - - - - - Gets the Lookup Data of Indexed colorspace - - - - - - - - Local variable to store the PatternType value of Pattern colorspace. - - - - - Local variable to store the AlternateColorspace value of Pattern colorspace. - - - - - Local variable to store the PatternMatrix value of Pattern colorspace. - - - - - Local variable to store the Pattern value of Pattern colorspace. - - - - - Gets or sets the AlternateColorspace value for the Pattern Colorspace. - - - - - Gets or sets the PatternMatrix value for the Pattern Colorspace. - - - - - Gets or sets the PatternType value for the Pattern Colorspace. - - - - - - - - Local variable to store the Alternate colorspace value of Seperation colorspace. - - - - - Local variable to store the Function value of Seperation colorspace founction. - - - - Get the color value from string value - string Array - Color - - - - Convert the string array to double array - - string Array - Double array - - - Get the color value from bytes - string Array - Offset Value - Color - - - - Set the Seperation colorspace data to local variable - - seperation value Array - - - - - Get the Seperation colorspace Alternate colorspace from array value - - seperation value Array - Alternate colorspace - - - - Gets the number of components for the Seperation Colorspace. - - - - - Gets or sets the Alternate colorspace value for the Seperation Colorspace. - - - - - Gets or sets the Function value for the Seperation Colorspace. - - - - - - - - - - - - - - - - - Gets or sets a value of the StrokingColorspace - - - - - Gets or sets a value of the NonStrokingColorspace - - - - - Gets or sets a value of the StrokingBrush - - - - - Gets or sets a value of the NonStrokingBrush - - - - - - - - Set the Stroking colorspace of current graphics state - - current colorspace value - - - - - Set the Non Stroking colorspace of current graphics state - - current colorspace value - - - - - Set the Non Stroking RGB color of current graphics state brush - - color value of RGB - - - - - Set the Non Stroking CMYK color of current graphics state brush - - color value of CMYK - - - - - Set the Non Stroking Gray color of current graphics state brush - - color value of Gray - - - - - Set the Stroking RGB color of current graphics state brush - - color value of RGB - - - - - Set the Stroking CMYK color of current graphics state brush - - color value of CMYK - - - - - Set the Stroking Gray color of current graphics state brush - - color value of Gray - - - - - Set the Stroking of current graphics state brush - - color value - - - - - Set the Non Stroking of current graphics state brush - - color value - - - - - Determining valid email address - - email address to validate - true is valid, false if not valid - - - - Calculates the height of text. - - - - - - - - Renders the Text to the panel - - graphics element - location in which the graphics is to be drawn - - - - Renders the Text to the panel - - graphics element - location in which the graphics is to be drawn - - - - Removes the escape sequence characters in the given text - - text with the escape sequence - Text without escape sequence - - - - - - - - - - Local variable to store the Domain value of Function - - - - - Local variable to store the Range value of Function - - - - - Local variable to store the dictionary of Function - - - - - Create the function type from dictionary - - Array - Function - - - - Color transfer function - - Input color component value - Double array - - - - Extract the Input Data - - Input data - Double array - - - - Extract the Output Data - - Output data - Double array - - - - - - Gets or sets the Domain value of Function. - - - - - Gets or sets the Range value of Function. - - - - - - - - Local variable to store the BitsPerSample of Type0 - - - - - Local variable to store the Order of Type0 - - - - - Local variable to store the Size of Type0 - - - - - Local variable to store the Encode value of Type0 - - - - - Local variable to store the Decode value of Type0 - - - - - Local variable to store the sample value of Type0 - - - - - Local variable to store the Output value count of Type0 - - - - - Local variable to store the Filter of Type0 Data - - - - - Load the Type0 function stream to local variable - - Type0 Data - - - - - Execute the Type0 function - - Input Data - Color values - - - - - - Get the index of data - - Data - Index - - - - Get the Decoded stream of Type0 data - - Type0 stream - Decoded Byte - - - - Decode the FlateDecode stream - - Type0 encoded stream - Memory stream - - - - Gets or sets the BitsPerSample value of Type0 function. - - - - - Gets or sets the Filter value of Type0 function. - - - - - Gets or sets the Order value of Type0 function. - - - - - Gets or sets the Decode value of Type0 function. - - - - - Gets or sets the Encode value of Type0 function. - - - - - Gets or sets the Size value of Type0 function. - - - - - - - - Local variable to store the C0 value of Type2 function - - - - - Local variable to store the C1 value of Type2 function - - - - - Local variable to store the N value of Type2 function - - - - - Local variable to store the Functions resources value of Type2 function - - - - - Perform the Type0 function - - Input Data - Color values - - - - Perform the Type0 function of Single input data - - Single input data - outputData - - - - Perform the ExponentialInterpolation function - - value - value - value - result - - - - Gets or sets the Function resource value of Type2 function. - - - - - Gets or sets the C0 value of Type2 function. - - - - - Gets or sets the C1 value of Type2 function. - - - - - Gets or sets the N value of Type2 function. - - - - - Gets the output element length - - - - - - - - Local variable to store the Encode value of Type3 function - - - - - Local variable to store the Bounds value of Type3 function - - - - - Local variable to store the Functions value of Type3 function - - - - - Perform the Type4 function - - Input Data - Color values - - - - Gets or sets the Encode value of Type3 function. - - - - - Gets or sets the Bounds value of Type3 function. - - - - - Gets or sets the Function value of Type4 function. - - - - - - - - Local variable to store the Post Script Stream - - - - - Local variable to store the Filter type of Post Script - - - - - Stack pointer - - - - - List of Post Script Operator - - - - - Stack value of Post Script Data - - - - - Operator type array of Post Script Operator - - - - - Current operator type value - - - - - Load the Type4 function stream to local variable - - Type4 Data - - - - - Get the Decoded stream of Type4 function - - Type0 Data - - - - - Perform the Type4 function - - Input Data - Color values - - - - Decodes the ASCII85 encoded stream - - Encoded stream - Decoded Stream - - - - Gets the output element value length - - - - - Gets or sets the Filter value of Type4 function stream. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Contains definition for sorting the enumerator in ascending order - - Type of return value - Delegate - Used to compare two object - If it is set to true, enumerator is sorted in descending order other it is sorted in ascending order - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Base viewer interface for all PdfViewers. - - - - - Zooms the document to the specified value. - - Value in Percentage - - - - Displays the first page. - - - - - Displays the last page. - - - - - Displays the previous page. - - - - - Displays the next page. - - - - - Displays the page specified by the index. - - Index of the page - - - - Returns the number of pages. - - - - - Returns the current displayed page index. - - - - - Returns if first page can be displayed. - - - - - Returns if previous page can be displayed. - - - - - Returns if next page can be displayed. - - - - - Returns if last page can be displayed. - - - - - Specifies ZoomMode. - - - - - Displays with detault. - - - - - Fits the entire page in the viewer. - - - - - Fits the width of the page in the viewer. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Parse the annotation properties within a page - - Annotation properties - The specific page in which annotations needs to be added - Zoom factor need to be considered while drawing the annotation rectangle - - - - Calculates the annotation rectangle according to the zoom values. - - The specific page in which annotations needs to be added - Represents the annotation rectangle - - - - - - - - - Include the URL annotation rectangles with the specific page properties - - The specific page in which annotations needs to be added - Represents the annotation properties such as rectangle,location and URI - - - - Include the text rectangles with the specific page properties - - The specific page in which text search needs to be performed - Represents the annotation properties such as rectangle,location and URI - - - - Calculates the annotation rectangle according to the zoom values. - - The specific page in which annotations needs to be added - Represents the annotation rectangle - Zoom factor need to be considered - Drawing panel is true or false is need to be considered - - - - Represents the annotation with associated within a page. - - - - - Represents the arguments associated with a HyperLinkClicked event. - - - - - Changes the URL. - - - - - Returns the URI associated with the HyperLink. - - - - - Represents the URLS within a page. - - - - - Represents the URLS within a page. - - - - - Represents the Rectangle position of the matching text. - - - - - Represents printer settings for the document to be printed. - - - - - Specifies information about page orientation - - - - - Specifies information about page size - - - - - Scale percentage of the content. This value is applicable only if PageSizings is CustomScale. Default value is 100. - - - - - To print the document content from the given location - - - - - Defines the constants that specify the page orientations for printing. Default value is Auto - - - - - Prints the document in auto orientation. - - - - - Prints the document in portrait rotation. - - - - - Prints the document in landscape rotation. - - - - - Defines the constants that specify the page sizings for printing. Default value is ActualSize - - - - - Prints the document in actual size. - - - - - Prints the document after fitting the content. - - - - - Prints the document with custom scaling. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Toolbar for the PdfViewerControl. - - - - - Creates an instance DocumentToolbar. - - - - - Initializes DocumentToolbar for the document loaded in PdfDocumentView. - - - - - Sets the visibility of the toolbar item - - Represents the toolbar item in the document toolbar - Represents visiblity of toolbar item - - - - Sets enable property of the toolbar items - - Represents the toolbar item in the document toolbar - Represents enable property of the toolbar item - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Gets or sets the PdfDocumentView associated with this instance of DocumentToolbar. - - - - - NotificationBar for the PdfViewerControl. - - - - - Boundary of the notification bar to draw the border - - - - - Graphics of the notification bar - - - - - Instance of the PdfViewerExceptions class to collect the exceptions thrown - - - - - Corresponding viewer to add the notification bar control - - - - - To specify the visibility of the notification bar - - - - - Initializes NotificationBar - - - - - Displays error in NotificationBar. - - The Message - The Exception - - - - Displays error in NotificationBar. - - The Exception - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Get and set PdfViewerControl in which notification bar is to be added - - - - - Get and set the visibility of the notification bar - - - - - PdfDocuemntView helps to view and print PDF files. - - - - - Initializes PdfDocumentView class. - - - - - To wire up all the Mouse events - - Control to which the events should be wired - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Opens the weblink in browser - - - - - Shows tooltip while the mouse is over an URL - - - - - Loads a Pdf document in the Pdf viewer - - The path for the Pdf document to display in the pdf viewer - - - - Loads a Pdf document in the Pdf viewer - - The path for the Pdf document to display in the pdf viewer - The password for opening the document. - - - - Loads a Pdf document in the Pdf viewer from the specified stream. - - A stream that contains the data for the Pdf document - - - - Loads a pdf document in the Pdf viewer from the specified PdfLoadedDocuemnt. - - The PdfLoadedDocument to be viewed in the PdfViewer - - - - - - - - - - Unloads the Pdf document - - - - - Unloads the PDF document. - - Setting this parameter to true will dispose the loaded document completely. By default this parameter is set to true - - - - Resets the ScrollBar - - - - - Clean up any resources being used. - - - - - Exports the specified page as Image - - The page index to be converted into image - Returns the specified page as Image - - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - Whether need to keep the aspect ratio of the page - Returns the image with custom size - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to keep the aspect ratio of the page - Returns the specified page as image with custom size and resolution> - - - - Exports the specified pages as Images - - The starting page index - The ending page index - Returns the specified pages as Images - - - - Exports the specified pages as Images with respect to dpi specified. - - The starting page index - The ending page index - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified pages as Images with custom resolution - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - Whether need to keep the aspect raio of the page - Returns the specified pages as images with custom size - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to keep the aspect ratio of the page - Returns the specified pages as images with custom size and resolution - - - - Exports the specified page as Metafile - - The page index to be converted into image - Metafile - - - - Exports the specified pages as Metafile - - The starting page index - The ending page index - Array of Metafile - - - - - - - - - - - - - - - - - - Search the next occurrence of the text. - - The text to be searched - - - - Search the previous occurrence of the text. - - The text to be searched - - - - Searches the text - - The text to be searched - - - - Navigates to the specified page. - - The page index - - - - Returns the rectangle postions of the text matches - - The text which is to be searched - - - - - - size of GESTURECONFIG structure - - - - - size of GESTUREINFO structure - - - - - Handler of gestures - - Message object - - - - - Custom Mousewheel event for auto scrolling during text selection - - - - - - - - - - - - - - - - - Draws the page using PrintPageEventArgs - - Metafile to be printed - Provides data for the PrintPage event - - - - Magnifies the page of the document to the provided zoom percentage. - - Zoom percentage - - - - Magnifies the page of the document to the provided zoom mode. - - zoom mode - - - - Navigates to the first page of the document. - - - - - Navigates to the last page of the document - - - - - Navigates to the previous page of the document. - - - - - Navigates to the next page of the document. - - - - - Navigates to the specified location. - - - - - Navigates to the location of the bookmark. - - the bookmark object to which the view has to navigate - - - - Navigates to the specified page. - - The page index - - - - Preserves the page's location while zooming - - - - - Returns the page number and rectangle positions of the text matchs - - The text to be searched - Holds the page number and rectangle positions of the text matches - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Occurs when state of the navigation button is changed. - - - - - Occurs when current page is changed. - - - - - Occurs when a key is pressed - - - - - Occurs when the Pdf document is loaded - - - - - Occurs when hyperlink is clicked. - - - - - HyperLinkClicked is deprecated, please use HyperlinkClicked instead. - - - - - Occurs when hyperlink is MouseOvered. - - - - - HyperlinkHover is deprecated, please use HyperlinkMouseOver instead. - - - - - Occurs when zoom value is changed. - - - - - Returns the loaded document of the PdfDocumentView - - - - - Disposes the document completely - - - - - Returns true, if the PDF document is loaded in PDF viewer control. Default value is false. - - - - - Gets and Sets the background image for - - - - - Get or set thickness of the page border. Default value is 1. - - - - - Represents printer settings for the document to be printed. - - - - - Gets the print document - - - - - Gets or sets the displacement value for scrolling. - - - - - - - Gets the page count. - - - - - Gets the current zoom percentage. - - - - - Gets the current page index which is currently in view. - - - - - Gets/Sets the Zoom mode. - - - - - Gets a boolean value indicating whether the control can navigate to the first page. - - - - - Gets a boolean value indicating whether the control can navigate to the previous page. - - - - - Gets a boolean value indicating whether the control can navigate to the next page. - - - - - Gets a boolean value indicating whether the control can navigate to the last page. - - - - - Delegate for KeyPressed event. - - - - - Delegate for NavigationButtonStateChanged event. - - - - - Delegate for the CurrentPageChanged event. - - - - - Delegate for DocumentLoaded event. - - - - - Delegate for HyperLinkClicked event. - - - - - Delegate for HyperLinkMouseOver event. - - - - - Delegate for ZoomChanged event. - - - - - Delegate for ZoomModeChanged event. - - - - - Class to show the tooltip - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Provides classes to create PDF viewer control and various operations in Windows Forms application - - - - - PdfViewerControl helps to view and print PDF files. The DocumentToolbar helps to navigate - easily anywhere inside the document and also provides direct access to open, save and print - documents. - - - PdfViewerControl helps to view and print PDF files. The DocumentToolbar helps to navigate - easily anywhere inside the document and also provides direct access to open, save and print - documents. - - - - - Initializes PdfViewerControl. - - - - - To wire up all the Mouse events - - Control to which the events should be wired - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Represents the method that will handle the event.  - - The sender the contains a PdfViewer. - The that contains the event data. - - - - Magnifies the page of the document to the provided zoom percentage. - - Zoom percentage - - - - Loads a Pdf document in the Pdf viewer - - The path for the Pdf document to display in the pdf viewer - - - - Loads a Pdf document in the Pdf viewer - - The path for the Pdf document to display in the pdf viewer - The password for opening the document. - - - - Loads a pdf document in the Pdf viewer from the specified PdfLoadedDocuemnt. - - The PdfLoadedDocument to be viewed in the PdfViewer - - - - Loads a Pdf document in the Pdf viewer from the specified stream. - - A stream that contains the data for the Pdf document - - - - Unloads the Pdf document - - - - - Clean up any resources being used. - - - - - Exports the specified page as Image - - The page index to be converted into image - Returns the specified page as Image - - - - Returns the page number and rectangle positions of the text matchs - - The text to be searched - Holds the page number and rectangle positions of the text matches - - - - Exports the specified page as Image with respect to dpi specified. - - The page index to be converted into image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified page as Image with custom resolution - - - - Exports the specified pages as Images with respect to dpi specified. - - The starting page index - The ending page index - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Returns the specified pages as Images with custom resolution - - - - Exports the specified pages as Images - - The starting page index - The ending page index - Returns the specified pages as Images - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - Whether need to maintain the pdf page size - Returns the specified pages as images with custom size - - - - Exports the specified pages as Images - - The starting page index - The ending page index - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to maintain the pdf page size - Returns the specified pages as images with custom size and resolution - - - - Exports the specified page as Metafile - - The page index to be converted into image - Metafile - - - - Exports the specified pages as Metafile - - The starting page index - The ending page index - Array of Metafile - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - Whether need to maintain the pdf page size - Returns the specified page as image with custom size - - - - Exports the specified page as Image - - The page index to be converted into image - The custom size of the converted image - The horizontal DPI of the resultant image. - The vertical DPI of the resultant image. - Whether need to maintain the pdf page size - Returns the specified page as image with custom size and resolution - - - - Navigates to the specified page. - - The page index - - - - Display text search bar for search text in viewer. - - - - - Prints the document loaded in the viewer. - - If set to true, displays the PrintDialog box. Prints in silent mode when set to false. - - - - Prints the document loaded in the viewer. - - If set to true, displays the PrintDialog box. Prints in silent mode when set to false. - If set to true, text elements are printed as selectable text. Otherwise it is printed as non selectable text - - - - - - - - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Gets the print document - - - - - Gets the LoadedDocument of - - - - - Gets the page count - - - - - Get or set the thickness of the page border. Default value is 1. - - - - - Enables or disables the bookmark feature. - - - - - Returns true, if the PDF document is loaded in PDF viewer control. Default value is false. - - - - - Represents printer settings for the document to be printed. - - - - - Represents document toolbar settings for PdfViewer. - - - - - Gets and sets the visibility of the toolbar - - - - - Gets and sets the boolean value to show and hide the vertical scrollbar in - - - - - Gets and sets the boolean value to show and hide the horizontal scrollbar in - - - - - Returns the index of the current page displayed in the Viewer - - - - - Enables the display of Notification bar on setting true. - - - - - Gets and sets the Zoom Mode - - - - - Gets or sets the displacement value for scrolling. - - - - - Gets the current zoom percentage. - - - - - Occurs when a key is pressed - - - - - Occurs when the pdf document is loaded - - - - - Occurs when hyperlink is clicked. - - - - - HyperLinkClicked is deprecated, please use HyperlinkClicked instead. - - - - - Occurs when hyperlink is MouseOvered; - - - - - HyperlinkHover is deprecated, please use HyperlinkMouseOver instead. - - - - - Occurs prior to the rendering of every image in the document - - - - - Occurs when current page is changed. - - - - - Delegate used for KeyPressed event. - - - - - Delegate used for DocumentLoaded event. - - - - - Delegate used for HyperLinkClicked event. - - - - - Delegate used for HyperLinkMouseOver event. - - - - - Delegate used for ImagePreRender event. - - - - - Represents document toolbar settings for PdfViewer. - - - - - Initializes the ToolbarItem - - - - - - Represents open button in document toolbar - - - - - Represents save button in document toolbar - - - - - Represents print button in document toolbar - - - - - Represents goto first page button in document toolbar - - - - - Represents goto previous page button in document toolbar - - - - - Represents goto next page button in document toolbar - - - - - Represents goto last page button in document toolbar - - - - - Represents zoom in button in document toolbar - - - - - Represents zoom out button in document toolbar - - - - - Represents fitwidth button in document toolbar - - - - - Represents fitpage button in document toolbar - - - - - Represents current zoom level button in document toolbar - - - - - Represents current page index button in document toolbar - - - - - Represents total page count button in document toolbar - - - - - Represents document toolbar items - - - - - Gets and sets the visibility of items in the document toolbar - - - - - Gets or sets the enable property of items in the document toolbar. - - - - - Custom event argument class used to notify when a key is pressed. - - - - - Returns the message. - - - - - Returns the key data. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Icon similar to (Icon). - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Looks up a localized resource of type System.Drawing.Bitmap. - - - - - Class for the PasswordToolBox - - - - - Initializes PasswordToolBox class. - - - - - Required designer variable. - - - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. - - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - - - - diff --git a/3rdPackage/Syncfusion.Shared.Base.dll b/3rdPackage/Syncfusion.Shared.Base.dll deleted file mode 100644 index be4e4a1..0000000 Binary files a/3rdPackage/Syncfusion.Shared.Base.dll and /dev/null differ